Zarick Lau wrote: >Hi, > > > >>What happens with this setup is that I get a grub prompt on boot >>instead of the selection console or splash and boot or whatever is >>supposed to happen. >> >>Instead, I get the grub command line. >> >> >> >If you get a GRUB command line but no selection menu, you can think GRUB >*is installed* on the MBR but just doesn't know your configuration. > > Indeed. Getting a grub command line is definitely not right for what you describe...it means it doesn't find (at boot time) your config file at all. What does the setup(hd0) command output? At a minimum I think you should get a text based menu.
Maybe you can compare against what I have? (Note, I filtered the file listings to just show the important files/links...) carcharias root # cat /boot/grub/grub.conf default 0 timeout 5 splashimage=(hd0,0)/grub/splash.xpm.gz title Linux kernel (hd0,0)/vmlinuz-2.6 root=/dev/sys/root video=radeonfb:[EMAIL PROTECTED] noapic quiet initrd (hd0,0)/initrd-2.6 title Safe kernel (hd0,0)/vmlinuz-safe root=/dev/system/root video=radeonfb:[EMAIL PROTECTED] noapic 1 initrd (hd0,0)/initrd-safe carcharias root # ls -l /boot lrwxrwxrwx 1 root root 1 Feb 13 14:25 boot -> . drwx------ 2 root root 4096 Mar 27 18:12 grub -rw------- 1 root root 691790 Mar 12 20:35 initrd-2.6 -rw------- 1 root root 691790 Mar 12 20:35 initrd-safe -rw-r--r-- 1 root root 1602901 Mar 29 08:52 vmlinuz-2.6 -rw-r--r-- 1 root root 1608822 Mar 13 11:08 vmlinuz-safe carcharias root # ls -l /boot/grub total 1140 -rw------- 1 root root 197 Aug 27 2004 default -rw------- 1 root root 45 Aug 24 2004 device.map -rw------- 1 root root 11136 Feb 26 01:47 e2fs_stage1_5 -rw------- 1 root root 384 Mar 27 18:12 grub.conf lrwxrwxrwx 1 root root 9 Feb 13 14:25 menu.lst -> grub.conf -rw------- 1 root root 33856 Feb 26 01:47 splash.xpm.gz -rw------- 1 root root 512 Feb 26 01:47 stage1 -rw------- 1 root root 134632 Feb 26 01:47 stage2 -rw------- 1 root root 12712 Feb 26 01:47 xfs_stage1_5 grub> root (hd0,0) Filesystem type is xfs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/xfs_stage1_5" exists... yes Running "embed /boot/grub/xfs_stage1_5 (hd0)"... 25 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+25 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done. And reboot...and hey, wait a minute, my system won't reboot!!! That install line above turns out to be wrong. It should not have "/boot" in the path for stage2. I think maybe the xfs_stage_1_5 doesn't understand sybolic links. Removing the link from /boot/boot to /boot and re-running grub gives me: rub> root (hd0,0) Filesystem type is xfs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... yes Checking if "/grub/stage2" exists... yes Checking if "/grub/xfs_stage1_5" exists... yes Running "embed /grub/xfs_stage1_5 (hd0)"... 25 sectors are embedded. succeeded Running "install /grub/stage1 (hd0) (hd0)1+25 p (hd0,0)/grub/stage2 /grub/menu.lst"... succeeded Done. I hope this helps. -Richard -- gentoo-user@gentoo.org mailing list