Fedora :: Cannot Mount Encrypted Partition?
Apr 11, 2011
I used Ubuntu for years now, but since the latest decisions got public I deceided to try something new: Fedora. I installed the system as a dualboot,Ubuntu and my old data. Because Fedora got installed inbetween of two partitions,ad to do the partitioning manually. I just made one partition /dev/sda4. During the installation process I got asked about the password for my /dev/sda1 partition. Of course, I entered it. So far so good.Now, everytime when I boot, the boot process stops and asks me for the password of the /dev/sda1 partition. However, the boot process does not go on, unless i press STRG+C.After the log in, I can also not access my data, by entering the password (GUI).The only way I can acces the data on that partition is:
Code:
su -
cryptsetup luksOpen /dev/DEVICENAME luks-fedora
[code]...
View 4 Replies
ADVERTISEMENT
Jan 31, 2011
I encrypted my /home partition in my last installation F13. For some reason, I have to reinstall F13. After I login, I can not access /home. I followed some instructions like
modprobe dm-crypt
modprobe dm-mod
cryptsetup luksOpen /dev/vg_vit/lv_home vg_vit-lv_home
[code]...
View 3 Replies
View Related
May 2, 2010
Times like this Ubuntu makes me want to pull my hair out. When I enter my pass on the login screen, it brings up a "Could not update ICEauthority file" error and then goes to a black screen. I've tried to fix this problem for the past 2-3 hours (searching google, these forums, etc) and at this point, I just want the data off my drive so I can restart with a fresh install of Ubuntu. I used the "gsku nautilus" command to mount the disk from a Ubuntu Drive boot, but it's not letting me have access to the encrypted drive. Does anyone know of a work around for this?
View 1 Replies
View Related
Feb 1, 2016
I have two basically identical harddrives that are encrypted with LUKS containing a complete debian installation:
Code: Select allroot@x200s:/home/b# lsblk --fs
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ext2 0b851969-281e-4db2-8a5b-3798e801711b /boot
├─sda2
└─sda5 crypto_LUKS cfcf63ef-448a-4f72-9f58-8f7731cf3dfc
└─sda5_crypt LVM2_member 21CS3f-SQeQ-XcMr-kyDs-OPtR-egmT-HkvJAu
[Code] ....
sda is what I currently run to write this text, sdb is my former harddrive, connected via USB.
I want to access the root partition on sdb.
The problem is:
Code: Select allcryptsetup luksOpen /dev/sdb5 oldhd
Enter passphrase for /dev/sdb5:
root@x200s:/home/b# ls /dev/mapper/
control oldhd sda5_crypt x200s--vg-root x200s--vg-swap_1
root@x200s:/home/b# mount /dev/mapper/oldhd /mnt/
[b]mount: unknown filesystem type 'LVM2_member'[/b]
[Code] ..
Before all this, both sda and sdb where in the same volume group. I renamed the volume group of sdb to "oldDisk"
using
Code: Select allvgrename <UUID> oldDisk
How I can access the data on the root filesystem of my sdb..
View 2 Replies
View Related
Oct 14, 2010
I currently have a simple bash script set up via cron to backup my data (rsync) to an internal hard drive at regular intervals. I leave this "backup" hard drive unmounted, and it is mounted and unmounted as needed with the bash script. If I were to encrypt this "backup" drive (via Luks, or some other means), is there a way to get my backup script to work without me having to be there to enter a password?
View 4 Replies
View Related
May 27, 2010
I'm having a problem auto-mounting a new luks partition. I have crypttab and fstab entries. I already have my primary encrypted partition (root) mounting at boot (from the install), but after creating this one manually, it does not open on boot. It auto-mounts when I run the following command manually after boot: sudo luksOpen /dev/disk/by-uuid/<uuid> mycrypt
/etc/crypttab entry:
personalcrypt /dev/disk/by-uuid/a1af5b7b-db58-4690-b586-b74407795e2c none luks
/etc/fstab entry:
[code]...
View 1 Replies
View Related
Apr 3, 2010
I'm trying to configure pam_mount to automatically mount an encrypted partition (luks) and formatted to NTFS. I typed the command in the configuration file:
Quote:
<volume user="user" fstype="crypt" path="/dev/sda6" mountpoint="~/dane2" options="defaults,umask=000" />
But the partition is mounted read-only. There is some way to mount the partition rw mode?
View 2 Replies
View Related
Feb 11, 2011
I have 2 identical disks originally configured as a pair for a server. Each of the disks has 2 partitions dev/sdb1,dev/sdb2. The sdb1 partitions I had configured as a raid1 mirror. The sdb2 partitions were non-raid and used as extra misc. Space. Further, the raid setup is also encrypted using dm-crypt luks. Now I want to redeploy each of the disks for new purposes. One of the disks i want to deploy exactly as before (keeping the partitions and content), however without being part of a raid array.
I've successfully deployed this disk into a new system and I am mounting the dev/sdb1 partition as dev/md0 because the disk is set to autodetect raid. Actually I am using cryptsetup and mounting with mapper. Can I get rid of the setting for auto detect on this partition without losing the data, or breaking the encryption? I just want to mount the partition as a standalone encrypted disk. Is it as simple as doing crypt setup luksOpen /dev/sdb1 then mounting it with mapper? Or do I need to change the partition in some way. Or do I simply continue to operate it as a 'broken' raid array?
View 2 Replies
View Related
Mar 8, 2010
ive recently switched to Gentoo as my primary OS - the only problem im having so far is getting my ubuntu partition to mount, aparantly it is encrypted, although i cannot remember ever doing this. It is an ext4 filesystem. When I do
[code]...
It mounts, but when I cd to /media/Ubuntu/home/dean all I see is a blank README.txt and Access-Your-Prive-Data.desktop files. Is it possible for me to mount my ubuntu partition to be read / written to in gentoo? If not, how do I go about removing the encryption? (I still have access to the ubuntu install)
View 1 Replies
View Related
Mar 4, 2010
I want to mount my laptops encrypted root partition so I can do some maintenance on it - xfs filesystem. Is there a way to do this?
View 8 Replies
View Related
May 24, 2011
I just replaced my Fedora 14 installation in which I have an encrypted LVM which contains /home and /tmp (no, I didn't back up ), when I boot I enter my password, and get dropped to the maintainance login a few minutes later. I'm wondering how I can mount my /home from the Live system so I can just back up over the network.
I haven't worked with LVM very often so I'm out of my depths on this.
This is my partition layout as reported by the installer: screenshot
Edit: upon boot the system tells me that /dev/mapper/logvol01 and /dev/mapper/logvol00 don't exist
Edit2: Nevermind, Disk Utility is smarter than I am.
View 3 Replies
View Related
Dec 3, 2009
I updated through yum tonight had to reboot but it hangs on reboot.Now I can't use my computer.here point me in the right direction to fix this.I have no clue.I really need to mount this encrypted drive but it won't let me this way I can get my files and move them to another os that is working.I put in the password but it will not mount for some reason.My first venture in fedora land does not seem to be going well at all right nowor a page I have work to do and I really don't have time to be reading hundreds of pages to find the right answer.
View 9 Replies
View Related
Apr 8, 2010
I have been using fedora 12 for last 6 months, recently I bought an external USB hard drive of 320 GB capacity. I made 2 partitions using the Disk Utility in Fedora. I encrypted the first partition as it was supposed to hold a lot of sensitive data, and yes it did have. Now I had to change my OS to AV linux for some audio-video editing work which wasnt being done properly on fedora due to some issue beyond my knowledge. now the problem is my encrypted partition is not accessible in my new installation. I see an empty space on my /dev/sda1. although no change to partition data has been done and the data on the second partition /dev/sda2 is easily accessible. when putting the drive on automount, is does not ask me for the password and neither does it show me the data. I have tried fdisk and sme other utilities but have failed to get my drive unencrypted.
View 7 Replies
View Related
Feb 19, 2011
Somehow my file encryption password changed so when I went to re-install Fedora it said SDA-2 will not be available during installation.Is there a way to erase the whole disk including the ecrypted portion?
View 2 Replies
View Related
Aug 10, 2009
I have no idea what I'm doing so here goes: I installed Fedora and clicked the "encrypted" box during the process. What I want to do now is "browse" the volume using "File Browser" but I only get messages like, "Unable to mount location, org.freedesktop.DeviceKit.Disks.Error.Failed: Not a mountable file system". Why cannot I not see the files? I have the password. I would like to be able to move, delete, rename, etc files but that seems impossible because I cannot access the drive.
View 1 Replies
View Related
Mar 14, 2010
Can I resize an encrypted partition with gparted?
View 2 Replies
View Related
Jul 13, 2010
I keep my /boot partition on a usb stick, where i keep the keyfile as well. I already generated the keyfile and added it to the LUKS LVM partition.Right now, on bootup I get a nice GUI to enter my 40 character password which is nice but a little tedious What do i need to modify for the system to automatically unlock the partition with the keyfile that is stored on the /boot partition
View 4 Replies
View Related
Nov 8, 2009
I need to access /etc/modprobe.d on an encrypted LVM LUKS partition. I m not sure how to go about it though. Mount usually handles my mounting needs, do I need to decrypt the physical volume first? LIst of commands need would make my day.
View 1 Replies
View Related
Aug 30, 2010
I have encrypted a partition while installing Fedora 13, and I need to disable its automount - I will mount those manually.
But even though I commented out the corresponding line in /etc/fstab, I am still asked for the passphrase for the partition at startup.
How to completely disable this behaviour - and how to mount the partition manually afterwards?
View 5 Replies
View Related
Dec 11, 2010
I just picked up a 1.5TB external drive. I want to wipe the NTFS partition (I assume that's what it is) that is there and replace it with an encrypted ext4 partition.
Is there a HOW-TO somewhere for this?
View 3 Replies
View Related
Feb 16, 2011
couldn't find anything similar on the forum.I am writing a kickstart for fedora 14 with a partition table similar to:
part / --asprimary --fstype="ext4" --size=10000 --encrypted --passphrase=pass1
part /boot --asprimary --fstype="ext4" --size=130
part /var --fstype="ext4" --size=5000 --encrypted --passphrase=pass1
[code]...
View 9 Replies
View Related
Jun 6, 2010
I created a encrypted volume on top of software raid1. These are my steps:
1. Create logical partition on sda
2. Create logical partition on sdb (same size)
3. Change type to partition to 'fd' for both partitions
4. Check that the both partitions are same size and type
fdisk -l /dev/sda && fdisk -l /dev/sdb
5. partprobe
6. Make sure there are no remains from previous RAID installations on /dev/sdb by running:
mdadm --zero-superblock /dev/sda6
mdadm --zero-superblock /dev/sdb6
7. mdadm --create /dev/md4 --level=1 --raid-disks=2 /dev/sda6 /dev/sdb6
8. watch cat /proc/mdstat
9. update mdadm.conf
mdadm --examine --scan | grep mdx >> /etc/mdadm.conf
10. Load twofish module
[root@localhost ~]# modprobe twofish
11. # cryptsetup -y -c twofish-cbc-essiv:sha256 create ftdata /dev/md4
Enter passphrase:
Verify passphrase:
12. mkfs.ext3 -b 4096 -R stride=8 /dev/mapper/ftdata
13. mkdir /ftdata
14. Mount the encrypted volume: mount -O noatime /dev/mapper/ftdata /ftdata
It mounts successfully this first time. When I cd /ftdata, I can see the lost+found dir
Now, I unmount the volume
cd ~
Code:
umount /ftdata
cryptsetup remove ftdata
And now, if I try to setup my encrypted volume like this:
Code:
[root@localhost ~]# cryptsetup create ftdata /dev/md4
Enter passphrase:
mount -O noatime /dev/mapper/ftdata /ftdata
I get this error:
mount: you must specify the filesystem type
[Code].....
View 1 Replies
View Related
Jun 6, 2010
I created a encrypted volume on top of software raid1. These are my steps:
1. Create logical partition on sda
2. Create logical partition on sdb (same size)
3. Change type to partition to 'fd' for both partitions
4. Check that the both partitions are same size and type fdisk -l /dev/sda && fdisk -l /dev/sdb
5. partprobe
6. Make sure there are no remains from previous RAID installations on /dev/sdb by running: mdadm --zero-superblock /dev/sda6 mdadm --zero-superblock /dev/sdb6
7. mdadm --create /dev/md4 --level=1 --raid-disks=2 /dev/sda6 /dev/sdb6
8. watch cat /proc/mdstat
9. update mdadm.conf mdadm --examine --scan | grep mdx >> /etc/mdadm.conf
10. Load twofish module [root@localhost ~]# modprobe twofish
11. # cryptsetup -y -c twofish-cbc-essiv:sha256 create ftdata /dev/md4 Enter passphrase: Verify passphrase:
12. mkfs.ext3 -b 4096 -R stride=8 /dev/mapper/ftdata
13. mkdir /ftdata
14. Mount the encrypted volume:
mount -O noatime /dev/mapper/ftdata /ftdata
It mounts successfully this first time. When I cd /ftdata, I can see the lost+found dir
[Code]....
So why is it that I can't mount my encrypted volume after the first time? I am giving the correct password when it asks to.
View 3 Replies
View Related
May 20, 2010
Anyone had any experience with unlocking a LUKS encrypted root partition via ssh? It is ok to leave /boot unencrypted.
There are a few pages from google with the debians variants, archived by putting dropbear into initrd.
I like to do that with my fedora/centos remote servers, but struggle to find any resources specific to it. Anyone has any suggestions and thoughts as to what might be a suitable way forward?
View 2 Replies
View Related
Jan 21, 2009
I need a FREE solution that can image an entire Luks system encrypted volume and the rest of the used HDD, the MBR and /boot partition. Note: MBR and /boot are not encrypted. Note 2: I want to be able to restore entire drive from image with only a couple of steps. Note 3: Destination HDD space is a factor. Image file must be compressed and the image file must be around 40 to 50 GB or less. The smaller the image the better.
I have used clonezilla live cd before but not for encrypted volumes. I know you can install it in Linux. But, I don't know how to configure it after installation. I would be very happy if someone could tell me how to configure clonezilla in Fedora. How to guides are also welcome. I have one more question. If I image the encrypted volumes and all the stuff I mentioned above while logged in to Fedora, and I restore the drive from the image, will the recovered drive still be encrypted?
View 8 Replies
View Related
Jun 3, 2011
I installed 15. I have reformatted the 500mb /boot partition, didn't touch the swap partition, formatted the / partition. Trying to boot, I receive a "cannot mount selected partition". This is a fresh install. I rebooted into the Live CD to do some FS Checks, and got kernal crash, black screen, lots of kernal output while in live CD trying to do FS checks. The only line that looks like it holds any info that may be relevant is the last of the lines that says: Kernal Panic - Not Syncing: Fatal exception interupt PID 1161, comm:irq/21-0000:01: tainted: g d (kernal version) Panic+0x91/0x19c
I did an FS check on /boot and it came back fine. I did an FS check on /, and it came back fine. But then I told it to do an FS check on swap and got the warning that swap is currently mounted, and that if I proceed, it could cause serious system damage, and asked me if I wanted to proceed. I chose no, and it crashed.
---------- Post added at 02:59 AM ---------- Previous post was at 02:42 AM ----------
wait, i think i found the problem. It APPARENTLY installed /boot as ext4. Reinstalling now. Will update momentarily...
---------- Post added at 03:06 AM ---------- Previous post was at 02:59 AM ----------
Nope, i explicity made sure i installed ext3 on boot this time, and it still gives the same boot error, AND i KEEP getting that kernel crash.
View 1 Replies
View Related
Jan 20, 2010
I just made a new storage partition and formatted it as Ext3. Now, this particular partition is shown and can be read at the terminal "fdisk -l". However, unlike in my Mint 7 partition, it does not show in my Fedora 10.
Code: [jun@localhost ~]$ sudo fdisk -l
[sudo] password for jun:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc5e3f820
[Code]....
This partition can also shows be seen in gparted in Fedora. However, even in the "Places" tab, it does not show.
View 9 Replies
View Related
Jul 17, 2010
Trying to mount a encrypted folder using cyptkeeper. i'm getting the following error box.
Quote:
The encrypted folder could not be mounted because the mount point is not empty:
I've tried to mount this folder through another partition and OS without any luck, i got the same message.
View 2 Replies
View Related
Jan 6, 2010
Currently I have a dual boot system it consists of Fedora 12 and Windows Vista, at this time when I am logged into fedora 12 I can select the windows vista partition in the f12 file manager, I am than prompted for the root password and after entering the password, the drive mounts as read/write with no problem. How can I automate this mounting process so once I login as a standard user the NTFS partition mounts without any input? I would like this to auto mount without prompting for a password or having to double click on the vista partition each time.
View 6 Replies
View Related
Sep 10, 2010
I have a cluster of linux boxes that authenticate with ldap, and a few windows boxes. I have been asked to make the windows boxes mount or map one of the linux partitions on the server.Any ideas or search terms that could shortcut the research process on this would be great.
View 4 Replies
View Related