Debian Installation :: LUKS On Root Killed By Apt-get Update

Sep 24, 2015

Root LUKS to be broken by apt-get update? This did happen to me on 3 different laptops, both on previous install (from Debian 8.0), and also on clean installs (Debian 8.1), repeatedly.

When I reboot, grub starts, but then it cannot find the root file system (I end up with the emergency console).

Code: Select allLoading Linux 3.16.0-4-amd64 ...
Loading initial ramdisk ...
Loading, please wait...
[many seconds waiting]
ALERT! /dev/mapper/sda2_crypt does not exists.
modprobe: modprobe ehci-orion not found in modules.dep

This is the most simple, clean, conservative install ever, no closed driver.

But LUKS on the root file system:

Code: Select allone ext4 partition on /boot
one ext4 partition on / (trough LUKS, all defaults)

There is no LVM.

All the 3 laptops killed at different time, when updating. Clean install is fine until the first update.

Booting on the rescue system allows me to see everything.

Code: Select all$ update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
No volume groups found

How can I recover from this?

View 5 Replies


ADVERTISEMENT

Debian Configuration :: Squeeze Update Killed KDE4?

May 17, 2010

I updated today and naturally removed the old nVidia driver, compiled it again after a reboot, and then rebooted again for good measure. I can log into KDE4, but all I get is a cursor and a solid black background. I deleted the ~/.kde, ~/.local, and quite a few other directories from my normal user account using the shell so KDE would reconfigure my settings when I logged in again, but it's the same problem. I went into ~/.kde/share/config/kwinrc and added the "Compositing" section with "Enabled=false" to rule out compositing. Now when I log into the system I get the default KDE4 wallpaper and a mouse cursor, but nothing else. I believe the latest update broke KDE4, or am I missing something? I have recreated my xorg.conf as well, and only set it to use the nVidia driver. So what can I do now?

View 3 Replies View Related

Debian Multimedia :: Squeeze Update Killed Cairo

Jun 1, 2010

I have been having problems with Squeeze last day or so, but thought would do all system updates available in hope this would stop the system crashes only to find that upon reboot my dock of choice, Cairo-Dock, which is set to auto start puts a message on screen saying it has no plugins available and that it will not run as a result. And it just won`t run. The update included updates for Cairo Dock and it`s plugins, which it seems have all updated correctly and package manager says every available plugin IS installed as it was before, what I can do to correct this annoying issue?

[Code]....

View 4 Replies View Related

Debian Configuration :: Update Testing Killed Internet Connection?

Jul 5, 2011

AMD 64 Upgrade to testing last night killed my internet connection. The lan works, I can ping the dns server from my IP, however no mail, browser possible. Is something in testing broken again?

View 5 Replies View Related

Debian Installation :: Full Disk Encryption (LUKS) LVM

Oct 21, 2015

I would like to configure my Debian Jessie system in this way.

Two partitions:

1) /boot on /dev/sda1
2) everything else on /dev/sda2

I want to encrypt the second partition with LUKS. And then install over it a LVM volume. Inside the LVM volume i will create the / (root), /var, /opt and /home virtual partitions. In this way, i'll get asked only once for the password to decrypt all partitions. Because if i don't use LVM, then i'll get asked for the password for each encrypted partition.

I can follow and understand almost everything of this HOW-TO for Archlinux: [URL] ....

Only two passages are unclear to me:

1) Configuring mkinitcpio

I don't understand what i should do here in order to complete this. What should i do in Debian to configure "mkinitcpio"? what is the equivalent thing to do here?

I thought that the kernel would automatically recompile itself with all installed modules on the Debian system, once cryptosetup/LUKS or LVM2 get installed.

2) Configuring the boot loader

I don't understand what should i write in /etc/default/grub. Will GRUB automatically load the LUKS and LVM2 modules? Also, I don't think that i could boot the system in this way:

cryptdevice=/dev/sda2:LVM root=/dev/mapper/LVM-????

Actually the "root=" volume is the whole volume to mount as LVM. It isn't the final root partition.

View 5 Replies View Related

Debian Installation :: Install Jessie Alongside Win8 On Existing LUKS / LVM Disk

Sep 8, 2015

