From: Robert Millan <rmh@aybabtu.com>
To: Pavel Roskin <proski@gnu.org>
Cc: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] memdisk + grub-mkrescue
Date: Tue, 22 Jan 2008 16:17:01 +0100 [thread overview]
Message-ID: <20080122151701.GB13487@thorin> (raw)
In-Reply-To: <20080122095543.tou1iwfz5woc08c4@webmail.spamcop.net>
On Tue, Jan 22, 2008 at 09:55:43AM -0500, Pavel Roskin wrote:
> >On Mon, Jan 21, 2008 at 09:11:04PM -0500, Pavel Roskin wrote:
> >>
> >>I wish I could use it on PowerPC to work around the "claim failed"
> >>problem, but I'll still need to link "memdisk" and "cpio" with
> >>grub-mkimage.
> >
> >I don't understand. How would this work around the problem?
>
> It would work around the problem if appending modules to kernel.elf
> with grub-mkimage could be completely avoided.
Ah, I see. But as you point out, you still need memdisk and cpio. Maybe we
could put these two in kernel when we have "grub-mkimage -m" support for ELF,
but it looks very ugly to me! :-)
> >>I have a patch for PowerPC, but I think I'll hold it until your patch is
> >>committed. I could change my patch to be more in-sync with i386, in
> >>particular use /boot/grub as the blessed directory.
> >
> >Cool! Could you send it to the list? I'd like to see if it'll work on
> >i386-elf targets.
>
> OK, attached. Sorry, this mailer would break the patch otherwise.
Ah, I think I missunderstood. I thought you implemented "grub-mkimage -m"
switch.
> +# Make GRUB rescue image
> +# Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc.
Missing 2008 here.
> +map_file=`mktemp`
> +cat >${map_file} <<EOF
> +# EXTN XLate CREATOR TYPE Comment
> +grub.img Raw 'UNIX' 'tbxi' "bootstrap"
> +EOF
How standard is this format? Is this targetted only at one OFW vendor?
> +genisoimage -hfs -part -no-desktop -r -J -o ${output_image} \
> + -map ${map_file} -hfs-bless ${boot_dir} ${iso_dir}
Same here.
Perhaps this should be mentioned in --help or something?
In the future we could add --image-type= options for other platforms
like i386-pc does with floppy/cdrom ?
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
next prev parent reply other threads:[~2008-01-22 15:18 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-21 16:52 [PATCH] memdisk + grub-mkrescue Robert Millan
2008-01-21 17:47 ` Pavel Roskin
2008-01-21 21:06 ` Robert Millan
2008-01-22 2:11 ` Pavel Roskin
2008-01-22 14:02 ` Robert Millan
2008-01-22 14:55 ` Pavel Roskin
2008-01-22 15:17 ` Robert Millan [this message]
2008-01-23 7:51 ` Pavel Roskin
2008-01-23 9:15 ` Robert Millan
2008-01-23 15:22 ` Pavel Roskin
2008-01-23 19:03 ` Marco Gerards
2008-01-23 19:28 ` Pavel Roskin
2008-01-31 14:35 ` Robert Millan
2008-01-31 17:12 ` Pavel Roskin
2008-01-31 17:35 ` Marco Gerards
2008-01-31 18:00 ` Pavel Roskin
2008-01-31 18:50 ` Marco Gerards
2008-01-31 20:13 ` Pavel Roskin
2008-01-21 21:09 ` grub_cpio_find_file() finds unexisting files (Re: [PATCH] memdisk + grub-mkrescue) Robert Millan
2008-01-22 2:01 ` Pavel Roskin
2008-01-22 10:12 ` Bean
2008-01-23 10:45 ` [PATCH] memdisk + grub-mkrescue Marco Gerards
2008-01-23 11:01 ` Robert Millan
2008-01-23 11:20 ` Marco Gerards
2008-01-23 11:25 ` Robert Millan
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=20080122151701.GB13487@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
--cc=proski@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.