LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2007, 02:16 PM   #1
da_twink
LQ Newbie
 
Registered: Apr 2007
Distribution: Slackware 11.0
Posts: 9

Rep: Reputation: 0
kernel panic: VFS: unable to mount root fs on 08:02


I am tryint install Slackware 11 onto my Maxtor 100GB USB Harddrive as such:
/dev/sda1 - Win
/dev/sda2 - Linux
/dev/sda3 - Linux Swap
Upon my attempt to boot I received this message:

kmod: failed to exec /sbin/modprobe -s -k black-major-8, errno = 2
VFS: Cannot open root device "802" or 08:02
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:02

I saw a similar thread but it was far too complicated for me. Please help, I have no idea how to get Linux running.
 
Old 04-14-2007, 05:38 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I think Slack uses lilo boot loader by default, which may not support booting from USB drives, might have to do some research on that. If it has lilo, you should be able to boot the computer with the Slack disc in the drive and type: linux rescue at the boot prompt and possibly get a menu with the option to re-install the boot loader, of course you want it installed in /dev/sda. Because of the error message, there may be incorrect entries or missing entries in /etc/lilo.conf. So if re-installing does not do it, have a look at this file from a CLI by typing: 'less /etc/lilo.conf' with the terminal window maximized. You should see something similar to this lilo.conf from my Mandrake:
Code:
default="linux"
boot=/dev/hda
map-/boot/map
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/oot/vmlinuz
         label="linux"
         root=/dev/hdb1
         initrd=/boot/initrd.img
         append="acpi=ht resume=/dev/hdb2 splash=silent"
         vga=788
         read-only
image=/oot/vmlinuz
         label="linux-nonfb"
         root=/dev/hdb1
         initrd=/boot/initrd.img
         append="acpi=ht resume=/dev/hdb2"
         read-only
image=/oot/vmlinuz
         label="failsafe"
         root=/dev/hdb1
         initrd=/boot/initrd.img
         append="failsafe acpi=ht resume=/dev/hdb2 devfs=nomount"
         read-only
other=/dev/hda1
         label="windows"
         table=/dev/hda
In all these that have "root=/dev/hdb1" yours should be "root=/dev/sda2". If nothing seems wrong and the boot loader is installed in /dev/sda, then maybe you might have the option somehow to install grub boot loader instead of lilo, my Mandrake gives me the option to switch to grub in the final configuration stage of the installation process.

Last edited by Junior Hacker; 04-14-2007 at 05:40 PM.
 
Old 04-14-2007, 05:45 PM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I'm assuming the bios gives you the ability to boot from a USB device and you installed the boot loader in the USB drive, if you installed it on the internal hard drive, this is where the "VFS: Cannot open root device "802" or 08:02" and "Kernel panic: VFS: Unable to mount root fs on 08:02D" errors come into play.
 
Old 04-15-2007, 01:18 AM   #4
da_twink
LQ Newbie
 
Registered: Apr 2007
Distribution: Slackware 11.0
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, I did install lilo to the usb and not the ide.
And I attempted to start 'linux rescue' and it gave me the same error message as above except it couldnt mount root fs on 03:07.
So I tried to do some of what this thread had to say: http://www.linuxquestions.org/questi...d.php?t=477447
to re-install the kernel as described here:
http://www.sysdesign.ca/guides/linux_kernel.html
so I could enable scsi and mass storage support as shown here:
http://gentoo-wiki.com/HOWTO_USB_Mass_Storage_Device
but it did not work. I unpacked the linux-2.6.20.tar.gz successfully but could not run any of the described commands (make menuconfig and such).
So I am confused. I greatly appreciate the help and humbly ask for more.
 
Old 04-15-2007, 02:31 AM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
WOW!
Slackware must have some diamonds in the binary code!
Maybe I shouldn't have chucked it in the garbage a couple years ago when I got white noise trying to install it.
 
Old 04-15-2007, 12:28 PM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I wonder what this person is doing right?

http://www.linuxquestions.org/questi...d.php?t=546219
 
Old 04-15-2007, 10:06 PM   #7
da_twink
LQ Newbie
 
Registered: Apr 2007
Distribution: Slackware 11.0
Posts: 9

Original Poster
Rep: Reputation: 0
Well I tried doing what that link said with the mounting of my usb before running setup and I ended up with the same thing.
 
Old 04-16-2007, 10:30 PM   #8
da_twink
LQ Newbie
 
Registered: Apr 2007
Distribution: Slackware 11.0
Posts: 9

Original Poster
Rep: Reputation: 0
Well I gave up and dual booted on my ide.
 
Old 04-16-2007, 10:49 PM   #9
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
If there's enough room on the internal, probably best. I have a 250GB SATA with 7 OS's and 10 primary partitions, one of the partitions is 110GB shared data partition formatted ntfs. My external is primarily a back up drive for my data. I repair computers, it's surprising how people wait till disaster is knocking before they consider backing up their data.
My / partitions are 10GB for all Linux, 15GB for Windows XP and Media Center.
 
  


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
Kernel panic: VFS: unable to mount root fs on 08:05 rayman2 Red Hat 2 05-03-2006 01:35 PM
Kernel Panic :VFS :Unable to mount root fs on 00:00 mohsin649 Linux - Newbie 3 09-05-2005 07:29 AM
Kernel panic: VFS: Unable to mount root fs on 03:01 Dark Severance Red Hat 8 06-27-2005 12:05 PM
Kernel panic: VFS: Unable to mount root fs on 08:01 welsh2000836 Debian 3 08-31-2003 03:34 PM
kernel panic:vfs:unable to mount root fs on 03:06 brianlan Linux - Software 4 06-28-2002 11:16 PM


All times are GMT -5. The time now is 08:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration