Today i decided to migrate all of my /home directory to my another ‘idle’ partition. I have 3 (three) partion on my HDD consist : Vista, Data, and Linux partiton. Vista and Data are in nfts format and my Linux is ext3. Since i never using Vista anymore lately and automatically the Data partition also, i decided to make the Data partition become my /home mount point.
To make that happens i did this following steps :
- Boot into recovery mode
- Format the Data partition
# I dont have any important data, so i decided to format it
away without do any backup
$sudo cfdisk /dev/sda2 #choose 83 (linux) and write !
$sudo mkfs.ext3 -
mount /dev/sda2 to /media/data
$sudo mount /dev/sda2 /media/data -
copy all /home directory to /media/data
$sudo cp -Rp /home/* /media/data/ #'R' options keeps all files permission as its original
$sudo cp -Rp /home/vcool/.* /media/data/vcool/ #copy all configurations files -
Time to get an extra space (6.5 Gb)
$sudo rm -rf /home/* -
Edit the /etc/fstab file, change /dev/sda2 mount point into /home and ext3 as its file system :
/dev/sda2 /home ext3 defaults 0 1
-
Reboot ... and viola .. i got an extra space for my linux system
And now im thinking about my /dev/sda1 partition, what should i do with that partition ? OSX ? uheuehuhee lets see

