Bug#594472: How to get to your data and back up

Dh H dhh4711 at googlemail.com
Fri Aug 27 18:47:24 UTC 2010


I managed to get down to my data.
Using the Debian NetInstall CD I booted into rescue mode
Select language, territory and keyboard as applicable to you.
Cancel network autoconfig, if that does not work for you (for me that
is the case), and enter appropriate data.
Select any hostname and domain
System will then come up and ask for the passphrases of the single
disks, do *not* enter your passphrase there, just continue.
Select "Do not use a root file system"
Select "Execute a shell in the installer environment"
Then use the commands below (preceded by #) to bring your vg and lv's online:
# cryptsetup luksOpen /dev/md<x> <vg-name>
Enter Passphrase: xxxxx
Key Slot x unlocked.
# vgscan
Reading all physical volumes.....
Found volumegroup "x" .....
# vgchange -a y
x logical volumes in volume group x now active ....
# exit

At this point the rescuemode menu reappears
select "choose a different root file system"

Select your root and execute a shell - voila you got your data (you
may need to enter 'mount -a' in the shell to get all LV's mounted.

At this point you can back up your data and reinstall - if you wanted.

For me - I backed up and now try some grub2 settings.
maybe I can get it back working. Will post if I have success.
I would appreciate a little help with this





More information about the Pkg-grub-devel mailing list