Boot.ini and XP/98

Hi Everybody

I (up until recently) had a dual boot system running 98 and XP.

I've had to reinstall XP (actually, do a recovery with the CD) and now I can only boot XP.

I know that in order to fix this i need to edit boot.ini or something, but i don't want to just edit it willy-nilly in case i stuff things up (which i have a habit of doing!)

So basically, i would like to know how to write a working boot.ini file , and where to put it in the system.

Something that might be of assistance:

I have two hard drives, a 20GB IDE and an 80GB SATA
The SATA is partitioned into two: approx 10GB for win98 and the rest for XP.
Naturally, the win98 is C: but the XP is E:\
(my 20GB data drive is D:)

Thanks, Gonzaria

LVL 1
gonzariaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CrazyOneCommented:
Do you see a boot menu like you use to? If not then

Right click on My Computer
Select Properties
Click the Advanced tab
Click the Settings button under the Startup and Recovery section
Click the Edit button

or

Editing the boot.ini File
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ddtools/hh/ddtools/bootini_4elv.asp

To edit the boot.ini file in Notepad

Start Windows Explorer. Go to Tools | Folder Options | View. Make sure that Show Hidden Files and Folders is selected, and Hide File Extension for Known File Types is cleared.
Go to the root directory of the boot volume of your computer (on single-boot machines, usually C:\). Right-click on boot.ini. Select Properties, and remove the read-only attribute of this file. Click OK.
Double-click the file icon to start Notepad with boot.ini loaded.
If you are using an MS-DOS® Command Prompt window, use the following commands instead of steps 1, 2, and 3:
c:
cd \
attrib -s -h -r boot.ini
notepad boot.ini

Edit the file. (For a description of the boot.ini syntax, see Contents of the boot.ini File.)
Save the boot.ini file and quit Notepad. (You do not have to restore the original file attributes.)
Shut down the computer and restart Windows.


Then add this line
C="Windows 98"
CrazyOneCommented:
If you do see a boot menu and Win98 is listed but it won't boot then

Repairing the Windows® XP Boot Loader
http://www.dougknox.com/xp/tips/xp_repair_9x.htm 

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CrazyOneCommented:
In that link I just posted just do this if you do see the boot menu but Win98 won't boot

Repairing the Windows® XP Boot Loader

1) Create a Win98/Me Startup Disk
2) Create a Notepad file with the following entries, exactly as shown:

L 100 2 0 1
N C:\BOOTSECT.DOS
R BX
0
R CX
200
W
Q

3) Save the file to the Win98/Me Startup Disk as READ.SCR
4) Boot the computer with the Win98/Me Startup Disk and at the A: prompt type

            DEBUG <READ.SCR

Steps 1 - 4 create the BOOTSECT.DOS file needed to boot Win98/Me. For your convenience, you can download READ.SCR here.  I suggest you use right click and Save As.  You may need to use the ATTRIB C:\BOOTSECT.DOS -S -H -R command if BOOTSECT.DOS already exists and you get an error when trying to recreate it.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

gonzariaAuthor Commented:
Hi CrazyOne,
Well, I tried the things in your first comment, I could boot 98 after that,  and i did the FIXBOOT thing in the recovery console.
But i went back to XP and it had changed the letters of my drives
Anyway, while trying to change them back, i rooted up my whole system (don't ask how!!??) and couldn't boot to ANYTHING, so i did some pqmagic, fdisk and formatting stuff and then reinstalled both operating systems anyway. (sigh)
Thankfully i make backups.
But that's good reference material for future....and now i can boot to both operating systems again, so thank you.

Gonzaria

p.s. sorry bout the stingy points, i don't have many to be giving out and i have the distinct feeling i will need to ask more questions in the near future (sigh again)
gonzariaAuthor Commented:
p.p.s My IDE and SATA hard drives played havoc with each other, just the way that DOS sees them, and then the way the two operationg systems see them...somewhere along the line my IDE set itself as the boot drive, which it really really was not meant to be!

i unplugged my (backup) IDE while installing both OSes so they didn't try anything funny and try to install to that instead of the SATA (where everythin was meant to go!)

Just thought that might interest/bore you!?
CrazyOneCommented:
:)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.