Hardware :: Mounting Encrypted LVM - Device Not Valid

Feb 13, 2011

I recently had one of my computers motherboard die and so I moved the hard drive to another linux machine so I could access the data. The hard drive is installed correctly and I've mounted several logical volumes on the drive ok, but I'm having trouble with the two volumes which were encrypted. The LVM Gui in Fedora is ignorant to any encrypted LVMs so I looked around to see if others have solved this problem and found the following command:
# cryptsetup luksOpen /dev/vg_delldesk/lv_home luks-fedora

My Logical volume container is vg_delldesk and the encrypted volume is lv_home - when I execute this command I get the following error:
Device /dev/vg_delldesk/lv_home is not a valid LUKS device.
I have access to the root partition from the old box so the config files are there to reference the old setup if needed. My current box is Fedora 14 x_64, I have dm_crypt mod installed in the kernel as well.

View 3 Replies


ADVERTISEMENT

OpenSUSE Hardware :: Mounting Encrypted Fs Error : Remove Ioctl Failed: Device Or Resource Busy

Dec 5, 2010

The error message I keep getting during mounting is:-

device-mapper: remove ioctl failed: Device or resource busy

This is from ane external USB HDD I use as a backup device. I've tried formatting it as ext4 ane encrypting it from the command line

# mkfs.ext4 /dev/sdc1
# cryptestup luksFormat /dev/sdc1

which run without errors but an attempt to mount throws up the above error as well as saying - you must specify the file type (tried that) - and fails to mount. I've tried using YaST to format and encrypt it which throws up the same error when I run mount but actually does actually mount the filesystem Googling around has brought up info saying that it's probably a race condition brought on by invalid udev rules. I've got a (mostly) working system and the udev rules documentation leaves more confused than when I started.

View 8 Replies View Related

General :: /dev/sdd1 Is Not A Valid Block Device?

Jun 14, 2010

When I try to mount the /dev/sdd1 device then it give errormount -t ext3 /dev/sdd1 /4hdmount:/dev/sdd1 is not a valid block device

View 9 Replies View Related

Hardware :: Cannot Partition Hard Disk - No Valid Device Found

Mar 25, 2010

I have installed vmware in windows server 2003 enterprise edition. When I installed I changed the default installation folder from c: drive to i: drive, as I do not have space in c: drive. After I captured red hat linux cd in vmware and reached partitioning section and continued I got a message like "an error has occured no valid devices were find on which to create new file systems, please check the hardware for the cause of the problem". The machine is IBM server....

View 1 Replies View Related

CentOS 5 :: Specify The Device Driver When Mounting A Device?

Jul 28, 2010

I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?

View 3 Replies View Related

OpenSUSE Install :: Encrypted FS Not Mounting On Boot?

Feb 6, 2011

I haven't used encryption previously but through that for better security, I would enable it on one of my disks. I went though the process and when done, copied data to the device etc. My house had a powercut the other day and I noticed that the device did not mount automatically upon restart. Unfortunately, I have forgotten the de-cryption password and have lost access to my data. Is there a way of either recovering my password or getting the partition to mount without the password so I can access the data, copy/back up and then re-create the partition without encryption?

View 2 Replies View Related

Ubuntu :: 10.04 Error Mounting Old Encrypted LVM Drive?

May 6, 2010

Installed new drive in notebook, connected old one with SATA/USB cable, both are encrypted disks. It detected the old drive and prompted for password in Gnome, after entering correct decrypt password, this error appeared:

Error unlocking device: cryptsetup exited with exit code 239: Device udisks-luks-uuid-4de9c864-c678-4633-4343-uid1000 already exists.

View 1 Replies View Related

Ubuntu :: Automatically Mounting Encrypted Partitions ?

Nov 24, 2010

I've created some encrypted partitions using Disk Utility, and would like them to be automatically mounted when Ubuntu starts up. Is there a guide to this anywhere?

I've gathered that it involves /etc/crypttab and possibly /etc/init.d/cryptdisks, but haven't had much success so far.

Ideally, some of the partitions would mount early in the boot process, while some of them can mount after I've logged in.

View 5 Replies View Related

Ubuntu :: Mounting Encrypted Raid From Terminal?

Jun 4, 2011

I have a RAID array that contains an encrypted volume that I setup using Disk Utility. What I want to do is mount this volume from the terminal and therefore be able to mount at login (as the pass phrase is saved). At the moment I have to manually click on the volume in Nautilus first before using. I've been trying to use the following command to no avail:

Code:

gvfs-mount -mount /dev/md1

which simply returns "Error mounting location: volume doesn't implement mount"

View 1 Replies View Related

Fedora :: Disable Plymouth Mounting Of Encrypted Partitions?

Jan 23, 2010

