Dual-boot, driveletters, and formatting
#1
Posted 23 January 2007 - 02:43 AM
I now want to format (not delete, format) partition C, using the Win2K Setup on the Win2K installation CD. The idea is to eradicate all that I currently have on partition C and to reinstall Win2K and some of my apps on C again. WinXP and the two logical partitions will remain unaltered.
So, in the Setup for Win2K, it'll be easy enough to format C but, in so doing. will the driveletters of the Win2K and WinXP partitions change? Bear in mind that we'd still be in the Setup for Win2K and that therefore we wouldn't have rebooted with the new Win2K yet.
I'm simply wondering if, while still in the Setup, C might become F, and F might become C. Will it?
The sequence would be: format C, install Win2K on C, before then booting back into Win2k.
It seems to me that, if the driveletters do get swapped over, there'll be no way of changing them back (I don't want to involve any third-party utilities).
Or would the fact that I would be formatting the C partition - and specifically not deleting it - preserve the original order of the driveletters? In other words, does deleting only cause the driveletters to change?
#2
Posted 23 January 2007 - 02:09 PM
Why are you dual-booting 2k/XP anyway?
#3
Posted 23 January 2007 - 07:24 PM
#4
Posted 23 January 2007 - 10:26 PM
#5
Posted 26 January 2007 - 08:28 PM
Plus why would you want Win2K and XP on same machine? I could understand if you had win98 or even Millenium.
Xp is basically an updated os of the win2k/NT line as is Vista [NT 6]
#6
Posted 26 January 2007 - 09:17 PM
#7
Posted 27 January 2007 - 02:16 PM
I was hitherto thinking that, with the Win2K Setup completed, it would boot immediately to screen, regardless. But I think it will go instead to the boot menu again, but then fail to actually boot.
Surely, the method I should use should be to ensure that the boot menu is set to default to WinXP instead and so, when Win2K exits its Setup, I should instead let WinXP boot. Then, in WinXP, I should use Windows Explorer to access the root folder of Win2K, use the WinXP installation CD, and transfer the ntldr and ntdetect files across. Then restart the PC and select to boot into Win2K. Do you agree?
As for why I'm dual-booting with Win2K and WinXP, well, I'm (as it were) migrating off of Win2K on to WinXP, having been a Win2K devotee for several years. Really, the main reason why I've recently introduced XP on to my system is that some of my more-recent applications have neither installed properly nor function at best under Win2K, despite the applications being claimed to be also Win2K-compatible. Not only are application-writers making less and less provision for Win2K but also Microsoft themselves are waning in their support for Win2K - even though, historically, Win2K is only about 18 months older than WinXP. So, I've kinda been forced to make the change to WinXP. There are a myriad of other reasons also why I want to keep Win2K for a while yet, but these are very much down to backup design, personal preferences, and niggling differences between the two OSs, and I don't really want to go into all of that in this particular Topic.
#8
Posted 28 January 2007 - 08:00 PM
I decided that, rather than format the root (boot) partition and reinstall Win2K into it, I'd try restoring an earlier image of it. That went okay and it booted the earlier Win2K to screen. I then ran the WinXP installation CD and copied the WinXP versions of ntldr and ntdetect.com to the root of Win2K. But when I then rebooted, I didn't get the full menu of Win2K and WinXP. I only got Win2K and its Command Console. How do I regain WinXP? Clearly, the boot.ini file isn't right, now.
I vaguely recall that you can use the Command Console to fix the bootfile. Can someone remind me how to do that? Remember that, at present, I'm only able to boot into Win2K. I want to get it so that I see the dualboot menu at startup and that WinXP is the default OS.
Actually, the earlier image of Win2K turned out not to be of much use, so later I'll do what I originally intended and completely format the Win2K partition and reinstall Win2K.
#9
Posted 28 January 2007 - 09:20 PM
Either way, the boot files are now obviously wrong, because the menu at bootup is not showing Windows XP at all and I can't therefore boot into WinXP. Is there any way of correcting this?
If I were to restore a WinXP image I made just a day or two ago, would that put matters right, or are the affected boot file(s)actually in a reserved, different part of the hard drive, and therefore not restorable?
Incidentally, there's a 'Make Partition Active' setting in Win2K's Disk Management window (when you right-click on that partition) and at present the WinXP partition is non-active. Does this influence this problem?
Oh and it's Windows 2K's Command Console that's showing at present in the boot menu, alongside 2K itself.
I've just looked at the boot.ini file in Win2K's root and it says:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows 2000 Recovery Console" /cmdcons
Is it possible to actually edit this, to put matters right? If so, how, exactly? Or do I have to somehow do it using the Command Console?
#10
Posted 29 January 2007 - 06:34 AM
FIXMBR - to make the partition bootable
FIXBOOT - IIRC, scans your HD for NT installations and adds them to the boot.ini
I think there's another one as well. FIX something.
You can always just modify the BOOT.INI yourself.
If your XP is on the second partiton then you would just duplicate your 2000 entry but change "partition(1)" to "partition(2)". or "disk" if you have XP on another disk.
#11
Posted 29 January 2007 - 02:20 PM
If I decide to modify Boot.ini, how exactly do I do that? Boot.ini can be viewed in Notepad. So, do I just click on Edit, at the top?
Win2K is on C:\, WinXP is actually on F:\. There are two logical partitions, D and E, in between. I'd like to keep it like that. So, I'm not 100% certain of the required syntax for modifying the boot.ini. Would WinXP be regarded as being on partition (2) or partition (4)?
Here's my stab at what the modified boot.ini would be. This assumes I'd make WinXP the default OS, rather than WinXP:-
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows 2000 Recovery Console" /cmdcons
To change the default OS, would I have to use 'rem' followed by a space, before the existing line?
POSTSCRIPT: I've just found something on the Web that suggests that, if I can boot with the system partition (which I can), I could go to Start/Run and then type
bootcfg /add
Apparently, that causes the system to look for other bootable OSs on the same physical disc and adss them to the boot.ini.
Is bootcfg /add known to work?
#13
Posted 29 January 2007 - 05:51 PM
Interestingly, when I look at boot.ini now, it has the line:
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
I presume that that variation is to give the user a choice of selecting either operating system when the menu's displayed?
Actually, having restored to my more recent Win2K doesn't actually solve the original problem. But I've learnt a fair bit along the way. It rather looks as though my eventual formatting of Win2K and reinstalling it from scratch will render the same tricky result, ie. that although Win2K will then boot, WinXP won't - because Win2K, being the system partition, will not then contain the requisite boot.ini. It looks like the only way I'll be able to manually edit the boot.ini, when the time comes, is to uncover it in Win2K, double-click to open the file in Notepad and then edit it there. I've a few misgivings about that but I suppose I can now spend some time finding out exactly how to do it. I've not edited files like that for decades and can't recall all of the rules.
#14
Posted 30 January 2007 - 12:50 AM
C: Win2K (primary,system)
D: logical
E: logical
F: WinXP (primary)
Would there be any way of simply swapping Win2K and WinXP around? In other words, of putting WinXP on C (making it the system) and Win2K on F? This would need to be done without use of a third-party utility and without losing WinXP.
#15
Posted 01 February 2007 - 07:31 AM
You can also edit boot with line you described but don't forget to save as boot.ini
#16
Posted 01 February 2007 - 03:42 PM
To date, on my PC, I've never run WinXP as the system partition, because WinXP has been a recent addition. So, what Ghost images I do have of WinXP are ones where WinXP is not the system partition. So, if I were to try to restore one of those XP images to the C partition, I'm wondering whether I could ever then get the C partition to boot, quite apart from the fact that F would also contain WinXP and therefore might possibly cause a problem. I could format F before, I suppose, but then I want to avoid that, if at all possible. (Mind you, I could make another image of WinXP, before; I make the images to an external drive).
The thing is that, if I can't get WinXP in C to then boot, I won't be able to make any changes with the bootloader files and with boot.ini, to complete the exercise. Do you agree, or am I missing a trick here, somewhere?
I still keep wondering about 'Mark Partition as Active', in Disk Management. Know what that does, and whether it could be of use here?
#17
Posted 01 February 2007 - 04:53 PM
It must be the first partition on your HD unless your using a 3rd party boot manager to manage your partitions.
I've never had a problem editing Boot.ini if the system isn't bootable since I have my handy BartPE disc. IIRC, you cannot open a text editor from the XP Recovery console but running BOOTCFG should find all instances of NT installed and add them to your boot.ini so that should work fine.
#18
Posted 01 February 2007 - 07:12 PM
The problem, as I see it, is that if I delete the C partition in Win2K Setup, yes, WinXP will probably then take its place but it won't contain those bootloader files (or will it?), and because at that point WinXP won't be bootable, how would I be able to edit boot.ini?
#19
Posted 02 February 2007 - 11:02 PM
In a dual boot environment it will have the line as already mentioned above giving you option to change which to boot into.
This is the boot.ini that you Need on your c: partition - if you don't then if you have a copy anywhere - replace current with dual boot boot.ini You have to do this either in dos started from a boot floppy/cd or a live cd such as Bart's PE
otherwise cut and paste needed line in same spot in new boot.ini and save as boot.ini then do above if it doesn't show change. It may take trial and error-error but it does work.
#20
Posted 03 February 2007 - 01:12 PM

Help










