CentOS 5 :: Mount Error: Can't Mount An Encrypted Volume With An Overlaying Ext3 FS
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
ADVERTISEMENT
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
May 3, 2010
I recently installed Ubunutu 10.04 Netbook Remix onto a Dell Vostro A90. During install I selected "Require my password to log in and to decrypt my home folder", and this is working great.
What I would like to figure out, is how to have a second encrypted volume that lives on my SD Card that is also decrypted automatically upon login.
I've tried a variety of things, but they all require me to re-enter my password at some point during the boot/login, once for user login and the other time to decrypt/mount the volume. I am trying to avoid this, and hopefully will only have to enter my password once. Maybe I can piggyback on the default Ubunutu home directory decryption and make it all appear seamless?
View 3 Replies
View Related
Dec 25, 2010
I have a problem in my ubuntu 10.01 that it can't load a drive/volume in ubuntu. When I tried, it said: "Unable to mount location Error mounting: mount: /dev/sda1: can't read superblock". And when I boot my pc with 'Windows', it said : "UNMOUNTABLE_BOOT_VOLUME" under a blue screen. What can I do to solve this problem?
View 9 Replies
View Related
Mar 1, 2010
I have a external usb 20Gb hdd. It was a ntfs partition but i could'nt mount it, so I try with a ext3 partition, because with centos it's mount automaticly, but... for some reason that I don't know, even with a ext3 partition my centos don't detect my external usb hdd, howerver I already try to mount it on ubuntu to see if it work, even on windows with some programm to recognize ext3, it was alright, but why can't i mount it on my centos?
View 13 Replies
View Related
May 5, 2011
How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.
This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).
View 2 Replies
View Related
Jul 26, 2010
mount: error 6 mounting ext3pivotroot: pivot_root (/sysroot, /sysroot/initrd) failed:2Remounting defs at correct place if necessaryMounted defs on /devFreeing unused kerbel memory: 272k freedKernel panic: No init found. Try passing init=option to kernel
View 1 Replies
View Related
Jun 30, 2010
I have two internal hard drives.I just installed Debian Lenny in the smaller 80GB. But when I try to access the other hard drive it shows:
"Invalid mount option when attempting to mount the volume"
info:
-The 80GB is on dual boot with Windows 7 and Debian Lenny.
-The 500GB secondary hard drive is NTFS filesystem.
View 1 Replies
View Related
Feb 9, 2010
I try tou Mount NTFS partition, and i i have this error massage:
"Cannot mount volume. Invalid Mount option when attempting to mount the volume"
View 8 Replies
View Related
Jun 7, 2010
I keep getting this error message. i don't want to go back to windows but if I can't fix this I'm afraid I will have to so I can listen to my podcasts. Does anyone know how to fix this error?
View 9 Replies
View Related
Jun 2, 2010
I didn't have Linux until the day Windows crashed on me for the gazillionth time. I was simply playing some music in Windows Media Player as the entire PC froze. No CTRL+ALT+DEL, no alt F4... so I was forced to hard-reset my computer using the ON-button. After that it never launched Windows again simply because it didn't feel like it. Now, we're not here to find out why Windows is a bitch about all this, my real problem lays somewhere else. Seeing as a lot of important files were on my Windows drive I figured I could just install Linux on the other drive and fetch the files from there. The problem is I can't. Every time I attempt to open the disk I get the following error:
Quote:
Cannot mount volume.
Unable to mount the volume.
Hibernated non-system partition, refused to mount. Failed to mount '/dev/sda2': Operation not permitted. The NTFS partition is hibernated. resume and shutdown Windows properly, or mount the volume 'read-only' with the ro-option. Or mount the volume 'read-write' with the remove_hiberfile-option.
Code:
mount -t ntfs-3g /dev/sda2 /media/disk -o remove_hiberfile
I've tried both the ro-option and the remove_hiberfile but in both cases I'm given this error in the console:
Quote:
Mount is denied because NTFS is marked to be in use.
Choice 1: If you have Windows.. click on the 'Safely Remove Hardware' icon in Windows task bar to shutdown Windows cleanly..
Choice 2: If you do not have Windows then you can use the 'force' option...
And thus looping me back to the first command, upon entering I will again receive the first error. Things I have tried:
- said commands or slight variants
- re-installing windows (gets stuck during installation)
- used the Ultimate Boot CD in an attempt to access and copy the files from my Windows Drive onto an external hard drive / my Linux drive
- clicking the Drive icon furiously for a period of time in hope of a different result (which obviously did not work) Seeing as I can't screw open my laptop and take the drive out I'm really hoping there is some way for me to connect to the drive from Linux and extract the files.
- most likely my Windows system files have gone corrupt and I will need a format, but I'm not willing to do that unless I'm a 100% sure there is no way for me to extract the files first. I have an Acer ASPIRE 7720G (laptop) running an Intel Core Duo T7500 and have 2 physical hard drives (each as one large partition) of 500GB, further more it has 4GB DDR2 RAM memory and a fancy graphics card.
View 9 Replies
View Related
Jun 24, 2009
I dont know if this is possible or not but here what I would like to do. I have 6 linux server and each has 100GB disk space. All of these 6 box are compute nodes and space are not used really. However, If I can combine 6 servershard disk that will in total 6*100GB gives you quite a bigger space. Is there any tool or ways to mount these drive in one volume instead of mounting individually ?
View 2 Replies
View Related
Apr 29, 2010
i'm installing a Linux system just simply following guide by fellow friends comunity. Currently, my box are having 2 HDD with 35GB each capacity. Displaying in GNome (36.2 GB Encrypted Data). During installation, I'd selected :
*Remove Linux partitions on selected drives and create default layout
*The "Encrypt system" option
View from terminal :
# /sbin/fdisk -l
Disk /dev/sda: 36.4 GB, 36401315840 bytes
255 heads, 63 sectors/track, 4425 cylinders
[code]....
In Gnome desktop, when I right click and select mount volume, it will display : "Unable to mount location. Internal error: No mount object for mounted volume"
View 9 Replies
View Related
Jan 12, 2011
I just having to do a fresh install and get the following message to close after setting up
partitions and on clicking write to disk:
Failed to mount "524M Volume"
Method "Mount" with signature "ssas" on interface
"org.freedesktop.Hal.Device.Volume" doesn't exist.
Only option under message is close button. I'm using Fedora 14 xfce 32bit live CD. The install seems to carry on normally until done but then when I check the partitions I've setup I seem to only have the origonal uneditted default partitions.
View 2 Replies
View Related
Jan 18, 2010
I plugged in USB(single fat32 partiton of 2GB) and got message window Cannot mount volume. Invalid mount option when attempting to mount the volume.
[Code]...
Also did check in gparted , dosfsck and fsck.vfat but no errors reported.
View 5 Replies
View Related
May 6, 2010
Unable to mount NFS server on the client.
Getting the following error.
mount: RPC: Remote system error - Connection timed out
View 3 Replies
View Related
Jun 26, 2011
actually some my windows ntfs partiitions are unable to mount at start up. the error msg is -'some of your partitions are unable to mount press 's' to skip or 'm' to manually mount.
View 14 Replies
View Related
Jun 24, 2010
what now trying to mount partition get this error this is the partition ubuntu 9.10 is installed on and upon reboot error no device with a long string. mount: can't find /dev/sda6/mnt in /etc/fstab or /etc/mtab
so now that I believe I've successfully mounted the partition how do I direct the bootloader to this partition /dev/sda6 on /media/11076e45-e27d-470b-bb6d-6894f7809a0c type ext4 (rw,nosuid,nodev,uhelper=devkit)
View 1 Replies
View Related
Feb 11, 2010
I'm not really sure this is the right category for this post...
I've been thinking and reading but I really don't find a solution, and this is why I decided to post here. I'm not a newbie using Linux but I know absolutely nothing about nfs and related stuff. If explanations are not clear/precise I'm sorry and absolutely open to explain myself better (I'm really desperate, at this point).
I'm running a Debian in a VirtualBox inside a RHEL5. To supply space to the virtual machine I'm trying to mount a disk (? maybe not?) that I created in the RHEL.
In RHEL: I created a directory /some/path/dir and I granted access to it from the VM (edit /etc/exports file and restart the nfs service)
In Debian: I created a directory to be used as mounting point (mkdir /other/nice/path/dir) and I tried to mount (mount -t nfs -v redhat:/some/path/dir /other/nice/path/dir). What happens next is the following:
mount.nfs: timeout set for Thu ...
mount.nfs: text-based options ...
mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failed
Now, this Input/output error is too vague to trace where the problem is, but I really have no idea about how to go more in depth (are there logs somewhere? What should I look for? ... ...).
View 5 Replies
View Related
Oct 4, 2010
Not able to mount windows drive & foder, in linux. i have got following error.
mount error 92 = Protocol not available
View 10 Replies
View Related
Feb 9, 2010
i have installed nfs server on my redhat machine.when i want to mount shared data from client(suse)machine the following error occur."mount.nfs: mount to NFS server '10.3.31.146:/home/usbtest' failed: System Error: No route to host"
View 1 Replies
View Related
Jan 6, 2011
I just installed Linux Mint Debian Edition on my friend's laptop. The biggest problem is getting his iPhone 4 to mount. On libimobiledevice.org it shows a cool video of a guy managing his iPhone with Linux thanks to libimobiledevice. libimobiledevice.org also says libimobiledevice supports the iPhone 4. But when he plugs it in, he gets an error that says:
Quote: Unable to mount location: Unhandled Lockdown error (-5) It's a serious issue and needs to be resolved ASAP. ***EDIT*** If this is a hardware topic, any mods can feel free to move it.
View 5 Replies
View Related
Aug 5, 2010
I have 2 internal drives. One is for the OS and one is for the Data. I tried to get the Data drive to mount automatically at login using some crap I found on a linux blog. Safe to say it didn't work and now I can't mount it with the OS on the OS Drive.
It mounts from a live CD and all the data is perfectly safe. When I try to mount the drive I get this error message: "Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sdb1 on /media/data" What have I done wrong and how can I make it mount again? Preferably this time at login.
View 2 Replies
View Related
Aug 24, 2010
First of all: it's been more than 12 years ago since I worked with Linux, and a lot has changed in the meantime. But I considered it a challenge to install Ubuntu 9.10 and lateron upgraded to 10.04 LTS without any troubles, until now:
Except my main partition ("/") all other partitions fail to mount. All NTFS partitions from my other OS and also 2 other linux ext4 partitions I've made are not accessible anymore. and, what bothers me the most: I deleted those 2 new linux partitions in the meantime because I couldn't access them initially because Root was the owner (Duh! root is standard disabled in Ubuntu, right?). After an attempt to try to automount all partitions following the help guides I got now big grey errors on my splashscreen while booting, telling that an error occured with e.g. /media/Backup because it is missing or it cannot be mounted, with 3 options below: waiting, skipping or using a command prompt to solve this. I always choose Skip for safety.
Now if I want to see the content of all my other partitions I got a popup telling me unable to mount e.g. /media/Downloads and the message included:
[Code]....
View 9 Replies
View Related
Apr 27, 2010
I have a Western Digital World edition II network HDD, but somehow I have lost the Media folder..I have also read http://foremost.sourceforge.net/ is a very great recovery tool in ubuntu, is this true?So I have pull out the HD from the western digital NAS case and put it into a USB enclosure.Anyone can teach me how to mount this driver?To look for device boot namesudo fdisk -lBut how to look for the mount_point_dir?sudo mount /dev/sdc4 [mount_point_dir] -t ext3
View 9 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
Dec 12, 2010
This question is about windows xp but since I rarely use it and dont care about to sign up for some xp related forums
View 1 Replies
View Related
Aug 10, 2011
I have bought a ICYBOX IB-NAS4220-B a while ago and kept getting issues with it (going down and not restarting, very slow etc). 2 weeks ago one more issue arose and I couldn't restart or reconnect to the box so decided to take the disks out and recover my data to a 5BIG Lacie. The IcyBox uses a software RAID1 and format drives in EXT3. Being a Linux system I thought I could easily recover data from an Ubuntu box so installed the latest version as CD boot wouldn't give me satisfactory results. I am now stuck with both 1TB drive plugged into my Ubuntu machine and can't seem to be able to mount the drives.
[Code]....
View 8 Replies
View Related
Apr 7, 2010
I'm fairly new to Ubuntu and I'm running Karmic Koala. I just reformatted an NTFS partition to Ext3, as I no longer need to access is from my windows installation. Now I'm unable to mount it though, and I get the message: Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sda6 on /media/DATA2 (DATA2 being the name of the previous NTFS partition. Now the label is linuxdata)
When I try to mount it using sudo in terminal I get the following message if I use the label DATA2:
NTFS signature is missing.
Failed to mount '/dev/sda6': Ogiltigt argument
The device '/dev/sda6' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
And if I use the label linuxdata: mount: can't find /media/linuxdata in /etc/fstab or /etc/mtab I've tried to search for help, but been unable to find an explanation.
View 9 Replies
View Related
Jul 15, 2009
I'm trying to mount a second hard drive as a ext3 (rw_acl,user_xattr). I type the ff.:
# mkfs.ext3 -c /dev/sdb1(it seems to create a file system from this 2nd HD)
then type:
# mount -v /dev/sdb1 / type ext3 (it seems to mount it)
But when I check the ext3 systems with typing:
# mount -t ext3 (to check the list of ext3 devices, it gives me this)
/dev/sda1 on / type ext3 (rw,acl,user_xattr)
/dev/sda2 on /home type ext3 (rw,acl,user_xattr)
/dev/sdb1 on / type ext3 (rw)
How can I make /dev/sdb1 on type ext3 as (rw,acl,user_xattr) as the others?
View 11 Replies
View Related