Hiding partitions from XP and Vista

#1
hokay,

It would be awesome if the Bootloader configuration file had a GUI.
I have tried every possible combination of hard drives and bootloader values with no success.

I really just want to boot into XP with the Vista partition hidden, and boot into Vista with the XP partition hidden.
Can anybody help me out?

Both Vista and XP are loaded fine, and I can boot into both of them, but how do I hide the other partition?

XP is on disk 0 partition 1
Vista is on disk 0 partiton 2

Code:
# NeoSmart NeoGrub Bootloader Configuration File 
# 
# This is the NeoGrub menu.lst file, and should be located at C:\menu.lst 
# Please see the EasyBCD Documentation for information on how to create/modify entries 
# [url]http://neosmart.net/wiki/display/EBCD[/url] 

default 0 
timeout 0 

title Boot XP - Hide Vista 
hide (hd0,2) # SET THIS TO THE VISTA DRIVE 
# Optionally repeat the above entry for all the Vista drives 
chainloader (hd0,1)/ntldr # SET THIS TO THE BOOT PARTITION 
boot
Top
 

Attachments

mqudsi

Mostly Harmless
Staff member
#3
In EasyBCD | Add/Remove Entries | Linux
What's the number of the Vista partition and the drive in that list?
 
#4
Thanks for taking a look at my post.

I do not have linux installed or listed as a selection.

Vista is on drive 0 partition 2 however in the grub console if I type

root (hd0 + tab
it displays:

grub>root (hd0,
Possible Partitions are:
Partition number 0, Filesystem type unknown partition type 0x7
Partition number 1, Filesystemt type unkown partion type 0x7

They are both NTFS
 

mqudsi

Mostly Harmless
Staff member
#5
1 is the one you want.
 
#7
I found this thread on here and it looks like it's the same thing I'm trying to do.

dave.berk
Junior Member

Join Date: Mar 2007
Posts: 1
dave.berk

Hi

I'm looking for a way to dualboot XP and Vista, with a twist. Up till now I used a boot manager called boot-us, which enabled me to hide one XP partition from the other. Problem is, this boot manager uses the MBR. The same one Microsoft Vista just decided to use. so if I install it then Vista cannot boot.
What I'm looking for is:
Either: a way to use vista or easyBCD so apart from managing boots also hide partitions,
Or: a way to install vista BCD not on the MBR, so maybe somewhere else?
Or maybe another solution altogether...


Old March 2nd, 2007, 10:07 AM #2
Computer Guru
Administrator

Default
Hullo Dave, welcome to NeoSmart Technologies.

The only solution is the first option: getting the Vista bootloader (via EasyBCD only - EXCLUSIVE) to hide the Vista partition before booting into XP or vice versa.

This is currently labeled as an ALPHA fix. If you want to test this, please send me a PM.

Many thanks,
CG
 

mqudsi

Mostly Harmless
Staff member
#8
I was referring to the NeoGrub feature - exactly what we're trying to do here :smile:

I think the one you need is hd0,1
 
#9
Right, that makes sense, but when I put that in the menu.lst and select the neogrub bootloader it brings me to the neogrub console, not another bootloader select screen.

Here's my Menu.lst
--
timeout 0
defualt 0

Title Boot XP - Hide Vista
hide (hd0,1)
chainloader (hd0,0) /ntldr
boot
---


So if this code is in the menu.lst it should display an option after selecting neogrub to boot to "Boot XP - Hide Vista" but it doesn't, it just takes me to the grub console.

And if it's telling me that:
"Partition number 1, Filesystem type unkown partion type 0x7"
how can I expect to boot to that?
 

mqudsi

Mostly Harmless
Staff member
#10
Probably because you have "defualt" instead of "default" ?

OK, here's a trick that might work:
Code:
timeout 0
default 0

Title Boot XP - Hide Vista
hide (hd0,1)
find --set-root /ntldr
chainloader /ntldr
boot
Give that a shot.
 
#11
No change.

Is there any other information I could give that would assist in troubleshooting this?

Also perhaps if you could forward me the PM conversation you had with dave.berk that might be helpful.

Thanks again for all your help.
 

mqudsi

Mostly Harmless
Staff member
#12
"No change" means you still get the console?

dave didn't get back to me, so there is no conversation to forward :smile:
 

mqudsi

Mostly Harmless
Staff member
#14
Well, type those commands manually into the console, and see what error it returns.
 
#15
I found a different work around that is not as secure as we would like it but I think it will work for our purposes.

If I edit the registry in each partition to not show the other one it will not show up in Windows Explorer. It's not that the other partition cannot see it, it is just that it will not show up in windows explorer.

I appreciate all your help with this and will be periodically checking how the newgrub software is being updated down the line so we may have the option of using it in our environment.

Best of luck with your software
 

mqudsi

Mostly Harmless
Staff member
#16
Thanks Billy, and I'm really sorry you couldn't get it to work.

Just so you know: this won't fix the system restore bug.