KieranCorkBoy
04-18-2006, 08:22 PM
Hi everyone, dose anyone thing this is strange?
my partition table looks something like this
/dev/hda1 winxp
/dev/hda2 cut down redhat supplied by manufacturer
/dev/hda5 boot
/dev/had6 swap
/dev/hda7 root
I booted a live cd, and from the command line I invoked grub-install:
grub-install --root-directory=/boot /dev/hda2
this should install grub to the boot sector of /dev/hda2
I know that I can't boot from this partition directly but this is the way that I want it.
my grub menu.lst is:
default 0
timeout 10
#for booting GNU/Linux
title GNU/Linux
kernel (hd0,4)/vmlinuz root=/dev/hda7
#for booting Redhat_Targa
title Redhat_Targa
kernel (hd0,1)/boot/bzimage root=/dev/hda2
#for booting WinXp
title WinXp
root (hd0,0)
makeactive
chainloader+1
I booted a grub boot cd, and entered the following command:
configfile (hd0,4)/grub/menu.lst
when I try to select any of the options in this file, two if which I know are perfectly bootable (hda1 and hda2), I get the following error:
error 25: disk read error
I don't understand why there might be a read error, the grub cd can read menu.lst, and I can mount each of the partitions from a live cd
I have also tried to bootstrap from the boot prompt of a install cd:
boot: <kernel image on cd> root=/dev/hda7 noinitrd ro
I get a kernel panic when i do this:
ACPI: (supports s0 s1 s2 s3 s4)
VFS: cannot open root device "hda7" or unknown-block(0,0) please append a correct "root=" boot option
kernel panic - not syncing:VFS unable to mount root fs on unknown-block(0,0)
I get the same error when I try to boot hda2
Dose anyone know what is going wrong here, because I don't
my partition table looks something like this
/dev/hda1 winxp
/dev/hda2 cut down redhat supplied by manufacturer
/dev/hda5 boot
/dev/had6 swap
/dev/hda7 root
I booted a live cd, and from the command line I invoked grub-install:
grub-install --root-directory=/boot /dev/hda2
this should install grub to the boot sector of /dev/hda2
I know that I can't boot from this partition directly but this is the way that I want it.
my grub menu.lst is:
default 0
timeout 10
#for booting GNU/Linux
title GNU/Linux
kernel (hd0,4)/vmlinuz root=/dev/hda7
#for booting Redhat_Targa
title Redhat_Targa
kernel (hd0,1)/boot/bzimage root=/dev/hda2
#for booting WinXp
title WinXp
root (hd0,0)
makeactive
chainloader+1
I booted a grub boot cd, and entered the following command:
configfile (hd0,4)/grub/menu.lst
when I try to select any of the options in this file, two if which I know are perfectly bootable (hda1 and hda2), I get the following error:
error 25: disk read error
I don't understand why there might be a read error, the grub cd can read menu.lst, and I can mount each of the partitions from a live cd
I have also tried to bootstrap from the boot prompt of a install cd:
boot: <kernel image on cd> root=/dev/hda7 noinitrd ro
I get a kernel panic when i do this:
ACPI: (supports s0 s1 s2 s3 s4)
VFS: cannot open root device "hda7" or unknown-block(0,0) please append a correct "root=" boot option
kernel panic - not syncing:VFS unable to mount root fs on unknown-block(0,0)
I get the same error when I try to boot hda2
Dose anyone know what is going wrong here, because I don't