LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2006, 04:55 AM   #1
matelot
Member
 
Registered: Apr 2006
Location: France
Distribution: Trying all sorts...
Posts: 30

Rep: Reputation: 15
Partitioning for Linux


I've searched a few threads and done the Googling bit on partitioning for Linux (+ XP), but Google particularly seems to have old info: suppose you have a new machine with 64Mb RAM... Advice varies wildly.

I'm running XP (512Mb RAM) on a single partition of 160Gb, of which about 14Gb has been used. Personal stuff is kept in a separate directory, backed up onto a second HDD (8Gb total) with two partitions, and further backed-up to CD (paranoid or what? )

Come the day I wish to dual boot with SimplyMEPIS or Mandriva for example (lots of live distro testing at the moment), what's the considered opinion on dividing up the remaining 140Gb, in what order, use HDD2 for the swap, or what?

Advice gratefully received.

Many thanks.
 
Old 05-03-2006, 05:11 AM   #2
num_one
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Rep: Reputation: 0
if you use a partition in the second hardisk for swap it will be a very good idea because you will be preventing any future bottleneck when your work gets huge, and your access to your swap partition gets frequent.
I recommend to choose your second HDD as a place to create your swap partition when installing any Linux.
best regards.
 
Old 05-03-2006, 05:13 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
i would recommend using an LVM scenario, so everything (bar /boot if you wish) would simply sit inside a single partition divided up as you see fit.
 
Old 05-03-2006, 05:30 AM   #4
num_one
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Rep: Reputation: 0
A very smart idea to use LVM scenario to prevent any future need to copy your old partitions an then repartition bigger ones and then copy back old data to the newly created bigger partitions. by using LVM all you need is to add new (HDD/partitions) to the (Logical Volume management) Volume Group and you are done, I even recommend building an LVM over software RAID to be safe from frequently happend IDE controller failures I used to return home many nights to find that my LVM over software RAID (level 1) has saved me a guaranteed lost of all my data (my ide data cables gets loos frequently), you will need at least two HDDs to use in software Raid 1, and in this scenario your swap partition can also be created usin g RAID (level 1) to be safe from any (one HDD) failures.

Last edited by num_one; 05-03-2006 at 06:43 AM.
 
Old 05-03-2006, 05:59 AM   #5
matelot
Member
 
Registered: Apr 2006
Location: France
Distribution: Trying all sorts...
Posts: 30

Original Poster
Rep: Reputation: 15
Many thanks so far: if I go for 512Mb swap on the second HDD, then it's a case of anything I want on the big drive (Fat32?) Is there a minimum size for root recommended with modern distros, or will gparted offer suggestions? 140Gb is still a lot of space (my first PC was 40Mb with quarter Mb RAM!) How we've moved on.
 
Old 05-03-2006, 06:55 AM   #6
num_one
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Rep: Reputation: 0
if you decide to use LVM you just but all the 140 GB into the LVM Volume Group and then create different mount points for ( "/" "/root" "/var" "/usr" "/home" .....ETC)
you do not have to worry about any thing, In case you want to add/delete/resize any of these mount points it will be a matter of reading the LVM HOWTO to learn how to achieve what you want ( no repartitioning ) will be needed, and that is the advantage of using LVM.
 
Old 05-03-2006, 06:56 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
the average i would use is 100mb for /boot, but other than that there is no minimum for / just don't be stingey. this is exactly where LVM triumphs though... just make it bigger in the management interface whenever you feel like it. no repartitioning at all.
 
  


Reply


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
Linux partitioning help ;( zarathaz Linux - General 4 08-03-2005 08:43 AM
Linux Partitioning darwinboy Linux - Newbie 4 08-13-2004 09:11 AM
Linux Partitioning r3dhatter Linux - Newbie 28 07-24-2004 08:46 AM
partitioning for linux brutal_brad Linux - Newbie 11 10-03-2003 03:59 PM


All times are GMT -5. The time now is 12:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration