0

I upgraded from Ubuntu 14.04 to 14.10 and got the black screen issue that had when trying other distributions. My graphics card is Intel HD Graphics 4400, I don't know if this info is enough or you need more.

I have tried all possible solutions I found in the forums and I am not even sure I am doing the correct things in recovery mode... the further I've been, I see the red dots of Ubuntu loading but doesn't end.

I don't mind reinstalling 14.04, but I would nee to recover at least my user data (files on desktop, chromium favourites, my work from the last weeks). I have no clue on how to do it with commands. I have the user folder encrypted, I have the code password.

If I could copy at least my personal files in a usb hdd I would be happy enough and reinstall 14.04. BTW, I also have a Windows partition

Elder Geek
  • 36,752

1 Answers1

0

It appears that you have an eCryptfs encrypted home directory. You should be able to access the encrypted home directory rather easily:

  1. Get a Ubuntu live CD/USB, preferably of a recent version, and boot into it
  2. Mount your root partition (either your /home partition if you have one, or the root partition otherwise)
  3. Run ecryptfs-recover-private /media/ubuntu/ROOTFSUUID/home/USERNAME where USERNAME is your username, and /media/ubuntu/ROOTFSUUID is the path to your root partition mountpoint. Follow the prompts, and if mounting was successful, the mount point of your encrypted home directory should be printed into the terminal.
  4. Navigate to the mount point and copy your files out.

If that fails, you might get it to work by chrooting your root partition on your live CD:

  1. Mount your root partition: sudo mount /dev/sdXY /mnt/, where /dev/sdXY is your root partition device
  2. Run for i in /dev /dev/pts /proc /run /sys; do sudo mount -b $i /mnt$i; done
  3. Mount the media you want to copy your files to to a directory in /mnt (e.g. /mnt/mnt) with sudo mount /dev/sdXY /mnt/mnt/, where /dev/sdXY is the media you wish to copy to, not the root partition
  4. Run sudo chroot /mnt
  5. Run ecryptfs-recover-private /home/USERNAME and follow the prompts
  6. Copy out the files from the mount point outputted by the command in step 5
zhongfu
  • 1,459