All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Booting TrueCrypt Windows Hard Drive
@ 2009-11-27 11:42 Rob Power
  2009-11-27 11:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2009-11-27 11:52 ` Rob Power
  0 siblings, 2 replies; 16+ messages in thread
From: Rob Power @ 2009-11-27 11:42 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]

Hi to all!
I have a similar problem with this configuration:
sda1 : Ubuntu boot Partition
sda2 : Ubuntu Encrypted root
sda3 : Windows XP (other people have same problem with Vista) encrypted with
Truecrypt.
There's a bug report related to this problem here (
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/484102 ) opened by
another user.

With grub-legacy everything works well: It chainloads the XP Truecrypt boot
manager from a dump file. Here's the old menu.lst.
------------------- menu.lst ---------------------------
title Windows XP
rootnoverify (hd0,2)
makeactive
chainloader (hd0,0)/truecrypt.mbr
boot
------------------------------
------------------------------

Now, all what I get from Truecrypt boot loader is this message:
"TrueCrypt Boot Loader: Load damaged! Use Rescue Disk: Repair > Options >
Restore Truecrypt Boot Loader"
Here is my actual grub.cfg entry.
-------------------- grub.cfg ---------------------------
menuentry "Windows XP" {
        insmod chain
        set root=(hd0,3)
    parttool (hd0,3) boot+
        chainloader (hd0,1)/truecrypt.mbr
-------------------------------------------------------------

How did you succeed to make it boot?
I mean, you find a way using drivemap to swap hd0 and hd1: is there a way to
use drivemap for partitions? I suppose it's only for drives.
Is there another workaround? I'll be glad to try it on my system to find the
solution.
Thanks in advance.
Rob

[-- Attachment #2: Type: text/html, Size: 1763 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Booting TrueCrypt Windows Hard Drive
@ 2009-11-26 23:15 Rob Power
  0 siblings, 0 replies; 16+ messages in thread
From: Rob Power @ 2009-11-26 23:15 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]

Hi to all!
I have a similar problem with this configuration:
sda1 : Ubuntu boot Partition
sda2 : Ubuntu Encrypted root
sda3 : Windows XP (other people have same problem with Vista) encrypted with
Truecrypt.
There's a bug report related to this problem here (
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/484102 ) opened by
another user.

With grub-legacy everything works well: It chainloads the XP Truecrypt boot
manager from a dump file. Here's the old menu.lst.
------------------- menu.lst ---------------------------
title Windows XP
rootnoverify (hd0,2)
makeactive
chainloader (hd0,0)/truecrypt.mbr
boot
------------------------------
------------------------------

Now, all what I get from Truecrypt boot loader is this message:
"TrueCrypt Boot Loader: Load damaged! Use Rescue Disk: Repair > Options >
Restore Truecrypt Boot Loader"
Here is my actual grub.cfg entry.
-------------------- grub.cfg ---------------------------
menuentry "Windows XP" {
        insmod chain
        set root=(hd0,3)
    parttool (hd0,3) boot+
        chainloader (hd0,1)/truecrypt.mbr
-------------------------------------------------------------

How did you succeed to make it boot?
I mean, you find a way using drivemap to swap hd0 and hd1: is there a way to
use drivemap for partitions? I suppose it's only for drives.
Is there another workaround? I'll be glad to try it on my system to find the
solution.
Thanks in advance.
Rob

[-- Attachment #2: Type: text/html, Size: 1751 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Booting TrueCrypt Windows Hard Drive
@ 2009-11-13 17:28 Johannes Bauer
  2009-11-13 17:33 ` Johannes Bauer
  2009-11-13 17:56 ` Felix Zielcke
  0 siblings, 2 replies; 16+ messages in thread
From: Johannes Bauer @ 2009-11-13 17:28 UTC (permalink / raw)
  To: grub-devel

Dear list,

I've read a whole lot about problems booting Windows through Grub - but
found no solution at all. By playing around with the options, I found a
solution which *almost* works:

My main (Linux) drive is /dev/sda. / and /boot are on /sda1, i.e. (hd0,1).
My crap (Windows) drive is /dev/sdb. There is only one partition
/dev/sdb1. The whole drive has been encrypted with TrueCrypt.

I've copied the MBR of /dev/sdb to /boot/truecrypt.mbr. Then I used the
following grub entry:

menuentry "Sigh" {
	insmod drivemap
	set root=(hd1,1)
	drivemap (hd0) (hd1)
	drivemap (hd1) (hd0)
	chainloader (hd0,1)/boot/truecrypt.mbr
	boot
}

This gets further than all other tutorials I've read before - it makes
Truecrypt actually ask for my password. After I've entered it
successfully, the Windows logo comes up and it appears to be booting.
However, after about 20 seocnds, it just resets hard. The next time I
boot Windows (7, BTW) that way, I get a message saying that it crashed
during bootup and if I want to use some kind of boot rescue restore
magic. When I say yes, a textmode progressbar comes up. When it reaches
100%, the computer again resets hard.

I have a feeling that I'm almost there but am missing something - can
somebody please help me?

Kind regards,
Johannes



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-11-27 12:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-27 11:42 Booting TrueCrypt Windows Hard Drive Rob Power
2009-11-27 11:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-11-27 12:11   ` Rob Power
2009-11-27 12:21     ` Felix Zielcke
2009-11-27 11:52 ` Rob Power
2009-11-27 12:01   ` Felix Zielcke
  -- strict thread matches above, loose matches on Subject: below --
2009-11-26 23:15 Rob Power
2009-11-13 17:28 Johannes Bauer
2009-11-13 17:33 ` Johannes Bauer
2009-11-13 17:44   ` Duboucher Thomas
2009-11-14 12:16     ` Johannes Bauer
2009-11-13 17:56 ` Felix Zielcke
2009-11-14 12:22   ` Johannes Bauer
2009-11-14 12:56     ` Vladimir 'phcoder' Serbinenko
2009-11-14 13:26     ` Felix Zielcke
2009-11-14 13:48       ` Duboucher Thomas

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.