(notes recorded using Dragon diction)
I have decided to run Linux full time on my home desktop. I am starting with a 500 gig hard drive which am going to use for Windows and Linux. The goal is to run XP 64-bit and Kubuntu version 11.04 on the same drive. I decided on XP 64-bit have its own and 45 gig partition(primary). I set aside another 42 gig partition(primary) right next to it, just in case I would need to expand the Windows partition. Then, I tried to figure out my partition sizes and what to allocate to them for Linux. I started to do research (see some of the links below) on how I should be doing my partition sizes. I knew I needed /BOOT partition, /(root) partition, and swap. I started with figuring out what to do about the /BOOT partition. I knew I was going to make that a primary partition and the rest of the Linux file system was going to consist of logical partitions, but what size was I going to make that /BOOT partition. I found that for future-proofing purposes that you should make it at least 512 MB. This allows for extra room if you have to upgrade or add other Linux OSs, which I would probably run on other disks if I so desire. Swap partition was an easy one. Just take your amount of RAM x 1, or no less than 1 gig partition for swap. Since I have 4 gigs of ram, it made sense to allocate 4 gigs to swap.
Next was the hardest part figuring out what to do with the other directories in the next like /TMP, /VAR, /USR, /HOME, and of course the /(root) directory. Now what I found out was that overtime /TMP and /VAR can lead to corruption in the partition. I'm guessing this is because they are used like swap. Both are recommended to be set up as their own partitions in case they do get corrupted. That way they don't affect the /(root) or any other directory. Finding out what size to make them has been difficult because depending on how you use Linux dictates on how large those partitions should be. It was recommended for CD and DVD burning and web usage to have the /TMP partition to be anywhere from 100 MB to a few gigabytes. I stopped reading and fussing over it when I realized I could set up LVM, or logic volume management for the all of my Linux partions, excluding /BOOT. And that way I can resize partitions to be larger later on and not have to worry about repartitioning (using ext4 which support resizing).
This is what I have planned for my first partitioning scheme based off of online forums and FAQs about partitioning for Linux/Ubuntu: (ref: http://linuxmafia.com/~karsten/Linux...partition.html, http://www.linuxsa.org.au/tips/disk-partitioning.html, http://lissot.net/partition/partition-04.html, http://www.comptechdoc.org/os/linux/...untpoints.html, )
/BOOT = 512 MB
Swap = 4 gigs
/TMP = 10 gigs
/VAR = 1 gig
/USR = 12 gigs
/(root) = 20 gigs
/HOME = 100 gigs (will increase over time)
Here are the recomended setup and permission <options> settings for the partitions:
(All partitions are planned to be ext4 fs <type>, and I'm not going to sub divide directories beyond the first directory to different partitions. For example, I will only have one /VAR partition, not /VAR partition and a /VAR/spool/news partition)
(http://linuxmafia.com/~karsten/Linux...partition.html)
/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda3 / ext2 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/hda6 /tmp ext2 defaults,nosuid,nodev 0 2
/dev/sda7 /var ext2 defaults,nosuid,nodev 0 2
/dev/hda5 /var/spool/news ext2 defaults,nosuid,noexec,nodev 0 2
/dev/sdb2 /usr ext2 defaults,rw,nodev 0 2
/dev/sda5 /usr/local ext2 defaults,rw,nosuid,nodev 0 2
/dev/hda7 /usr/local/data ext2 defaults,nosuid,nodev 2 2
/dev/hda2 /home ext2 defaults,nosuid,nodev 0 2
I'm looking for any opinions or thoughts on this before I install.
All I ask for is PEACH (Please Examine and Criticize Honestly)
I have decided to run Linux full time on my home desktop. I am starting with a 500 gig hard drive which am going to use for Windows and Linux. The goal is to run XP 64-bit and Kubuntu version 11.04 on the same drive. I decided on XP 64-bit have its own and 45 gig partition(primary). I set aside another 42 gig partition(primary) right next to it, just in case I would need to expand the Windows partition. Then, I tried to figure out my partition sizes and what to allocate to them for Linux. I started to do research (see some of the links below) on how I should be doing my partition sizes. I knew I needed /BOOT partition, /(root) partition, and swap. I started with figuring out what to do about the /BOOT partition. I knew I was going to make that a primary partition and the rest of the Linux file system was going to consist of logical partitions, but what size was I going to make that /BOOT partition. I found that for future-proofing purposes that you should make it at least 512 MB. This allows for extra room if you have to upgrade or add other Linux OSs, which I would probably run on other disks if I so desire. Swap partition was an easy one. Just take your amount of RAM x 1, or no less than 1 gig partition for swap. Since I have 4 gigs of ram, it made sense to allocate 4 gigs to swap.
Next was the hardest part figuring out what to do with the other directories in the next like /TMP, /VAR, /USR, /HOME, and of course the /(root) directory. Now what I found out was that overtime /TMP and /VAR can lead to corruption in the partition. I'm guessing this is because they are used like swap. Both are recommended to be set up as their own partitions in case they do get corrupted. That way they don't affect the /(root) or any other directory. Finding out what size to make them has been difficult because depending on how you use Linux dictates on how large those partitions should be. It was recommended for CD and DVD burning and web usage to have the /TMP partition to be anywhere from 100 MB to a few gigabytes. I stopped reading and fussing over it when I realized I could set up LVM, or logic volume management for the all of my Linux partions, excluding /BOOT. And that way I can resize partitions to be larger later on and not have to worry about repartitioning (using ext4 which support resizing).
This is what I have planned for my first partitioning scheme based off of online forums and FAQs about partitioning for Linux/Ubuntu: (ref: http://linuxmafia.com/~karsten/Linux...partition.html, http://www.linuxsa.org.au/tips/disk-partitioning.html, http://lissot.net/partition/partition-04.html, http://www.comptechdoc.org/os/linux/...untpoints.html, )
/BOOT = 512 MB
Swap = 4 gigs
/TMP = 10 gigs
/VAR = 1 gig
/USR = 12 gigs
/(root) = 20 gigs
/HOME = 100 gigs (will increase over time)
Here are the recomended setup and permission <options> settings for the partitions:
(All partitions are planned to be ext4 fs <type>, and I'm not going to sub divide directories beyond the first directory to different partitions. For example, I will only have one /VAR partition, not /VAR partition and a /VAR/spool/news partition)
(http://linuxmafia.com/~karsten/Linux...partition.html)
/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda3 / ext2 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/hda6 /tmp ext2 defaults,nosuid,nodev 0 2
/dev/sda7 /var ext2 defaults,nosuid,nodev 0 2
/dev/hda5 /var/spool/news ext2 defaults,nosuid,noexec,nodev 0 2
/dev/sdb2 /usr ext2 defaults,rw,nodev 0 2
/dev/sda5 /usr/local ext2 defaults,rw,nosuid,nodev 0 2
/dev/hda7 /usr/local/data ext2 defaults,nosuid,nodev 2 2
/dev/hda2 /home ext2 defaults,nosuid,nodev 0 2
I'm looking for any opinions or thoughts on this before I install.
All I ask for is PEACH (Please Examine and Criticize Honestly)
Comment