Announcement

Collapse
No announcement yet.

Encrypted partition won't mount after update

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Encrypted partition won't mount after update

    Hi,

    Thanks in advance for any help with this one -- it's quite a show-stopping issue for me at the moment.

    Yesterday, Adept did 3 automatic updates which had something to do with "volume". I didn't read them properly and thought at the time that it was to do with audio (hence quite harmless), but when I rebooted shortly after I discovered that the encrypted root partition of my SATA disk wouldn't mount (it uses the standard LVM encryption option from the Kubuntu installer). The mental cogs then started to turn, and D.P. Gumby suggested that "volume" probably referred to the other kind of volume. I've tried to find out exactly what these packages were, and the best I can come up with is these:

    libvolume-id-dev
    libvolume-id0
    volumeid

    and I know that, in the update, one of them was removed; but I don't know where to check to see whether these are, actually, the packages that were updated. Obviously I can't just check the logs at this stage.

    OK, here's what happens at boot, when I remove the "quiet" option in the grub boot script:

    Loading essential drivers... ok
    Running /scripts/init-premount ok
    Mounting root file system...
    Running scripts/local-top ok
    Waiting for root file system...

    ...and it continues to wait for about 200 seconds before dropping into the BusyBox.

    This is the kernel line from grub: /vmlinuz-2.6.22-14-generic root=/dev/mapper/kubuntu-root ro quiet splash

    I noticed that /dev/mapper/kubuntu-root doesn't exist, so I changed the grub boot script to root=/dev/sda5 (my encrypted partition), and this merely had the rather predictable effect of doing nothing except dropping me into BusyBox (though without the 200 seconds wait). For any other device (/dev/sda, /dev/sda1, /dev/sda2) it still waits 200 seconds but then drops into BusyBox. For reference, here's /proc/partitions:

    8 0 78150744 sda
    8 1 248976 sda1
    8 2 1 sda2
    8 5 77899153 sda5

    sda1 is /boot, and sda5 is /. sda2 is presumably some sort of wrapper for the encrypted volume sda5.

    I can't see anything in /proc/kmsg that would indicate it was trying to mount an encrypted volume (no "cryptsetup" or /dev/mapper/cryptoroot), and I see no reference to anything containing the word "crypt" in /lib or in /conf/modules or in any of the scripts in /scripts.

    This is way over my head, so can anyone here offer any help as to how I might mount the filesystem and what I should do to make it boot properly in future? Thanks in advance...

    #2
    Re: Encrypted partition won't mount after update

    OK, I've managed to mount the encrypted partition using the tutorial given here.

    Here's the dpkg.log:

    Code:
    2008-02-28 15:27:45 startup archives unpack
    2008-02-28 15:27:58 upgrade libvolume-id0 113-0ubuntu16 113-0ubuntu17
    2008-02-28 15:27:58 status half-configured libvolume-id0 113-0ubuntu16
    2008-02-28 15:27:58 status unpacked libvolume-id0 113-0ubuntu16
    2008-02-28 15:27:58 status half-installed libvolume-id0 113-0ubuntu16
    2008-02-28 15:27:58 status half-installed libvolume-id0 113-0ubuntu16
    2008-02-28 15:27:58 status unpacked libvolume-id0 113-0ubuntu17
    2008-02-28 15:27:58 status unpacked libvolume-id0 113-0ubuntu17
    2008-02-28 15:27:58 upgrade udev 113-0ubuntu16 113-0ubuntu17
    2008-02-28 15:27:58 status half-configured udev 113-0ubuntu16
    2008-02-28 15:27:58 status unpacked udev 113-0ubuntu16
    2008-02-28 15:27:58 status half-installed udev 113-0ubuntu16
    2008-02-28 15:27:59 status half-installed udev 113-0ubuntu16
    2008-02-28 15:27:59 status unpacked udev 113-0ubuntu17
    2008-02-28 15:27:59 status unpacked udev 113-0ubuntu17
    2008-02-28 15:27:59 upgrade volumeid 113-0ubuntu16 113-0ubuntu17
    2008-02-28 15:27:59 status half-configured volumeid 113-0ubuntu16
    2008-02-28 15:27:59 status unpacked volumeid 113-0ubuntu16
    2008-02-28 15:27:59 status half-installed volumeid 113-0ubuntu16
    2008-02-28 15:27:59 status half-installed volumeid 113-0ubuntu16
    2008-02-28 15:27:59 status unpacked volumeid 113-0ubuntu17
    2008-02-28 15:27:59 status unpacked volumeid 113-0ubuntu17
    2008-02-28 15:27:59 startup packages configure
    2008-02-28 15:27:59 configure libvolume-id0 113-0ubuntu17 113-0ubuntu17
    2008-02-28 15:27:59 status unpacked libvolume-id0 113-0ubuntu17
    2008-02-28 15:28:00 status half-configured libvolume-id0 113-0ubuntu17
    2008-02-28 15:28:00 status installed libvolume-id0 113-0ubuntu17
    2008-02-28 15:28:00 configure volumeid 113-0ubuntu17 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked volumeid 113-0ubuntu17
    2008-02-28 15:28:00 status half-configured volumeid 113-0ubuntu17
    2008-02-28 15:28:00 status installed volumeid 113-0ubuntu17
    2008-02-28 15:28:00 status triggers-pending initramfs-tools 0.85eubuntu20
    2008-02-28 15:28:00 configure udev 113-0ubuntu17 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status unpacked udev 113-0ubuntu17
    2008-02-28 15:28:00 status half-configured udev 113-0ubuntu17
    2008-02-28 15:28:00 status installed udev 113-0ubuntu17
    2008-02-28 15:28:00 trigproc initramfs-tools 0.85eubuntu20 0.85eubuntu20
    2008-02-28 15:28:00 status half-configured initramfs-tools 0.85eubuntu20
    2008-02-28 15:28:20 status installed initramfs-tools 0.85eubuntu20
    Now I can access the disk, how can I fix my Kubuntu installation? Thanks in advance...

    Comment

    Working...
    X