Wednesday, December 28th, 2011 at 3:47pm

Partitioning new disks in Ubuntu Ocelot

Posted by Brian Higgins

During the installation from a 32-bit Live CD, you can build the following partitions as part of the process.

  • In STEP 2 of the installation, choose “SOMETHING ELSE” to create your own custom partition table.
  • ADD  ”/boot” partition:
    • Type = PRIMARY
    • Size = 512 (only contains kernel and boot info, can be small as 50mb)
    • Location = BEGINNING
    • Use as = EXT2 (for backwards compat, but Ext4 Journal is ok too)
    • Mount point = /boot
    • Should appear as /dev/sda1 or similar after creating
  • ADD “swap” partition:
    • Type = LOGICAL
    • Size = 1.5 x your physical RAM allocated, 2GB = 3072MB swap
    • Location = BEGINNING
    • Use as = SWAP AREA
    • Mount point = <null>
    • Should appear as /dev/sda5 unless you specified partition type as PRIMARY which would appear as /dev/sda2
  • ADD “/” root partition:
    • Type = LOGICAL
    • Size = 8096MB minimum, stores OS and app files, and optionally /home if you feel this partition is large enough to accommodate both. Having a dedicated /home file system is not required, however it does make portability to new hardware, backups, and upgrades easier and more secure.
    • Location = BEGINNING
    • Use as = EXT4 journaling file system
    • Mount point = /
    • Should appear as /dev/sda6 or similar after creating
  • ADD “/home” partition (optional, see above):
    • Type = LOGICAL
    • Size = however much space you feel you need for your users to store files on this disk, if at all. You can simply use the remainder of this disk if you like.
    • Location = BEGINNING
    • Use as = EXT4 journaling file system (to encrypt, see below)
    • Mount point = /home
    • Should appear as /dev/sda7 or similar after creating
  • Be sure the FORMAT [ X ] check box is checked for each parition (except swap).
  • Click INSTALL NOW. If there are any configuration or options conflicts, you will be prompted to correct them before the installation begins.
  • Set your TIME ZONE, KEYBOARD, USERNAME, PASSWORD and COMPUTER NAME in ADDITIONAL STEPS
  • You now also have the opportunity to select [ X ] ENCRYPT MY HOME FOLDER
  • Click INSTALL to install the operating system on your new drive in your new partitions.

http://www.linuxbsdos.com/2011/05/04/manual-disk-partitioning-guide-for-ubuntu-11-04/

© 2011 B r i a n H i g g i n s . c o m: . :   The Personal Website of an Unapologetic Conservative : .