SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.