Visit Jeremy's Blog.
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 12-14-2014, 06:40 PM   #1
LQ Newbie
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
manually mount luks encrypted hard drive not in fstab? (mint 17.1)

I recently installed a new hdd in my laptop and installed mint 17.1. My old disk is still installed and it has mint 16 encrypted at installation with luks. i was in the process of transferring my personal data to an external drive when my three year old son copy/pasted a folder to my desktop, and it happened to be larger than the available space on the disk. now my old mint 16 disk will freeze at login and when i open up the disk in my new installation it disappears after entering the passphrase. i attempted to mount the disk manually but the disk is not in fstab although it does show up in fdisk. i have read something about manually editing fstab to mount it, but i figured before i went on editing system files i would seek some advice.
Old 12-15-2014, 11:03 AM   #2
sounds greek 2 me
LQ Newbie
Registered: Dec 2014
Posts: 6

Rep: Reputation: Disabled
Usually, these are the steps to mounting a luks encrypted partition

cryptsetup luksOpen /dev/sdxx securedata
mount /dev/mapper/securedata /mnt

replace sdxx with the proper device node.
securedata is an example name, you can use any name for the mapped device

Sample /etc/fstab entry:

/dev/mapper/securedata /mnt/ ext4 defaults 0 2

replace ext4 if you are using a different filesystem.

Last edited by sounds greek 2 me; 12-15-2014 at 11:40 AM.


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
Problem with fstab.rootfs in on an dm-crypt/LUKS encrypted SATA drive Elthemor Linux - General 0 12-26-2013 09:44 AM
Trying to manually mount second hard drive in Ubuntu 10.10 firefighteres755@yahoo.c Linux - Newbie 15 04-27-2011 12:42 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
Have to manually Mount Hard Drive Partitions on every boot moshebagelfresser Linux - Hardware 4 01-14-2009 12:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration