OpenSUSE Install :: Can't Reformat Encrypted Filesystem?

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


ADVERTISEMENT

OpenSUSE Install :: 11.2 Repair Ext3 Filesystem Within Encrypted Lvm2

Jan 4, 2010

I have two ext3 partitions within an encrypted lvm2 volume. when i start up my system it says that there are 0.3% non contiguous blocks.

This is my steup:

When i want to repair with repair system from dvd it tells me that the repair and check operation for encrypted LVM devices is not supported. so how can i fix my filesystem?

View 4 Replies View Related

Fedora Installation :: Using The Kde Install Disc - Encrypted Filesystem ?

Jan 12, 2011

Is this irrelevant if you are using the kde install disc? I want to use a encrypted filesystem. I would think since I am using kde that I would have a graphical interface.

View 10 Replies View Related

OpenSUSE Install :: Unknown Filesystem Type 'reiserfs' Could Not Mount Root Filesystem - Exiting To /bin/sh

Mar 27, 2010

When I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$

This only started happening quite recently - before this I could boot to Linux quite happily.

View 6 Replies View Related

OpenSUSE Install :: Reformat Computer And Install 11.2?

Jul 22, 2010

At the moment I've got dual-bootable machine with WinXP (25GB on hard disk) and openSUSE 11.2 (20GB on hard disk). After saving the important files on my ~/home I want to wipe off all data from both my partitions and then install WinXP (with 15GB) and openSUSE 11.2 with 30GB. The problem is I'm not sure how to go about doing this? I'm guessing the problem will be the boot process. I installed openSUSE on a machine that already had WinXP and I didn't change any boot settings so it must still be controlled by XP. So presumably I'd have to:

1. Remove openSUSE first and then remove XP using the XP CD.
2. Install XP again
3. Install openSUSE on another partition as I did before but with different partition sizes.

Or should I install openSUSE first before XP? I think I'm more confident on installing XP first since I've already done it earlier. The only other complication is that this is my 'laptop' screen is broken so I use an external monitor. This is what prevented me from formatting my computer earlier.

Thanks.

View 4 Replies View Related

General :: Boot From Encrypted Filesystem Without User Interaction?

Mar 24, 2010

Is it somehow possible to boot a Linux operating system from an encrypted filesystem/disk without having uesr interaction? Background: I am preparing a VmWare Image for shipment to a customer. This image contains sensible data. The only access granted shall be via an apache server running from inside in the image.

View 1 Replies View Related

General :: Encrypted Remote Filesystem With Concurrent Access - Is It Possible?

Jul 26, 2011

I'm looking for a way to store an encrypted filesystem on rsync.net which can be mounted and used by multiple clients concurrently - I've considered and experimented with many different ideas, including code...

but all of them are leading me to what looks like a fundamental theoretical problem: a filesystem with concurrent access needs someone to manage it, and who's going to manage it if I can't trust the server? Or refuse on principle to trust the server? There would need to be some trusted entity communicating with every client and making decisions to keep the filesystem and/or block device consistent, right?

Is my understanding correct, or is there any way of achieving what I'm trying to do?

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 :: How Do I Recover Data From Corrupt Encrypted Filesystem

Dec 1, 2010

Recently I was forced to hard reset my computer a couple of times (mostly out of frustration) and due to my idiocy i was confronted with the standard Kernel Panic message at bootup. I tried running an fsck from live cd which corrected a bunch of errors but to no avail (as far as getting rid of the Kernel Panic msg). I then tried to mount the filesystem by accessing it from live cd (and later even installed ubuntu on a small leftover partition to get rid of the annoying live cd lag) but it says that I don't have access to my home or root folder. Mounting from command line gave the same issue.

So now to the question. Is there a general procedure to access data in my corrupt filesystem if it is encrypted?

View 7 Replies View Related

Debian Configuration :: Create An Encrypted File And Later Mount It As A Filesystem?

Aug 24, 2010

I am trying to create an encrypted file and later mount it as a filesystem.

KEY=`tr -cd [:graph:] < /dev/urandom | head -c 79`
echo $KEY | openssl aes-256-cbc > container.key
dd if=/dev/urandom of=~/container.img bs=1G count=10
losetup /dev/loop0 ~/container.img

[code]....

The luksOpen command asks me for my passphrase, but always rejects it. I have retried this several times and written down the passphrase - and even tried with a very simple one just to check. And I never can make it work.

View 2 Replies View Related

Debian Configuration :: Keyboard Layout Used At Boot For Encrypted Filesystem?

Jun 28, 2011

how can I set the keyboard layout used by Debian to enter the password of my encrypted filesystem?

After my recent "aptitude upgrade", I have not been able to mount my encrypted filesystem anymore. I have discovered that the keyboard layout used to enter the password has changed. Problem is that with such layout I can't enter some of the characters composing the password. The encrypted filesystem looks intact, since I have been able to mount it and backup my files by means of a live CD. That means that I can edit any system file, if needed.

