LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-22-2008, 05:53 PM   #1
brian.hussey
LQ Newbie
 
Registered: Aug 2008
Distribution: Fedora
Posts: 5

Rep: Reputation: 0
Partitioning advice required/ humbly requested :-)


Hi all,
Ok here's what's going on.

I'm getting a new laptop in a few days time and am wondering how to partition up drives. I'll have 2 250GB drives.

What I want to do is have 2 Windows partitions( Vista, XP), 1 quasi-Windows partition (FAT32 to share music and other media around all of what I want. This will be one hard disk. Which I'm fine with setting up.

The trouble comes with the second hard disk (or first depending) on the advice I get. I want to have several other installations, one general use Linux (Debian or Ubuntu), one random version of Linux that I can play around with to see how the kernel works, and possibly an OpenBSD installation as well, just to try out.

I'm not sure how to partition this other drive.
From what I read, I can share swap space (how big should it be?)
Can I share /boot folder? how big should that be?
Can I share other parts of the file system? (apps/data/config)
Should I install Linux on first hard disk as it will have MBR and stuff? or does this make any difference?

Any advice will be greatly appreciated.

Thanks in advance,
Brian
 
Old 08-22-2008, 06:03 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
1. Use Parted Magic CD or the System Rescue CD for partitioning.

2. Make multiple primaries on both disks: 3 primaries + 1 Extended (with many logical partitions within that )

3. For BSD (say PCBSD) you will need to reserve a primary. There is no need to make a FS there.

4. 1 swap = 2 X RAM size (as a logical partition)

5. use JFS , ext3 , reiserfs

6. Avoid partitions of size >50GB
 
Old 08-22-2008, 06:58 PM   #3
thomas.hedden
Member
 
Registered: May 2006
Location: Carlisle, MA
Distribution: Ubuntu, Fedora
Posts: 45

Rep: Reputation: 15
Hi Brian,

The most important advice I can give you is to
learn as much as you can about partitioning
and whatever boot loader you plan to use
BEFORE plunging ahead, especially if you are
going to use your system for live data. What
you want to do can certainly be done, but if
you follow other people's advice to set up a
configuration of this type before you yourself
have a good handle on things, you could easily
make a mistake at a later date and wipe out a
partition, for example if you are installing
another distribution to play around with.
There is a commercial product called Partition
Magic that has a wizard that is very helpful
at visualizing what's going on in your computer.
You might want to consider using that.

Tom
 
Old 08-22-2008, 09:43 PM   #4
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
swap space: limited to 2GB per swap partition. The old rule that swap = 1.5 to 2 x RAM is outdated. Unless you want to suspend/hibernate, you will be fine with 2GB and if you have over 2GB of RAM, you may do without.

FreebSD: as pointed out, should be installed in a primary partition. Bear in mind that if you want to access your data saved under BSD from Linux, it would be better to install it on drive 1 and Linux on drive 2 - unless you are going to use only one or two partitions for each. The reason is that Linux cannot access more than 14 partitions on a drive. If you install BSD, you will find that it fits all into a single primary partition, but BSD uses "slices", which are like partitions within its partition; these will be mapped to the end of the drive. So if you have, say, two Linux partitions that have 4 partitions each, a shared data partition and a shared swap partition, then you may find that your BSD home partition maps beyond partition 15, which makes it inaccessible from Linux.

If you use Vista, do not install GRUB on the same drive unless you have no other choice. There have been several reports of Vista SP1 messing up computers badly if it finds that GRUB is installed on its drive.

I do not see any reason to limit partitions to 50GB. It would be massive overkill for most partitions, that's true, but I have data partitions that are as large as 900GB.

For a filesystem, I would recommend XFS - it is simply the fastest one and it does not bother you with boot time file system checks ever so often - unlike most other file systems. However, it is a bad idea to place a boot partition on XFS (or JFS for that matter) so if you select either, you'll need to create a separate small boot partition (say 80 to 120MB) that uses ext2 or ext3. You can even share a single boot partition among your distros (only Linux, not BSD) if you find yourself approaching the max number of partitions.

Another good idea to save on the number of partitions is using a single data partition. To do this, do not create a separate home partition but leave home under /. Then create a single partition that you can mount on a directory inside your home directory. You could put all of your home partitions on a single partition, too, but that could get rather messy as it will then contain different configuration files. One way of avoiding this is making a different user for each but that has its own issues.

Linux reads ntfs (writing fine too) so FAT32 is not needed. You can read your files that are under Linux from XP if you install a windows ext2/ext3 driver. This implies, of course, that you use ext2 or ext3 for your Linux partitions.

My typical layout would be (for a single install):
boot 120MB
swap 2GB
/var 2GB (or larger if you intend to run servers)
/ 10GB
/home anything left if not placed under / (in the latter case, you may want to make / a bit larger).

Last edited by jay73; 08-23-2008 at 06:44 AM.
 
Old 08-22-2008, 09:50 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
For the Linux/BSD partitions, you might consider giving them only 10GB each, and the using a large partition as a data area that can be used no matter which you boot. For MS stuff, you're kinda stuck. Give some thought to how much you will really need to access from Vista/XP and use that as a common partition for the MS operating systems. To misquote Bill Gates: "Why would anyone need more than 6.4GB for Windows?"
 
Old 08-23-2008, 06:07 AM   #6
brian.hussey
LQ Newbie
 
Registered: Aug 2008
Distribution: Fedora
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you

Hi all,
Thanks for all the great responses. Now I've a much better idea of how to break up the drives.

Thanks again,
Brian
 
Old 08-23-2008, 06:59 AM   #7
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Oh yeah, here is another suggestion. Install windows first on drive 1. When both are installed, go into BIOS and make the second drive the bootable one. Then install Linux. This will prevent GRUB from overwriting your windows bootloader. If you decide to install BSD to drive 1, do so only after flipping boot order in BIOS. BSD does not take kindly to such changes so it is best to install it only when you have everything in its proper final order.
 
  


Reply

Tags
harddisk, partitioning


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
Virtual disk allocation advice requested =dn Linux - Server 3 06-30-2008 09:54 AM
C advice requested freeindy Programming 4 07-19-2007 05:19 AM
Presentation on Linux - advice requested pattyz Linux - General 2 03-16-2006 08:38 AM
Partition advice requested bamatmac Linux - Newbie 1 12-30-2005 01:28 PM
LAMP advice requested thorn168 *BSD 2 04-19-2005 12:04 AM


All times are GMT -5. The time now is 03:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration