[ubuntu-za] Home directory

Bill Cairns cairnsww at gmail.com
Sat Jan 19 07:28:07 UTC 2013


On Sat, Jan 19, 2013 at 8:33 AM, Frans de waal <meesterarend at gmail.com> wrote:
>>
> You still need to edit /etc/fstab and add the home partition... if you want
> you can look for a utility to help, but your best option would be to google
> "adding partitions to fstab". There are two formats for inserting the
> partition,  adding it as /dev/sd? Is easy and straight forward... though
> adding it ussing the device id is more reliable when you add another hdd to
> the system.
> HTH
> Frans de Waal

Thanks Wesley and Frans.

I must admit that fstab terrifies me! I fixed it once before (to mount
a 500 GB disk that I have on the machine) and that took a lot of
courage.

But I will persevere.

How do I know which partition I want to use? And how do I find the
UUID of a partition? Here is my fdisk output for sdb (sdba is my
additional disk):

bill at Lucy:~$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003fd95

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048    19533821     9765887   83  Linux
/dev/sdb2        19533822   312580095   146523137    5  Extended
/dev/sdb5        19533824    19544063        5120   82  Linux swap / Solaris
/dev/sdb6        19546112   312580095   146516992   83  Linux

It seems a bit strange that sdb2 and sbd6 overlap. Somewhere in there
is my Home folder!

(Sorry - I have not done the Googling yet, but am about to!)

Thanks

Bill



More information about the ubuntu-za mailing list