Re: full 11.04 install on flash drive
Dividing your disk into multiple partitions is optional.
I personally prefer most times to install in one single / partition without any swap area, and after Ubuntu is installed I install 'Dynamic Swap Space Manager', which saves me quite a lot of disk space by dynamically adjusting the swap file to the size needed, and most of the time I don't need much swap. I set the swappiness to 10 too.
The ability of Gnu/Linux operating systems to be installed in many partitions is sometimes an advantage when dealing with a number of small disks, for example in my eeepc with a 4gb SSD and a 16gb SD card, I use the 4GB as / and the 16gb SD as /home. That makes it possible to have a workable set-up. Otherwise the amount of disk space just wouldn't be enough to do anything much.
Some people who like to install in multiple partitions use different file systems and file system mount options for various partitions too, I have an installation with some reiserfs and some ext4 partitions because somebody said it can give a speed advantage so I wanted to try it. It could be a little faster, I measured with benchmarking software but for mine at least, the difference seems marginal.
Another idea is to have more than one operating system sharing some of the partitions, for example you can install a different version or different flavor of Ubuntu or even some other Gnu/Linux distro and have them share the same swap area and the same /home partition and files. That saves disk space and provides convenient access to the shared files and can be a pretty cool trick!
The /boot partition is one partition that can't (easily) be shared.
If you want you can have a separate /usr, /var, /tmp, /boot, /home and / and maybe more separate partitions for different folders.
Disadvantages of dividing your installation up into too many partitions are that partition sizes are relatively rigid and sooner or later if you didn't plan ahead well enough one will fill up while another has plenty of spare room and you'll need to use a partition editor to resize your partitions, which can be tricky and time consuming.
You'll also have more file systems requiring file system checks, and that can slow done your boot times. Simply having more file systems to mount slows down boot times too, even with no file system check.
Having many partitions is not an efficient use of disk space either, because you'll have more file system overheads and need to leave plenty of breathing room in each one, about 20% at least, and you also need to allocate extra space for an often unpredictable amount of future files or face the need to resize with a partition editor at a later date.
Contrary to what a lot of people like to imply, having s separate /home does not in any way excuse you from the need to make normal backups of your files to some other media regularly.
It can though make re-installing easier if the other part of your operating system has a problem you don't know how to fix and re-installing seems quicker.
In that case you'll most times not need to re-install your /home files and settings, as you can re-install the other partitions and have the new installation mount the same old /home again as long as you don't format it. A lot of people think that's handy.
Whichever way you decide to do things, install in a single partition like I normally do or divide into as many partitions as you can, Gnu/Linux operating systems offer you the flexibility to create a wide variety of partitioning schemes and almost every Gnu/Linux user has their own personal preferences and will argue that their ideas are superior to everyone else's.
It's all part of the fun of Gnu/Linux.
Last edited by Herman; June 24th, 2011 at 12:05 PM.
Ubuntu user since 2004 (Warty Warthog)
Bookmarks