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


ADVERTISEMENT

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 :: 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 :: Full Encrypted System (expected /boot)with The Best Possible Algorithm And Key Length?

Aug 18, 2010

but I wantto set up a new system with openSUSE 11.3 The system should be fully encrypted. I want to use the best possible encryption.1 I am not sure, AES 256 xts-plain is the most secure single algorithm, isn't it?2 Is it possible to use a cipher? 3 Which algorithm does the yast-installer use when I encrypt the whole system with a logical volume group?I have read this two articles:a) Encrypted Root File System - openSUSEb) openSUSE Lizards encrypted root file system on LVMBut I have to say that these routines are a little bit complicated in my eyes.Isnt there a easier way to encrypt the whole OS?I know there is a 64bit live cd available. 4 So the first description (a) is obsolete?5 How can I set up a (fully encrypted) system without using LVM?The hard disk layout should be done in this way:

/boot sda1
/enhanced partition sda2
/swap sda5

[code]....

View 8 Replies View Related

Slackware :: ERROR: No /lib/modules/2.6.33.4-smp Kernel Modules Tree Found For Kernel "2.6.33.4-smp" ... For Mkinitrd - Encrypted Installation

Jul 22, 2010

I am trying to setup Slacware 13.1 x86_64 to a encrypted partition. I used the README_CRYPT.TXT howto : [URL] At the step when I create an initrd.gz I get this error: Quote: ERROR: No /lib/modules/2.6.33.4-smp kernel modules tree found for kernel "2.6.33.4-smp"

I tried to look into the directory and there was only modules under 2.6.44.3. So I tried to change the command into: Quote: mkinitrd -c -k 2.6.33.4 -m ext3 -f ext3 -r cryptroot -C /dev/sda2

This command was successful, but I don't know if this is alright. I made the changes in lilo.conf, add initrd = initrd.gz. This is all on unencrypted /boot partition. The boot=/dev/sda1 I also set for the unencrypted boot partition. When I boot the system I get a kernel panic:

[Code]....

View 5 Replies View Related

Slackware :: Bug In Mkinitrd In 13.37 - Refused To Boot As The Harddisk Couldn't Be Found Anymore

May 16, 2011

After installing Slack 13.37 on one of my systems while using my own (non-standard) kernel it refused to boot as the harddisk couldn't be found anymore. Investigation yielded that the ahci.ko driver wasn't loaded (but libahci.ko was). However I listed both ahci.ko and libahci.ko in the mkinitrd -m parameter so there had to be an error in the new /sbin/mkinitrd script. It turned out that a grep at the end of the script weeded out my ahci.ko module as the searchterm "ahci.ko" was already detected in the modprobe line for libahci.ko.

I decided to fix it in an easy way : I just prepend a "space" in front of the module name at the line where the grep is called :

[Code]....

View 2 Replies View Related

Debian Installation :: Boot Freezes After Install On Encrypted Volume

Jan 1, 2016

I just installed Debian Testing on an encrypted partition (using the encryption feature in the installer). Problem is when I boot I enter the passphrase and then Debian starts to load a bit and then it stops and won't move again. During a normal boot the boot stops after : EDAC sbridge : Couldn't find mci handler Then do a recovery mode boot from grub loader so more information is displayed during the boot time and it stops after : [12.513770] fb: switching to nouveaufb from simple it stops there I can't type anything, I can reboot the computer with ctrl+alt+del tho

