Results 1 to 5 of 5

Thread: Failed to upgrade to BackTrack 5 R2 on encrypted disk

  1. #1
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    11

    Default Failed to upgrade to BackTrack 5 R2 on encrypted disk

    Hi,
    I've been using BackTrack 5 R1 flawlessy on a laptop with an encrypted hard disk.
    I tried to upgrade to BackTrack 5 R2 by following this guide: upgrading-to-backtrack-5-r2, but after rebooting I got the error message "/dev/mapper/vg-root does not exist" and the boot process dropped to the initramfs prompt.
    The encrypted partition is still there but is now unaccessible from the boot menu.

  2. #2
    Just burned his ISO
    Join Date
    Sep 2011
    Location
    Belgium
    Posts
    1

    Default Re: Failed to upgrade to BackTrack 5 R2 on encrypted disk

    my hard disk is also encrypted (followed this tutorial http://www.mathyvanhoef.com/2011/08/...boot-with.html)
    but she simply doesn't upgrade

  3. #3
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    11

    Default Riferimento: Re: Failed to upgrade to BackTrack 5 R2 on encrypted disk

    It looks like the hashalot package is not installed during upgrade, I can't even find it as listed in the new sources repositories. Without that package, the logical volume contained within the encrypted partition cannot be accessed.

    EDIT: the real issue might be in that the file /usr/share/initramfs-tools/scripts/local-top/cryptroot is missing since I upgraded to R2, so the system does not ask to enter the luks password on boot.
    Could anybody please verify that?
    Last edited by jack0m; 03-11-2012 at 12:04 PM.

  4. #4
    Just burned his ISO
    Join Date
    May 2011
    Posts
    24

    Default Re: Riferimento: Re: Failed to upgrade to BackTrack 5 R2 on encrypted disk

    I upgraded from R1 and use an encrypted USB stick and had no problems. Things to try:

    Check the hashalot and lvm2 packages are installed.
    Check your fstab and crypttab files.

    Something bad has happened. The upgrade process definitely does not remove the cryptroot file.

  5. #5
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    11

    Default Riferimento: Failed to upgrade to BackTrack 5 R2 on encrypted disk

    Yes, something went wrong with the upgrade process. At the end I could recover the system only after the following steps:

    1. booting from the BT5 R2 DVD and chrooting to the encrypted hard disk partition;
    2. manually removing and reinstalling the packages cryptsetup, ecryptfs-utils and keyutils;
    3. then booting onto the previous kernel (2.6.39), removing and reinstalling the new one (3.2.6);
    4. hence rebooting again and doing a new apt-get upgrade...


    There could probably be a smarter way to fix the messed up system, in any case it looks it is now working fine.

Similar Threads

  1. Failed to upgrade to BackTrack 5 R2 on encrypted disk
    By jack0m in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 03-07-2012, 05:34 AM
  2. BT5 R2 dist-upgrade failed
    By Strogonaut in forum BackTrack 5 Bugs
    Replies: 13
    Last Post: 03-05-2012, 12:20 PM
  3. Replies: 0
    Last Post: 06-14-2011, 05:33 AM
  4. low on disk space after BT4 > BT4R2 upgrade: question
    By oshea85 in forum Beginners Forum
    Replies: 1
    Last Post: 11-24-2010, 10:10 PM
  5. upgrade failed... i think...
    By ElPatr0n in forum Beginners Forum
    Replies: 3
    Last Post: 08-06-2010, 07:44 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •