Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

badger-w

macrumors newbie
Original poster
Aug 13, 2009
6
0
Midlands, UK
Hey folks,

I've had my very first Apple computer - a MacBook Pro - for about 8 months now (and what a computer! Love the design, hardware, operating system... This is definitely an Apple fanboy in the making ;)) and until now I have been using the basic Boot Camp set up + rEFIt to run Windows.

I will be traveling soon and I think it would be a wise idea to properly secure my data. TrueCrypt is installed in both Leopard and Windows, and I want to take advantage of TrueCrypt's hidden operating system feature to encrypt the entire Windows system drive and install a decoy operating system. This seemed straightforward until I learned that TC requires Windows to be the first partition on the drive, and that's where the problems start...

The guide at http://blog.taggesell.de/index.php?/archives/36-TrueCrypt-on-Macbook-Windows-XP.html explains how to do this but the result is an MBR-only drive, and as I understand it Apple's Software Update won't work without a GPT drive and the EFI system partition.

It would seem the only viable way of doing what I want is to stick with the GPT/MBR hybrid that Boot Camp creates, with the Windows volume being the first on the disk (i.e. before the EFI volume). Using gpt, diskutil and GParted, I have come up with the following setup as reported by rEFIt's Partition Inspector:

Code:
*** Report for internal hard disk ***

Current GPT partition table:
 #      Start LBA      End LBA  Type
 1           2048    125829119  MS Reserved
 2      125829160    314310695  Mac OS X HFS+
 3      314574848    624732159  MS Reserved
 4      624732815    625142414  EFI System (FAT)

Current MBR partition table:
 # A    Start LBA      End LBA  Type
 1           2048    125829119  07  NTFS/HPFS
 2 *    125829160    314310695  af  Mac OS X HFS+
 3      314574848    624732159  07  NTFS/HPFS
 4              1    625142414  ee  EFI Protective

MBR contents:
 Boot Code: None

Partition at LBA 2048:
 Boot Code: Windows BOOTMGR (Vista)
 File System: NTFS
 Listed in GPT as partition 1, type MS Reserved
 Listed in MBR as partition 1, type 07  NTFS/HPFS

Partition at LBA 125829160:
 Boot Code: None
 File System: HFS Extended (HFS+)
 Listed in GPT as partition 2, type Mac OS X HFS+
 Listed in MBR as partition 2, type af  Mac OS X HFS+, active

Partition at LBA 314574848:
 Boot Code: Windows BOOTMGR (Vista)
 File System: NTFS
 Listed in GPT as partition 3, type MS Reserved
 Listed in MBR as partition 3, type 07  NTFS/HPFS

Partition at LBA 624732815:
 Boot Code: None (Non-system disk message)
 File System: FAT32
 Listed in GPT as partition 4, type EFI System (FAT)

I think I am almost there, but as can be seen from the above report the MBR partition table is invalid. rEFIt refuses to fix this. :(

Is there a way I can manually edit the MBR table to correct it myself?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.