  | | | Subject: grub doesn 't autoboot anymore | Subject: grub doesn 't autoboot anymore 2003-09-22 - By Gary Cote
Back Hey all,
I recently swapped my disks around. I moved my boot drive from /dev/hdb to /dev/hda (same drive, just its place on the cable). Now, when the system boots, it loads the grub> prompt and waits for further input. How do I get it to load the grub menu?
My /boot/grub directory and grub.conf file are below. You'll note that menu.lst is a soft-link to grub.conf, as seems to be typical.
The only other thing of note is that, as I swapped the drive around, I found it necessary to boot from a grub floppy, then reinstall grub on the hard drive (using the grub setup command). That may or may not be relevant.
Anything else look funny here?
- gary
[root@(protected) grub]# ll total 228 -rw-r--r-- 1 root root 101 Aug 19 08:11 device.map -rw-r--r-- 1 root root 10848 Aug 21 18:44 e2fs_stage1_5 -rw-r--r-- 1 root root 9776 Aug 21 18:44 fat_stage1_5 -rw-r--r-- 1 root root 8864 Aug 21 18:44 ffs_stage1_5 -rw-r--r-- 1 root root 602 Sep 20 08:53 grub.conf -rw-r--r-- 1 root root 11072 Aug 21 18:44 jfs_stage1_5 lrwxrwxrwx 1 root root 11 Aug 19 08:11 menu.lst -> ./grub.conf -rw-r--r-- 1 root root 9280 Aug 21 18:44 minix_stage1_5 -rw-r--r-- 1 root root 12512 Aug 21 18:44 reiserfs_stage1_5 -rw-r--r-- 1 root root 7985 Sep 6 2002 splash.xpm.gz -rw-r--r-- 1 root root 512 Aug 21 18:44 stage1 -rw-r--r-- 1 root root 130340 Aug 21 18:44 stage2 -rw-r--r-- 1 root root 8576 Aug 21 18:44 vstafs_stage1_5 -rw-r--r-- 1 root root 12552 Aug 21 18:44 xfs_stage1_5
[root@(protected) grub]# cat grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd1,0) # kernel /vmlinuz-version ro root=/dev/hdb6 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-19.7) root (hd0,0) kernel /vmlinuz-2 (See http://nuz-2.ora-code.com).4.20-19.7 ro root=/dev/hda6 hdd=ide-scsi
# #title Windows XP # root (hd0,0) # makeactive # chainloader +1 #
|
|
 |