Main Page | Report this Page
Linux Forum Index  »  Linux Miscellaneous Topics  »  grub4dos + mbr + partitions...
Page 1 of 1    

grub4dos + mbr + partitions...

Author Message
smerf...
Posted: Tue Oct 27, 2009 3:45 pm
Guest
I have a problem because I would like to hide partitions in some untypical way.
I boot my computer with grub4dos and choose one from two option (2 operation systems).
My aim is to have different partition table according to which system I chose to boot.

I don't know if in theory of booting, "original" partition table (from hdd) is previously
loaded before grub4dos run. I suppose that it is, because in grub we could write ex. (hd0,1)
so partitions should be known. So I assume that I should reload partition table.

To do this, I exported my MBR to a file and try to load it during running of grub4dos.

Here is my menu.lst:
-----------------------------
title Windows Vista
root (hd0,0)
makeactive (hd0,0)
chainloader (hd0,0)/bootmgr

title Windows XP Experimental
cdrom --init
map --mem /tc.iso (hd32)
map --hook
makeactive (hd0,2)
chainloader /file.mbr
chainloader (hd32)
-----------------------------

tc.iso is truecrypt

The result is that the system Vista and XP boot, but all of them have the same partitions.
So partition table didn't reload.

Why to do this ?
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Tue Nov 24, 2009 9:31 pm