LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-15-2007, 04:20 PM   #1
Ezedul
LQ Newbie
 
Registered: Dec 2006
Posts: 13

Rep: Reputation: 0
Cant see other distros


Hey people,

I've recently installed both Ubuntu and Slackware on my comp.
I installed Ubuntu first, and then Slackware hoping Lilo would be able to let me boot into all 3 OS's... Slack, Ubuntu and Windows.
That never happened, and honestly I dont know enough to even try to mess with the Lilo conf chart... I know that if I screw up I can always fix the Windows MBR and just install linux all over again, I dont have a problem with that... but I've done it too many times, and I'd rather find a smart solution instead.

I tried reinstalling Ubuntu again today, and Grub does show all 3 OS's... but I like Lilo better.
I havent logged into Ubuntu yet, since the last time I installed it, and I still dont know if I have access the my Slackware partition, but I can deff not see Ubuntu on Slackware...

Any ideas??

Thanks a lot
 
Old 09-15-2007, 10:31 PM   #2
witz
Member
 
Registered: Aug 2007
Posts: 46

Rep: Reputation: 16
For the lilo; first you need to restore lilo.Do that by booting up from the slackware
cd,login,and mount the slackware / partition.Then restore lilo by running command:
lilo If you're not comfortable in virtual console, then do that above and reboot.Lilo should start up with slack;then from there get back on slackware and read man lilo.conf and it will explain how to add the other OS's.MAKE SURE that after modifying the /etc/lilo.conf file you need to run again command lilo again.If you don't lilo won't be using the newly modified lilo.conf settings.

Oh and just mount the ubuntu partitions you need to see and you're good to go.

Last edited by witz; 09-15-2007 at 10:40 PM.
 
Old 09-16-2007, 12:40 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
If you know the partitions where you installed Slackware and Ubuntu it's quite easy. E.g. /etc/lilo.conf:

image = /boot/vmlinuz-2.6.21
root = /dev/hdaN
label = Slack
read-only

image = /boot/vmlinuz-2.6.21
root = /dev/hdaN
label = Ubuntu
read-only

You need only set the root= line to point to the correct partitions and make sure that the image= part points to the correct kernel. Then run 'lilo' as root.
 
Old 09-16-2007, 02:41 PM   #4
Ezedul
LQ Newbie
 
Registered: Dec 2006
Posts: 13

Original Poster
Rep: Reputation: 0
I can reinstall lilo, but I still cant mount my ubuntu partition... I've tried everything, and it still wont recognize it.

I dont think I can boot from a partition I cant even see...

*Edit* - I meant, I dont think I can add Ubuntu to Lilo if I'm not able to mount that partition on Slackware... is that possible though? - *Edit*

I've considered just sticking with grub, I found an easy way to manage it, change the countdown, default OS, etc etc... but I still want to be able to mount my ubuntu on Slackware...

Ideas?

Gracias!

Last edited by Ezedul; 09-16-2007 at 06:28 PM.
 
Old 09-16-2007, 02:48 PM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
It is very unclear what you want to do. Mounting a partition and booting a partition are not the same thing.

Perhaps you could post your partition table (output of "fdisk -l")

Brian
 
Old 09-16-2007, 10:41 PM   #6
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
What you should have done is :

Installed slackware. That would install lilo in your MBR.
Install ubuntu. ask it to install grub in the root partition itself (not on MBR).

chainload!

put
label=Ubuntu
other=/dev/hdaX

where hdaX is the partition where you installed ubuntu / grub.
 
Old 09-17-2007, 09:13 AM   #7
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
This is all a bit confused.

As I understand if you want to be able to add Ubuntu to you lilo which is set up from Slackware you are going to have to mount your Ubuntu partition somewhere when you are in slackware.

To do this you need to create a mount point as root eg.

Quote:
mkdir /mnt/ubuntu
then, assuming you know which partition ubuntu is on, mount it

Quote:
mount /dev/sda* /mnt/ubuntu
Then you need to edit lilo.conf so that it contains the relative path to your ubuntu vmlinuz, that is /mnt/ubuntu/boot/vmlinuz before running lilo.

Personally I much prefer grub. All you have to do is find menu.lst and edit that.
 
Old 09-17-2007, 11:52 AM   #8
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
that won't work (unless ubuntu is in primary partition, even still though it will probably not work). What you could try is
cp the ubuntu kernel to your main slack /boot/
and then start that with a proper root=/dev/sdaX which afaik should work

Chainloading is still your best option.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Distros, distros, distros...slight rant.. Jamesb427 Linux - Distributions 1 05-31-2007 03:10 PM
LXer: See distros. See distros run. Run, distros, run. LXer Syndicated Linux News 0 06-13-2006 01:24 AM
How do I know which partition my distros are on? (Multi distros) glenn69 Linux - Newbie 3 06-18-2005 02:43 AM
On KDE-centric distros and 686 distros, what you think? mebrelith Linux - Distributions 4 03-23-2005 01:09 PM
Installing distros over distros sunilkgarg Linux - Distributions 8 11-07-2001 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration