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: Wed, 05 Sep 2012 07:04:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6

On 04.09.2012 20:44, Arnout Vandecappelle wrote:

> On 09/04/12 18:51, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>> 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)
> 
>  I want to create an image file without superuser access.  So I can't mount
> a loopback device, so the grub directory is not actually inside the image:
> it's the directory from which the target filesystem is created.
> 
>  If there's another way to do that, I'd be glad to hear it.
> 

grub-mkrescue

> 
>  By the way, I'm also thinking about patching the build infrastructure
> to support building a cross-installer (e.g. grub-mkimage as an x86
> executable
> but cross-compiling lib/grub/powerpc-ieee1275/*).  Is there an interest for
> that?

Long since done. It's also use for automated tests.

> 
> 
>  Regards,
>  Arnout
> 

g

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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