I'm Dan said:
Sid, your assumption that editing "the boot.ini for each partition so that
(in theory) each knows *only* about it's own partition" is wrong. Did you
read my Notes section at
www.goodells.net/multiboot? After you have the
first Win2K installation completed, run regedit and navigate to the
[HKEY_LOCAL_MACHINE\System\MountedDevices] key. Delete all entries under
this key. Now do your cloning from a DOS boot. When the OS is booted
again, it will scan the system and regenerate the entries in the
[MountedDevices] key, so you must do the cloning from DOS to make sure the
key is still blank.
Here is why the [MountedDevices] key is crucial. Win2K generates a unique
signature for each partition and associates drive letters to those
signatures. The sig for partition 1 will be different than the sig for the
clone's partition. Your original Win2K had already associated the letter C:
with sig1, and that fact was recorded in the registry -- the same registry
that you cloned to part2. Now, when you booted part2, the registry already
knew C: went with sig1, and lo and behold, there's still a partition in the
system with the same sig1 (even though it may be hidden, Win2K knows it's
there), so it calls that C: and the new partition gets another drive
letter -- in your case, K:. The solution is to force Win2K to "forget" that
C: goes with sig1 by deleting the registry key. Clone the partition with
the registry key clear. When you then try to boot part2, the new Win2K will
regenerate the partition signatures and build new drive letter associations.
If part1 is hidden, it won't get a drive letter and part2 will be allocated
C:, just as you want.
Note that with WinXP, clearing the [MountedDevices] key is usually enough.
Win2K seems to be more fragile, though -- perhaps due to the paging file
still trying to use the other partition. I'm usually able to get it to fix
itself by booting into safe mode, which allows Win2K to fix the registry key
and paging file, then rebooting into normal mode. If that doesn't work, try
moving the paging file to a neutral partition before making the clone.
Thanks to this, Dan I've now got two win2K partitions which will each
boot separately as the c-drive with the alternative partition being
invisible in each case. Not only that, I'm managing it via BootMagic.
For the record this is what I did:
1. First drive empty, second drive had multiple data partitions.
2. Create 15G FAT32 partition on first drive (partition-1) and install
win2K. Do the necessary to bring this up to baseline (windows update,
install drivers, virus scanner, basic utilities etc) including all
necessary reboots.
3. Point the page file to a partition on the second drive. Reboot
4. Clear the HKEY_LOCAL_MACHINE\System\MountedDevices key.
5. Reboot to dos version of Partition Magic. Copy the win2k partition
(copy is partition-2). Change the partion label on the copy (it gets
*very* confusing otherwise). Set partition-1 active.
6. Boot to partition-1 then reboot to Partition Magic (DOS)
7. Set partition-2 active, then reboot to partition-2.
(At this point, win2K starts in each case with *both* partitions shown
in the windows boot manager. As long as you choose the partition
corresponding to the one set active in PM, all is well and the
relevant partition will show up as the c-drive, the other partition
being hidden. However, choosing the opposite partition will result in
both partitions showing up, with partition-2 being assigned a later
drive letter whether or not it is the boot drive. Moreover, rebooting
and selecting the correct, appropriate partition from the windows boot
manager didn't seem to necessarily correct this situation)
For this reason, I re-performed steps 1 to 5 then:
8. Boot to partition-1, edit boot.ini so that only the partition-1
entries are there.
9. Reboot to PM (DOS) set partition-2 active.
10. Reboot to partition-2, edit boot.ini so that only the partition-2
entries are there.
(At this point I can make the required partition active in PM, then
reboot and the appropriate partition boots automatically - without the
windows boot manager - and shows up as the c-drive. The other
partition is not visible).
This is exactly where I wanted to be .... except for the hassle of
loading PM to change the active partition each time. So,
notwithstanding the warnings about the incompatibility of BootMagic
(at this stage I considered the whole setup as experimental anyway):
11. Boot partition-1 and install BootMagic. Configure it for the two
partitions.
12. Reboot and test on both partitions .... everything works fine and
appears to be stable.
Dan, Alan, I'd appreciate any comments you have on the above if you
think I'm kidding myself somewhere or can see any dangers. In
particular I'd like to find out more about the reported
incompatibility of BootMagic since it appears to be working for me. It
may be that it's incompatible in a respect that I haven't rubbed up
against (yet).
What would you think were the posibilities of adding a win-98
partition on the first drive to this setup?