LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-04-2011, 04:58 PM   #1
virtuousmachine
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
Planning on making a multi-boot laptop w/4+ OSes, how should i partition the disk?


Hi, I am creating a multi-boot laptop with multiple operating systems, and I dont know the best way to partition the disk. I am running windows 7 64 bit right now, and plan to have windows 7, inferno, possibly Ubunto, freeBSD, and maybe others. I have created a recovery disk for windows, and do not have any personal files on this computer, so saving them is not a big issue. Hopee you guys can help, thanks!
 
Old 12-04-2011, 06:46 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
First, shrink your Windows partition through Windows disk management. How much you shrink it depends on how large the drive is, and how many other OSs you want to add. I run Windows 7 happily on 30GB. Windows disk management will only shrink the partition to just above half the size of the original partition because it does not move the backup MFT (master file table) which is in the middle of the partition. Bootitng can shrink it past the half way mark and move the backup MFT accordingly. It is the only partition manager that claims to be able to resize FAT and NTFS partitions non-distructively. There are many horror stories about regarding the use of open-source partition managers resizing NTFS, none of which will claim the same, I suspect it has something to do with moving the backup MFT.
Then, read this article for ideas.

EDIT: BTW, I run Linux happily on 10GB, I go with small partitions for performance reasons. Plus, I make a large NTFS partition at the slow end of the hard drive (the back, or "allocated high using bootitng"), all personal data is stored in this partition instead of the partitions holding operating systems. This way the data is easy to access from Mac OSX, Windows and Linux, which in turn keeps them fast because they are on small partitions at the front of the drive, and they are easy to backup without the load associated with large amounts of data. The swap partition can also go to the back as most computers nowadays have lots of RAM memory and the swap does not get used.

Last edited by Brains; 12-04-2011 at 07:46 PM.
 
Old 12-06-2011, 09:03 PM   #3
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Rep: Reputation: 25
Just to add it to the answer provided by Brains, You can create just 1 /swap and 1 /home partitions and share it between all your linux distros without any problems. So you just need to create a separate / (root) partition for each of your linux distro.
 
Old 12-09-2011, 10:08 AM   #4
ymw77
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
I am trying to do the same thing with an old (3-4 years) Toshiba Satellite (AMD 2X 64). There are three partitions for NTFS (main, boot, and backup partition; Vista OS). I had about 120GB for linux partition. But I can have only one another main partition (in the linux partition, I was told that I cannot have more than 4 partition (I think that means the four main partitions) for linux (da4). So I have to sub-divide da4 to three sub-partitions (da5, da6, da7 all under da4). After I installed LMDE at da5 (it worked fine), then I installed openSUSE 11.4 at da6. But after reboot, I only see openSUSE there in the boot list. Somehow Linux Mint disappeared.

Is this means that I have to totally re-partition windows part to make it in one partition, so I can have some (three) partitions left for my multiple linux distros?

Thank Brains and Sandy to point out how to use one partition for /home to get user data in one place.

-ymw

Last edited by ymw77; 12-09-2011 at 10:12 AM.
 
Old 12-10-2011, 03:34 PM   #5
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Is this means that I have to totally re-partition windows part to make it in one partition, so I can have some (three) partitions left for my multiple linux distros?
No.
In the article I posted labeled "read this article for ideas" should show how to partition a disk with many secondary partitions within one extended partition. In your case you have the Windows stuff on 3 primary partitions, the fourth one was made into an extended partition by the Mint installer with three secondaries, one for /, one for swap and probably one for /home. If you wanted to add more distributions, you could probably have done some custom partitioning during Mint installation at the partitioning stage to make more than 3 secondary partitions within the extended partition, then you could have specified which ones would be /swap, /home and Mint / partitions leaving others empty for future use such as installing other Linux, BSD etc.
By installing OpenSuse in one of the only three secondaries created by automatic partitioning in Mint, you have overwritten either Mint /, /home/ or /swap. It is possible Linux Mint is still there and was not configured in OpenSuse boot menu, possibly because it is broke if the /home directory is gone which can be where you installed OpenSuse.

You can download and burn to CD "gparted" and other open source partition managers and create your partition scheme before installing Linux by creating up to 60 secondaries. Then you would select custom partitioning during the Linux installation and specify which partitions to use, others would just be empty and unused till you install another using same method by selecting custom partitioning again. When you let the Linux installer take care of the partitioning, it does not know of your intentions to add more Linux distributions later, it is designed to do things in the most common way, which is to only have one operating system, which is why it will use all free space or the whole drive if you tell it to and only make the partitions it is designed to make for that one installation.

There may be problems associated with using one /home partitions for many Linux, the secret to making this work is to use a different user name in every Linux. If you use the same user name, personal settings and user specific system settings (which are in the user's /home directory) from one Linux with a different version of desktop environment can render that user in another distribution unable to log in as settings have been altered and will not work with the other installation.
Which is why the best alternative I have come to use is to keep /home within /, not in it's own partition, just keep data in a universal filesystem data partition which all operating systems can read and write to, making it easier to backup the data which is in one place, and personal settings in /home do not get tampered with, and you spend less time at LQ looking for ways to fix the problems associated with using one /home for all Linux.
 
1 members found this post helpful.
Old 12-10-2011, 11:38 PM   #6
ymw77
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
Thanks, Brians, I am reading your article now. It is very helpful. Now, I
am testing linux distros to decide one for my new laptop. This way, I can compare
them side by side easily.
 
  


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
Multi-disk, multi-boot system does not boot after fresh install anth0ny5 Linux - Software 8 08-17-2011 02:02 AM
Sharing /home partition in a multi-distro multi boot setup firewiz87 Linux - Distributions 6 08-24-2010 07:11 AM
Disk partition for dual boot laptop with Debian/WinXp hamtavs Linux - Software 2 04-26-2006 12:23 PM
planning hard disk partitioning and making file systems sadiboyz Linux - Networking 7 08-14-2003 11:04 PM
GRUB, Multi Linux/Multi Disk Boot gtnorton Linux - Software 1 03-16-2003 03:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:48 PM.

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