Tomislav Vucic wrote:
Hello, I found GRUB very helpfull, but I need to do one more thing, but how???

first of all I have 3 OS-s (2 of them are win xp, plz don't ask why, and third is Ubuntu 6.06 as default for booting)

Questions:
*How to hide one xp partition from another with grub?
**Is it possible to do so if I have only one hard disk? Or is it somehow connected with it?
Yes.

Check the hide and unhide commands.

It would be something as this:

title Boot 1
unhide (hd0,0)
hide (hd0,1)
rootnoverify (hd0,0)
chainloader +1
boot

title Boot 2
unhide (hd0,1)
hide (hd0,0)
rootnoverify (hd0,1)
chainloader +1
boot


The problem with some xps is that even if you do this trick they remember the partitions that were before the hiding. I think there's a solution about editing I don't know what about the registry.

Or... if you do not mind working... you hide the 2nd windows.
You install the 1st windows. You hide the 1st windows.
And then you install the 2nd windows. Then... you use these commands
from grub console and you're done.


If you do not mind reinstall Windows you can recover your grub with my Super Grub Disk (http://adrian15.raulete.net/grub/)

You can also use Super Grub Disk to hide and unhide partitions and boot whatever you want to (in theory, I haven't tried it myself in a real system).

The option is found inside the Special Boot menu. Hide and Unhide and... boot option I think it is called.


adrian15


_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to