Booting a Truecrypt Rescue ISO from a USB stick via Grub2

What I have:

Tools I used:

Tools I did not use, but seem handy:

What I did:

  1. Using fdisk and mkfs.vfat on my usb stick: created a new partition table and then 1 partition consuming the whole disk.
  2. Installed grub to this disk (
    1
    grub-install /dev/sdb --root-directory=/media/MOUNTED_SDB1
    
    ).
  3. copied “memdisk” (from syslinux) to
    1
    /media/MOUNTED_SDB1/boot/memdisk
    
    .
  4. Used the following grub.cfg:

    1
    2
    3
    4
    5
    menuentry "Truecrypt Rescue" {
        drivemap -s (hd0) (hd1)
        linux16  /boot/memdisk iso
        initrd16 /boot/TCRD.iso
    }
    

The ‘memdisk’ arguments are often followed by ‘raw’ in other postings online, however, on my system ‘raw’ caused a quick reboot following the attempted boot.

Documentation of ‘drivemap’ is here . When a usb stick is booted, the bios treats it as (hd0) and the internal disk becomes (hd1). TC expects (hd0) to be the disk which needs to be repaired, so we use ‘drivemap’ to trick it (by swaping the drives).