UbuntuThis forum is for the discussion of Ubuntu 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.
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.
I have been using Ubuntu 6.10 for several months now, and recently I decided that I like KDE and Kubuntu better, so I thought it would be a good idea to switch to it, and in the process upgrade to 7.04 so that I could get some Beryl packages with it. I downloaded the CD and everything, installed the system and booted up. Everything goes good for a few seconds, then the system hangs when booting the USB HID driver. I have no idea why. There isn't even hard drive activity. If I don't have any USB things plugged in, it hangs while "waiting for the root filesystem." Is there anything specific that would cause this?
If you are running a Pata disk with more than 15 partitions and has installed the latest Kubuntu with 2.6.20 kernel then a poosible explanation is :-
Kernel 2.6.20 abandones the Pata disk naming convention and calls it as a SCSI/Sata/USB disk like sda, sdb, sdc, sdd etc. As SCSI/Sata/USB disk cannot have more than 15 partitions the Pata disk, if has more, will cause Kubuntu to stop because no one knows what to do in such a situation.
The nuisance is the installer can recognise the Pata disks and use the convention during installation but the installed system doesn't.
It is definitely hanging on loading the root filesystem though, because I noticed that it just has a few more lines of output when there is a USB device in there; the root filesystem loading message is just above that. I considered whether it was the initrd image's fault, so I am going to try to load the kernel without it and see what happens here in just a minute. I will report back if anything changes for the better.
As for the IDE disk with > 15 partitions, I don't think that would apply to me, because I have five. I have three primary and two extended.
I did get it to boot up one time, looked at dmesg and /var/log/messages and stuff, and I didn't see anything explicitly wrong, but I guess I could have missed something. Are there any other ideas?
Oh my! I'm sorry! I forgot to specify, the lilo.conf file is on my Slackware system, so I have to mount the kubuntu partition to be able to load the kernel. I mount it on /mnt/kubuntu, so that's why that is like that. I know that will work some of the time because it worked when I was using Ubuntu 6.10, but if I can't do that now I don't know.
Instead of using the /mnt path, make copies of the vmlinuz and initrd (would suggest adding .kubuntu to the names to avoid confusion) and move the copies into the Slackware /boot directory (Slackware is booting right?). Next you would have to add these to the lilo.conf file. Looks something like this:
image = /boot/vmlinuz-2.6.20-15-generic.kubuntu
append = "root=/dev/hda3" ##### does the 2.6.20 kernel name all drives sd*? If so this would be /dev/sda3 and you would need to add **** for lilo
initrd = /boot/initrd.img-2.6.20-15-generic.kubuntu
****root = /dev/hda3
label = kubuntu
P.S. This is the only way i found to do this with lilo and is why i switched to grub . But this configuration should work.
edit: also, did knoppix put a vmlinuz and initrd file in / on hda3. If so might be best to use them.
From my experience I can confirm that the designated home for kernels and inird files is always "/" or "/boot". Standrd Lilo and Grub implementations always go to /boot directory. Only 1 to 3 distros in a 100 call them up from / directory but the master copies will still be in /boot
Well, you can boot kernels on other partitions with LILO too, but LILO just uses the memory address of where the kernel is stored. What that means is that as long as you mount the other partition, and then act like you're booting from the mount directory (<mount path>/boot/vmlinuz like I had), you can boot the other partition's kernel too. I will be sure to make a separate boot partition next time I do some hard drive editting.
I don't think that this has anything to do with my lilo.conf file now, I think it more has to do with some kind of incompatability with the OS on my computer. It's confusing me though.