I'm trying to upgrade my Win8/Wheezy 64-bit machine to Jessie 8.1 by installing from the amd64-bit netinstall iso image on a USB flash drive. I had done the previous, Wheezy, install on a disk partition that was whole-partition LUKS/LVM drive, with separate logical partitions for swap, root, and home.

Before doing the upgrade, I booted to the BIOS to ensure that my UEFI system had the correct, CSM and Legacy modes enabled in it, so that installer would boot using the non-efi BIOS mode.

Step one of the upgrade was to boot the netinstall and enter the rescue mode so that I could manually do the cryptsetup/LVM business. When I returned to the installer, I mounted the now-recognized logical partitions normally, choosing to format only the swap and / partitions.

During the entire process, I had to go into rescue mode one more time to manually mount the unencrypted /boot partition, along with my /home partition. I copied a backup of my old /etc/crypttab from the latter, and after returning to the installer, finished the install. That finish included installing grub on my hard drive's main boot partition.

Everything seemed to finish with no problems. However, when I try to boot the debian bootloader, I get tossed to grub rescue with the message that '/grub/x86_64-efi/normal.mod' doesn't exist. At this point I returned to the installer, mounted the /boot partition, and saw that there grub-install didn't create that an x86_64-efi directory at all. Instead, it had created an i386 directory. The exact name escapes me at the moment.

I *think* that my install was clean other than the last bit that was related to installing the bootloader. How to reinstall the bootloader in such a way as to make all of this work.

View 2 Replies View Related

Security :: Luks Root Partition On Laptop

May 9, 2011

if encrypt my root partition with Luksformat on my laptop and the battery suddenly goes out without a proper shutdown, I stand a big chance on corrupting the luks header or key slot?

View 1 Replies View Related

Slackware :: 12.2 - RAID-1 - LVM - LUKS Encrypted Root

Dec 17, 2008

I am trying to get Slackware 12.2 running on a system with two identical harddiscs using RAID-1, LVM and LUKS.

Here is what I get:

Code:

The system is still the same, however, the results of upgrading or installing 12.2 are different. The system refuses to boot. The screen messages during boot seem to suggest, that the RAID system is "seen" by the system, but the encrypted filesystem is not.

I can boot with the installation DVD, however, and

Code:

View 14 Replies View Related

SUSE / Novell :: Encrypted Root With LUKS On LVM And RAID-1 ?

Apr 15, 2009

OpenSuSE 11.1 is by far the best SuSE version in a long time. It's generally up to competition or ahead of it. It's admirable, how thoughtful this system is set up, and how clean and fast it is compared to its predecessors. It ssems, that SuSE is fighting its way back to where they came from before the Novell "merger."

Having said that, it is even harder to understand, IMHO, why the installer doesn't support encrypted root partitions. Of course, there is a manual solution:

http://en.opensuse.org/Encrypted_Roo...ith_SUSE_HOWTO

However, this HOW-TO doesn't explain how to combine LUKS encryption with LVM on a RAID-1 system, as described for Slackware 12.2 here:

[url]
[url]

Is there a similar guide anywhere available for OpenSuSE 11.1?

If not: Would it be possible to do all the low-level setup work, like partitioning, setting up the logical volumes and encrypting everything, with Slackware, following the document above, and then install OpenSuSE 11.1 on that system? Would that work?

View 5 Replies View Related

Fedora Security :: Unlock A LUKS Encrypted Root Partition Via Ssh?

May 20, 2010

Anyone had any experience with unlocking a LUKS encrypted root partition via ssh? It is ok to leave /boot unencrypted.

There are a few pages from google with the debians variants, archived by putting dropbear into initrd.

I like to do that with my fedora/centos remote servers, but struggle to find any resources specific to it. Anyone has any suggestions and thoughts as to what might be a suitable way forward?

View 2 Replies View Related

Fedora :: Yum Update Killed Computer / What To Do?

Jun 10, 2011

I have F15 64 on my laptop, it's been running relatively well, today I decided to do a yum update. There were about 20 updates, nothing major from what I saw, NetworkManger stuff etc. Everything goes well, until the end when I get some error (no I don't recall what it was, yes I should've written it down, and no I don't need a lecture about this) so I manually reboot the computer. And I boot to a black screen, Oh what joy of using Fedora. I edit grub to try and get in with runlevel 3, but encounter an error "Kernel Panic - not syncing: Attempted to kill init" then a few lines down it's "panic occured, switching back to text console /sbin/init:error while loading shared libraries /lib64.libgcc_s.so.1: invalid ELF header"

