PDA

View Full Version : dualboot kali with a truecrypt windows



tom
2013-03-27, 16:23
I used this method to dualboot kali with a truecrypt windows using grub2.


Copy the rescue ISO to /boot and name it truecrypt.iso


sudo apt-get install syslinux
sudo cp /usr/lib/syslinux/memdisk /boot

Add the following to /etc/grub.d/40_custom

# Windows with TrueCrypt
menuentry "Microsoft Windows" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
linux16 ($root)/memdisk iso raw
initrd16 ($root)/truecrypt.iso
}
the 3 means that the /boot dir is on partition 3 from hd0 (use fdisk -l to check if you're not sure anymore


update-grub

Daemon_RJ
2013-04-07, 21:39
Hi Forgive me my ignorance.

The "rescue ISO" to which you refer is generated by when I do Truecrypt encryption of HD?

I have 03 partitions on my HD:

/ dev/sda1 (My Windows 7);
/ dev/sda2 (Ext 4 with Kali linux) and
/ dev/sda3 (Swap)

How would my item 3? Remain the same as they put up?

Sorry for grammar mistakes. I'm using google translator.

Tank's

tom
2013-04-09, 09:28
The "rescue ISO" to which you refer is generated by when I do Truecrypt encryption of HD?
Yes that's the ISO I'am referring to.


How would my item 3? Remain the same as they put up?
I'am not sure if i understand you question here but i presume that you mean if you have to use msdos3
put your
fdisk -l output here and tell me de disk sizes I'll tell you which one it is