[SOLVED] Two Home Directories.

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Two Home Directories.

Postby laidlaws » Jun 5th, '25, 12:30

I have done it again! Trying to dual boot Mga9 with Windows.
Because I had updated Windows, some folders had new UUIDs, and Mageia couldn't find them. I tried to make them read by /dev/sd* as a temporary measure.
When I rebooted, my entry for /home didn't work, and my system booted with /home/ but no /home/doug.KI didn't want to rename /home as /home/doug. When I changed directory to /home, there was no subdirectory for doug, so I created one.

Now, I have two directories called doug, but only one entry in the indexes, and I cannot choose which one to navigate to. One of them is a brand new empty directory, with only the entries from /etc/skel. The other is the copy I want to keep. I recollect reading somewhere that I can distinguish them with UUIDs, but I can't remember the details.
Last edited by laidlaws on Jun 5th, '25, 19:21, edited 1 time in total.
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: Two Home Directories.

Postby Germ » Jun 5th, '25, 13:54

open a terminal. As root:
Code: Select all
blkid


or:
Code: Select all
ls -l /dev/disk/by-uuid/
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 725
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA

Re: Two Home Directories.

Postby laidlaws » Jun 5th, '25, 14:28

Thanks. blkid haddn't crossed my mind. A similar program is to copy a directory or device complete with its UUID. The solution for that should be much the same.
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: Two Home Directories.

Postby laidlaws » Jun 5th, '25, 19:19

I misread the symptoms The commands you gave me made it plain that there was only one /home directory, the backup I wanted to restore. The real problem was that the backup was inside anothrer folder, also called "doug" and I had tried to download the outer one. have just finishede installing from the correct innerarchive,and everything came together beautifully. Even a loop by the login dialog was fixed.
I will add your suggestion to my "Tips and "Hints" as a resource.
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: [SOLVED] Two Home Directories.

Postby Germ » Jun 5th, '25, 20:22

Glad you got it sorted.
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 725
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest