Dual boot Kubuntu/Slackware on 2 hard drives (SATA/IDE)
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.
Dual boot Kubuntu/Slackware on 2 hard drives (SATA/IDE)
I can't believe I can't find anyone else who has this problem. I have Kubuntu Gutsy installed on a SATA hard drive and want to install Slack 12 on and IDE. I did not install LILO but wanted to try to get everything working from GRUB.
With a generic kernel you need an initial ramdisk (initrd). You'll want to boot into a slackware huge kernel, then from there use mkinitrd to make one. I'm not sure exactly sure how to do this as I use my own custom kernel (which is another possible solution for you).
Got it. Changed my menu.lst file to the huge kernel and it booted right up! Is it because the generic kernel is not loading needed modules and the huge kernel does?
I really appreciate all your replies. Now I'm going to have some fun breaking this box over and over!
The huge kernel contains almost everything (including the filesystem) in the kernel itself (hence why it is 'huge'). The generic kernel contains very little within the kernel but instead provides almost everything as modules. Most modules can be automatically loaded for you and you won't have to do much. However, the filesystems are also built as modules and the system can't do anything until it can read your files, and to do that it needs to be able to access the filesystem. Therefore, you need to make an initial ramdisk (an initrd) that loads the filesystem that you use on your / partition so the system can actually boot. arubin's instructions should work perfectly (you can do that when you have booted into the system using the huge kernel). Then you can add a GRUB entry to boot Slackware using the generic kernel (I would leave an entry that boots the huge kernel though just in case you mess up your generic kernel or the initrd -- the huge kernel will almost always boot, allowing you to fix your system).
Good to see it worked. Here's my explanation for what was going on:
On boot, the kernel is loaded into RAM, but the modules are NOT. So if the kernel was not built with support for the filesystem you are using on your root '/' partition, it cannot mount the root partition and thus cannot access any modules including the one needed to mount the root partition ... a type of catch22, and the kernel panics. So, the two possible solutions are to load the modules into RAM on boot using initrd, or boot a kernel with the filesystem used on the root partition built-in rather than as a module. The generic kernel only has ext3 support built-in, while the huge kernel has support for pretty much every filesystem built-in, which makes it a good install kernel and as a backup.
Last edited by H_TeXMeX_H; 03-13-2008 at 08:12 AM.
you're right, it's as a module as well ... this is odd, I could have sworn it was built-in. But then, this doesn't make sense, then this kernel is actually not bootable without an initrd, right ?
Sorry, I should have checked the config. Maybe it was the generic in SW 11.0 that had it built-in.
Maybe it was the generic in SW 11.0 that had it built-in.
No. I used to run 11.0 with a kernel that I had compiled, the only difference from generic being that it had ext3 compiled in.
I think the Slackware 2.6 kernels have always been like this.
But it is little difficult to get you head round. The booting process can read the disc well enough to load the kernel or the initrd but not to load the module.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.