LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Kernel Panic On Slackware (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/kernel-panic-on-slackware-459875/)

linux_over_windoze 06-30-2006 06:06 PM

Kernel Panic On Slackware
 
Hi, I am trying to run Slackware off of a external Seagate 60 Gb HD. I have no trouble installing it but when I try to boot Linux it successfully checks the BIOS and goes into booting... but then after a few lines it gives me the error message "Kernel panic: VFS: Unable to mount root fs on 08:01". The computer that the HD is plugged into is a Toshiba sattelite, but I do not know the model if that helps. Thanx in advance!

cwwilson721 06-30-2006 09:05 PM

Boot with CD1, at the 'boot:' prompt, type in whatever it says just above it (about booting an install with the cd. something like "root=/dev/hda..." Change hda to whatever your external drive dev is.

After booting, please post the results of:
Code:

fdisk -l
lsmod
lspci

And what filesystem did you format the hdd with? Ext3? Reiserfs?
And what kernel did you install? bare.i? bareacpi.i? test26?

Fluxx 07-01-2006 02:39 AM

If your external harddisk with Slackware on it is connected with an USB cable you have to create an initrd.gz with needed usb kernel modules, so that the booting system is able to find the root filesystem on your external usb drive. It works fine here, but the initrd.gz is needed to boot the system successful.

Fluxx.

linux_over_windoze 07-01-2006 08:05 AM

This post has been deleted by postee.

linux_over_windoze 07-01-2006 08:06 AM

Ok I got the results of the fdisk -l and the lsmod but when I typed lspci it said "lspci:No such file or directory" so I wasn't able to get that one. The message from fdisk -l is:

Device Boot Start End Blocks ID System
/dev/sda1 * 1 7244 58187398+ 83 Linux
/dev/sda2 7245 7296 417690 5 Extended
/dev/sda5 7245 7296 417658+ 82 Linux Swap


and then the message from lsmod was:

Module Size Used By Not Tainted
usb-storage 66432 0
keybdev 2084 0 unused
mousedev 4244 0 unused
hid 21508 0 unused
usbkbd 3448 0 unused
input 3232 0 [Keyboard mousedev hid usbkbd usb-ohci
usb-ohci 19304 0 unused echi-hcd]
ehci-hcd 17644 0 unused
usbcore 59468 1 [usb-storage hid usbkbd usb-ohci ehci-hcd]

and the file system is ext2 and I am using the bare.i kernel.

linux_over_windoze 07-01-2006 04:23 PM

I wanted to point out that the last post was kinda hard to read but if you have any trouble just tell me and I will figure out a way to make it easier to read.

cwwilson721 07-01-2006 08:04 PM

Quote:

Originally Posted by Fluxx
If your external harddisk with Slackware on it is connected with an USB cable you have to create an initrd.gz with needed usb kernel modules, so that the booting system is able to find the root filesystem on your external usb drive. It works fine here, but the initrd.gz is needed to boot the system successful.

Fluxx.

Use this. If you need assistance with 'mkinitrd', look at the instructions in /boot


All times are GMT -5. The time now is 01:03 AM.