Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34

Thread: Chainloading TrueCrypt with GRUB2

  1. #11
    Join Date
    Apr 2009
    Beans
    15

    Re: Chainloading TrueCrypt with GRUB2

    Well, for some reason I also lost the ability to mount my TC partition in Ubuntu, so last night I used the TC boot CD to decrypt Vista. Not what I wanted, but I guess file or folder level encryption (or a TC container) will have to do for now.

    <ubuntu9.10rant>
    Why on _earth_ do they let out a new version of ubuntu out with a beta-version bootloader and known broken 3G modem support?

    The least I expect is that things that worked the previous version still will...
    </ubuntu9.10rant>
    <BOLD><AT TOP OF LUNGS><!!!!> AGREE 100%!!! </!!!!></AT TOP OF LUNGS></BOLD>

  2. #12
    Join Date
    Dec 2006
    Beans
    8

    Re: Chainloading TrueCrypt with GRUB2

    I add myself to the list of people interested in a solution.
    Here's my grub.cfg that bring me to a truecrypt error that says the truecrypt bootloader is corrupted.
    Note:
    (hd0,1) is sda1, Ubuntu /boot partition,
    (hd0,3) is sda3, Windows Partition
    Code:
    #!/bin/sh
    echo “Adding Windows” >&2
    exec tail -n +3 $0
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    menuentry "Windows XP" {
            insmod chain
            set root=(hd0,3)
    	parttool (hd0,3) boot+
            chainloader (hd0,1)/truecrypt.mbr
    }
    And here is the old menu.lst section of grub-legacy:
    Note: partition numbering convention is [grub2] = [grub-legacy]+1, so here
    (hd0,0) means sda1, Ubuntu /boot partition,
    (hd0,2) means sda3, Windows Partition
    Code:
    title Windows Vista/Longhorn
    rootnoverify (hd0,2)
    makeactive
    chainloader (hd0,0)/truecrypt.mbr
    boot
    If anyone knows anything that could helps, we would really appreciate.
    Last edited by robpower; November 17th, 2009 at 11:17 PM. Reason: text formatting

  3. #13
    Join Date
    Mar 2006
    Beans
    16

    Re: Chainloading TrueCrypt with GRUB2

    I have the same error, looking for a solution also.

  4. #14
    Join Date
    Nov 2009
    Beans
    4
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Chainloading TrueCrypt with GRUB2

    Same problem here.
    Is there a fix / work-around / solution already?

  5. #15
    Join Date
    Nov 2009
    Beans
    1

    Re: Chainloading TrueCrypt with GRUB2

    The problem is:

    legacy-grub works fine with truecrypt when you install just the tiny loader into the mbr that in turn loads the other loader-stages from the boot partition.

    grub2 installs into the mbr, embeds the core.img (24KB) starting at sector 1 and thus overwriting parts of the truecrypt loader.

    I cannot find a way to make grub2 not persist on embedding the core image. The doc & wiki aren't helping at all.

    However, there must be a way - otherwise grub2 is basically worthless.

  6. #16
    Join Date
    Aug 2008
    Location
    South East Montana
    Beans
    6,153

    Re: Chainloading TrueCrypt with GRUB2

    If you read the link in my sig you will learn a little of how grub2 works. The first 3 links in it are great, in depth treatments on the subject.

    The first link, I know, does have some discussion on encrypted drives. The second one is a live thread by the guy in the best position to help you.

    I am pretty useless here as I do not use encryption and therefore don't know much about it.
    Dell 480 XPS 3G ram Quad Core 2.40GHz, Radeon HD 2400 PRO, Audigy1, 3x320G HDD, 320G External, Debian Testing for use, Debian Squeeze for secure use, Debian Sid for FUN

  7. #17
    Join Date
    May 2006
    Beans
    67

    Re: Chainloading TrueCrypt with GRUB2

    For anyone still looking, I think I found a simple solution.

    If the TrueCrypt Boot Loader is frequently damaged (for example, by inappropriately designed activation software) or if you do not want the TrueCrypt boot loader to reside on the hard drive (for example, if you want to use an alternative boot loader/manager for other operating systems), you can boot directly from the TrueCrypt Rescue Disk (as it contains the TrueCrypt boot loader too) without restoring the boot loader to the hard drive. Just insert your Rescue Disk into your CD/DVD drive and then enter your password in the Rescue Disk screen.
    How to make grub2 boot an iso

  8. #18
    Join Date
    Apr 2010
    Beans
    4

    Re: Chainloading TrueCrypt with GRUB2

    Quote Originally Posted by sq377 View Post
    For anyone still looking, I think I found a simple solution.



    How to make grub2 boot an iso
    I am probably late on this, but since it looks like this problem is still unsolved, the solution you pointed out, does NOT work for the Truecrypt or any other common ISO.

    From your link:
    "PLEASE NOTE: grub itself can NOT boot CDROM images/ISOs. Neither version 1 nor version 2 of grub. Grml provides this feature via its isofrom bootoption. Grub2 strongly simplifies this setup with its loopback option but grub alone will NOT be enough. It’s the live system (as for example grml) that has to support this “boot from ISO” feature."

  9. #19
    Join Date
    Sep 2006
    Location
    Budapest/HUN
    Beans
    16
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Chainloading TrueCrypt with GRUB2

    Can you solve this?

  10. #20
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

Page 2 of 4 FirstFirst 1234 LastLast

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
  •