1

I am looking to divide up a HDD for just Ubuntu, so the entire file system will be in ext4; there will be no file sharing with Windows so i'm not to worried about that. What I am wondering is if I arrange my partitions as shown (below) will I be able to update my distribution and keep my skins/settings/etc? Here is some basic background information:

The computer is custom built (16GB DDR3, i5 Sandy-Bridge @ 3.4 gHz) and has 2 HDD's and 1 SSD they are as follows (also the same chronological order in BIOS boot priority:

  • 64 GB SSD - Windows 7 64-Bit Operating System

  • 160 GB HDD - NFTS File System for program/storage space for Windows

  • 500 GB HDD - EXT4 (currently unalloacted) for Ubuntu 12.04

    Here is how I am planning on breaking up the 500 GB HDD for Ubuntu, once again chronological order from start of the disk:

  • 2GB (SWAP)

  • 25GB Operating System Directory (Primary)

  • Remainder ext4 home partition (Primary)

What I am wondering, and what I am hoping to achieve is the ability to upgrade my distributions while being able to keep my themes, settings, and files/etc in a seperate partition from the distro. Will this method enable me to do this? Or is there another method that I can take to achieve this? Is the location of my swap file correct? Is the swap file to small/large?

RSX-1327
  • 195

5 Answers5

2

One thing you might consider is running Windows from an SSD partition of around 50 GB and installing Ubuntu into the remaining 14 GB. (Personally, I find Ubuntu runs easily in a 10GB partition.) This will give very fast boot times for both operating systems. You have lots of space on the HDD's for data files, etc.

If space is critical on the SSD, and since you have lots of RAM (which defines the size of the page file and hibernation file), you can move the Windows page file to the HDD. With 16 GB of RAM, you may never use the page file; however, I read that some programs insist on the file being available. On my desktop system I also erased the hibernation file since I never use that feature on the desktop machine.

I have Windows 7 (36 GB), a shared data drive (8GB), Ubuntu (10 GB) and a swap area (1.8 GB) all running happily on an SSD, with the Windows page file and tons of data/backup space on an secondary HDD.

CentaurusA
  • 2,692
1

@CentaurusA got my +1 vote. Same with my opinion. / must go inside SSD. That would increase speed of system jobs dramatically. Like sudo apt-get update && sudo apt-get upgrade. It would be much faster.

  • / - enough with 8G~15G. Mine was always 8G. Don't go far from 15G MAX.
  • swap - You don't need this. If your system need more ram than 16G, that's time for fix problem. Not turning on swap.
  • /home - Saprate home partition good for easy reinstall or upgrade.

Please give super sweet SSD to Ubuntu! :)

Mait
  • 356
0

The usual way to preserve your personal settings is to put /home onto a separate partition. Doing this will allow you to install a fresh copy of Ubuntu with the ability to preserve - and not format - your /home partition.

For updating an Ubuntu installation, this is less critical as it is not necessary to wipe out anything during the update. It can be a good idea to partition this way anyway.

Your swap could potentially be anywhere (even on the filesystem!) but at the beginning of the disk is fine - I always make it a primary partition.

If you are dual-booting, you may want to consider mounting your NTFS volume inside Linux and using it as a volume that is shared between Linux and Windows. It is even possible to share your swap space between Windows and Linux - although this requires formatting for Linux each time you want to use it.

Mei
  • 1,676
0

Your swap isn't enough for hibernating, but if you don't want it, it's more than enough (because you have 16GB ram, it won't run out of memory) if you want hibernating, just use about 20GB or more.

Prasad RD
  • 2,043
0

You can have a /home partition if you want, but it really isn't needed. Upgrades never destroy data, and you can reinstall Ubuntu without formatting the partition, thus preserving your data. You just need to make sure that the format box is not checked.

psusi
  • 38,031