LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-28-2008, 04:03 PM   #1
juju
Member
 
Registered: Jan 2005
Location: California
Distribution: Slackware current 08/2020
Posts: 53

Rep: Reputation: 0
External drive, installed Slackware & the panicked kernel


Greetings,

I'm not a newbie, but it's been some time since I worked regularly with a Linux system. I'm trying to get back into the swing of things, so please bare with.

I installed Slackware 12 onto my Western Digital 160GB drive, which I normally attach to my dell (xp) inspiron 9300 laptop. The installation process was like butter. No problems. I installed the mbr onto the external drive. Two linux partitions: 1GB swap (sdb1) and the root (sdb2) ext2.

I've seen the following problem on other posts, but haven't found a solution.

I set my bios to boot, first, from a usb device and this works. I boot and get the lilo screen. I hit enter at the boot prompt and it goes through the process and shortly thereafter I get the following error message:

"VFS: Cannot open root device '812' or unknown-block(8, 18)
Please append a correct 'root=' boot option
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8, 18)"

The process freezes at this point.

Here is my relevant lilo.conf for Slackware:
boot = /dev/sdb

#
image = /boot/vmlinuz
root = /dev/sdb2
label = /dev/sdb2
read-only
#

I'm able to go into this Slackware installation using Wolvix and it works fine. It just won't boot correctly. Any suggestions?

Many thanks...

Justin
 
Old 02-28-2008, 10:16 PM   #2
SlackMaster
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Justin,

Go back into that partition in Wolvix, then cat the slackware intall partition's
/var/log/dmesg file, and post its contents here.

That will tell us us what's happening right before the VFS error.

Normally, it should work as long as all of the modules required to mount the root partition are loaded. With a more common installation (IDE hard drive installation) the disk and filesystem drivers are compiled into the kernel. In this case (USB disk root install), though, you'll need USB mass storage support, in addition to the filesystem.

I don't believe that the USB Mass Storage drivers are compiled into the kernel, so you may need to follow the mkninitrd instructions in the slackware root/install partition's /boot/ directory. This is because, for USB Mass Storage support, you'll need both the USB modules and the SCSI (emulation) modules loaded, before you can load the kernel on from that partition.
 
Old 02-28-2008, 11:18 PM   #3
juju
Member
 
Registered: Jan 2005
Location: California
Distribution: Slackware current 08/2020
Posts: 53

Original Poster
Rep: Reputation: 0
SM,

Thanks for the response. I booted Wolvix and then 'chrooted' into my usb installation. I was unable to find /var/log/dmesg. And entering dmesg at the prompt got me the output for Wolvix (I ran grep on dmesg using 'panic' and got no response).

I guess at this point, I'm going to have to look into mkinitrd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
my kernel panicked pinoyskull Ubuntu 4 08-30-2007 01:55 AM
Just Installed external drive, need to format - Help! mpdickson Linux - Newbie 6 06-01-2007 02:34 PM
HELP! Mounting External NTFS Drive (with Slackware 10.2\kernel 2.6.12.6) imac1701 Linux - Hardware 1 05-14-2006 05:25 PM
Another Panicked Kernel... Emoboy7 Linux - Software 6 06-09-2005 02:04 PM
Kernel panicked: Attempted to kill init! edok Linux From Scratch 2 06-13-2003 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:02 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