LinuxQuestions.org
Review your favorite Linux distribution.
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

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

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


Hello.
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.
Now.
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 02:28 AM. Reason: more tests done
 
  


Reply


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 08:24 PM
/dev/mapper/device_name missing for Luks dman777 Red Hat 3 03-31-2011 08:03 PM
13 2.6.29.6 cryptsetup luks wrong device name in /dev/mapper/* TheSoftRock Slackware 1 03-04-2010 05:51 PM
Using "device-mapper" with kernel version 2.4 jdaniels73 Linux - Enterprise 0 09-15-2006 03:46 AM
"unable to find device node for /dev/x in /dev!" during install zombiedeth *BSD 0 02-02-2004 02:38 AM


All times are GMT -5. The time now is 05:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration