----- Original Message -----
From: "Raffaele BELARDI" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, May 07, 2008 6:22 AM
Subject: Re: [gentoo-amd64] Can't install Grub 0.97-r5
On Wed, 2008-05-07 at 10:34 +0200, [EMAIL PROTECTED] wrote:
I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub
allright.
But trying to install the new mbr gives:
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
Of course, /boot/grub/stage1 is there.
So I'm stuck with a half installed grub and dare not reboot. I re-emerged
the
last version to no avail.
Any practical advice before I re-emerge previous grub version?
There was a related issue discussed on this list recently, search the
archives for email from Duncan with subject "boot Gentoo from USB key"
dated May, 2.
I don't know if this really applies to you, in my case I had that
problem on a newly formatted (USB) drive. Newer mkfs.ext2 by default
build 256 bytes I-nodes, and these are not recognized by grub. I
re-formatted the drive using 128 bytes I-nodes (option -I to mkfs.ext2),
and it ran smoothly. The symptoms were exactly as you describe, I could
see the stage* files on the disk with ls, but grub told me Error 15.
Did you re-create the filesystem on (hd0,0) recently? If so, you'll
probably have the 256 byte I-Nodes that grub doesn't like. You can check
I-node size with dumpe2fs.
Grub 0.97.5 handles 256 inodes.
Handling 256 inodes was a major reason that 0.97.5 was written.
raf
--
[email protected] mailing list
--
[email protected] mailing list