LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-23-2003, 06:55 PM   #1
spindley
Member
 
Registered: Mar 2003
Location: Calgary, AB Canada
Distribution: Slackware 14.0
Posts: 32

Rep: Reputation: 15
Dual Booting 2 Linux OS's


Hey everyone...just wondering if someone can help me figure this out. I currently have Slackware 8.1 installed on an 8GB drive (/dev/hda1). I'd like to make a 10GB partition on a 60GB drive that's in the system and install Mandrake 9.0 on it. What I'm wondering is do I need to install LILO on the 10GB when I install Mandrake? Or do I just have to edit my existing lilo.conf to choose between booting Slackware or Mandrake? And what would I have to add to it?

image = /boot/vmlinuz
root = /dev/hda1
label = Linux
append = "hdd=ide-scsi"
read-only

Would I just add another entry like that for Mandrake (changing /dev/hda1 to /dev/hdwhatever of course, I think /boot/vmlinuz is pretty standard although I could be wrong on that...) and would I leave boot set to /dev/hda?

Sorry for the barrage of questions. Hope someone can help me out
 
Old 04-23-2003, 07:22 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
You're on the right track. You do not need to install another lilo, and you do not need another swap partition either.

Copy your new kernel to your existing /boot partition (make sure it is called something other than your existing kernel...). Edit lilo.conf so the root points to your new mandrake installation, reboot and enjoy...
 
Old 04-23-2003, 07:38 PM   #3
spindley
Member
 
Registered: Mar 2003
Location: Calgary, AB Canada
Distribution: Slackware 14.0
Posts: 32

Original Poster
Rep: Reputation: 15
Copy the new /boot/vmlinuz or whatever from the Mandrake install and put it in my existing /boot dir? But rename it? And then add that line that I posted above with the new kernel and partition?

Thanks
 
Old 04-24-2003, 03:33 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
sounds about right. what you can do is to mount your mdk /boot partition to somewhere else and then set lilo to boot that kernel directly. what it does is (afaik) just copy the exact memory location of the kernel image to the boot sector. /mnt/mdkboot/ or whatever doesn't actually need to be mounted all the time, only for when you actually run lilo. Lilo seems really straightfortward compared to Grub for basic setups, but when you start doing things like this the logic breaks down quickly, and grub's ability to just directly access any partition without mounting them etc.. makes it a lot clearer with complex setups
 
Old 04-24-2003, 07:19 PM   #5
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
my lilo.conf includes
image=/vmlinuz #mandrake
label=LnxHdd3_2.4.18
root=/dev/hdd3

image=/mnt/hda5/boot/vmlinuz #
label=RedHat_7.3HD
root=/dev/hda5

lilo processes image's from wherever lilo.conf tells it.
In this case, after mounting hda5, RH is just another image.
 
Old 04-25-2003, 08:41 AM   #6
Cage47
Member
 
Registered: Feb 2003
Location: Pasadena, TX
Distribution: Debian Lenny
Posts: 220

Rep: Reputation: 31
vmlinuz is usually a link to the acutal kernel. You'll want to change your mandrake info to point to the actual kernel name. If you have the Mandrake info point to vmlinuz it'll point to the vmlinuz from redhat. I have Mandrake and Debian on one machine. I use mandy's lilo (looks nicer) but use debian as my main install. When I installed I installed Mandy first. Got it all in, with lilo setup fine. Then went in and installed debian and again let it install lilo. Then I manually entered an entry for mandrake by copying the kernel into the debian /boot partition (the actual kernel not the vmlinuz) and copying the lilo info from Mandrake into Debian's lilo. then booted reran lilo (to initialize the changes) then rebooted, and brought up Mandrake and did the same thing there to use Mandrake's lilo. (of course you could forget making the lilo changes like I did in Debian by using a boot floppy to get back into your first linux install. But the point was to let the second install install lilo so you can get the correct settings.)
 
Old 04-25-2003, 09:21 AM   #7
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
copying is not required
just have a similar lilo.conf for each distro/partition as shown above
or better, as i do, keep your lilo.conf on a diskette and boot from that diskette- avoid clobbering your MBR.
 
Old 04-26-2003, 05:13 PM   #8
spindley
Member
 
Registered: Mar 2003
Location: Calgary, AB Canada
Distribution: Slackware 14.0
Posts: 32

Original Poster
Rep: Reputation: 15
Well thanks to everyone's suggestions, I got everything working. I decided to try out suSE instead of Mandrake. Anyway, one more question, can there possibly be some conflicts with the network cards? I have two cards in this machine (eth0 and eth1). Eth0 is setup for dhcp, and eth1 is setup for LAN. They both work fine in Slackware, but won't work in suSE 8.0 I have them setup correctly and when I do ifconfig eth0 or eth1 up, I get eth0: unknown interface: No such device.
Any more help would be greatly appreciated

Mike
 
  


Reply



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
Dual booting Linux OS's virtualme Linux - Newbie 2 02-08-2005 09:16 AM
Booting 4 OS's with three primary partitions.. rrfish72 Linux - General 8 11-14-2004 04:10 PM
Problem Booting 2 OS's cptncraig Linux - Software 5 09-06-2004 07:50 PM
Multi Booting many, many, many, OS's mac_man25 Linux - General 10 10-26-2003 09:13 AM
Dual booting with WinXP and Linux (OS's on separate HDDs) DaveS Linux - General 11 03-09-2003 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:21 AM.

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