I just updated a system to Fedora 12. It has the same partition setup as the previous Fedora 11, but now when booting it pauses with a padlock icon next to a text entry box.I'm assuming it's trying to get my password to mount the encrypted partitions I have on the drive.

However, most of the time when I'm using that computer, I don't want those partitions mounted, and I would prefer to do a luksOpen/mount manually during those times I need the data thereon. Is there a way to get plymouth to ignore those encrypted partitions while it's booting, so that bootup doesn't pause for user input? I have an empty /etc/crypttab and the partitions in question are not in /etc/fstab.
For anyone who's looking at this, pass "rd_NO_LUKS" on the command line to disable the initrd from looking for encrypted partitions to try to mount.

View 1 Replies View Related

Fedora :: Creating And Mounting Encrypted USB Hard Drive

Jul 12, 2010

I am looking for a guide for Fedora 13 that tells me how to:

1. Create an encrypted partition on an an external USB hard drive

2. Tells me how to setup Fedora to ask me for the passphrase when I plug in the drive

3. Automounts the hard drive to a set location

The guide should deal with the situation that the computer can mount without declaring the external hard drive is not there.At present my attempt at mounting my Samsung Story USB2 hard drives does not meet criteria 2 and 3.

View 1 Replies View Related

Ubuntu :: Mounting External Encrypted HDD With Ext3 Filesystem

Jan 20, 2010

I have a external HDD with eSATA and USB connectors available. I want to use this HDD to store my backups. The HDD should be encrypted (my main system is as well).

So here is what I did so far:
1) I used the following code to create the encrypted LUKS partition with EXT3 Filesystem:
Code:
cryptsetup -c aes-xts-plain -s 512 luksFormat /dev/sdb1
cryptsetup luksOpen /dev/sdb1 luks
mkfs.ext3 /dev/mapper/luks
The system always hang when I executed the "mkfs.ext3..." command, so I switched the HDD from eSATA to USB and then it worked fine.

2) When I switched on the ext. HDD the first time, the drive was recognized automatically and Nautilus asked for the password. I typed it in as checked the checkbox to remember the password in the future. For the backup I use a nice script that I found in another forum, where I can define a mountpoint and then the script will check for previous backups and only make a incremental backup based of the latest version. The script also mounts the drive automatically. In order to always have the same mountpoint, I want to make an entry in the /etc/fstab using the UUID of the ext. HDD.

Whatever I tried, it doesn't work. What am I doing wrong? Here is my current /etc/fstab
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/mapper/ubuntu-root during installation
UUID=2ea47421-73ce-4c66-9606-8a1db81ae640 / ext3 relatime,errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=dbdeb793-1d4e-43ea-8986-7b37fdbc9674 /boot ext3 relatime 0 2
# /home was on /dev/mapper/ubuntu-home during installation
UUID=42702091-83e6-43eb-aad1-108f43eedf9d /home ext3 relatime 0 2
# swap was on /dev/mapper/ubuntu-swap during installation
UUID=e225bcf9-908b-4226-a963-6b02ee658df1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
# Eintrag wegen iPhone
none /proc/bus/usb usbfs devgid=125,devmode=666,nodev,nosuid,noexec 0 0
# external HDD
UUID=913977f7-8fa6-416f-af79-b5f913b68f53 /media/backup-hdd ext3 noauto,users 0 0
I made the "none /proc/bus/usb..." entry because it was recommended to ensure correct behaviour of the iPhone. Not sure if I need it though.

I created the mountpoint with this command:
Code:
sudo mkdir /media/backup-hdd
Now it seems the mountpoints owner is not root - strange right?
Code:
2 4 drwxr-xr-x 3 michael michael 4096 2010-01-15 02:45 backup-hdd
How should I mount this drive correctly? It will be automounted as every USB device, but that should not be the case. I want the script to mount and unmount the drive.

View 2 Replies View Related

Ubuntu Security :: Different PWD For Login And Mounting Encrypted /home

Nov 13, 2010

I've just reinstalled my box with an encrypted home (used the encrypt home option when installing). I have a query in this regard - suppose I lose the box. Won't it be possible for someone to drop into root, reset my passwd and then access my /home. Is there anyway of having a different passwd for accessing /home? My ~ is on a different partition from /.

View 3 Replies View Related

Networking :: Mounting Windows Share Without Encrypted Passwords?

Aug 4, 2010

We have a Windows server at work that has several shared directories. For whatever reason the lab administrator has required clear-text passwords for it. There is a registry tweak for Windows boxes. Nautilus can't mount shares because it is trying to use an ecrypted password. Ironically enough the Windows VM I have running in Virtual Box can mount the shares.... smbclient can see the server and shares if I specify a clear-text password option.

View 1 Replies View Related

