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)"<arn...@mind.be>
>>>
>>> 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

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to