Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.