Files gone missing for new user  [Solved]

Message
Author
User avatar
artytux
Posts: 398
Joined: Wed Apr 26, 2023 3:58 am

Re: Files gone missing for new user

#11 Post by artytux »

It might be best not to do another new install over the one that's giving you a problem, I don't remember what I did (easy when one remembers) but someone will know so hang on tight and don't re-install just wait awhile quite sure it's salvageable.
" Outside the square , inside the cube "

User avatar
fehlix
Developer
Posts: 12883
Joined: Wed Apr 11, 2018 5:09 pm

Re: Files gone missing for new user

#12 Post by fehlix »

Wal wrote: Fri Aug 09, 2024 5:04 am Hello I have probably forget something again, gettin old it seems, but:
I wanted to reinstall MX-23 Xfce and moved all my /home files to another partition on the old installation that was named xtra and was used as such.
Then I reinstalled MX to its former partition and used the old xtra-partition as home. I did NOT format it!
However thoose old 40 Gb of files are not visible to the new user allthough G :turtle: parted says theyre there. Sudo Thunar cant see them neither. What to do?
It's probably still there, b/c /home is now mount on top directory of the [xtra]partititon.
So you might just explore what you have under the "/home/" directory.
Personally I never re-use but always format a new home partition. And keep any data separate or if needed as a copy onto separate other partition.

User avatar
DukeComposed
Posts: 1505
Joined: Thu Mar 16, 2023 1:57 pm

Re: Files gone missing for new user

#13 Post by DukeComposed »

Wal wrote: Fri Aug 09, 2024 5:04 am Then I reinstalled MX to its former partition and used the old xtra-partition as home. I did NOT format it!
However thoose old 40 Gb of files are not visible to the new user allthough G :turtle: parted says theyre there. Sudo Thunar cant see them neither. What to do?

Code: Select all

Partition:
  ID-3: /home raw-size: 119.24 GiB size: 116.81 GiB (97.96%) used: 34.57 GiB (29.6%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
parted is showing 34 GiB of data on /dev/sda1, so if the files are still missing in sudo I'd double-check that the /etc/fstab is mounting /home to your expectations. If I put data in /xyz, then I mount something else as /xyz, the files I'd put there will not be accessible due to the new mountpoint on top of them.

Wal
Posts: 39
Joined: Tue Mar 22, 2022 12:34 am

Re: Files gone missing for new user

#14 Post by Wal »

fstab:
UUID=935dc6b8-963c-45bd-aa29-6bb327b003bb / ext4 discard,noatime 1 1
UUID=F1D4-4BDC /boot/efi vfat noatime,dmask=0002,fmask=0113 0 0
UUID=bc26ba3d-d21a-4220-970e-1832e7b9a27d /home ext4 noatime 1 2
UUID=c891844e-0077-438d-8131-9c2997730988 SWAP swap discard

Does this look ok?
Or better what can I change to see them old files?

Wal
Posts: 39
Joined: Tue Mar 22, 2022 12:34 am

Re: Files gone missing for new user

#15 Post by Wal »

My own idea would be:
1 reinstall mx-linux on sdb, both / and /home.
2 sda would show up in thunar unmounted as "extra" with my old files and the homefolders created for the instalation I have now.
This seems logic to me, what do you think?

User avatar
DukeComposed
Posts: 1505
Joined: Thu Mar 16, 2023 1:57 pm

Re: Files gone missing for new user

#16 Post by DukeComposed »

Wal wrote: Sat Aug 10, 2024 6:43 pm UUID=bc26ba3d-d21a-4220-970e-1832e7b9a27d /home ext4 noatime 1 2
Or better what can I change to see them old files?
The UUID matches /dev/sda1 from lsblk, so it would appear that this is where /home should live. Confirm that /home is actually being mounted with "sudo mount" and check that /home is in that list. I'd also check "sudo find /home" to see what's actually there.

atomick

Re: Files gone missing for new user

#17 Post by atomick »

would not you need the proper Mount Point to access that 2nd /home disk partition.
where by when installing MX to the UUID 3bb ending /
this by common file system already place a /home directory and your user name will be a sub sudo setup account name already 1st boot after install finish. eg: /home/wal
adding in /etc/fstab this 2nd partition also named /home you might be causing such hidden files there but do not see them hidden like.

require create another mount point - consider even changing in /etc/fstab "/home" to /home2 or something like myfiles
cd / ; sudo mkdir home2 -- "myfiles"
and change your /etc/fstab to also simply cd /etc ; sudo cp fstab fstab.sav ; now nano or vim fstab
cursor down to the UUID line 27d and simply add a #2 onto your current /home2 ; write quit save
type mount -a
sudo chown -R wal:wal home2
sudo chmod -R 754 home2
cd /home2 ; ls -lat
now should see your files.
worth a try.
Always backup /etc/any files in this dir prior to making any system mods. Save than sorry.
you could also create a symlink to home2 in your current /home/myact for private access by you solely

Wal
Posts: 39
Joined: Tue Mar 22, 2022 12:34 am

Re: Files gone missing for new user

#18 Post by Wal »

None of the suggestionbs worked out so I took the disk to another machine, found all the files and moved them to a new enviroment. Done

Post Reply

Return to “XFCE Desktop Environment”