Unable to boot CentOS from Slackware lilo
Hi all,
I'm using lilo to multiboot Ubuntu and Centos along with Slackware. Ubuntu boots fine but Centos does not. I get kernel panic message. The following is my fdisk -l information: Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes a) /dev/sda1 is Slackware b) /dev/sda2 is Ubuntu c) /dev/sda5 is seperate /boot for Centos (I had previously installed F11-Preview so had made seperate /boot with ext3.) d) /dev/sda8 is Centos Here is my lilo.conf: Code:
boot = /dev/sda Code:
Trying to resume from /dev/sda6 What should I try? |
Just a guess here, but seeing as no one else as responded - what can it hurt?
Looks like you are getting a missing /dev error.... you could try an append option in your CentOS section...maybe something like this(again, just a shot in the dark here) append = "resume=/dev/sda6 devfs=mount" |
initrd = /mnt/cent/initrd-2.6.18-128.7.1.el5.img
Here's another guess (since the LILO config looks correct from what I can tell). Please double-check that there are no typos in the name of the initrd file there, on the CentOS section of the lilo.conf. The boot error tells me that there is no support for the filesystem used on /dev/sda8 (or some similar error), which in turn, hints to me that the initrd is not being loaded. Sasha |
And another guess ... where did you tell centos and ubuntu
respectively where to put "their" boot-loaders? I'll hazard the guess that for ubuntu it was it's root? Cheers, Tink |
@adamben, will try what you suggested.
@Sasha, the typo is correct I checked several times. @Tink, Ubuntu was my main os till now and I don't remember if I meddle with bootloader during installation. Which means it must have gone into MBR. Whereas for Cent, I had selected to install bootloader on...err what? I don't remember now. :-( Hmm...as much as I can remember, I had to create a seperate /boot with ext3 thanks to F11-Preview. Then I decided to try CentOS and during Cent install I selected swap, seperate /boot on /dev/sda5 and / on /dev/sda8. I did not install grub on MBR, thats for sure. But I can't remember whether I choose to install on root partition or chose not to install grub. How to find out? Btw, is there an option of "configfile ...", like it is in grub? |
To update:
@adamben, I tried your suggestion. It does not help. Fed up and not sure if this is a lilo problem (grub used to boot Centos fine), I installed grub. But when I do grub-install it complains about not being able to read stage1 properly. Don't know what to do. Am thinking of reinstalling Ubuntu's grub on MBR. P.S: Strangely, on my desktop, Debian is not able to boot Slackware 13(it used to boot Slack 12.1 though). :-( |
I haven't tried this myself, but perhaps it could be useful to you ( If anyone has tried it and would recommend against it - please - pipe up :) ).
http://www.supergrubdisk.org/ |
hmm, I have put Ubuntu's grub on MBR again. All distros are booting fine now. ;-)
@adamben, will check that link. Have seen many others recommend super-grub before. Thanks. |
All times are GMT -5. The time now is 05:09 PM. |