Gentoo Archives: gentoo-amd64

From: Drake Donahue <donahue95@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Can't install Grub 0.97-r5
Date: Wed, 07 May 2008 13:46:03
Message-Id: 001f01c8b048$4e5b7690$0200a8c0@iwillxp333
In Reply to: Re: [gentoo-amd64] Can't install Grub 0.97-r5 by Raffaele BELARDI
1 ----- Original Message -----
2 From: "Raffaele BELARDI" <raffaele.belardi@××.com>
3 To: <gentoo-amd64@l.g.o>
4 Sent: Wednesday, May 07, 2008 6:22 AM
5 Subject: Re: [gentoo-amd64] Can't install Grub 0.97-r5
6
7
8 > On Wed, 2008-05-07 at 10:34 +0200, alain.didierjean@××××.fr wrote:
9 >> I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub
10 >> allright.
11 >> But trying to install the new mbr gives:
12 >> grub> root (hd0,0)
13 >> Filesystem type is ext2fs, partition type 0x83
14 >>
15 >> grub> setup (hd0)
16 >> Checking if "/boot/grub/stage1" exists... no
17 >> Checking if "/grub/stage1" exists... no
18 >>
19 >> Error 15: File not found
20 >>
21 >> Of course, /boot/grub/stage1 is there.
22 >>
23 >> So I'm stuck with a half installed grub and dare not reboot. I re-emerged
24 >> the
25 >> last version to no avail.
26 >> Any practical advice before I re-emerge previous grub version?
27 >
28 > There was a related issue discussed on this list recently, search the
29 > archives for email from Duncan with subject "boot Gentoo from USB key"
30 > dated May, 2.
31 >
32 > I don't know if this really applies to you, in my case I had that
33 > problem on a newly formatted (USB) drive. Newer mkfs.ext2 by default
34 > build 256 bytes I-nodes, and these are not recognized by grub. I
35 > re-formatted the drive using 128 bytes I-nodes (option -I to mkfs.ext2),
36 > and it ran smoothly. The symptoms were exactly as you describe, I could
37 > see the stage* files on the disk with ls, but grub told me Error 15.
38 >
39 > Did you re-create the filesystem on (hd0,0) recently? If so, you'll
40 > probably have the 256 byte I-Nodes that grub doesn't like. You can check
41 > I-node size with dumpe2fs.
42
43 Grub 0.97.5 handles 256 inodes.
44 Handling 256 inodes was a major reason that 0.97.5 was written.
45
46 >
47 > raf
48 >
49 > --
50 > gentoo-amd64@l.g.o mailing list
51 >
52
53 --
54 gentoo-amd64@l.g.o mailing list