I'm very frustrated, this comes right on the heels of pre upgrade forcing me to do a complete fresh install of F15. I'm honestly one error away from moving to another distro (Fedora is my first)

View 14 Replies View Related

Ubuntu :: Nvidia Update Killed Gdm?

Jul 19, 2011

I recently updated my Nvidia driver and since don't have a gui. When my pc loads it just gives me a list of the start up commands.

View 3 Replies View Related

OpenSUSE Network :: Kernel Update Killed Net?

Mar 24, 2010

I am experiencing the "slow internet" problem (mentioned multiple times in these forums) but it started exactly when I ran an online update, which switched my boot image from vmlinuz-2.6.31.12-0.1 to vmlinuz-2.6.31.12-0.2. Perhaps a setting somewhere got overridden? When the update occurred, grub couldn't find the OS because it had the wrong version #, and I manually edited it (via a livedisk) and that fixed it; it also switched my vga resolution in the grub conf. OpenSUSE is *acting* like ipv6 is enabled again, but ifconfig doesn't report that, and my MTU is close to 1500.

View 6 Replies View Related

Ubuntu :: Kernel Update Just Killed Fglrx

Jul 24, 2010

A kernel update just killed my ATI graphics driver.

Trying to install proprietary graphics driver fails and points at /var/log/jockey.log

This ends with

Code:

If I can't sort this out I'll have to try rebooting into the old kernel to get the graphics driver back. The dreadfully slow scrolling in the browser is starting.

View 5 Replies View Related

Ubuntu :: Update-grub Fail When Converting To LVM On Luks Partition?

Oct 26, 2010

I'm trying to migrate my LVs over to a Luks volume (prompt on password at boot). Unfortunately, as soon as I add my luks-encrypted physical volume to my volume group, I'm no longer able to update my grub configuration. I've detailed my steps below:

I've created and unlocked my encrypted partition with the following:

Code:
sudo cryptsetup -c aes-cbc-essiv:sha256 -y -s 256 luksFormat /dev/sdb1
sudo cryptsetup luksOpen /dev/sdb1 crypto_agilityssd
My /etc/crypttab looks like this:

[Code].....

View 2 Replies View Related

Fedora :: Latest Udev Update Killed System?

Mar 24, 2010

I ran update on my ASUS N51Vf laptop yesterday and among the updates there was one for udev. After installing it udev refuses to start at all saying: "iTCO_wdt: unexpected close, not stopping watchdog". Then I get to login but not for long: after several seconds either system reboots instantly or it hangs shutting down display. Is there any way to rollback udev update somehow considering I can't even login into system?

View 5 Replies View Related

General :: /bin Directory Is Deleted After Killed Yum Update Command

Jan 7, 2010

I have a serious problem on my VPS. I ran "yum update" and then hit the Ctrl+C to cancel when I realized that I need to specify a package to update, not all of them, but when the console returned suddenly I lost the connection, when I try to reconnect to the machine, it says /bin/bash not found !! even when I try to issue commands from the VPS control panel, it reports that the commands are not there

I can issue a ticket for the ISP to resolve this, but I need to know the risks before I do this, I have no backup on MySQL and 2 live web applications, although they are still running, I am afraid if I restarted the VPS everything will be gone.

View 7 Replies View Related

Ubuntu Networking :: DHCP Update Killed Internet Connection?

Jan 30, 2010

I've been connecting to the Internet via Ubuntu 8.10 on my Toshiba laptop fine for ages now, but today it has stopped working. Yesterday an update came through relating to DHCP and, like all other updates, I installed it. And now my laptop can see the wireless router but it cannot connect to the Internet. (As I always install the recommended Ubuntu updates I didn't look closely at exactly what the update said, but I did see DHCP in the title, so this is why I suspect my connection is now broken.) Or can anyone tell me how to undo yesterday's update? I really wish now that Ubuntu had a utility similar to Windows System Restore.

