LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-15-2005, 02:06 PM   #1
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Dual boot partitionscheme for two linux distros..


Hi,

Now im planning to install two linux distribtutions on my IBM R51 laptop (Slackware offcourse & gentoo)

The laptop has a 40GB drive.

How should my partitiontable for the two distributions look?

Would I be able to let them use the same /boot /home /var etc dir?

Sincerely, Jorgen
 
Old 12-15-2005, 05:15 PM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
I have two versions of SuSE (9.1 and 10) installed alongside each other, as well as Windows 98. I have two Linux partitions (using ReiserFS) and one swap partition which is shared by both distros. The Linux partitions on my disk are 27GB and 20GB respectively, but both are less than 1/3 full, so partitions of around 18GB should be fine. The swap partition is 1GB.

Using the same /home directory should be no problem. Either add a line in /etc/fstab to mount the /home of one distro on /home in the other, or create a fourth partition and mount this on /home in both. Not so sure about sharing the other directories - think it would depend on them having compatible setups. I know that some of the files in SuSE's /etc are quite different to those in other distros.

I actually installed SuSE 10 long after installing 9.1, using the installer to resize the partition. Despite the warnings it gave me, it worked perfectly. I've stuck since with 9.1 because I have found some things on my system that I can't get working in 10 (e.g. my modem)

Good Luck,
Rob

Last edited by Robhogg; 12-15-2005 at 05:19 PM.
 
Old 12-15-2005, 05:23 PM   #3
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
Apart from swap it is not suggested you share partitions between two distros. You could share /boot as well, but is somewhat tricky as you need to move the kernel image and eventually the initrd image (if present) of distro #2 to the /boot partition of distro #1. Then edit the /etc/fstab of distro #2 according to your needs.
Do not share /home and /var partitions since they usually contains a lot of dot config files necessary for X server, bash, printer sockets and so on...distro specific
Also remember not to install Lilo/Grub on both distros.
My suggestion is you create a mount point of your choice (ie /distro2) on distro #1 and after mounting the distro #2 /boot partition there, you edit /etc/lilo.conf adding a section for distro #2 as necessary and run lilo.

This is my /etc/lilo.conf if can help

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb8
label = Linux
append = "hdd=ide-scsi hde=ide-scsi"
read-only
image = /suse/boot/vmlinuz-2.6.11.4-21.7-default
initrd = /suse/boot/initrd-2.6.11.4-21.7-default
root = /dev/hdb5
label = Suse
read-only
# Linux bootable partition config ends

Ask if not clear
Ciao
 
Old 12-16-2005, 07:55 AM   #4
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Original Poster
Rep: Reputation: 30
It's very clear. Now i'm running dual boot slackware/gentoo on my R51. Thanks for your help
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot of linux distros on 1HD machine brisde Debian 3 09-10-2005 02:00 AM
Mepis-friendly linux distros for dual-boot dealerman MEPIS 12 07-13-2005 09:27 PM
Dual Boot <Two Linux Distros, no Windows> truthfatal Linux - Newbie 3 03-29-2005 09:20 AM
dual boot two linux distros on one hd with lilo darkleaf Linux - Software 11 02-24-2005 10:52 AM
dual boot for multiple linux distros pirozzi Linux - General 5 01-29-2005 08:15 AM

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

All times are GMT -5. The time now is 09:07 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