LinuxQuestions.org
Help answer threads with 0 replies.
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 12-14-2014, 05:40 PM   #1
rustylongsword
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, 10: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 10:40 AM.
 
  


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


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