Re: grub doesn't autoboot anymore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2003-09-22 at 13:18, Gary Cote wrote:
> 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@localhost 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@localhost 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.4.20-19.7 ro root=/dev/hda6 hdd=ide-scsi
> 
-----
seems to me that you have to change grub.conf to (hd1,0)

and you would need to 
grub-install /dev/hda

Craig


-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux