LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
luks encrypted drive wont boot


Hi,

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)
931.51GB/976.76GB
63 sectors
MBR: Free Dos(eXtended Fdisk) 0xFAB8001

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

Thanks!
 
Old 06-07-2017, 03:49 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

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

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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 http://www.linuxquestions.org/questi...ot-4175607446/.

@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



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 03:58 AM
[SOLVED] Unlock LUKS encrypted partition with USB drive yenn Slackware 4 02-26-2013 04:39 PM
Cannot write to LUKS encrypted hard drive Nemesissparadise Linux - Software 3 04-04-2011 04:02 PM
Loaded Fedora 9 (twice) in encrypted hard drive, now I can't get past LUKS? GaveUpOnTV Linux - Newbie 3 05-04-2009 02:48 PM
Mounting LUKS encrypted drive from a failed pc: LVM2 error klearview Linux - Software 1 10-31-2008 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 PM.

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