LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2004, 10:31 PM   #1
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Rep: Reputation: 15
How best to go about having two distros on a system


My main system has Win98 and Mandrake 9.2, my backup system has Win98 and Slackware 9.1, due to an underabundance of monitors at my place I need to power down and swap boxes to go from one system to the other. I'm wanting to add Slackware to my main setup. What I'm wondering is, how do I isolate the one Linux OS from the other? I don't want Drake manipulating files that are critical to Slack and vice versa. I'm assuming I'd just remove any references to the other distro's partitions from fstab, right? Does anyone have any advice before I begin? Any pitfalls that you've already discovered that I should be warned about ahead of time?

Btw: what about Lilo? Will I need to manipulate Lilo myself to get all 3 OSes bootable or will the Slack Lilo incorporate the boot info from the current Drake version?
 
Old 07-22-2004, 10:37 PM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
each distro is on it's own partition, so unless you purposely manually manipulate things...they won't interfere with each other. they run quite independently of each other, and don't hop partitions to grab files on thier own.
i have 98se, XP, SuSE and Slack on one machine...they live wonderfully happy without bothering each other...

i'm not sure how you'd set up LILO or grub to handle them...but someone here will be able to tell you.
 
Old 07-22-2004, 10:51 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Mandrake will not touch the files from slackware because they will not be mounted on the same directories. All you need to do is split a partition and install slackware. You have to edit your bootloader and the fstab file in Mandrake for the change. The swap, /home, /boot partitons can be used by both Mandrake and Slackware. You may want to use grub to make it easier to change your boot menu on the fly. In the /boot you should have two sets of kernels. One will be for Slackware and the other will be Mandrake.

You may to get a KVM (Keyboard, Video, and Mouse) switch so you do not have to power down one system to switch the monitor to the other. The KVM will help you switch to multiple systems on the fly with a push of button the unit or on the keyboard.
 
Old 07-22-2004, 10:57 PM   #4
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
I can share one swap partition without problem since the other OS is dormant, is there any reason I should consider setting up any of the other Linux partitions as open to all OSes?
 
Old 07-23-2004, 06:37 PM   #5
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
So anyhow, now that I'm using Slackware on my backup system because installing Slack on my main system completely destroyed every single bit of data on every partition, including my FAT partitions, can anyone give me any advice on how to install both Mandrake and Slackware on a single system? I've got nothing left. Nothing.
 
Old 07-23-2004, 10:36 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I'm sorry about losing your data. You should backup your valuable data that can not be recreated before you attempt to install an OS or deal with disk utilities. You may want to use hard drives for backups.

With Mandrake, make the partitions as normal but make one extra one for Slackware. Like I said, you can also use /home and /boot for both Mandrake and Slackware. Use grub or lilo. You can also reuse /var/www and /var/ftp if you are going to use apache or proftp.
 
Old 07-30-2004, 02:10 AM   #7
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
I re-partitioned the drive as follows:
Windows FAT partition
Data FAT partition

Then I reinstalled 98, all went well.

Slackware / partition
Slackware SWAP partition
Slackware /usr partition

Then I installed Slackware, all went well.

Mandrake / partition
Mandrake SWAP partition
Mandrake /usr partition

Then I installed Mandrake, installing Mandrake's LILO to a floppy so as not to overwrite the Slackware LILO. All went well. Then I added the Mandrake Partition to the Slackware LILO and something went screwy. All the partitions boot but Mandrake now give me a lot of errors. It says it can't find the audio and optical drive components (among others). Any thoughts anyone?
 
Old 07-30-2004, 05:19 AM   #8
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
OK, this is how I got my WinXP / Mandrake / Slack setup working:

(1) Boot into Slack and mount the Mandrake "/" partition thusly:
Code:
su
<password>
mkdir /mnt/mdk
mount /dev/hdxy /mnt/mdk  (replace hdxy with whatever the partition is e.g. hda6)
cp /mnt/mdk/vmlinuz /boot/vmlinux.mdk
(2) Then edit the Slack lilo.conf to point it to the Mandrake kernel you copied to the Slack /boot.

here is my lilo.conf as an example
Code:
boot=/dev/hda (this is where lilo lives)
map=/boot/map
vga=788
default="Mandrake"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image="/boot/vmlinuz"
	label="Mandrake"
	root="/dev/hdb1" (Mandy root dir ... as you can see, it's not even on the same hd)
	initrd="/boot/initrd.img"
	append="quiet devfs=mount hdd=ide-scsi acpi=off"
	vga=788
	read-only
image=/boot/slack.kernel (I called the kernel this to avoid mistakes)
	label="slackware"
	root=/dev/hda1 (Ditto for Slack)
	append="quiet devfs=mount hdd=ide-scsi acpi=off"
	vga=788
	read-only
As you can see, Mandy is my preferred OS at the moment, but both OS's boot perfectly

I hope this helps you a bit.
Baldrick

Last edited by Baldrick65; 07-30-2004 at 05:21 AM.
 
  


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
How do I know which partition my distros are on? (Multi distros) glenn69 Linux - Newbie 3 06-18-2005 02:43 AM
Which distros use BSD-style layout for initialization files, and which System V's? kornerr Linux - General 5 06-11-2005 08:27 PM
On KDE-centric distros and 686 distros, what you think? mebrelith Linux - Distributions 4 03-23-2005 01:09 PM
Multiple Linux Distros on One System The_FireStart3r Linux - Software 2 08-28-2004 04:59 PM
Installing distros over distros sunilkgarg Linux - Distributions 8 11-07-2001 02:14 AM


All times are GMT -5. The time now is 06:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration