[rhn-users] grub.conf and ping(live-os) multi-boot
earl
earl at iastate.edu
Mon Jul 13 01:57:00 UTC 2009
i've been trying to "... put the PING ISO into my harddisk and boot from
it..." as discussed at
"http://ping.windowsdream.com/ping/doc-2.01/annex.html". i've tried to
modify /boot/grub/grub.conf (in red hat enterprise linux 5) to be
similar to the lilo.conf on the website mentioned (grub.conf pasted at
bottom of email. Red hat still loads fine, however, ping boots until it
gets to the RAMDISK and VFS lines, here is the error my screen displays
just before freezing up.
RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (-28 !=32768) 4194304
VFS: Cannot open root device "<NULL>" or unknown-block(3,2)
Please append a correct "root=" boot option; here are the available
partitions
0800 97685784 sda driver: sd
0801 27985784 sda1
0802 1 sda2
0805 24994557 sda5
0806 4466038 sda6
0807 14673346 sda7
0808 25559383 sda8
0b00 1048575 sr0 driver: sr
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(3,2)
please let me know what I can do to make both partitions boot. thanks in
advance, earl
####################################grub.conf############################################
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that all
kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=60
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Client (2.6.18-128.1.16.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.1.16.el5 ro root=LABEL=rhel5 rhgb
quiet crashkernel=128M at 16M
initrd /boot/initrd-2.6.18-128.1.16.el5.img
title Red Hat Enterprise Linux Client (2.6.18-128.1.10.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.1.10.el5 ro root=LABEL=rhel5 rhgb
quiet crashkernel=128M at 16M
initrd /boot/initrd-2.6.18-128.1.10.el5.img
title Red Hat Enterprise Linux Client (2.6.18-120.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-120.el5 ro root=LABEL=rhel5 rhgb quiet
crashkernel=128M at 16M
initrd /boot/initrd-2.6.18-120.el5.img
############## below is what i've modified #########
title PING restore
root (hd0,0)
kernel /boot/ping.kernel append="pxe init=/linuxrc root=/dev/ram0 rw
noapic nolapic
lba devfs=nomount ramdisk_size=33000 load_ramdisk=1
prompt_ramdisk=0"
initrd /boot/ping.initrd.gz
title ping (/restore)
rootnoverify (hd0,6)
kernel /kernel append="pxe init=/linuxrc root=/dev/ram0 rw noapic
nolapic lba devfs=nomount ramdisk_size=33000 load_ramdisk=1
prompt_ramdisk=0"
label=restore
initrd /initrd.gz
More information about the rhn-users
mailing list