LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-06-2003, 12:13 PM   #1
Slakje
LQ Newbie
 
Registered: Jul 2003
Location: The Netherlands
Distribution: SuSE 8.2, Lycoris Build 75, LindowsOS 3.0, Mandrake 9.1 etc... ;)
Posts: 12

Rep: Reputation: 0
Exclamation Using LiLo to multiboot more than one distro


After losing my whole sunday with trying and trying I decided to post my problem here:

I have three OS's installed now on my harddrive (I have only one):
hda1: Windows Server 2003 ::NTFS
hda2: LindowsOS 3.0 ::ReiserFS
hda3: SuSE 8.2 ::ReiserFS
(hda3: swap ::LinuxSwap)

I had Windows & MDK installed first, and after trying several distro's (I wanted something else after a long time using MDK) I ended up with LindowsOS 3.0 (despite criticism I don't think there's anything wrong with Lindows). Lindows uses Lilo as boot manager and there were no boot problems at all, all went okay. But I wanted a more configurable Linux, but I'm not really a die-hard, so I wanted something not too Debian (I did try Debian though).

Today, I used SuSE's free FTP install. The installation went fine, but Lindows wasn't listed in the SuSE's Grub boot menu.
So, I decided to reinstall Lindows, to see wether Lilo would recognize SuSE. (Ofcourse) It didn't.

So my question now is (I know, I know, ill try to be to-the-point next time ): How should I configure Lilo.conf in order for it to boot into Suse?

If you need more info, let me know,

Thnx in advance.
 
Old 07-06-2003, 02:39 PM   #2
Slakje
LQ Newbie
 
Registered: Jul 2003
Location: The Netherlands
Distribution: SuSE 8.2, Lycoris Build 75, LindowsOS 3.0, Mandrake 9.1 etc... ;)
Posts: 12

Original Poster
Rep: Reputation: 0
Exclamation add. info

Here's some additional info, hopefully putting some logic into it all:

1. A reinstall of SuSE (and put Grub in hda3, then chainload into SuSE) isn't really an option, since the FTP install took me more than four hours. Not really looking forward to doing that again
2. I also cannot get into SuSE. Their rescue-disk doesn't seem to work. I can mount the hda3 partition though, in Lindows, maybe that's a help?
3. I know, I should've installed SuSE's grub into hda3 anyway. I'm only human okay? (and probably )
 
Old 07-06-2003, 04:49 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Slakje

Are you going to be using Lindows Lilo bootloader to try and boot all 3?

I'm just guessing so I'm not sure how helpful it will be - but I think you'll need to log on as Root in Lindows and mount the SUSE partition - this will then enable you to go in to Lindows's Lilo.conf file and create a new entry for the SUSE kernel image, initialisation file and root partition - the entires in Lilo for the various Linux distributions are similar, you just need the exact kernel name,etc for SUSE kernel and init file and also to point to the SUSE root partiton - hopefully if you've mounted the SUSE patition succesfully you should be able to get to its boot directory and get the exact filenames you'll need for putting into Lindows Lilo.conf.

When I dual booted Red Hat 9 and Mandrake 9.1 on the same hard drive I created 2 dummy directories in Mandrake for mounting Red HATS boot and root directories - I then could just copy Red Hat's lilo entries inot Mandrakes lilo.conf file - it was handy doing it this way because I could copy the exact "syntax" for Red Hat

If you manage to edit Lindows Lilo.conf succesfully remember to go to a console and type /sbin/lilo to create a new entry for SUSE in the Lilo boot menu when you next boot up.
 
Old 07-06-2003, 05:12 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
what I do is to create one /boot partition. I guess you have already used up all space though.

anyway consider this

create a partition for /boot, format and mount it somewhere other than /boot.
mount the other distros somewhere else.
copy each distros /boot files in the small /boot partition.
setup the /etc/lilo.conf to have all images from all systems and save it to all distros /etc folder
update all of the distros /etc/fstab files to mount the partition to boot (setup boot options to noauto, you can mount it manually if needed)

be sure the filesystem is supported by all distros

Last edited by DavidPhillips; 07-06-2003 at 05:13 PM.
 
Old 07-06-2003, 05:16 PM   #5
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
or

simply update the lilo.conf file to contain all distros images and run lilo


update all distros lilo.conf files and you can run lilo from whatever distro you want . This will show it's boot screen as well, so you can run one until you decide to change then boot into the other and run lilo


Last edited by DavidPhillips; 07-06-2003 at 05:19 PM.
 
Old 07-07-2003, 05:57 AM   #6
Slakje
LQ Newbie
 
Registered: Jul 2003
Location: The Netherlands
Distribution: SuSE 8.2, Lycoris Build 75, LindowsOS 3.0, Mandrake 9.1 etc... ;)
Posts: 12

Original Poster
Rep: Reputation: 0
Thumbs up ...

Okay...

I was wondering already why, after I edited my lilo.conf to point to suse's kernel etc., it didn't found them.

I should've just mounted hda3 and point towards the mount point for hda3.

Seems kinda obvious now...

Thanks!
 
Old 07-07-2003, 06:02 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
FYI, Grub is much more suitable for handling this kind of setup. Whilst you start off thinking that "(hd1,3)/vmlinuz" is much more confusing that lilo's more familiar "/boot/vmlinuz" the grub way means you don't need to mount any partitions and such like, so it's a lot more scalable
 
Old 07-08-2003, 05:36 PM   #8
softcore26
Member
 
Registered: Jul 2003
Location: columbia
Distribution: Linux+XP
Posts: 40

Rep: Reputation: 15
if nothing works....just do a ftp install...BUT CHOOSE UPDATE....(and dont select any new packages) it will take only 3-10 minutes to load the initial program into RAM and then it will load the boot-loader...thats it..you can edit the boot-loader.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[LiLo] can't multiboot WinXP Rikra Linux - Software 4 11-01-2004 08:00 AM
Multiboot WinXP, FC2 & Xandros under Xandros lilo? RobF Fedora - Installation 9 08-16-2004 02:01 PM
Multiboot Problem with LILO fati Linux - General 0 06-14-2004 01:33 AM
multiboot problem with lilo bashrc2 Slackware 1 04-09-2004 02:26 AM
Mandrake LILO - Multiboot mailmarshall Linux - Newbie 3 02-17-2004 01:08 AM


All times are GMT -5. The time now is 11:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration