Alright. I have encrypted xp and all with drivecrypt plus pack...
Now i wanna do a dual boot with backtrack if that is possible.
I got this reply from another forum, and i translate:
"A little short how you can do:
You create a partion for windows and install windows there.
Then install truecrypt / drivecrypt and encrypts your hard disk.
Now you have thus tc / dc bootloadern installed. Then you boot up a live disc, type ubuntu, and use dd to copy bootloadern to a file.
something like: dd if = / dev / sda of dcbootloader.raw = bs = 1 count = 512
Then install linux on the free space you have left, you want encrypted, so create a crypto container and has a lvm in there with your root file system, / home and swap, or you run on as usual without encrypting. If you can boot loader so choose grub, or you install it later.
Now you have written over your bootloader, so you will only be able to load linux. When you made it so, copy over dcbootloader.raw to your / boot partition, and add the option in Windows menu.lst, with a chain loader after.
Chainloading with grub is that grub starts running an extra bootloader from a file when you select one of the options in the menu. for it, you should have something similar in configdelen for windows:
chain loader / boot / grub / dcbootloader.raw
, Perhaps you skip to write / boot before, look no guide on the web."
I asked: Where did you get dcbootloader.raw from? And how can it look?
I got this reply:
"dcbootloader.raw copied me with 'dd' command earlier from the hard disk:
dd if = / dev / sda of dcbootloader.raw = bs = 1 count = 512
it loads bootloadern from your mbr, and puts it in a file 'dcbootloader.raw'
When I think that you should put it in / boot, it is not easy as you copy of the file there. You will have a directory called / boot when you installed backtrack. Make sure to follow the guide you sent that describes how to install backtrack 3 with grub."
...
well, have wrote back but the guy is not online right now...
I wonder where he got dcbootloader.raw from? while other pages talk about dcpp.mbr ..
And maybe i should follow this guide instead...
Contents
* 1 Introduction
* 2 Basic Information about the system startup
* 3 How to solve the problem
* 4 If Windows / DCPP on a secondary hard drive
* 5 ToDo
* 6 sources / links
[Edit] Introduction
You have a multi-boot system and encrypt your Windows boot partition? You have the option to partition with DriveCrypt Plus Pack to encrypt, and this opportunity we received. Grub writes in the master boot record (MBR), and if you encrypt GRUB after install in the MBR, you will no longer be possible, the encrypted Windows to start. GRUB because it is not possible from the house, an encrypted Windows partition to start. How to solve this problem, you erfärhst below.
[Edit] Basic Information about the system startup
A brief summary about the MBR and partition table:
The MBR occupies the first 512 bytes (track 0 / Sector 1) hard disk drive. Traditional MBR code has only the localized operating system (the first active partition) and handed over the first sector of this partition the command of execution, which would have loaded the operating system. As always, usually starts the first partition on track 1 / Sector 1 of the bootable disk, which is always some free space between the MBR and the start of the first partition can be released. Normally, the HDD is divided into 63 sectors (the logical, physical knows only the hard drive manufacturer), thus represents 62 sectors * 1 track = 62 * 512 = 31744 bytes to use freely.
Modern bootloader can use this free memory, 512 bytes because really not complicated enough for bootloader are. Grub, for example, writes his "stage 1" in the MBR, "stage 1.5 in the free space after the MBR, which" stage 2 "from the root partition loads. DCPP his data also appear in this space to write. Perhaps these data codes and keys to decrypt the boot partition that is if GRUB without thinking is installed ..
Since GRUB and DCPP their data in the same field write, is the use beidige completely impossible. Grub has a feature which "chain loader" means. This offers the possibility of setting what other files bootloader have saved, and can run. Unfortunately, we would not help because the MBR of DCPP exactly this free space would read, but what GRUB's "stage 1.5" has been overwritten.
[Edit] How to solve the problem
Fortunately, no grub "stage 1.5 installed, without further challenges. Therefore, the earlier mentioned "free" memory GRUB be left untouched and GRUB the data could simply "chainloaden." That, however, has a few drawbacks, since the location of "stage 2" to "stage 1" must be embedded, and if the GRUB files are moved, you might start to be impossible. Therefore should be a LiveCD, which includes GRUB, is ready.
At first we need an image of DCPP MBR's and a backup of the first traces of the disk is also recommended (/ dev / sda with the true hard to replace):
gentoo: / boot # dd if = / dev / sda of = / boot / dcpp.mbr bs = 1 count = 512
gentoo: / boot # dd if = / dev / sda of = / boot / dcpp.backup count = 8 bs = 32256
Next we will install GRUB:
gentoo: ~ # grub
grub> install (hd0, 1) / boot/grub/stage1 (hd0) (hd0, 1) / p boot/grub/stage2 0x8000
That's it! Clearly (hdX, Y) with the use of your partitions. The 0x8000 has no relation to the file system, but rather refers to the memory address, and these should be set at 0x8000. GRUB should now "stage 1" to be installed in the MBR, which "stage 2" of the partition loads, and whose memory is intact. Now is the time to configure GRUB. We edit the / boot / grub / menu.lst as follows:
title Windows XP
rootnoverify (hd0, 0)
makeactive
chain loader (hd0, 1) / boot / dcpp.mbr
boot
title Gentoo 2.6.19
root (hd0, 1)
kernel / boot/2.6.19 root = / dev/sda3 ro
Boot
That was not so hard. But now times ask providers of encryption software, and this would be her hand into the fire and say that it is impossible to sell their products to use with Linux. Well ..
[Edit] If Windows / DCPP on a secondary hard drive
Should the DCPP-Bootauth and Windows to a different hard drive and you just want to boot the MBR, is as follows:
Windows Encrypted title
root (hd1)
map (hd0) (hd1)
map (hd1) (hd0)
Load 1 chain
boot
[Edit] ToDo
I have the Windows Recovery Console uses the MBR to reset my hard drive before I installed DCPP, because it could be that the MBR DCPP the right reads, save it elsewhere and it connects with them. That would mean if GRUB installed before DCPP would have to cover a GRUB screen after boot into Windows with the first pit to appear .. If this is the case, is happiness.
Alternative: For a version of what grub "stage 1.5" yet contains would grub in the boot sector of the Linux partition to install, and another 512 bytes GRUB boot loader can load. Then the problems would not "stage 1.5" to have no longer occur. Nevertheless, was not tested.
[Edit] Sources / links
* Jari Eskelinen, jari.eskelinen (at) iki (dot) fi
* Grub
* DriveCrypt Plus Pack from SecurStar
From de.gentoo-wiki.com/Grub_und_DCPP
Thanks
Would be nice if someone could guide me through it. a little gamefaqs walkthrough![]()