OpenSUSE :: Cannot Find The Configuration Setting For Mounting Encrypted Partitions

Aug 1, 2010

I have an encrypted partition which shows up in Dolphin file browser.But as a non-root user, I cannot unlock and mount it. A message in Dolphin comes up saying that a policy prohibits this. As root, this unlocking of the encrypted partition goes normally. I cannot find the setting to change in KDE perhaps;

View 3 Replies View Related

OpenSUSE Install :: Mounting Encrypted Partitions As User Not Root?

Mar 21, 2011

there is a way to mount, encrypted partitions as a normal user and not as root so that i may copy files into it using the file manager itself? even in the case of normal partitions other than /home, i can't seem add any data in them. the mount points i used are seperate directories within the /home partition?? also, is there a way to create partitions in such a way that it can be accessed, just as how windows partitions are accessed in linux?

View 9 Replies View Related

Ubuntu Installation :: Alternate CD On USB - Natty Not Mounting Encrypted Volume?

May 8, 2011

Alternate CD on USB - Natty not mounting Encrypted Volume I get initramfs prompt. I have a Dell Inspiron Duo. I've tried to install Natty i386 and AMD64. I set my / (root) and swap under LVM under an encrypted volume. Used manual partitioning. But after reboot, I successfully enter the passphrase, swap and root are not mounted.

Now, I've had this working with 10.10. System seemed a little quirky after the upgrading it to Natty. So, I wanted a fresh install. Used Unetbootin to run ISO from USB and also from one of my other partitions. I've tried installing at least 10 times, some repeat, some variations.

View 1 Replies View Related

OpenSUSE Hardware :: Mounting An Edirol R-09HR Digital Audio Recorder - VFS: "Can't Find A Valid FAT File System"

Apr 2, 2010

I'm having problems mounting an Edirol R-09HR digital audio recorder (as a USB drive, to read the recording files) on a system running openSUSE 11.2. fdisk or other partitioning tools recognize the device as a "W95 FAT32" drive with a filesystem code of 0b, apparently. I was under the impression that mounting this as a vfat file system should work, but the mount command dies complaining "FAT: bogus number of reserved sectors" and "VFS: Can't find a valid FAT file system." This happens even with a freshly formatted card in the recorder. The device mounts properly with Windows XP systems and late-model Ubuntu/Kubuntu systems, Any clews as to what I'm doing wrong here?

View 1 Replies View Related

Fedora Installation :: 15 - LUKS Encrypted Logical Volumes Not Mounting On Boot

May 26, 2011

I have a setup that looks like this

[Code]....

and I'm dumped into recovery mode. However, if I remove these mounts from /etc/fstab via comments, I can wait for the system to boot (which it does very quickly) then mount the mapper devices myself. So what is going on? Has something changed wrt logical volumes, or is this just systemd? I can live with manual mounting, but any advice on resolving the automatic mounting situation would be great.

[Code]....

View 2 Replies View Related

Debian Installation :: GRUB2 Can't Find Encrypted Device?

Nov 14, 2010

I've installed a Squeeze-based distro - Crunchbang - with an encrypted root partition (no LVM), and it won't boot.

Here's what I get: Loading initial ramdisk. Loading, Gave up waiting for root device ALERT! /dev/mapper/hda5_crypt does not exist. Dropping to a shell!

Here's my partition table:
hda1 - Windows (Truecrypted)
hda2 - GRUB2
hda5 - /
hda6 - unused swap

[Code]...

What should I look for? Where do I go from the initramfs shell? Do I chroot? What then? This might be a Crunchbang issue (although others blame LVM which I didn't use, and it's the original Debian installer after all), but there's gotta be a reason it doesn't boot

View 1 Replies View Related

OpenSUSE Install :: Failure Setting Up Encrypted Dm Device On /dev/sda2?

May 21, 2009

