Solved

Boot.ini and XP/98

Posted on 2003-11-16
6
36,657 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
  • 4
  • 2
6 Comments
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
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 90 total points
Comment Utility
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
Comment Utility
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
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
LVL 1

Author Comment

by:gonzaria
Comment Utility
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
Comment Utility
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
Comment Utility
:)
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now