All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Nelson <sanelson@siliconfuture.net>
To: grub-devel@gnu.org
Subject: Re: [RFT] Truecrypt rescue image support
Date: Fri, 9 May 2014 21:55:54 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140509T233410-35@post.gmane.org> (raw)
In-Reply-To: CAE4vfc+ALre8eUD-4goakVfr3aJ-aTcvGr0hhnr3+V8z2VjQTw@mail.gmail.com

Hello,

Thanks for creating this great feature!  I recently had a chance
to test this but I ran into a strange problem when using the TrueCrypt
rescue ISO.  I created a bootable USB thumb drive which contained
the rescue ISO and loaded it on boot using the grub truecrypt module
you created.  The rescue ISO boots just fine but when I enter the
password I only get a "invalid password" prompt.  I can verify that
the password I am using is correct by burning the exact same ISO
to a CDR disk and booting with it.  When booted from a CD, the
password is accepted.

It is quite possible I am just configuring something wrong.  Following
are a complete list of steps that I used to create the bootable
thumb drive, maybe you will see something I am missing.

My Software Versions: OS: Ubuntu 14.04 LTS grub: 2.02~beta2-9 parted:
2.3

Complete Steps (assuming /dev/sdb is USB thumb drive)
  sudo parted -s -- /dev/sdb mklabel msdos
  sudo parted -s -- /dev/sdb mkpart primary fat32 1 -1
  sudo parted -s -- /dev/sdb set 1 boot on
  sudo mkfs.vfat /dev/sdb1
  sudo mkdir /mnt/truecrypt
  sudo mount /dev/sdb1 /mnt/truecrypt/
  sudo grub-install /dev/sdb --root-directory=/mnt/truecrypt --modules=truecrypt
  sudo cp truecrypt-rescue-cd.iso /mnt/truecrypt/boot

Then I created /mnt/truecrypt/boot/grub.cfg
  menuentry "Truecrypt Rescue" {
    truecrypt /boot/truecrypt-rescue-cd.iso
  }

At this point I use the thumbdrive to boot the target system.  I
select "Truecrypt Rescue" from the grub menu and the rescue image
boots OK.  However, as I mentioned before, the password is not
accepted.

I am able to help test if you can think of any steps I should try.

Best regards,

Sam Nelson



      reply	other threads:[~2014-05-09 22:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-03  2:25 [RFT] Truecrypt rescue image support Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-03  7:13 ` Attila Lendvai
2014-05-09 21:55   ` Sam Nelson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20140509T233410-35@post.gmane.org \
    --to=sanelson@siliconfuture.net \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.