Home Partion

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Home Partion

Postby kosovafan » Mon Jul 16, 2012 15:41

Hello,

Unfortunately, my hard drive has now filled. But I have another partition on the hard disk which I would like to use as / home. How can I make the best move? I just wanted to copy everything, but I can not even write to disk, only root.

Has someone Idea?

Regards
Silvio
kosovafan
Baby Hen
 
Posts: 7
Joined: Sun Mar 11, 2012 3:34

Re: Home Partion

Postby Jomiel » Mon Jul 16, 2012 23:42

Hi there,
If I cought that correct you are using just one partition for your linux installation.
Ok, here is what I would do:
-install parted magic on usb-stick or cd (using unetbootin or whatever method you prefer)
-boot from usb-stick or cd into parted magic
-format the partiton you want to be your new /home in ext4 (or any filesystem you prefer) with gparted, if not allready done !!this erases all data on that partition!!
-open a filemanager
-go to /home on your hdd path (not the one of the live system) and select every containing folder and copy it to the new /home partiton
-create a new folder on your new /home partiton - this will indicate later if switching worked
-if thats done open a terminal and type in "blkid" (may need to type "sudo blkid") and leave this terminal open
-open the file /etc/fstab (again, not the one on the live system) with an texteditor
-add the following line under the first line that don't start with a "#"
-UUID=c01c5670-cbdc-4ad4-981b-d2e7b1937dc6 /home ext4 defaults 1 2
-change the code behind "UUID=" to the one you see in the terminal with the blkid command which is your new /home
-reboot
-check if the new folder is there
-reboot back into the live-system and delete the content of the /home folder (not the live system one)

I hope that covers everything and I didn't forget anything.
In case your system refuses to boot because it can' find the /home partition, boot into the live system, open /etc/fstab again and uncomment the line you added before by writing a "#" at the beginning of it or delete it completly.


cheers
Jomiel
User avatar
Jomiel
Growing Hen
 
Posts: 131
Joined: Tue Jan 17, 2012 21:14


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests