Results 1 to 1 of 1
Hi all, I successfully installed kgdb patch linux-188.8.131.52-kgdb-2.4 for linux-2.6.15, but get the following error when trying to boot with the patched kernel: VFS: Cannot open root device "LABEL=/" or ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-31-2007 #1
- Join Date
- May 2007
kgdb Does not work/boot with LVM
I successfully installed kgdb patch linux-184.108.40.206-kgdb-2.4
for linux-2.6.15, but get the following error when trying to boot with the patched kernel:
VFS: Cannot open root device "LABEL=/" or unknown-block(0,)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
I am using Linux VolGroup manager VLM as shown below.
As I read on some other forums, I tried changing the boot option in grub loader from root=/dev/VolGroup00/LogVol00 rhgb quiet
to root=/dev/sda2 and sda1 etc....but when I try booting with this option it repeats the error message saying no such file.
sda does exist of course, but there is still some problem. Any clues as to what I'm missing? Will kgdb work with VLM or am I hosed and have to re-install under old fashioned sda boot device?
Thanx a bunch
root@loadtest160 windriver]# fdisk -l /dev/sda
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 9726 78019672+ 8e Linux LVM
[root@loadtest160 windriver]# more /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,m
anaged 0 0