0

Today a lot of files in my Home folder suddenly disappeared after a reboot. Also, it seems like all my configurations made to the system were resetted (e.g. my color scheme and config files for fish shell are gone). On the other hand all my installed programs are still there. I am sure that I did not just delete everything by an accidental sudo rm * or something like that.

I'm using a Dual boot system with Kubuntu 17.04 installed on a SSD and Windows 10 installed on a HDD with the HDD split up in a few partitions. When accessing those partitions everything is still there. It seems that only the SSD is affected.

Has someone experienced something like this? Can someone recommend a way to diagnose and (hopefully) fix the problem? I'm gonna try some hard drive checking and later post the results here.

Thanks in advance!

Edit: There were two partitions on the SSD, one small boot partition and one ext4 partition on which ubuntu was installed.

When running e2fsck -f -p -v /dev/nvme0np2 on the ubuntu partition this is the result:

298506 inodes used (1.91%, out of 15597568)
     121 non-contiguous files (0.0%)
     279 non-contiguous directories (0.1%)
         # of inodes with ind/dind/tind blocks: 0/0/0
         Extent depth histogram: 269963/52
 4113962 blocks used (6.59%, out of 62383360)
       0 bad blocks
       2 large files
  235222 regular files
   33641 directories
       7 character device files
       0 block device files
       0 fifos
      19 links
   29626 symbolic links (28475 fast symbolic links)
       1 socket
 ------------
  298516 files

Contents of /etc/fstab:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=a8b58d53-3ab0-4026-8be8-6128e0498d05 /               ext4 errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=3788-58D0  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/sda6 /media/me/Share ntfs defaults 0 0
  • That is typical is /home is a separate partition and did not mount. It defaulted to a new /home with nothing in it. If a separate partition first try fsck. See askubuntu.com/questions/642504/… Use your partition not example sdb1 shown, you may want to run on all ext4 partitions, only run from live installer so partition(s) are unmounted. – oldfred Sep 12 '17 at 13:31
  • I followed your suggestion and added the result as an edit. It does not seem to find any errors – JFK Sep 12 '17 at 18:21
  • If not a separate partition, not sure how you could lose just /home? Post the link to the Create BootInfo summary report. Is part of Boot-Repair: help.ubuntu.com/community/Boot-Info Some do not get good link, if so, copy & paste manually to a pastebin site & post link. – oldfred Sep 12 '17 at 18:32
  • Here is the output of boot-info: paste2.org/aKv9HGYm – JFK Sep 12 '17 at 18:49
  • Not seeing anything as an issue. Script does not parse NVMe drives fully. You show no fstab but must have one. Post above this: cat /etc/fstab. Separately you left Windows fast start up on. If directly booting Windows from UEFI and not needing to use any NTFS partitions that may be ok. askubuntu.com/questions/843153/… – oldfred Sep 12 '17 at 21:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.