View 2 Replies View Related

Ubuntu Networking :: Update Killed All Network Con. On Asus 1000h?

Feb 25, 2010

Some data:Attached because on posting I get an error even though there is not a singel image or smiley:You have included 11 images in your message. You are limited to using 8 images so please go back and correct the problem and then continue again. Images include use of smilies, the BB code [img] tag and HTML <img> tags. The use of these is all subject to them being enabled by the administrator.Couldn't upload either it gives invalid file so I resort to Google docs now [URL]

View 9 Replies View Related

Ubuntu :: Latest Kernel Update Killed Toshiba Sound

Jan 27, 2011

The latest Kernel update (2.6.35-25-generic) killed all my sound output on my Toshiba Satellite M115.

I tried reinstalling all ALSA components and plugins. No luck there.

Rebooting into 2.6.35-24-generic fixes the problem, in that my sound works again.

View 9 Replies View Related

OpenSUSE Network :: Latest Kernel Update Killed IPhone Tether?

Nov 23, 2010

I recently updated my kernel and now can no longer tether my iphone to my openSUSE11.3(x64) laptop. Before the update I could tether.Same machine dual boots to Win7-64bit and can tether just fine.I re-installed the libimobile packages, but my linux no longer recognizes the iphone as a network device.t DOES pop-up some boxes asking if I want to play the media, or view the photos on the iPhone - so that part is working

View 1 Replies View Related

Debian :: GEncrypted Partition Using LUKS On Debian ?

Mar 18, 2011

I had encrypted a partition in Debian6 KDE4 using LUKS. Using the partition as a backup storage so do NOT want to automount it, therefore I have not added the encrypted partition (/dev/sda5) into /etc/crypttab or /etc/fstab. However, when booted into Debian, the partition is not shown in dolphin. How can I mount it manually when I need to use it?

View 1 Replies View Related

Debian :: Resize LUKS Partition Without LVM

Aug 20, 2011

I need to resize (increase) LUKS partition. I have found a lot of manuals, but they are just for LVM volumes(I dont use LVM and I dont plan to use it). I have HDD splited to the 4 parts:

sda1(/)
sda2(LUKS)
unalocated
swap

I want to increase LUKS partition, by using the part of unalocated space.

BUT I dont want to do the following:
Backup data from LUKS partition
Delete LUKS partition
Create new bigger LUKS partition
Restore data to the LUKS partition

View 1 Replies View Related

Debian Configuration :: LUKS With Only One Passphrase?

Jun 20, 2011

Is there any way to only have one passphrase prompt when using multiple LUKS partitions? Well there must be, as that's how Fedora does it - it asks you once, and tries that passphrase on every LUKS volume (with a nice plymouth prompt), I just don't know how to do that on Wheezy. Don't say I have to nuke my install and use LVM instead of regular partitions or put a keyfile on a USB stick. My partition layout is:

/boot (plain)
swap (luks)
/ (luks)
/data (2nd drive, luks)

So I get asked 3 times during boot.

View 4 Replies View Related

Debian Installation :: Apt-get Update Or Aptitude Update - Error "Cannot Initiate The Connection To Security.debian.org:80"

Jul 14, 2011

I have a very strange problem; when trying to apt-get update or aptitude update I get time out errors. At first it was resolving ipv6 adresses:

Cannot initiate the connection to ftp.litnet.lt:80 (2001:778::87). - connect (101: Network is unreachable) [IP: 2001:778::87 80] Err [URL] Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is
unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80] As my host does not have normal ipv6 support, i just tried to disable ipv6: echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf

[Code]....

View 2 Replies View Related

Ubuntu Installation :: 9.10 Failed To Update - Unable To Mount Root FS

May 25, 2010

I wanted to try out the new Ubuntu 10.04, but since I don't have any CD's available I thought I could use my 9.10 CD and upgrade from it.

1. Installed 9.10 on the entire disk.
2. Went to update manager(?) and clicked the button to upgrade to 10.04
3. It successfully downloaded all the files.
4. When installing the new files it suddenly said that it failed to update, and it stopped. Then I went to do a hardware test, but none of the menus were working.

I had to do a manual shutdown, and reboot the computer. This time I was met with an error "Unable to mount root fs".

