Can't add Ubuntu in lilo.conf
Hi, everyone.
I finally installed Slackware and now I have Windows, Slackware and Ubuntu in my laptop. I installed Ubuntu at the last order and at that time GRUB the default loader. But I feel that I'd like to use lilo more, so I booted into Slackware and run "lilo" and then lilo became the default loader. But then I cannot access Ubuntu anymore. Because in lilo there're no information about Ubuntu. So I added some information about Ubuntu according to that of Windows in lilo. But that failed. I still cannot access Ubuntu. I searched for the posts about this problem, and this is what they say: Quote:
But in my slack I cannot find the image or the initrd. Could someone tell me how to solve this? |
Hi there,
I used to add entries in lilo just like this: image = /boot/vmlinuz-2.6.15.2 root = /dev/hda1 label = linux Make sure your paths and file names are correct and remember to execute lilo every time you make a change to update the boot loader. |
I've written a possible solution in your duplicate thread:
http://www.linuxquestions.org/questi...o-conf-855354/ |
Alternative
Greetz
Maybe this is a hangover from older times using 3rd party bootloaders like Xosl and AirBoot but I like redundancy. I install all systems bootloaders to the root partition, edit conf to refer to all others and then only have one on the main MBR. That way if i can even get to one, I can get to them all. This may not apply to your system now since most people don't have but two bootable systems on one box. Not only do I experiment with "testbed" installs but I like having a maintenance system. Granted LiveCDs have greatly diminished their value but there are still some advantages to an actual hdd install. In this specific case it sounds like you have at least two Linuxes. The easiest way is to chainload as in Code:
Other=Ubuntu |
OP's duplicate thread:
http://www.linuxquestions.org/questi...o-conf-855354/ |
Quote:
I tried this and here's the content I added: Quote:
|
Milter J, you have to mount Ubuntu's partition first and put its mounted path to lilo.conf. I gave such an example in your other thread.
|
Before you were using /dev/sda7 and now /dev/sda5, which partition has ubuntu ?
You can check all your partitions with: sudo fdisk -l or fdisk -l (as root) Make sure you've got the right partition number ;) |
Haha~ The first "sda7" was just a QUOTE that someone else took for an example~
Now I got this solved. Just mount the disk and then finding the "image" and "initrd" file would be very easy. And add Quote:
Now I'm in Ubuntu already. Thank you, SeSoX |
It's a sign from God.
|
This is ubuntu kernel and its initrd placed in Slackware /ub directory. So you cannot find them at least you will copy them.
|
Are you sure that you are running ubuntu with its native kernel? For me all this looks like miracle - the solution. But maybe (it is possible) in fact you are running ubuntu with Slackware kernel. I can imagine that huge-smp kernel is able to do that. I did this some time ago.
|
Quote:
My slackware is installed in /dev/sda1 and Ubuntu is in /dev/sda5. I mounted the disk sda5 to /mnt/hd and then I added the info using files in /mnt/hd/boot/. So I think I'm running Ubuntu kernel... Is there a way to detect whether I'm running Ubuntu or Slackware kernel? BTW, I have no "ub" folder in slackware(at least I didn't find it - -). |
Maybe this will help: http://www.gentoo.org/doc/en/handboo...p=10#doc_chap3
|
Quote:
|
All times are GMT -5. The time now is 12:11 PM. |