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
ADVERTISEMENT
Dec 12, 2010
I am having a problem setting up an encrypted home directory with openSUSE 11.3. I used Yast User and Group Management to edit an existing user to encrypt the home directory and the user.key and user.img files were created in the /home directory. I tried it out and logged in as user and created a new file. I logged out and logged in as a different user and was able to see the newly created file in the first users home directory.
I figured I did something wrong so I went back to Yast and deleted the user. I deleted the /home/user directory using file manager su mode. I tried again to create a new user with an encrypted home directory using Yast and now when Yast tries to write the changes I get an error: "pam_mount is already setup for user. Use --replace to replace the
existing entry." I do not know how to proceed from here except to try with a different user name as I do not understand what the error message means and what command to use --replace with.
View 1 Replies
View Related
Dec 10, 2009
2 weeks ago, my power supply blew, during close-down. My system is a SUSE Linux 10.1 and openSUSE 11.1 dual boot with WInXP (for those family things). After replacing the power supply my system had no root partition, or loader. It said something like "Invalid Partition table". Grub had gone! So following swerdna's "How to Boot into openSUSE" tutorial I used the openSuse 11.1 install CD rescue option to get to the command prompt, su'd, went to grub and followed the stated commands. So far so good.
However the new grub entry openSUSE (Failsafe) has a problem. It starts to boot in the usual way, but I note fatal Module errors in the boot log relating to sata_nv not found, ide_pci_generic not found etc, and Fatal error inserting edd (/lib/modules/2.6.27.39-0.2-default/kernel/driver/firmware/edd.ko): no such device but uses udev as boot source until Waiting for device /dev/disk/by-id/ataST3120827AS-4M60PX7V-part6...... and then it exits to /bin/sh.
My fdisk looks
Dev Boot Start End Blocks Id Syst
/dev/sda1 1 1306 10490413 c w95 fat32
/dev/sda2 1307 2612 10690445 c w95 fat32
/dev/sda3 * 2613 14593 96237382 f w95 ext'd
/dev/sda5 5486 8096 20972862 83 linux
/dev/sda6 8097 10695 20987643 83 linux
/dev/sda7 10699 14593 31310653+ 83 linux
View 5 Replies
View Related
May 9, 2010
Since a few days i can no longer use my external hard drive (USB). During my quest i noticed the following things: Running openSUSE 11.2 / KDE 4.4.3 / single boot My internal HD is on /dev/sda2 (mounted /) partition manager (YaST) or gparted don't start up (they just hang during start-up) I had to change permissions suddenly to read a CD (i was not in de cdrom group, but i have been using CDs for a while)
Code:
> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 113306052 84757232 22793136 79% /
udev 2052352 4140 2048212 1% /dev
[Code]....
View 5 Replies
View Related
May 20, 2010
I have been dual-booting Vista and openSUSE 11.2 until my SUSE install is fully functional and now and I want rid of Vista and to reclaim the space for Linux.
Code:
fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x28000000
[Code].....
sda2 and sda3 are the Vista partitions. sda2 is a recovery partition and sda3 is the main partition. All data is safely copied from sda3 and now I want to reformat them for SUSE. I not bothered about partition resizing i.e. I am happy to just have the sda2/sda3 space available to SUSE and mount them somewhere.
1) Do I need to do anything about the boot table first or can I just reformat sda2 & sda3?
2) How should I format sda2/sda3? I'm guessing I need to unmount them and then format. Should I use ext4 or something else? Which command/tool should I use?
View 9 Replies
View Related
Feb 14, 2011
I'm migrating my OpenSuse 11.3 (which was update from 11.2, 11.1 ........ ) to a new hard drive. My partitions were reiserfs and in the migration I'm "converting" them to ext4, the conversion process is simple and it works fine for all of them except the root one:
1) I create a new partition on the new hard disk (bigger than the original one)
2) I format it with ext4
3) I copy all the data with cp -a from the original partition to the new one
I already have all the partitions migrated to the second disk, then I have tried to do it with the root partition:
-I've booted with a system rescue CD and I've done !9 2) and 3) with no problems.
-I've edited and changed al entries in fstab and grub conf (menu.lst) to point the new partitions
-I've reinstalled grub and it seemed It will be no problems booting, but
It begins booting, the grub menu appears, It begins booting the kernel, but suddenly:
waiting for /dev/root to appear: OK
fsck.reiserfs -a /dev/sda2
........
mount -o ro,ad,user_xattr -t reiserfs /dev/root /root
and it fails, because sda2 is not reiserfs, but why does it try to mount it as reiserfs if I'm not saying anywhere it is reiserfs?
This is my fstab:
Code:
#/dev/disk/by-id/ata-ST3160211AS_6PT0V05Y-part2 / reiserfs acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part2 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part1 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part3 /home ext4 defaults 1 0
/dev/disk/by-id/ata-ST3500630A_9QG94AT1-part1 /mnt/backup auto noauto, defaults, users, exec .....
I've booted it also with SuperGrub2 disk and the same thing happened, so I think it's not a grub problem but I don't wknow why it tried to mount the root partition as reiserfs.
View 7 Replies
View Related
Mar 26, 2011
I just successfully installed ubuntu 10.10 Meerkat Maverik parallel to manufacturer installed Windows 7 Professional on a newly bought ThinkPad t410. All works find just that on the boot screen instead of 1 Windows partition (usually something like "Windows 7 loader on sda1") I find two Windows partitions. Now, I know that Thinkpads have a recovery partition. Funny is though that both "Windows 7 loader on sda1/2" login to what seems the identical Windows (not one of them the "normal" and the other some form of a recovery).
View 1 Replies
View Related
Dec 5, 2010
Trying to complete a RAID 1 mirror on a running system and have run into a wall at the last part. I can't add the active physical disk to the mirror. This is on a Centos 5.6 x86_64 system. Anybody know where to go from here? I've tried adding the nodmraid line to the kernel boot line with no luck. Tried removing the logical volumes from LVM, but it won't let me. Not a Linux newbie, but haven't set up a RAID in a long time.
[root@blackbox-0-2-e3-23-72-c5 ~]# mdadm /dev/md1 --add /dev/sda2
mdadm: Cannot open /dev/sda2: Device or resource busy
Here's output from fdisk -l:
[root@blackbox-0-2-e3-23-72-c5 ~]# fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
[code]....
Here's mdadm.conf:
[root@blackbox-0-2-e3-23-72-c5 ~]# cat /etc/mdadm.conf
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=3c6f7354:b9bfc86a:aa9d0dfb:cdd51bd8
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=31ee55ba:be3b3606:974ac87d:627435a9
View 9 Replies
View Related
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
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
Jul 3, 2009
I got opensuse 11 running on a dedicated HDD and got another 4 HDDs created as RAID 10 via the Intel Matrix RAID Controller of the ICH10 southbridge. I simulated a device failure and disconnected one of the drives and during POST the controller simply says that I need to rebuilt the array from the OS. So how am I supposed to do that since there were no usable raid utitlities for openSuSe delivered out of the box.
View 8 Replies
View Related
May 14, 2010
/etc/sysconfig/bootloader contains this line:
DEFAULT_APPEND="resume=/dev/disk/by-id/ata-WDC_WD10EARS-00Y5B1_WD-WCAV55372533-part5 splash=silent quiet showopts"
Which works fine - except that I am going to clone this machine
and this will fail on all the other disks, which have a different serial number. It needs to be
resume=/dev/sda5
Similarly, /boot/grub/menu.lst has for root=
/dev/disk/by-id/ata-WDC_WD10EARS-00Y5B1_WD-WCAV55372533-part6
which will need to be /dev/sda6.
The part5 piece of this cannot be changed in yast. I selected that line, edited to /dev/sda5, and it came back the same way.
The part6 seems to be coming from /etc/fstab, changed it by hand to /dev/sda6, but it may not stay that way the next time yast runs. Similar changes to menu.lst did not survive a reboot, defaulting back to the "part5" syntax.
Is there some way to employ "/dev/sdX' syntax using yast, or is this one of those cases where one must work around the "help" of the easy configuration tool?
View 4 Replies
View Related
Sep 17, 2009
Since May 12,2009. Our system lifekeeper has the error log "lifekeeper error: DEVICE FAILURE on SCSI device '/dev/add'", but it ran normally. Until last week, it failover to the standby server. The disk still running, the error still come out.
View 3 Replies
View Related
Feb 16, 2009
P**sed right off now, tested this upgrade on two test systems before hand to make sure this would work.Upgrade my server from FC9 to FC10, it had two Encrypted XFS volumes on totalling 1.5TB of files which I don't have space to backup anywhere else.Have now upgraded and the Encrypted volumes are showing as not existing "volume name does not exist"
View 2 Replies
View Related
Jun 1, 2011
I'm using OpenSUSE-11.4+KDE and have not been able to access my Sansa Express drive. I can pull it up part way, but it acts as read only. I'm not sure what settings I may need to make in the Partitioner to fix this.If I boot into a LiveCD of LinuxMint10-KDE and plug it in it is instantly identified as a "Media Device," and I have access into the MTP section of it I believe.
I prefer using Banshee, but will use Dolphin to manual drop files it I can get the Sansa drive to operate as with Read+Write. I've seen this device listed here at "plug and play" [URL]../HCL:Gadgets#Media_Players
View 2 Replies
View Related
Jun 16, 2009
I'd like my /home partition to be encrypted. Does this need to be selected during installation (I don't remember seeing an option) or can it be enabled after installation?
How stable is this with ext4 on Fedora 11?
View 7 Replies
View Related
Mar 2, 2010
I have an encrypted filesystem that I've decided I don't want encrypted anymore. Seems the easiest way to do this is simply reformat the filesystem, but I can't. If I try to do it in YaST2 I get either system error code -3005 (unknown) or -3008 (apparently in use). When I try to do it from the command line I get:
Code:
frylock:/home/joel # umount /dev/sdb5
umount: /dev/sdb5: not mounted
frylock:/home/joel # mkfs -t ext4 /dev/sdb5
mke2fs 1.41.9 (22-Aug-2009)
/dev/sdb5 is apparently in use by the system; will not make a filesystem here!
frylock:/home/joel #
It's unmounted, I don't know how to make it any less in use than that.I can't delete the partition because it's not the last logical partition in the extended partition.
View 9 Replies
View Related
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
May 21, 2011
After update to 11.4, I would like to regain access to my encrypted home that I left intact. Both user.img and user.key files are there, but when I create the same user again in YaST, it does not recognize their presence and it asks again for size of the image. I am afraid it will just overwrite the old image. I do have full backup of hte data, but since its 150GB, I would rather not have to transfer it again.
How can I remount my old encrypted home?
View 7 Replies
View Related
Jul 16, 2010
I just upgraded my OpenSuSE 11.2 system to 11.3 and have experienced the following problem:
My hard drive was encrypted beforehand, and after the upgrade(which went smoothly) will no longer decrypt. I type in my passphrase at the prompt, press enter and the start up process never resumes. I am able to access the filesystem from the Rescue System option in the install disk. What's strange is that this worked smoothly on another laptop of mine.
View 1 Replies
View Related
Jul 27, 2010
I am running OpenSUSE 11.3 GNOME, and I recently reinstalled Windows, and it overwrote GRUB. I only have an Ubuntu LiveCD (I installed with the OpenSUSE DVD), how do I get GRUB back? Note that the Ubuntu LiveCD doesn't recognize the LVM Encrypted partition, so I can't mount it.
View 2 Replies
View Related
Oct 5, 2010
I am trying to open an encrypted home directory from opensuse 11.2 with opensuse 11.3. This means i have a user.img and a user.key So far i have done:
losetup /dev/loop3 user.img
cryptsetup luksOpen /dev/loop3 home
Enter passphrase for /dev/loop3:
No key available with this passphrase. At this point it will not accept my passphrase.
A luksDump reveals:
cryptsetup luksDump /dev/loop3
LUKS header information for /dev/loop3
[code]....
When i try to use the key file, i get:
cryptsetup luksOpen /dev/loop3 home --key-file home.key No key available with this passphrase.
View 3 Replies
View Related
Feb 23, 2011
I've chosen to encrypt my swap partition while I was installing opensuse 11.3 on my PC.
I want to know how I can change its password(passphrase)?
View 2 Replies
View Related
Apr 2, 2011
I recently installed OpenSUSE 11.4 64 bit with GNOME yesterday and everything is going fantastic. I like it much better than Ubuntu 10.10 64 bit Maverick Meerkat because it is much more stable, reliable, and dependable. I own a heavily modified ASUS N61JV-X2 notebook PC. I installed OpenSUSE using the LVM based method and LUKS encryption. When I turn on the power to my notebook PC, it asks me for my password to decrypt my Intel 2nd Generation 160.00 GB Solid State Drive. I expected this behavior. However, I never get to see the OpenSUSE login screen. After I type in my password to decrypt my SSD, it loads up the desktop immediately. How do I configure my OpenSUSE so that I can see the login screen so that I can select my standard user profile and enter the user password to login?
View 9 Replies
View Related
Apr 5, 2011
I have a Ubuntu server with encrypted LVM2 (logical volumes - /, /var,/tmp,/home etc.). I need to migrate this to an OpenSUSE 11.2 server (cannot use a later version due to the availability of a binary-only module - that is just the way it is). When I fire up the installer, I cannot seem to find an option to mount the encrypted disk (/dev/sda) which has the LVM2 structure. I do not want to lose /home (logical LVM2 volume), so a clean blank slate install is not an option.
View 2 Replies
View Related
Apr 11, 2011
I'm guessing that a file is created as a loopback device and encrypted (using LUKS?)
What is the mechanism used at user login to decrypt and mount the encrypted $HOME and to re-encrypt it at logout?
I confess an ulterior motive here - SWMBO has recently got her hands on an Acer Aspire one running Linpus Lite and there's absolutely no security on it
Personally I'd dump Linpus and put on openSUSE but it's her box and she likes the simple interface that Acer have supplied so maybe I can set up the encrypted $HOME as YaST does for openSUSE if I can find out what to do.
View 4 Replies
View Related
Jul 24, 2011
First off I'm new to the openSUSE community and would just like to say So, to the issue at hand. I recently switched to openSUSE 11.4 from Debian. I noticed the setup didn't have an option encrypt the home folder like it does in Debian, so not being aware of any other way to encrypt it, I created a new partition, backed up my current home directory, created a new partition and mounted it as home before copying in the contents of the backup to the encrypted home partition I created. Now of course it is askingme to put the crypto password in at each boot, which isn't ideal because it's a family machine and no-one would remember the password but me. Is there any way of being able to automount the encrypted partition without having to put the key in every time? Or better yet an encrypted home folder that doesn't require the key to be put in on each login (as in Debian) without even using a dedicated partition.
View 4 Replies
View Related
Aug 16, 2011
I've installed opensuse 11.4 by doing a network install, (boot off kernel + initrd, everything else is fetched off network) and i skipped the bootloader part because i've already got two other linux systems set up with grub2 on my computer. I picked the minimal server install (text mode) and didn't make any other software selectiono changes.
My partition layout is as follows
ssd drive contains / partitions for distributions (GPT layout) hdd drive contains encrypted lvm PV (PV on a luks partition). inside that PV is a VG with volumes for /home and /var (and other), where each distribution has its own /var.
The problem is that i cannot get initrd to open the luks properly. i tried chrooting, rebuilding the image with mkinitrd -f "lvm2 luks" ( i saw that somewhere on opensuse wiki, i think ) and adding boot parameters like this : lvm_box=/dev/disk/by-uuid/<luks partiiton UUID> lvm="box" (where box is the name of the lvm array).
[Code]...
View 1 Replies
View Related
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
View Related
Nov 14, 2009
i have an external harddrive which i encrypted scince opensuse 10.2 with luks. Now i installed opensuse 11.2 its impossible to me to mount this drive correctly.
the harddrive was recocnized in my former opensuse 11.0 correctly as luks encrypted and during installation yast installed the kernel module and encrypted the harddrive so that i regulay could mount it on boot by giving the password for that harddrive. Scince opensuse 11.2 however yast thinks this is an dmcrypted partitoon and tries to unlock the harddrive using dmcrypt which of course fails.
does somebody know how i can encrypt and mount the externeal drive automaticly?
i have made a backup of /etc before i made a new installation of opensuse 11.2. is the possible to use the old fstab entries for that after installing luks?
View 8 Replies
View Related