openSUSE Install/Boot/Login: I am looking for a Linux distribution with a working LTSP OOTB. LTSP-openSUSE / KIWI-LTSP looks interesting (http://en.opensuse.org/LTSP).

When I boot openSUSE-11.1-DVD-i586.iso, go through the installer, and attempt to use encrypted LVM, I get the following error dialog:

Code:
YaST2
Error Failure occurred during following action: Setting up encrypted dm device on /dev/sda2 System error code was: -3034

View 1 Replies View Related

Ubuntu :: Automatically Unmount Encrypted USB Flash Drive When Device Is Unplugged?

Apr 21, 2010

I formatted the USB flash drive using Karmic's Format Disk utility (right-click on a volume, select "Format..."), and selected "Encrypted, compatible with Linux (FAT)" from the "Type" drop-down menu.It mounts correctly when I plug it in, and I can access the files just fine.When I unplug the Flash drive without using the 'Safely Remove Drive' option, the icon on my desktop changes its name to '2.0 GB Encrypted', instead of disappearing and unmounting like my unencrypted Flash drives do.

I would like to have encrypted Flash drive treated in the same way as my unencrypted Flash drives, which disappear and unmount when unplugged, even if the 'Remove Safely' menu option isn't used. What can I do to accomplish this?NOTES:When I plug the encrypted Flash drive in, the following line shows up in the output of 'mount'. 'secure' is the name I gave the disk during the format process:

Code:
/dev/mapper/devkit-disks-luks-uuid-302db16c-c6e2-4dd9-a259-436437c76475-uid1005 on /media/secure type vfat

[code]....

View 1 Replies View Related

Ubuntu :: Mounting None On /dev Failed: No Such Device?

Jan 31, 2011

I'm running Lucid with the 2.6.32-28-generic and 2.6.31-11-rt(abogani's ppa) kernels, on a fairly new laptop.When I boot the rt-kernel, right after grub I get a message:Code:mount: mounting none on /dev failed: no such deviceW: devtmpfs not available, falling back to tmpfs for /devThen after a few seconds, I see a lot of fast moving text and then Ubuntu starts just fine.when booting the generic kernel, I don't see any text at all, but it uses just as long time as the rt-kernel, so I guess the problem affects both.

View 5 Replies View Related

Hardware :: Mounting And Accessing A Usb Device?

Jun 1, 2010

So I am using a debian 5.0.4 version of Linux with a command-line interface (the bash shell).I have been trying to get my usb device to be readable, which I suppose means I need to run a mount command like mount -t usbfs /dev/usb /media/usb But I have not had any luck getting to access my usb drive...I run lsusb and find that it is attached, I can find it in the /proc directory, but I cannot access my usb drive

View 2 Replies View Related

Slackware :: Mounting Device As User In KDE?

Mar 30, 2010

when I login as a user and went to KDE environment, I wasn't able to mount a device because access was denied. What is the best way to achieve this?

View 2 Replies View Related

Ubuntu :: Authentication For Mounting Device W/o Fstab?

Feb 9, 2010

I use Ubuntu 9.04 I have a problem. I have a file, containing ext2 file system ( mke2fs -F ~/fs.ext2 )Is it possible to mount this file by user (not root) without editing fstab and from terminal?

P.S. Using /dev/loopN is not what I need. Maybe, it's possible to use FUSE, is it?

View 1 Replies View Related

Ubuntu :: 10.10 - Mounting DVDRW (SR0 Unknown Device)

Nov 14, 2010

Having some troubles mounting my DVD-RW after a reinstall of ubuntu. Now using 10.10.
Code:
root@Johnsky:/# wodim --devices
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
0 dev='/dev/scd0'rwrw-- : 'HL-DT-ST' 'DVDRAM GH20NS10'
-------------------------------------------------------------------------
So there's my scd0 sitting pretty.
Trying to mount it.

Code:
root@Johnsky:/# mount -a /dev/scd0 /media/cdrom0
mount: /dev/sr0: unknown device
root@Johnsky:/#
sr0?

Code:
root@Johnsky:/# ls -l /dev/
total 0 .....

Lets try mounting sr0 directly instead.
Code:
root@Johnsky:/# mount -a /dev/sr0 /media/cdrom0
mount: /dev/sr0: unknown device
sr0 is still an unknown device.

I'm thinking when I reinstalled Ubuntu, it made some screwy links between devices. But I have no idea how to resolve this... and there's no point in my mind to adding the DVD-RW to /etc/fstab until I can actually mount it manually to know it mounts successfully. Back when I installed Ubuntu 9.x on this machine, I never had any of these issues. It picked up the DVD-RW automatically, appended it to fstab during installation, and done. But 10.10 seems to be having some troubles my 9.x installation didn't.

View 1 Replies View Related

Hardware :: Mounting Raid Device After Reboot?

Mar 24, 2009

configure my raid devices so it can be started and mounted at start-up.

View 1 Replies View Related

Networking :: Script To Check Mounting Device?

Jun 20, 2011

I have written a script to take backup of my database in remote server which is a windows machine.i have mounted that machine to my server using the script and daily script will run automatically, i have scheduled it using crontab like that and backup will be taken. but if my remote server is down means it gets unmounted and my backup falls on my local linux server itself. i want a script to check whether the remote server is mounted or not if mounted take the backup or else stop the backup.

View 2 Replies View Related

Server :: Mounting Usb Device Problem After 30 Minutes?

Jan 18, 2010

actually we are using samba and that it was mounted in usb device which is read/write mode for sharing a file to all the system,it was properly working in half an hour,then after that it was automatically changed in read mode .if this problem occurs we are going to reboot the system then the problem will be resolved.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved