On Wed April 30 2003 8:32 am, Anders Johansson wrote:
On Wednesday 30 April 2003 15:26, Stan Glasoe wrote:
In my theory, no, it shouldn't work. My /boot/grub/menu.lst has absolute path names. Specifying /vmlinuz looks to be a relative path and AFAIK grub don't do relative paths.
grub follows the directory layout on the partition. grub's paths are relative to the partition you specify
My mileage varied greatly with grub under SuSE 8.1 and I had to specify absolute paths because grub didn't follow relative paths on the partitions. grub couldn't find /boot off / by itself. Took me a while to figure that out. grub would error out of the GUI and throw up the text version of its menu where I then had a chance to specify drive, partition and absolute path. Worked for me!
Change these relative paths to absolutes. On my system I've quit using a separate /boot partition and leave it as a directory off /. My grub then has /boot/vmlinuz and /boot/initrd after the drive/partition designations. Change yours as follows and see what happens. The root=/dev/hd?? is OK.
title linux kernel (hd1,4)/boot/vmlinuz root=/dev/hdb7 hdc=ide-scsi vga=791
This will work if hd1,4 (hdb5) has a /boot and fail otherwise
Correct. You'd need to adjust both kernel and initrd drive/partition and root=/dev/hdxx for separate /boot and / "root" partitions. Stan