?
Solved

Boot.ini and XP/98

Posted on 2003-11-16
6
Medium Priority
?
36,719 Views
Last Modified: 2008-03-03
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

0
Comment
Question by:gonzaria
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 44

Expert Comment

by:CrazyOne
ID: 9761758
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"
0
 
LVL 44

Accepted Solution

by:
CrazyOne earned 270 total points
ID: 9761761
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 
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 9761769
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.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:gonzaria
ID: 9768792
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)
0
 
LVL 1

Author Comment

by:gonzaria
ID: 9768800
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!?
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 9769017
:)
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question