[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need help with Unstable and kernel 2.6.8



On (12/01/05 19:36), Scott Ehrlich wrote:
> I recently installed XP and Debian Unstable on separate partitions on my
> laptop.  I also wanted to upgrade to the latest kernel, and play with
> Grub.  I thus found http://www.desktop-linux.net/debkernel.htm and
> followed it to help me obtain kernel 2.6.8, which I compiled and installed
> per its instructions.   At the end, upon a reboot, I get the following and
> an error:
> 
> IP: routing cache hash table of 2048 buckets, 16Kbytes
> TCP: Hash tables configured (established 16384 bind 32768)
> ACPI: (supports S0 S1 S3 S4 S4bios S5)
> VFS: Cannot open root device "hda2" or unknown-block(0,0)
> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
> 
> I reviewed the Grub menu.lst and the exact configuration exists for both
> 2.4.27-1-686 and 2.6.8.  The 2.4.27 section works fine.  Here is the
> listing:
Hi Scott

The initrd line is missing for the 2.6.8 kernel

Check what's in /boot and ass the appropriate entry to menu.lst - then
run update-grub

HTH

Clive



> 
> 
> title           Debian GNU/Linux, kernel 2.6.8 Default
> root            (hd0,1)
> kernel          /boot/vmlinuz root=/dev/hda2 ro
> savedefault
> boot
> 
> title           Debian GNU/Linux, kernel 2.6.8 Default (recovery mode)
> root            (hd0,1)
> kernel          /boot/vmlinuz root=/dev/hda2 ro single
> savedefault
> boot
> 
> title           Debian GNU/Linux, kernel 2.4.27-1-686
> root            (hd0,1)
> kernel          /boot/vmlinuz-2.4.27-1-686 root=/dev/hda2 ro
> initrd          /boot/initrd.img-2.4.27-1-686
> savedefault
> boot
> 
> title           Debian GNU/Linux, kernel 2.4.27-1-686 (recovery mode)
> root            (hd0,1)
> kernel          /boot/vmlinuz-2.4.27-1-686 root=/dev/hda2 ro single
> initrd          /boot/initrd.img-2.4.27-1-686
> savedefault
> boot
> 
> ### END DEBIAN AUTOMAGIC KERNELS LIST
> 
> # This is a divider, added to separate the menu items below from the Debian
> # ones.
> title           Other operating systems:
> root
> 
> 
> # This entry automatically added by the Debian installer for a non-linux OS
> # on /dev/hda1
> title           Microsoft Windows XP Professional
> root            (hd0,0)
> savedefault
> makeactive
> chainloader     +1

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: