Solved

Boot.ini and XP/98

Posted on 2003-11-16
6
36,684 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
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 90 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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 an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

830 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