LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-16-2012, 08:14 PM   #1
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Rep: Reputation: 3
Back again with a different kernel panic


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?
 
Old 10-16-2012, 08:48 PM   #2
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Original Poster
Rep: Reputation: 3
Turns out I forgot to run /sbin/lilo after making my changes. Talk about feeling stupid.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging a Kernel Panic Event - Problem writing the log in panic situation lucasct Linux - Embedded & Single-board computer 5 09-08-2011 01:44 PM
starting to panic, hope i can get my data back santaliqueur Linux - Software 12 10-04-2005 10:46 PM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration