Gentoo Archives: gentoo-dev

From: drobbins@g.o
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] GRUB stage1 file not found
Date: Thu, 01 Feb 2001 10:44:50
Message-Id: 20010201104450.B5546@cvs.gentoo.org
1 On Thu, Feb 01, 2001 at 07:13:06AM +0100, Knut Feiert wrote:
2
3 > Doing this after the command env-update in step 4
4 > gives me back my keyboard.
5
6 OK, great, I'll add this to the install guide soon.
7
8 > >Try this in grub:
9 > >
10 > >grub> find /boot/grub/stage1
11 > >
12 > >GRUB should then tell you what partitions it found stage1 on. This should
13 > >be the partition you specify in the grub "root" command. I hope that helps.
14 > >
15 >
16 > GRUB tells me (hd0,11) and after reading the install guide more
17 > carefully I only can agree!
18 >
19 > But after the command root (hd0,11) neither "find" nor "setup" can
20 > find stage1 any more.
21 >
22 > Could it be a problem that fdisk does not write the partition records
23 > in disk order?
24
25 find should still be able to find stage1, even if your partitions are
26 weird. If you don't have LBA mode enabled in your BIOS, then you may
27 be running into 1024 cylinder-related problems. But first, make sure
28 that the stage1 file exists:
29
30 1. boot the Gentoo CD
31 2. mount your root at /mnt/gentoo
32 3. mount your boot at /mnt/gentoo/boot
33 look inside /mnt/gentoo/boot/boot/grub and make sure all the files are
34 there.
35 If the files are there, then for some reason GRUB can't get to them.
36 If you have a FAT, FFS, ext2 or reiserfs partition located closer to
37 the beginning of the drive, then mount this partition, and create the
38 /mountpoint/boot directory. Then, cp -ax /mnt/gentoo/boot/* /mountpoint/boot,
39 4. unmount /mountpoint
40 5. chroot /mnt/gentoo
41 6. grub
42 7. grub> find /boot/grub/stage1
43 8. if found, then use this partition as your GRUB "root"
44
45 --
46 Daniel Robbins <drobbins@g.o>
47 President/CEO http://www.gentoo.org
48 Gentoo Technologies, Inc.