Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 06-06-2017, 09:23 PM   #1
LQ Newbie
Registered: Jun 2017
Posts: 15

Rep: Reputation: Disabled
luks encrypted drive wont boot


After unplugging and replugging a SATA cable I found that I could no longer boot into my Ubuntu 14.04 OS. After passing the BIOS screen with my target drive I get a blank screen with a cursor that doesn't seem to recognize any input besides ctrl-alt-delete. What I want to do is to recover the contents of my home folder. The bios and recovery software both recognize the presence of my drive, but have been unable to do anything beyond that.

I ran the command: cryptsetup luksOpen /dev/sda1 sda1_crypt -v
from prompt root@localhost on the rescue cd
After entering my passphrase I got the following lines:

Key slot 0 unlocked.
Requested offset is beyond real size of device /dev/sda1.
Command failed with code 22: Invalid argument

I can tell that it still recognizes the passphrase used to encrypt the drive, but I'm still doing something(s) wrong and any help would be appreciated.

Here is my drive info(not sure how relevant/helpful it is)
63 sectors
MBR: Free Dos(eXtended Fdisk) 0xFAB8001

size: 2.00 MiB
Type: Linux native
Bootable: Yes
Start: 501760
End: 505855
ID: 83

Old 06-07-2017, 04:49 PM   #2
Senior Member
Registered: Aug 2009
Distribution: CentOS
Posts: 4,747

Rep: Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203
Duplicate post reported
Old 06-07-2017, 04:56 PM   #3
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,838
Blog Entries: 13

Rep: Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of

@spastisky, if you feel that the question is better placed in Linux-Newbie, then please use the Report button on your other thread to have it moved to here. I'm closing this thread because there are answers in the duplicate thread, therefore that one should be the thread to remain open.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
luks encrypted drive wont boot spastisky Linux - Desktop 12 06-14-2017 04:58 AM
[SOLVED] Unlock LUKS encrypted partition with USB drive yenn Slackware 4 02-26-2013 05:39 PM
Cannot write to LUKS encrypted hard drive Nemesissparadise Linux - Software 3 04-04-2011 05:02 PM
Loaded Fedora 9 (twice) in encrypted hard drive, now I can't get past LUKS? GaveUpOnTV Linux - Newbie 3 05-04-2009 03:48 PM
Mounting LUKS encrypted drive from a failed pc: LVM2 error klearview Linux - Software 1 10-31-2008 04:34 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration