All,
GRUB Legacy seems to be unable to locate and load the "/boot/grub/menu.lst" configuration file. Loading the menu.lst file must be done on each boot manually with the command:
Code:
configfile /grub/grub.conf
Of note, I have a separate /boot partition and installed GRUB with
Code:
grub-install --root-directory=/boot /dev/sda
Also, many users appear to suggest the setup command will resolve the issue if implemented as such:
Code:
root (hd0,2)
setup (hd0)
Unfortunately, this no workie for me.
Here's my menu.lst file:
Code:
# 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 (hd0,3)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_alpo-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
title Red Hat Enterprise Linux 6.1
root (hd0,2)
kernel /vmlinuz-2.6.32-131.6.1.el6.x86_64 ro root=/dev/mapper/vg_alpo-lv_root rd_LVM_LV=vg_alpo/lv_root rd_LVM_LV=vg_alpo/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-131.6.1.el6.x86_64.img
title Windows 7
rootnoverify (hd0,0)
chainloader +1
Here's my "sudo fdisk -l /dev/sda" output:
Code:
[Alpo@alpo-computer ~]$ sudo fdisk -l /dev/sda
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xde4b5a83
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 28733 230690816 5 Extended
Partition 2 does not end on cylinder boundary.
/dev/sda3 65641 65705 512000 83 Linux
/dev/sda4 65705 91202 204800000 8e Linux LVM
/dev/sda5 14 10457 83886080 7 HPFS/NTFS
/dev/sda6 10457 27428 136315904 7 HPFS/NTFS
/dev/sda7 27428 28733 10485760 7 HPFS/NTFS
Interestingly enough, the menu.lst item says,
Code:
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,3)
Thus "root (hd0,3)" is specified whereas each OS is called using "root (hd0,2)." Perhaps a mismatch in GRUB vs. the system's partition table?
At any rate, how can I get GRUB to automatically find "menu.lst" and load the menu interface (rather than the command interface) on each boot?
Thanks in advance for the help.