Computing.Net > Forums > Windows 95/98 > How 2 edit the boot.ini file in dos

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

How 2 edit the boot.ini file in dos

Reply to Message Icon

Original Message
Name: ElderDragon
Date: December 23, 2003 at 12:49:22 Pacific
Subject: How 2 edit the boot.ini file in dos
OS: 98/2000k
CPU/Ram: 600m/256mb
Comment:

I had my computer dual booted with win2000 and win 98. well the 2000 alway's started up if u didn't get to the computer in time so I edited my boot.ini file and switch the 2 arround. and now my computer won't start up. I can get into ms-dos now I just need 2 know where the file is and how 2 edit it. ANY HELP would be awesome. Merry Christmas All.



Report Offensive Message For Removal


Response Number 1
Name: mesich
Date: December 23, 2003 at 13:10:06 Pacific
Reply: (edit)

Hi Elder, hello everyone,

At the C:\>type the following:

attrib -r -a -s -h boot.ini [press enter]
edit boot.ini [press enter]

Best Regards,
Mesich


Report Offensive Follow Up For Removal

Response Number 2
Name: Wired
Date: December 23, 2003 at 13:16:51 Pacific
Reply: (edit)

dragon,

I'm assuming that your primary partition is your NT partition since it loaded that by default. So you need an NTFS bootup disk which can be made with the files from "www.bootdisk.com". Once you've booted with that you should be able to see your boot.ini file with a "dir" command and then you can edit it by typing: "edit boot.ini".


good luck,
wired


Report Offensive Follow Up For Removal

Response Number 3
Name: raincheck
Date: December 23, 2003 at 13:17:13 Pacific
Reply: (edit)

Just so you know in the future, you don't have to edit the boot.ini file to manage the boot menu.
If you get back up and running, boot into Win 2000 and RIGHT click "My Computer", choose the "advanced" tab. Then click "startup and recovery".
From here you can choose which Operating System will be the default, and allow you to set how many seconds you want the menu to stay, to give you the choice to boot to the other one (Win98 in your case).
I hope you made a back up copy of your boot.ini file before you altered it.
Good Luck
raincheck


Report Offensive Follow Up For Removal

Response Number 4
Name: raincheck
Date: December 23, 2003 at 13:35:16 Pacific
Reply: (edit)

On my above post I neglected to say that you have to click "properties" after you right click on "My Computer".
raincheck


Report Offensive Follow Up For Removal

Response Number 5
Name: ElderDragon
Date: December 23, 2003 at 14:53:23 Pacific
Reply: (edit)

Every time I type at the c:\ the commands attrib -r -a -s -h boot.ini [press enter]
edit boot.ini [press enter], it say's bad command. and I couldn't find a Ntboot disk from www.bootdisk.com. what can I do now?? Thank you for all your help so far.. :)


Report Offensive Follow Up For Removal


Response Number 6
Name: raincheck
Date: December 23, 2003 at 17:15:54 Pacific
Reply: (edit)

Make sure you're typing it exactly like Mesich said, because it is NOT a bad command.
Note the spaces, and where there are not spaces.
attrib -r-a-s-h boot.ini (hit enter)
edit boot.ini (hit enter)
Let us know how you do this time...


Report Offensive Follow Up For Removal

Response Number 7
Name: ElderDragon
Date: December 23, 2003 at 17:47:46 Pacific
Reply: (edit)

I'm still getting the same message (Bad command or file name) where do you want me to execute the commands at I am just at the C:\ prompt and I typed exactly. where does the boot.ini file reside.


Report Offensive Follow Up For Removal

Response Number 8
Name: Derek
Date: December 23, 2003 at 17:55:39 Pacific
Reply: (edit)

Are you sure your boot.ini file is still there, those commands are fine?

raincheck did a little typo (don't we all).
You MUST have the spaces each side of -r -h -s -h as given by mesich.

D


Report Offensive Follow Up For Removal

Response Number 9
Name: DAVEINCAPS
Date: December 23, 2003 at 17:59:27 Pacific
Reply: (edit)

If 98 is on the c: partition type this:

path=c:\windows;c:\windows\command

and enter. Then type the:

attrib -s -h -r boot.ini

and enter.



Report Offensive Follow Up For Removal

Response Number 10
Name: ElderDragon
Date: December 23, 2003 at 20:33:19 Pacific
Reply: (edit)

FINALLY!!!
Thank you all so much for your help!

This is what worked:

path=c:\windows;c:\windows\command
and enter.

Then type the:
attrib -s -h -r boot.ini
and enter.

Then edit boot.ini

You are all awesome ~ thank you!


Report Offensive Follow Up For Removal

Response Number 11
Name: ElderDragon
Date: December 23, 2003 at 20:34:01 Pacific
Reply: (edit)

FINALLY!!!
Thank you all so much for your help!

This is what worked:

path=c:\windows;c:\windows\command
and enter.

Then type the:
attrib -s -h -r boot.ini
and enter.

Then edit boot.ini

You are all awesome ~ thank you!


Report Offensive Follow Up For Removal

Response Number 12
Name: DAVEINCAPS
Date: December 23, 2003 at 22:10:08 Pacific
Reply: (edit)

You're welcome. We're glad you got it fixed.


Report Offensive Follow Up For Removal

Response Number 13
Name: raincheck
Date: December 23, 2003 at 22:32:37 Pacific
Reply: (edit)

I'm glad you got that straightened out, I learned from this thread myself.
I hope you use my suggestion in response #3 when you want to alter the boot menu for now on, it's not hard to mess up that boot.ini file.
Happy Holidays!
raincheck


Report Offensive Follow Up For Removal

Response Number 14
Name: mesich
Date: December 23, 2003 at 22:36:58 Pacific
Reply: (edit)

Hi Elder, Wired, Raincheck, Derek, DAVEINCAPS,

Nice to hear you got it fixed.

Happy Holidays Everyone.

Best Regards and Wishes,
Mesich



Report Offensive Follow Up For Removal






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software