From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: Arnout Vandecappelle <arnout.vandecappelle@essensium.com>
Cc: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] grub-setup: make it possible to specify the root device
Date: Wed, 05 Sep 2012 07:04:35 +0200 [thread overview]
Message-ID: <5046DD63.4010700@gmail.com> (raw)
In-Reply-To: <50464C0E.9010707@essensium.com>
[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]
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)"<arnout@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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2012-09-05 5:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 14:32 [PATCH] grub-setup: make it possible to specify the root device Arnout Vandecappelle (Essensium/Mind)
2012-09-04 16:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-09-04 18:44 ` Arnout Vandecappelle
2012-09-05 5:04 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-09-06 17:42 ` Arnout Vandecappelle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5046DD63.4010700@gmail.com \
--to=phcoder@gmail.com \
--cc=arnout.vandecappelle@essensium.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.