Recently, my laptop experienced a kernel panic after a power outage (
http://www.linuxquestions.org/questi...99#post4805599) and ever since it's been a little weird. I'm back with a new issue. Today, I woke up and my laptop gave me a new kernel panic issue which I thought nothing of and tried to reboot. Should have taken notes
but anyway, when I tried to reboot my laptop it gave me a kernel panic on startup. Which is similar to the one I just fixed in the thread mentioned above. The error is:
Code:
VFS: Cannot open root device "802" or unknown block(8,2)
Please apend a correct "root=" boot option; here are the available options:
Under the options it lists "/dev/sda" as 801 so it should not be trying to boot to "802" to begin with. Furthermore, if you wish to read the thread above I describe how my root somehow got changed to /dev/sda2; this is no longer the case. I booted up my Slackware install DVD as a recovery console and used cfdisk to check /dev/sda initially suspecting this was the same issue I had before. However cfdisk reports that my root partition is "/dev/sda1" with an ext4 filesystem. So I used vi to make /etc/fstab and /etc/lilo.conf reflect this change.
Here is my /etc/fstab:
Code:
/dev/sdc /media/philips auto defaults 0 0
/dev/sdb1 /media/sd auto defaults 0 0
/dev/sdc1 /media/usb ntfs-3g deafaults 0 0
/dev/sda5 swap swap defaults 0 0
/dev/sda1 / ext4 defaults 1 1
/dev/sdd /media/hd auto defaults 0 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
And the relevant section of /etc/lilo.conf:
Code:
image = /boot/vmlinuz-custom-3.2.12
root = /dev/sda1
label = Gene-PC
read-only
The kernel panic message leads me to believe that my kernel is trying to boot from the wrong root partition. This is further substantiated from the fact that I am able to boot my laptop from the Slackware DVD using the workaround at boot time
Code:
boot: hugesmp.s root=/dev/sda1 rdinit= rw
So, if my root partition ( / ) is listed as /dev/sda1 in /etc/fstab, why is my kernel trying to boot from somewhere else?