LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-07-2014, 10:23 PM   #1
tuxandpucks
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Arch
Posts: 24
Blog Entries: 4

Rep: Reputation: 1
Just move home partition?


I installed UbuntuGnome over Xubuntu. I did this by just reformatting the root folder. I booted up for the first time following the installation and it appears that I have the new home folder (located at /home/user) and I still have all my documents from before installation mounted at, (/media/myusername). Many times in the past, I have moved my home folder by using the link below.

I want to be safe before I do anything. My question, is this all this is, a case of using the instructions in the link below to move my home folder so it is automatically mounted at boot up in the correct(/home/user) point?

Instructions I believe I need to use:
https://help.ubuntu.com/community/Pa...ng/Home/Moving

Thank you for the help,
Randy
 
Old 01-07-2014, 10:38 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
You appear to have most of the work done as the old /home was on a separate partition already - if you are lucky all you need to do is update fstab and reboot. Presumes same user name and gid/uid.
In future, select the /home parition in the install process, and Ubuntu will look after all those issues for you.
 
Old 01-08-2014, 05:18 PM   #3
tuxandpucks
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Arch
Posts: 24

Original Poster
Blog Entries: 4

Rep: Reputation: 1
Thanks for the response. I am not sure if those instructions in the link I posted are sufficient for my situation. I will try to explain without confusing anyone.

My new install has a home folder of /home/randy

The hard drive I installed on (labeled 2.0 TB), when mounted and when clicked on, I see that all my old files (before new install) are at the mount point, /media/randy/followed_by_the_long_uuid

OK. So, I thought, all I have to do is go to gparted, find the partition that will be the new home and move my files there.

I go to gparted and I am confused. This raises two questions.

Confusion #1 goes with Image 1(gparted):
The mount I want to move (the old files) is at sdb7 (where the blue arrow points(my old files are here at /media/randy)). However, this is part of an extended partition (red arrow). Does that (being an extended partition) factor into what I am trying to do?


Confusion #2 goes with Image 2(nautilus):
I followed instructions provided in the link in my first post and immediately I was worried. I typed in the command, 'sudo blkid' and this is the result:
/dev/sda1: UUID="84D0578CD057837A" TYPE="ntfs"
/dev/sdb1: UUID="153ecc2a-e8af-48dd-a0ce-b47593764383" TYPE="ext4"
/dev/sdb5: UUID="5dd38b21-9b80-4428-b60a-1cbb53d212e6" TYPE="ext4"
/dev/sdb6: UUID="33e63873-6035-4aa0-b8b0-e44d53b90646" TYPE="swap"
/dev/sdb7: UUID="e6e3f556-faef-4a23-8797-3ef4d70313ee" TYPE="ext4"

None of the partitions listed are big enough for my home files transfer:
sdb1 is root
sdb5 is 94mb of space. I can't remember what for. Possibly a separate boot partition at some point.
Sdb6 is swap
sdb7 is /media/randy

I don't know where to move the partition to?
Or, do I just reset mount point so my files now mounted at /media/randy are mounted at /home/randy?

I apologize if I confused you along the way, but I certainly appreciate any help.

Randy
Attached Thumbnails
Click image for larger version

Name:	Selection_001.png
Views:	12
Size:	43.2 KB
ID:	14448   Click image for larger version

Name:	Selection_002.png
Views:	12
Size:	48.8 KB
ID:	14449  
 
Old 01-08-2014, 05:55 PM   #4
tuxandpucks
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Arch
Posts: 24

Original Poster
Blog Entries: 4

Rep: Reputation: 1
I just thought of something. Is this an easy fix, where I copy/paste my files from the new /media/randy to the /home/randy?
 
Old 01-11-2014, 11:30 AM   #5
azinulbizar
LQ Newbie
 
Registered: Oct 2013
Distribution: OpenSUSE
Posts: 29

Rep: Reputation: 4
Quote:
I don't know where to move the partition to?
Or, do I just reset mount point so my files now mounted at /media/randy are mounted at /home/randy?

You shouldn't have to move the partition at all, unless you want to put it on another drive or partition. Just change the mount point and make sure the system isn't trying to mount a different, separate, partition to that same mount point. It's all in your /etc/fstab.

As for Confusion #2, changing the location in fstab will cause the Home link in nautilus to go to /home/randy (which will be your new home, previously /media/randy). If you want to hide the drive link, you should be able to right-click and select "Hide entry", not sure if that's only dolphin.
 
Old 01-15-2014, 04:14 PM   #6
tuxandpucks
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Arch
Posts: 24

Original Poster
Blog Entries: 4

Rep: Reputation: 1
thanks for the tips. I did just change the mount point and all is good now. thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I move /home partition under root partition arijit_2404 Linux - General 3 07-05-2007 12:01 AM
How do I move /home to a new partition? glenn69 Linux - Newbie 2 01-05-2005 10:15 PM
How do i move /home to a new partition? glenn69 Linux - General 8 06-25-2004 11:38 AM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration