I installed Ubuntu on my netbook quite some time ago, and I don't remember what did I do - but I'd expect I went with more or less default settings. Now I have two partitions (one
ext3 and one
ext4, the first one being bigger and practically unused, apart from an empty
lost+found directory). What (apart from my stupidity, which might be the cause - e.g., it's not impossible that I wanted it to be my
/home and somehow forgot to actually tell the installer to do so) might be the cause of such a strange situation? If this partition is not really necessary (which is probably the case - it is not being mounted by default anyway), what is the best way to move my
/home there? I imagine that this should suffice:
- I mount that partition under
/mntor anywhere and
cp -rp /home/*there.
- I use
gpartedto make it my new
- I boot to check whether everything works.
- I manually unmount it to manually clean the old
Did I miss something?
Edit: as Eric Carvalho asked, here's my output of
$ LANGUAGE=C sudo fdisk -l Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x05c9ff3a Device Boot Start End Blocks Id System /dev/sda1 * 2048 409599 203776 7 HPFS/NTFS/exFAT /dev/sda2 417690 285075455 142328883 7 HPFS/NTFS/exFAT /dev/sda3 285075456 323862527 19393536 7 HPFS/NTFS/exFAT /dev/sda4 323864574 488396799 82266113 5 Extended /dev/sda5 323864576 328058879 2097152 82 Linux swap / Solaris /dev/sda6 328060928 449107698 60523385+ 83 Linux /dev/sda7 449107968 486324223 18608128 83 Linux /dev/sda8 486326272 488396799 1035264 82 Linux swap / Solaris
df -h (which I guess is more or less irrelevant, since the partition is unmounted by default):
$ LANGUAGE=C df -h Filesystem Size Used Avail Use% Mounted on /dev/sda7 18G 16G 1,1G 94% / udev 488M 12K 488M 1% /dev tmpfs 198M 876K 198M 1% /run none 5,0M 0 5,0M 0% /run/lock none 495M 224K 495M 1% /run/shm