SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Had installed Slackware 12 into a usb thumbdrive.
Installed normally and rebooted into a kernel panic, message below
Quote:
...
...
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
Posts: 1,054
Rep:
Hi
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.
You might not need the initrd, try the rootdelay=10 method, that is supposed to delay the mounting of the root file system and let the USB flash drive initialise.
Last edited by mcnalu; 04-16-2008 at 11:16 AM.
Reason: broken link
You might not need the initrd, try the rootdelay=10 method, that is supposed to delay the mounting of the root file system and let the USB flash drive initialise.
HI mcnalu,
thanks for the link.
Will read through them
think you can share Slackware's grub stanza?
wanted to add it back into grub.
Hi
there are more than enough threads on the same problem .. did you go through them? they would probably give you answer faster
frankly, I did not read through them,
was die tired after reinstalling Debian to get online, and .. (add more excuses) .... I AM EMBARASSED !
thinking that the problem is due to something wrong that I've done during installation, was reinstalling over and over and over again for the past few days and was a little disorientated.
will read through the links and get it working
anyway, can you share the grub stanza for Slackware?
would want to add it back into grub.
lazylogic, you may get a slow response for the GRUB stanza since Slackware ships with LILO, and only a minority of users use GRUB to boot it. My LILO stanza is as follows:
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):
Code:
title Slackware
root (hd0,1)
kernel /boot/vmlinuz-generic-smp-2.6.21.5-smp root=/dev/hda2
initrd /boot/initrd.gz
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.