Help with encrypted partition (Warning: n00b bonanza!)

4 Antworten [Letzter Beitrag]
holm.K
Offline
Beigetreten: 04/29/2017

Hello everybody,

disclaimer first: I dont have any business toying with such voodoo magic like encrypted file systems. Yet, I did.

I love Trisquel, and when making a fresh install of my favorite libre distro, I chose encryption option. Not sure if only home folder or whole file system, but I got my 32-character key.

I wrote it down and I keep staring at it while writing this.

Two days ago I used Software updater (new kernel revision) and after mandatory reboot I got Kernel Panic.

And not only kernel: the 400 gig partition holds my whole digital part of me.

I have erased swap, installed fresh Debian stable, but my GNU cred is awful: cant mount the old file system (gparted shows it as xfs).

I have googled, addressed various deities and saints (including St.IGNUcius), but still cant mount it.

Any hint, including link to appropriate man page, will be a treat in my current digital misery.

Thanks!

hK

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Can you boot a previous version of Trisquel's kernel from the "Advanced options" of GRUB's menu (you may have to press a key, shift maybe?, to be displayed this menu right after the computer powers on)? The user and password you will be asked to enter are (unencrypted, if I properly understand your setup) in /etc/grub.d/01_PASSWORD... assuming you have not overwritten Trisquel's root partition!

You can read that file from the live system (i.e., this GRUB password only is an annoyance, it provides no real security, unless no live system can be booted, such as on kiosk computers). The user is "grub" and the password is a number at the very end of the file.

holm.K
Offline
Beigetreten: 04/29/2017

Thank you!

The GRUB did not let me boot the partition (Advanced option do not show it), however I was able to mount it this time.

It shows just my home folder, when I open it, there are two icons: Acess-Your-Private-Data.desktop and README.txt

None of those can be opened, read or executed. File explorer refers to them as broken links.

What now?

Mangy Dog

I am a member!

I am a translator!

Offline
Beigetreten: 03/15/2015

https://askubuntu.com/questions/71708/how-do-i-open-access-your-private-data-desktop

If you can access all your data, make a backup ;-)

then open a terminal & access your Grub password

$ sudo cat /etc/grub.d/01_PASSWORD

Remove the password with Triquel 7 Gnome

gksu gedit /etc/grub.d/01_PASSWORD

Trisquel 7 mini

gksu leafpad /etc/grub.d/01_PASSWORD

add # at the begining of the line with the password, save & exit .You must update GRUB after by issuing the folowing command

$ sudo update-grub

holm.K
Offline
Beigetreten: 04/29/2017

It worked!

I have accessed my data and made the backup.

And since I love fresh installs (sic!), I have a brand new Trisquel.

Now lets hope, it does not KP on me again.

You guys were tremendous, thanks for your help!

hK