SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Had installed Slackware 12 into a usb thumbdrive.
Installed normally and rebooted into a kernel panic, message below
md: ... autorun DONE.
VFS: Cannot open root device "sdb2" or unknown-block (0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unkknown-block (0,0)
Had tried to use different ways to boot into Slackware, for example:
- through Debian's grub (on the same thumbdrive)
- through usb stick
- through Slackware CD 1
but all resulting in the same error message.
Had tried reinstalling Slackware multiple times into the usb thumbdrive's different partition, sdb1, sdb2 and even using the entire thumbdrive space.
Still booted into the same error.
Had confirmed that the thumbdrive is working properly by installing and getting it working with Debian and Arch.
Appreciate if anyone know what else I can try
and a copy of your Slackware's grub stanza, for testing.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
welcome to lq
see the similar threads part below .. there are more than enough threads on the same problem .. did you go through them? they would probably give you answer faster
anyways ... short answer is .. you need to mkinitrd for a generic kernel or use the hugesmp.s kernel to boot. I don't know how well it will work for a USB install . Search on lq , there are quite a few threads on how to install slackware on USB drives.
That is assuming you use a generic kernel, which requires an initrd -- if you compile your own (or use one of the unrecommended huge kernels), you can omit the initrd line. Also note that you would have to change the "root =" line to point to your hard drive (sd?# or hd?#, where ? is a letter and # is the partition number). Of course, for GRUB this is quite different (eg. hd#,# where # points to your hard drive and partition, which is usually one less than the /dev/hd?# equivalent). An example GRUB stanza is shown below (using hd0,1, which represents hda2 -- modify it to point to your Slackware hard drive and partition):
kernel /boot/vmlinuz-generic-smp-22.214.171.124-smp root=/dev/hda2
This may not be correct (my experience with GRUB is very limited), but compare it to your other entries and try and set it up. Hopefully someone with more experience with GRUB will come along and correct any mistakes I have made.