Every technique I have found to change layout cannot be employed in this case, since they rely on the system being up and running. I've tried editing /etc/default/keyboard, but that does not work.

View 2 Replies View Related

Ubuntu Security :: Methods To Store Password For An Encrypted Filesystem?

Nov 27, 2010

I've created encryption systems on servers, but nearly always I have stored the password somewhere on the machine itself. The file is always 0600 to the relevant user, but a systematic analysis of my system could easily find the scripts that invoke decryption and discover the password. (The most blatant example of this is mounting SMB shares with the "-o credential_file" option where both the username and password are plain-text. In the cases where I've used this, the security of the share hasn't particularly mattered.)

Soon I might be faced with storing "patient health information" (PHI in the healthcare world) whose privacy is heavily regulated by the provisions of the US law called HIPAA. I've been thinking about creating an encrypted partition to hold the PHI, but I need a highly fault-tolerant method for obtaining the key from a different machine than tha server itself. At first, I thought about running a script using scp and shared keys to copy the key from the remote, use it to decrypt the partition, then erase it. I'd like to be able to do this with a pipe; otherwise I'll write the key in a non-persistent location like /dev/shm.

I need more than one machine to make this work to ensure I can obtain the key when needed (like at boot). One solution is to place copies of the key on multiple servers and try each of them until I find it. A more elegant solution would place the key in a DNS TXT record. I suspect I could use LDAP for this as well, but OpenLDAP and I have never really been on speaking terms. So does this make sense? I presume I can write a bash script to do all this at boot. Most of what will be stored in this partition is the PostgreSQL database in /var/lib/pgsql and perhaps some other files.

My understanding of encrypted file systems is that they are only encrypted when unmounted. When mounted they must be as visible to the operating system as an unencrypted partition. I suppose you could apply encryption to every single disk transaction, but that would require knowing the key all the time, and would seem to add a lot of overhead.

View 1 Replies View Related

Software :: Encrypted Filesystem - Mount Failed With Run Sync Status 32

Dec 11, 2010

When I try to mount a linux file system that was encrypted using cryptsetup I get the following error:
debian:/# mount /dev/sdb3
Command sukey slot 0
mount: u moet een bestandssysteemsoort aangeven
mount failed with run_sync status 32
Command failed: Device busy
mount.crypto_LUKS(crypto-dmc.c:168): Could not unload dm-crypt device "/dev/mapper/_dev_sdb3", cryptsetup returned HXproc status 240
"mount: u moet een bestandssysteemsoort aangeven" is dutch for
"you must specify filesystem type"

View 10 Replies View Related

Server :: Secure - Filesystem And Partitions To Be Encrypted But Without The Need To Insert Some Code When Rebooting

Apr 26, 2011

I have implemented a web application on Linux that I want to deploy and sell to customers. I want to sell ready systems including the hardware. The application is written in PHP/MySQL. What I am searching to achieve is :

1) Find a way so that filesystem and partitions to be encrypted but without the need to insert some code when rebooting. So that if someone gets out the hard disks and attach to another system, cannot have any access to my files or settings. And of course when rebooting (e.g. after a power failure) encryption to be applied automatically.

2) I know that there are ways to bypass root password on a Linux system. Can all these ways be unassigned ? I want the only way to have access to system, to be by using the root password and nothing else.

I have thought of using a virtual server instead of a physical one (like deploying a virtualbox server) but still would like this to be the most secure possible including not only remote but also local access to system.

View 5 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

OpenSUSE Install :: How To Remount Encrypted Home

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

OpenSUSE Install :: Encrypted LVM Boot Hangs After Upgrade

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

OpenSUSE Install :: Restoring GRUB To A LVM Encrypted Computer?

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

OpenSUSE Install :: Migrating The Encrypted Home-directory?

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

OpenSUSE Install :: Setting Up An Encrypted Home Directory?

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

OpenSUSE Install :: Change Encrypted Swap Passphrase?

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

OpenSUSE Install :: Encrypted LVM LUKS And Login Screen

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

OpenSUSE Install :: 11.2 On An Existing Partitioning Scheme With Encrypted LVM

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

OpenSUSE Install :: How Does Encrypted Home Folder Work

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

OpenSUSE Install :: Encrypted Home Partition Automount?

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

OpenSUSE Install :: Mkinitrd And Encrypted /var - What Boot Parameters?

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

Ubuntu :: Is It Possible To Reformat Install File?

Sep 4, 2010

Having some trouble with pinnacle. I have an install disk for it, but because it's an .exe file it won't install to Linux. Is it possible to reformat the install file?

View 7 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

OpenSUSE Install :: 11.2 External Encrypted Harddrive Not Correctly Mounted?

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

OpenSUSE Install :: Error -3033 When Installing 11.3 64 With An Encrypted Partition

Jan 30, 2011

I got this error when installing 11.3 64 with the home partition encrypted.

"Failure occurred during the following action: Setting up encrypted dm device on /dev/sda7 System error code was: -3033"

Can I encrypt /home after the install? Should I?

View 1 Replies View Related







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