From: rubisher <rubisher@scarlet.be>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [patch] grub incorrectly identifies ext3 as fat
Date: Sat, 31 Oct 2009 18:02:21 +0000 [thread overview]
Message-ID: <4AEC7BAD.3020903@scarlet.be> (raw)
In-Reply-To: <1256983491.3186.2.camel@fz.local>
Hello Felix,
Felix Zielcke wrote:
> Am Samstag, den 31.10.2009, 02:44 -0400 schrieb Andrew Clausen:
>> Hi,
>>
>> 2009/10/30 Robert Millan <rmh@aybabtu.com>:
>>>> What about probing in the boot-loader?
>>> It's too late then. grub-install needs to know which filesystem module has
>>> to be included in core.img.
>> What if the core.img contains modules for 2 or more file systems?
>>
>
> That only happens if you use grub-install with --modules or you directly
> create it with grub-mkimage.
> By default there's just one module and there only needs to be one.
> The one to access /boot/grub.
> It doestn't make sense to include more then one fs module into core.img
> With grub.efi the situation seems to be different though. But IMO it's a
> bug there.
>
>
To boot my debian installation on an ibm p5 lpar, I am trying to install grub2 i.e. working with grub-ieee1275.
I try first to rebuild grub-1.97~beta4 but it was failing.
I finaly find out that I can build and boot grub2 (only) with another gcc optimization option (-O0 in place of default -Os).
But it still failed to boot the linux kernel after grub-install:
1/ here is the chrooted mount points:
/dev/sdb6 on /mnt/NewInst type ext3 (rw)
/dev/sdb3 on /mnt/NewInst/boot type ext3 (rw)
/dev/sdb1 on /mnt/NewInst/boot/grub type vfat (rw)
/dev/mapper/p5tst001vg-var on /mnt/NewInst/var type ext3 (rw)
ps: /mnt/NewInst/boot/grub have to be a mount point for grub-install;
if it wasn't: # grub-install hd1
/boot/grub must be a mount point.
and must be a fat16 (or iirc hfs) for ofs
2/ a typical menu entry:
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-powerpc64" {
insmod ext2
set root=(hd1,3)
search --no-floppy --fs-uuid --set 16ef0754-c845-46e9-a948-b9669ee68329
linux /vmlinux-2.6.30-2-powerpc64 root=UUID=3c51c43e-63a7-4ff1-9b1c-cf98addcb7ed ro quiet
initrd /initrd.img-2.6.30-2-powerpc64
}
and at the grub sh prompt, ls doesn't report any disk?
Even thought: # more /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
Could it be for the reason you explained above?
I am worry of it because when I copy vmlinux-2.6.30-2-powerpc64 and initrd.img-2.6.30-2-powerpc64 in the
/mnt/NewInst/boot/grub fs and this simple menuentry:
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-powerpc64" {
linux /vmlinux-2.6.30-2-powerpc64 root=UUID=3c51c43e-63a7-4ff1-9b1c-cf98addcb7ed ro sysrq=1 insmod=sym53c8xx
insmod=ipr quiet
initrd /initrd.img-2.6.30-2-powerpc64
}
the debian installation finaly boot fine ;<)
The problem is that this vfat fs afaik must be < then 24Mb and btw couldn't contained more then one kernel image (and its
initrd), though.
Tia for further advise,
J.
next prev parent reply other threads:[~2009-10-31 18:02 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-29 14:58 [patch] grub incorrectly identifies ext3 as fat Andrew Clausen
2009-10-30 18:57 ` Robert Millan
2009-10-30 19:06 ` Felix Zielcke
2009-10-30 19:19 ` Andrew Clausen
2009-10-30 22:46 ` Robert Millan
2009-10-31 6:44 ` Andrew Clausen
2009-10-31 10:04 ` Felix Zielcke
2009-10-31 15:39 ` Andrew Clausen
2009-10-31 16:06 ` Robert Millan
2009-10-31 18:43 ` Andrew Clausen
2009-10-31 18:52 ` Vladimir 'phcoder' Serbinenko
2009-11-11 16:28 ` Andrew Clausen
2009-10-31 19:15 ` Robert Millan
2009-11-09 23:14 ` Robert Millan
2009-11-11 17:24 ` Andrew Clausen
2009-10-31 18:02 ` rubisher [this message]
2009-10-31 18:46 ` Felix Zielcke
2009-10-31 10:10 ` Robert Millan
2009-10-31 10:34 ` Felix Zielcke
2009-10-31 11:30 ` Robert Millan
2009-10-31 11:38 ` Felix Zielcke
2009-10-31 18:31 ` 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=4AEC7BAD.3020903@scarlet.be \
--to=rubisher@scarlet.be \
--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.