I have downloaded the new kernel 2.6.10. Compiled it, added a new section to lilo, and when I try to boot it I get
Code:
VFS: Cannot open root device "301" or unknown-block(3,1)
Please append a correct "root=" boot option.
Kernel panic - not snycing: VFS: unable to mount root fs on unknown-block(3,1)
I've googled this many times, no solutions so far.
Here is my lilo.conf :
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga=ask
#vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/hdb1
label = Windows
table = /dev/hdb
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
vga=ask
# Linux bootable partition config ends
image = /vmlinuz
root = /dev/hda1
label = Linux2.6
read-only
vga=ask
And my fdisk -l
Code:
bash-2.05b# fdisk -l
Disk /dev/hdg: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk /dev/hdg doesn't contain a valid partition table
Disk /dev/hda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1008 7620448+ 83 Linux
/dev/hda2 10183 10337 1171800 5 Extended
/dev/hda3 1009 10182 69355440 83 Linux
/dev/hda5 10183 10337 1171768+ 82 Linux swap
Partition table entries are not in disk order
Disk /dev/hdb: 120.0 GB, 120000000000 bytes
240 heads, 63 sectors/track, 15500 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 15500 117179968+ c W95 FAT32 (LBA)
bash-2.05b#
I am using a PCI to IDE controller card to control the extra 80gb /dev/hdg
Anyone have a good solution for this?
and my /dev/hda1 is my root partition.........
And I tried to compile it this way also :
Thanks.
Code:
make clean && make mrproper
make menuconfig
make bzImage
make modules
make modules_install
Thanks!