JohnS Posted January 11, 2006 Posted January 11, 2006 Hi,I was experimenting, but clearly my knwolegde is not enough to do it.I have two hard-drives.On drive 1 I had installed Windows 98 - C: (fat 32)On drive 2 I had installed XP - H: (NTFS)As I installed XP after 98, XP installed a boot selector which allowed me to select the OS.Now I decided to format C: and re-install 98.The result is that 98 installed it's own boot loader that does not recognize XP (now I know all this because after the desaster I googled for it).How can I have back the boot selector that allows me to choose between 98 and XP without having to re-install XP?I searched the web but there is so many information that I couldnt find a clear walkthrough.Thanks.
LLXX Posted January 11, 2006 Posted January 11, 2006 There are the fixboot and fixmbr commands... but those only work if you can boot into XP.What about a Repair Install from the XP CD?
JohnS Posted January 11, 2006 Author Posted January 11, 2006 I don't have XP here with me, just the 98 CD.And I also can't boot into XP.Aren't there any tools that I can grabe from internet and use?
atomizer Posted January 11, 2006 Posted January 11, 2006 (edited) you'll have to do some searching, but i think you can just make a very simple edit to 'boot.ini' (in your 98 installation) to get your boot selection back. here's a generic copy of a 'boot.ini', for a single installation:[boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS[operating systems]multi(0)disk(0)rdisk(0)partition(1)\OS="Microsoft Windows XP Professional" /fastdetectand here's a sample 'boot.ini' for a dual boot, XP and ME, for which each OS resides on a different hard drive (a different physical drive, not a different partition on one drive):[boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS[operating systems]multi(0)disk(1)rdisk(0)partition(1)\WINDOWS="Windows XP Professional" /fastdetectmulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows ME" /fastdetecthope this helps.another quick way to boot XP may be to manually select the boot volume in BIOS. rather than making changes to BIOS, there may be a key that you press which will ask you what drive you want to boot from (in my case it's 'F11). typical choices are CD/DVD drives, USB (if something is plugged in, like a flash drive), floppy and your hard drives. here you'll be able to select any recognized drive, regardless of whether it has the necessary files to boot windows. Edited January 11, 2006 by atomizer
LLXX Posted January 12, 2006 Posted January 12, 2006 Changing boot.ini won't work, since NTLDR reads the boot.ini to determine the OSs to boot, but NTLDR is loaded by the boot sector which has been overwritten with the 98 one.Is it possible to run FIXBOOT.EXE after booting into 98? If it is, then your problem is solved.
JohnS Posted January 13, 2006 Author Posted January 13, 2006 (edited) Thanks for your precious help, guys.With your help, the XP Cd that I finaly could get from home and this post:Unable to boot WindowsI'd do all of the following in RC:bootcfg /rebuildfixbootfixmbrand check that there is a ntldr and ntdetect.com in C:\ .I managed to get XP back.But I lost Windows 98 boot. What I did:1- Copied ntldr and ntdetect.com from a computer with XP installed and copied them to C: (where I have windows 98 installed)2- Created boot.ini from atomizer post, like this:[boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS[operating systems]multi(0)disk(0)rdisk(1)partition(3)\WINDOWS="Windows XP Professional" /fastdetectmulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows 98" /fastdetect»»»»»»»»»»»»»»»»»Edited because of a typo«««««««««««««««««««««««3- Executed Recovery Console and typed "bootcfg /rebuid" & "fixboot". I did not execute fixmbr because it showed a frighting warning When I restarted the computer it showed the two choices. When I choose Windows XP it started normaly.But when I choose Windows 98 it gave me a message saying that a file called hal.dll was missing in \Windows\System32.So I booted XP, copied hall.dll from XP partition to 98 partition.Restarted computer and tried again to choose again 98.It gave me a message that ntoskrnl.exe was missing in \Windows\System32.So I booted XP, copied ntoskrnl.exe from XP partition to 98 partition.Restarted computer and tried again to choose again 98.It gave me a general error, telling me to contact support.So I ask: how can I boot Windows 98? Edited January 13, 2006 by JohnS
atomizer Posted January 13, 2006 Posted January 13, 2006 i don't know, but there's a typo in the XP line...multi(0)disk()rdisk(1)partition(3)\WINDOWS="Windows XP Professional" /fastdetectdisk()
LLXX Posted January 13, 2006 Posted January 13, 2006 (edited) Windows 98 is not an NT-based OS, and thus does not boot via NTOSKRNL.EXE. The fact that you had to copy the XP kernel over to 98 should already be a sign something is wrong.The correct syntax should beD:\="Windows 98"instead ofmulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows 98" /fastdetect Edited January 13, 2006 by LLXX
JohnS Posted January 13, 2006 Author Posted January 13, 2006 (edited) Atomizer,Yes, there was a typo. I edited the post and corrected it. Thanks.The correct syntax should beD:\="Windows 98"instead ofmulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows 98" /fastdetectSorry, but why D:, if I have Windows 98 installed on C:, which is the firts partition of the first hard disk? Edited January 13, 2006 by JohnS
Nepali Posted January 14, 2006 Posted January 14, 2006 Process1L 100 2 0 1N C:\BOOTSECT.DOSR BX0R CX200WQsetup 98 after windows XPsave upper text from (L.....Q) as read.scrcreat backup of X:\bootsect file (X: is ur root drive)run debug<read.scrrun xp setupchoose repairchoose consoltypw admin passwordrun fixboot commandrebootenjoy dual bootsecond Processu need to install third party software likeparagon boot manageros selectorbootstar etcDo not proceed if u don't know what u r going to do...
jaclaz Posted January 14, 2006 Posted January 14, 2006 (edited) Hey guys, why don't you just refrain from posting "random" hints?@JohnSRead these posts of mine:http://www.msfn.org/board/index.php?showtopic=51016http://www.msfn.org/board/index.php?showtopic=33030http://www.msfn.org/board/index.php?showtopic=25365get yourself bootpart:http://www.winimage.com/bootpart.htmand/or read these:http://thpc.info/dualboot.htmljaclaz Edited January 14, 2006 by jaclaz
JohnS Posted January 15, 2006 Author Posted January 15, 2006 Success! Thank you all.Thanks specially to jaclaz Just read your posts and http://thpc.info/dualboot.htmlCreated a new bootsect.dos with their utility, corrected my boot.ini, typed fixboot at the recovery console and voila.And most important, learned something new.It's just a pitty that when I googled for "dual boot", that site didn't came as the first hit.Once again, thanks.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now