grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] grub-setup: make it possible to specify the root device


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH] grub-setup: make it possible to specify the root device
Date: Tue, 04 Sep 2012 18:51:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6

On 04.09.2012 16:32, Arnout Vandecappelle (Essensium/Mind) wrote:

> From: "Arnout Vandecappelle (Essensium/Mind)" <address@hidden>
> 
> When creating a bootable disk image in a file rather than on a physical
> device, it is not possible to guess the root partition.  Therefore,
> allow the root partition to be specified on the command line.


Looks like you just do it wrong. Correct way is to create a loopback and
then use kpartx to discover partitions, not use loopback with offset.
This "root device" is purely technical information and it should be
discovered automatically from the information we already have (we have a
directory)

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]