Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/sd$usbdevice is not a valid LUKS device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 120
Location: Italy

PostPosted: Tue Feb 10, 2015 2:21 pm    Post subject: /dev/sd$usbdevice is not a valid LUKS device Reply with quote

Hello guys I'm having this (quite big) problem.
My PC can't recognize my LUKS encrypted usb device.

Code:

# cryptsetup luksOpen /dev/sdb1 usb
/dev/sdb1 is not a valid LUKS device.

This is the dmesg output:
Code:
[ 1244.163749] sd 12:0:0:1: [sdb] 245504 512-byte logical blocks: (125 MB/119 MiB)
[ 1244.164649] sd 12:0:0:1: [sdb] Write Protect is off
[ 1244.164657] sd 12:0:0:1: [sdb] Mode Sense: 23 00 00 00
[ 1244.165576] sd 12:0:0:1: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1244.181854]  sdb: sdb1
[ 1244.186993] sd 12:0:0:1: [sdb] Attached SCSI removable disk


Furthermore, the device DOES NOT show up in blkid output.

And, finally, this is my kernel config: http://pastebin.com/ng6M9x1V

It has to be noticed that my USB device WORKS on another PC running Kubuntu.
Thank you very much!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23055

PostPosted: Wed Feb 11, 2015 2:10 am    Post subject: Reply with quote

What is the output of file -s /dev/sdb1?
Back to top
View user's profile Send private message
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 120
Location: Italy

PostPosted: Wed Feb 11, 2015 8:18 am    Post subject: Reply with quote

I answer myself: my USB device used GPT while I didn't have it compiled in my kernel. Solved! :-D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum