Results 1 to 5 of 5

Thread: Tripple boot with full disk encryption

  1. #1
    Join Date
    May 2012
    Beans
    2

    Tripple boot with full disk encryption

    Hi,

    I have been trying to make a tripple boot system with each OS having full disk encryption and i am having no luck.

    I would like to have Ubuntu 12.04, Backtrack 5 and Windows 7 all bootable from one hard drive.

    I think for the encryption i need to have Backtack and Ubuntu using LUKS and Windows using truecrypt but I am having trouble with getting grub to see Ubuntu and Backtrack and let me pick between the two, though i could be wrong in my thinking.

    Any help would be much appreciative

    Thanks

    Captin

  2. #2
    Join Date
    Jan 2009
    Beans
    Hidden!

    Re: Tripple boot with full disk encryption

    I am not an expert on this special subject, but under whole disk encryption I understand a system where the **whole** disk is encrypted and not just one partition.
    What you are talking about is not a whole disk encryption, but only a partition encryption. This can not work, as each partiton would also need to decrypt other os partition to find the boot files there.

    Whole disk encryption, like commercial products offer, will encrypt all partitions and all contents of the hard drive completely and will be not dependent on any operating system at all.

    I did not use it for long time, but AFAIK Truecrypt offfers something like that- It will probably need to be installed before any os on the machine.

    How such encryption system will cooperate with grub (also having its part in MBR) is difficult to say.

    Grub first part in MBR will try to search for its second part in a partition and if this is encrypted it will not find it, so it will not boot.

  3. #3
    Join Date
    Sep 2009
    Location
    Shropshire, England
    Beans
    59
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Tripple boot with full disk encryption

    You shouldn't encrypt the boot partition. I have sda1 as a boot partition which boots luks encrypted logical volumes for root home swap (ubuntu 12.4).In principle, I see no reason why you can't use another luks partition for linux operating system no 2. No idea about encrypting windows, but I assume grub should be able to boot it as for windows on a plain partiiton. I knew nothing about luks/lvm but quickly got everything up and running by following a couple of tutorials. I can give you some links if you are interested

  4. #4
    Join Date
    May 2012
    Beans
    2

    Re: Tripple boot with full disk encryption

    Hi thanks for all you feed back,

    links would be a great help thanks,

    I think i can do the windows bit pretty easily with truecrypt and that should allow me to pick between to boot to windows or open up grub.

    Just couldn't find a away to pick between 2 luks partions to boot off of, or get it to show grub and not the text "(initramfs)"

    Cheers

  5. #5
    Join Date
    Sep 2009
    Location
    Shropshire, England
    Beans
    59
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Tripple boot with full disk encryption

    The tutorial I followed when I first tired full disk encryption was:
    HTML Code:
    http://www.howtoforge.com/encrypting-the-system-manually-upon-installation-ubuntu8.04
    The tutorial is quite old but pretty clear. I also cross referenced with this site for setting up swap and using a key file.
    HTML Code:
    https://help.ubuntu.com/community/EncryptedFilesystemHowto3#Encrypted_Swap
    I experimented in virtualbox before setting up a live system and now find I can do an install automatically. If you are interested in lvm as well let me know.

Bookmarks

Posting Permissions

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