LinuxAnswers - the LQ Linux tutorial section.
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!


  Search this Thread
Old 10-28-2013, 11:30 AM   #1
LQ Newbie
Registered: Sep 2013
Posts: 21

Rep: Reputation: Disabled
LUKS- /dev/mapper/"device" disappears after reboot

I successfully created LUKS on one disk partition of /dev/sdb,
added entry to /etc/fstab and mounted. It was fine.
I edited /etc/crypttab and added

mountpt /dev/sdb none

When booting it asks for passphrase and then is mounted.
Thats fine.
According to all sources /etc/crypttab can seem like:

mountpt /dev/mapper/device

But when I put it like that it doesnt mount and send error that /dev/mapper/device doesn't exists
It works only when put phisical entry /dev/sdb.
I'm confused

Last edited by makupl; 11-05-2013 at 03:28 AM. Reason: more tests done


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
[SOLVED] BackTrack 5 R3 boot issue: "/dev/mapper/vg-root does not exist! Dropping to shell!" EStyles Linux - Laptop and Netbook 2 12-07-2012 09:24 PM
/dev/mapper/device_name missing for Luks dman777 Red Hat 3 03-31-2011 09:03 PM
13 cryptsetup luks wrong device name in /dev/mapper/* TheSoftRock Slackware 1 03-04-2010 06:51 PM
Using "device-mapper" with kernel version 2.4 jdaniels73 Linux - Enterprise 0 09-15-2006 04:46 AM
"unable to find device node for /dev/x in /dev!" during install zombiedeth *BSD 0 02-02-2004 03:38 AM

All times are GMT -5. The time now is 01:11 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration