You are not logged in.

#1 2013-03-23 19:34:34

Skyalmian
Member
Registered: 2009-06-28
Posts: 121

LUKS Volume Query

Hi,

My laptop died in February, so I brought with me my SATA HDD with it, but was unable to access it until recently. Dual-boot system of Windows and Arch, with the encrypted being /dev/sda3...
I went to a PC store to try to access it, a guy plugged it into a laptop, everything worked fine including password entry and access to LUKS, but software mismatch (my system was AMD and thus drivers) ended the display upon login / console.

I received a Apricorn Inc. "DriveWire" device and plugged it in... The Windows partition showed up, then I went to boot from the device, and again, all fine (the ext2 /boot partition works fine, etc.), until...

The device is not a LUKS volume and the crypto=parameter was not specified.

No prompt for the password.

I am wondering if first plugging it in to the device while in Windows (and checking the mounted Windows drive) somehow corrupted the encrypted partition /dev/mapper/root || /dev/sda3 partition, or if the hard drive needs to be directly plugged into a system (and not via a USB device booted from), or if there are bad sectors / physical damage...

Last edited by Skyalmian (2013-03-23 19:44:55)

Offline

#2 2013-03-23 21:24:55

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: LUKS Volume Query

Have you tried booting with the fallback image? If that doesn't work your initramfs images might be missing a driver.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2013-03-23 22:03:29

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: LUKS Volume Query

If you plug it in via USB/the adapter now, the drive is likely not sda (& sda3) anymore. So you have to adjust the kernel parameter for the luks-partition in your bootloader.
Since it booted once in the PC store incl. LUKS open, it sounds unlikely that something is damaged.

Offline

#4 2013-03-30 20:50:45

Skyalmian
Member
Registered: 2009-06-28
Posts: 121

Re: LUKS Volume Query

Strike0 wrote:

If you plug it in via USB/the adapter now, the drive is likely not sda (& sda3) anymore. So you have to adjust the kernel parameter for the luks-partition in your bootloader.
Since it booted once in the PC store incl. LUKS open, it sounds unlikely that something is damaged.

Yes, very thankfully correct. big_smile I found a desktop to plug the drive into and it worked fine, backed up files.
But for future reference of using such "DriveWire" devices, what would it be, then, if not /dev/sda3? /dev/sdb3 even though it's being booted as "first in line" via boot load order?

Offline

#5 2013-04-10 19:56:13

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: LUKS Volume Query

For that you use a persistent naming for the blockdevice (e.g. /dev/sda3) in your kernel line and the /dev/boot, /dev/mapper/.. entries in fstab. It will stay the same, also in another setup/PC: https://wiki.archlinux.org/index.php/Pe … ice_naming

Offline

Board footer

Powered by FluxBB