Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Subject: grub doesn 't autoboot anymore

Subject: grub doesn 't autoboot anymore

2003-09-22       - By Gary Cote

 Back
Reply:     1     2  

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
#