I was booting just fine in a previous installation on a MBR-partitioned disk (now it's GPT-partitioned). I have to add that during installation I added a second encrypted volume on a HDD (while / is on a SSD) that mounts to /data. When few days ago I installed it on the MBR-partitioned disk it asked me for the /data passphrase pretty fast, now it just seems to boot and asks me only one passphrase until it freezes.

View 1 Replies View Related

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

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

OpenSUSE Install :: Encrypted LVM Volume - Modprobe Fatal Error

Mar 17, 2011

I recently got a eSata docking station for hard drives and after deciding to make those volumes encrypted LVM's, I created my first logical volume. After setting it up in yast2 and rebooting I received a prompt for the lvm password, gave it and received:

Mar 17 13:38:21 blkdragon kernel: [ 1105.172687] padlock: VIA PadLock not detected.
Mar 17 13:38:21 blkdragon kernel: [ 1105.313056] alg: No test for stdrng (krng)
Mar 17 13:38:21 blkdragon kernel: [ 1105.323189] alg: No test for stdrng (ansi_cprng)
Mar 17 13:38:22 blkdragon kernel: [ 1105.416892] padlock: VIA PadLock Hash Engine not detected.
Mar 17 13:38:22 blkdragon modprobe: FATAL: Error inserting padlock_sha (/lib/modules/2.6.31.14-0.6-desktop/kernel/drivers/crypto/padlock-sha.ko): No such device

Boot resumed and I looked for the reason for this, the padlock-sha.ko module does exist in the appropiate place and the volume was mounted in spite of the error message. Lvmdump seems to indicate that the volume is, in fact, encrypted. My thoughts at the moment are that the volume was encrypted by aes, so the padlock-sha.ko was not necessary to mount the volume. Backtracking the message log the same error happened during the creation of the volume before rebooting. The kernel version gives it away but it's a 11.2 machine.

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

OpenSUSE Install :: System Encrypted But Have To Supply Password Again For MD Raid?

Mar 21, 2011

I followed this tutorial to encrypt my entire installation: SDB:Encrypted root file system - openSUSE

It worked splendidly and whoever wrote it should get a lifetime supply of beer. After I got the install encrypted I made a RAID 1 array of 2 1GB disks and encrypted that as well. They are used for a data repository.

[Code]...

View 9 Replies View Related

OpenSUSE Install :: Can't Longer Access LUKS Encrypted Volumes?

Aug 26, 2011

I've had everything but /boot on LVM LUKS encryption since I installed 11.4 on my netbook. Suddenly it won't accept my password and boot. Nothing had been updated since the last successful boot. The only possibly different thing that occurred was that I had plugged in my Android phone to charge before it booted up. Anyway, the specific error it gives when I enter the password (and I'm absolutely sure it's the correct password):

Code:
No key available with this passphrase.
Here is everything else on the screen:
Code:
doing fast boot
Creating device nodes with udev
[number (not sure if relevant/unique)] fb:conflicting fb hw usage inteldrmfb vs VESA VGA - removing gen
Volume group "system" not found

[Code]...

View 9 Replies View Related

OpenSUSE Install :: Can't Access Encrypted Partition With The YaST Practitioner Tool

Feb 13, 2010

I encrypted my home partition with the YaST Partitioner tool, but now I can't access it anymore. After I encrypted it I rebooted the machine and thought that it would prompt me a password field to access the partition, but now I can't access it at all. I tried "mount -t ext4 /dev/sda7 /home" which gives me that error after I entered the password: "mount: wrong fs type, bad option, bad superblock on /dev/sda7, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so"

The info I get from "dmesg | tail" is: "EXT4-fs (sda7): VFS: Can't find ext4 filesystem" Before I encrypted it I converted the /home partition from ext3 to ext4 without any problems and it worked properly. After playing around with it I also discovered that /dev/sda7 got wiped out of /etc/fstab, but I entered it again.

View 9 Replies View Related

OpenSUSE Install :: Pass Through Login Details To Mount Encrypted Volumes

Jul 17, 2010

I'm looking for a way of mounting an encrypted volume - home folder or a separate mount point, using only the standard login authentication (ie KDM or ssh). I thought the pam_mount module provided this, but I still get prompted for a password on the console at boot time. This is inconvenient as both my main desktops are headless HTPCs. I want the login credentials to be passed through, at log in time. I'm guessing this is possible, but to be honest, encryption is one thing in Linux that still completely confuses me.

View 1 Replies View Related

OpenSUSE Install :: Seamless Mount Of Encrypted Disks And New Session Creation After Each Screen Lock?

Sep 8, 2011

I installed openSUSE 11.4 on HP elitebook 2560p few days ago (using KDE live CD). In general system is working fine, but steel I cannot resolve couple of really annoying issues: 1. I've created encrypted partitions for swap and home during OS installation. As result the system keep asking for passwords for each of encrypted partitions before show login screen. That leads to situation when I have to type 3 passwords during each boot/reboot. I was using the same configuration (swap and home were encrypted) on Ubuntu 11.04 and there both encrypted partitions were mount automatically with no password typing after login to the system. Could you please tell how I can configure the same behavior on openSUSE 11.4 ?

2. I've enabled auto screen lock after 5 mins being inactive. As result when I going back to laptop and to unlock the screen the system shows login screen (default login screen with user selection). But when user and password filled in I click login it creates entire new KDE session. Therefore all staff that was open before screen lock is gone. However old session is still in the system (it appears in output from 'w' command).

View 6 Replies View Related

Debian Configuration :: Permanently Add Boot Parameters?

Mar 12, 2011

I installed Debian 6 last night on an older Compaq. For the system to properly reboot and shutdown when requested, both acpi=force and reboot=warm must be in the boot parameters, this was required with other Linux distros installed on this hardware. Otherwise, the system erroneously shuts down when reboot is chosen.

I would like to know how to permanently add these so they pass each time the system is turned on.

I already added these to /etc/default/grub (and ran update-grub afterwards) and at the next startup, noticed they were NOT in the parameters when "e" was pressed at the boot menu.

View 5 Replies View Related

Ubuntu :: How To Edit Kernel Boot Parameters

Jun 18, 2010

Ubuntu 10.04 Gnome IBM Thinkpad 600e.I am trying to get sound going in my 600e which has the wrong chips in the sound card. I found some notes from 2008 that said in one of the steps to add the following to my kernel boot parameters: noapci nolapci notsc acpi=off pnpbios=off pci=noacpi

It said to hit the Esc key when I see the Grub Count on boot up to get into the kernel boot parameter's editor. However, I am not seeing any Grub Count and pressing the Esc key every second during boot up doesn't seem to get me there either. I have been searching for how to edit the boot parameters but no luck so far.

View 3 Replies View Related







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