I figured the upgrade was the problem, so I reinstalled 9.10 to try without upgrading.
1. Reinstalled 9.10 on the entire disk.
2. Went to update manager(?) and started the normal update for 9.10 so the system would be up-to-date.
3. Same thing happened now, it fails to update and it makes my computer useless.

I've already checked my hardware for errors, can't find any. I've checked the CD for errors, can't find any. I had 9.04 on the same computer a few weeks ago, and it was rock-solid. Worked like a dream. I'm using Win7 now though.

View 4 Replies View Related

Ubuntu Installation :: Update From 8.04 To 10.04, Cannot Boot, Wrong Grub Root?

Jun 6, 2011

I just updated my server from Ubuntu 8.04 to 10.04 and now it cannot go past grub, at boot time, it would "give up waiting for root device", asking me to check whether I gave the right "root=..." or if I should increase the "rootdelay=..." in the command line argument and end up with the initramfs.

The machine is a Dell Poweredge 2900 with a HW RAID controller (I hope that should not matter, but just in case...). I tried to follow the instructions there to make sure grub is setup correctly, but without any luck.

Below is the output from the bootinfoscript (while running on the LiveCD). Anybody has any idea what can be the problem or what I could do to debug this ? I am running out of ideas.

[Code]...

View 1 Replies View Related

Debian :: Mount Encrypted LUKS Partition (On Former System HDD)

Feb 1, 2016

I have two basically identical harddrives that are encrypted with LUKS containing a complete debian installation:

Code: Select allroot@x200s:/home/b# lsblk --fs
NAME                   FSTYPE      LABEL UUID                                   MOUNTPOINT
sda                                                                             
├─sda1                 ext2              0b851969-281e-4db2-8a5b-3798e801711b   /boot
├─sda2                                                                         
└─sda5                 crypto_LUKS       cfcf63ef-448a-4f72-9f58-8f7731cf3dfc   
  └─sda5_crypt         LVM2_member       21CS3f-SQeQ-XcMr-kyDs-OPtR-egmT-HkvJAu

[Code] ....

sda is what I currently run to write this text, sdb is my former harddrive, connected via USB.

I want to access the root partition on sdb.

The problem is:

Code: Select allcryptsetup luksOpen /dev/sdb5 oldhd
Enter passphrase for /dev/sdb5:
root@x200s:/home/b# ls /dev/mapper/
control  oldhd   sda5_crypt  x200s--vg-root  x200s--vg-swap_1
root@x200s:/home/b# mount /dev/mapper/oldhd /mnt/
[b]mount: unknown filesystem type 'LVM2_member'[/b]

[Code] ..

Before all this, both sda and sdb where in the same volume group. I renamed the volume group of sdb to "oldDisk"
using

Code: Select allvgrename <UUID> oldDisk

How I can access the data on the root filesystem of my sdb..

View 2 Replies View Related

Debian Configuration :: Creating LUKS Encrypted USB Disk

Jan 15, 2016

Is it better to install LUKS to raw disk (/dev/sdb) or disk partition (/dev/sdb1)? What are best LUKS options?

"cryptsetup benchmark" output
Code: Select allPBKDF2-sha1      1310720 iterations per second
PBKDF2-sha256     862315 iterations per second
PBKDF2-sha512     590414 iterations per second

[Code] ....

Is slow hash better or how to choose it? It is clear that aes-xts is best choise. Is 265 bit key good?

View 3 Replies View Related

Debian :: Upgrades Killed Dri And Auto-shutoff?

Jan 5, 2010

Back when I was using Sarge, my machine could shut itself off when I halted it. However, I think due to some alleged security issues with my hardware, newer versions of Debian don't allow this. So, I have to manually shut it off after halting the computer. My computer is a Dell Optiplex GX1 PIII450 with 386 MB RAM.

Also, it has a 6MB mach64 video card (01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)), that, back in the Sarge days, I could enable direct rendering with mach64-20060403-linux.i386 DRI. This no longer works given the changes in Debian. So, no planetpenguin-racer for me any longer.

Besides buying new hardware, is there a way to fix either (or both) of these issues? They both were fine in previous incarnations of Debian, but alas, are now casualties of the upgrades.

View 5 Replies View Related







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