Gentoo Archives: gentoo-user

From: Jeff Cranmer <jcranmer01@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Grub problems
Date: Sun, 29 Oct 2006 20:59:30
Message-Id: 19056716.1162155318385.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net
1 Hi Richard,
2
3 The full output from running your suggested command after editing the grub.conf file per your instructions was
4
5 Checking if "/boot/grub/stage1" exists... yes
6 Checking if "/boot/grub/stage2" exists... yes
7 Checking if "/boot/grub/e2fs_stage_1_5" exists... yes
8 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
9 succeeded
10 Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
11 Done.
12
13 I still have the same response when I try to reboot :-(
14
15 Jeff
16
17
18 -----Original Message-----
19 >From: Richard Fish <bigfish@××××××××××.org>
20 >Sent: Oct 29, 2006 3:05 PM
21 >To: gentoo-user@l.g.o
22 >Subject: Re: [gentoo-user] Grub problems
23 >
24 >On 10/29/06, Jeff Cranmer <jcranmer01@×××××××××.net> wrote:
25 >> swapspace is on /dev/sda2, /boot is on /dev/sda1, and root is on /dev/sda6
26 >
27 >[snip]
28 >
29 >> My grub.conf file is as follows:
30 >>
31 >> default=0
32 >> timeout=30
33 >> splashimage=(hd0,5)/boot/grub/splash.xpm.gz
34 >> title=Gentoo Linux 2.6.17-r8
35 >> root (hd0,5)
36 >> kernel /boot/kernel-genkernel-x86_64-2,6,17-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 udev vga=0x318 video=vesafb:mtrr:3,ywrap doscsi
37 >> initrd /boot/initramfs-genkernel-x86_64-2.6.17-gentoo-r8
38 >
39 >You have a separate /boot partition, so you should reference things on
40 >*that* partition. So your grub.conf should be:
41 >
42 >default=0
43 >timeout=30
44 >splashimage=(hd0,0)/grub/splash.xpm.gz
45 >title=Gentoo Linux 2.6.17-r8
46 > kernel (hd0,0)/kernel-genkernel-x86_64-2,6,17-gentoo-r8
47 >root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 udev
48 >vga=0x318 video=vesafb:mtrr:3,ywrap doscsi
49 > initrd (hd0,0)/initramfs-genkernel-x86_64-2.6.17-gentoo-r8
50 >
51 >> When I run grub-install /dev/sda, it reports no errors.
52 >>
53 >> The device.map file contains the following
54 >> (hd0) /dev/sda
55 >
56 >This is correct if the BIOS is setup to boot from the SATA drive
57 >before any IDE hard disks.
58 >
59 >I never really liked grub-install. Try:
60 >
61 >cat << EOF | grub --device-map=/boot/grub/device.map
62 >root (hd0,0)
63 >setup (hd0)
64 >EOF
65 >
66 >The most important line from the above is one that looks like this:
67 >
68 >Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p
69 >(hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
70 >
71 >If you don't see this, post what you do see.
72 >
73 >-Richard
74 >--
75 >gentoo-user@g.o mailing list
76 >
77
78 --
79 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Grub problems Richard Fish <bigfish@××××××××××.org>