home data dir are losted after update ubuntu 18.04 kernel

Asked by Bishoy Michaiel

 i have upgrade my ubuntu-desktop 18.04 manually `by dpkg -i <4 kernel files of 4.19*> ` , i can not find my user data on /home/<user>/ , home direcotries like Documents, Downloads, ..

directories Documents, Downloads, .. are existed but some empty (Downloads,) and other (Video) can not open them

my commands history exist!

trying to open video dir for example it gives below error `unable to find the requested file , please check spilling ...`

any help how to solve/recover data user ? :(

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the output that you receive for the commands

uname -a
lsb_release -crid
id
whoami
grep `whoami`/etc/passwd
ls -la /home
ls -la ~

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Also add the output of:

cat /etc/fstab

Thanks

Revision history for this message
Bishoy Michaiel (pishoy) said :
#3

```
pishoy@pishoy-laptop:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

pishoy@laptop:~$ id
uid=1000(pishoy) gid=1000(pishoy) groups=1000(pishoy),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),116(lpadmin),126(sambashare),127(docker),132(libvirt),999(zerotier-one),64055(libvirt-qemu)

pishoy@laptop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=a135fdfe-c115-43ae-ab56-85785aa93b0f / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda2 during installation
UUID=f2057020-b8f6-4ea5-8c74-a574ae207231 /boot ext4 defaults 0 2
# /boot/efi was on /dev/sda1 during installation
UUID=32C7-3B41 /boot/efi vfat umask=0077 0 1
# swap was on /dev/sda4 during installation
UUID=82daef48-6992-4c89-95a9-139e9e743b1d none swap sw 0 0
/dev/sda5 /mnt/sda5/ ext4 defaults 0 0

```

Revision history for this message
Bishoy Michaiel (pishoy) said :
#4

while booting, i choose old kernel 4.15 but still same issue

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Pleasa add also the output of

grep pishoy /etc/passwd
ls -la /home
ls -la ~

Revision history for this message
Bishoy Michaiel (pishoy) said :
#6

```
~$ grep pishoy /etc/passwd
pishoy:x:1000:1000:pishoy,,,:/home/pishoy:/bin/bash

~$ ls -la ~

drwxrwxr-x 3 pishoy pishoy 4096 Jul 8 21:13 Documents
drwxr-xr-x 2 pishoy pishoy 4096 Jul 7 14:06 Downloads
....
..
```

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.