how to install dual linux os in single harddisk - Geeks to Go Forums

Jump to content

Log in Register Register Malware removal guide How it works

how to install dual linux os in single harddisk

#1 praveenvikram24r

  • Group: Member
  • Posts: 3
  • Joined: 30-May 11

Posted 16 June 2012 - 07:11 AM

hi,

please guide me how to install dual linux os in single harddisk
praveen

#2 devper94

  • Group: Member
  • Posts: 817
  • Joined: 16-September 10

Posted 18 June 2012 - 09:05 AM

Hi,

First, you need to create at least five partitions, one primary and four logical.
The first should be at least 200 MB in size and formatted as Ext2. This would be used as the /boot partition, and your dual boot setup will boot from here.
The 2nd and 3rd are root partitions for your OSes. You should choose the size; around 20 GB each is OK, but use more if you have lots of space.
The 4th and 5th are swap partitions for your OSes. Their sizes should be 1.5-2x the size of your physical RAM (important if you want to use hibernation).
If you want, you can set up a large 6th partition as a shared /home partition between the two OSes.
If you want to add more operating systems, add more root and swap partitions.

You should be able to choose the mountpoint (or "role") of the partition using the OS installer's partitioner (do not format the partitions!). The installer should do the rest for you.

#3 calvert

  • Group: Member
  • Posts: 58
  • Joined: 08-November 10

Posted 19 June 2012 - 12:59 PM

another way would be to have shared swap space,
(i have 3gb that is accessible from both systems)

and a shared /home
(mine is accessible and used from both systems)

this way you only have 4 partitions (although in reality its 2 x primary, 1 x extended, 2 x logical located in the extended)
(i have 2 primary holding my os's and 1 extended holding /swap and /home)

pretty easy to do,
i installed one system with default settings and the second system i chose custom and used the /swap and /home from the first system

using the live cd install negates the use of creating partitions before install,

and not forgetting that you can only have 4 primary partitions per hdd, or 3 primary and 1 extended

#4 devper94

  • Group: Member
  • Posts: 817
  • Joined: 16-September 10

Posted 20 June 2012 - 01:52 AM

Shared /home might be okay, but you should never use shared swap - it prevents you from hibernating both OSes. If you don't use hibernation then it's fine though.

Share this topic: