From: Arnout Vandecappelle <arnout.vandecappelle@essensium.com>
To: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.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: Thu, 06 Sep 2012 19:42:18 +0200 [thread overview]
Message-ID: <5048E07A.4080204@essensium.com> (raw)
In-Reply-To: <5046DD63.4010700@gmail.com>
On 09/05/12 07:04, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> On 04.09.2012 20:44, Arnout Vandecappelle wrote:
>
[snip]
>> 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
Sorry, I should have set: I want to create an *ext4* image file. grub-mkrescue
only makes an iso image and doesn't let me choose a partitioning. I did look
at patching grub-mkrescue first, but that just relies on xorriso to do the
heavy lifting so that doesn't help.
Granted, I could just dd the grub image into the mbr, but I wasn't entirely sure
how to do that and this patch was simpler.
>> 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.
Yeah, cool! I didn't know I had to supply TARGET_CC - some other configures
use CC_FOR_BUILD - hence the confusion. Thanks!
Regards,
Arnout
--
Arnout Vandecappelle arnout dot vandecappelle at essensium dot com
Senior Embedded Software Architect . . +32-16-286540 . +32-478-010353 (mobile)
Essensium, Mind division . . . . . . . . . . . . . . . . . http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium . . . . . . . . BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 31BB CF53 8660 6F88 345D 54CC A836 5879 20D7 CF43
prev parent reply other threads:[~2012-09-07 7:10 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
2012-09-06 17:42 ` Arnout Vandecappelle [this message]
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=5048E07A.4080204@essensium.com \
--to=arnout.vandecappelle@essensium.com \
--cc=grub-devel@gnu.org \
--cc=phcoder@gmail.com \
/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.