editing boot.ini

G

Guest

I have a FAT32 hard drive split into 3 partitions: C:\ has win xp pro
installed, D:\ is currently blank and E:\ to be used for data/backups etc

I had a problem with xp not booting, so I ran the set-up cd and recovery
console. I also disconnected everything from the m/board (graphics card,
memory, IDE cables etc).

Now, xp is running fine again. My only problem is that I am left with a
boot-ini that looks like this:

[Boot Loader]
Timeout=5
Default=C:\$WIN_NT$.~BT\BOOTSECT.DAT
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /noexecute=optin /fastdetect
C:\ = "Previous Operating System on C:"
C:\$WIN_NT$.~BT\BOOTSECT.DAT = "Windows XP Installation/Upgrade"

I don't want to be presented with any choices on boot up.... I just want the
PC to boot straight into xp.

Questions:
1. Can someone post back how my boot.ini should look to achieve this?
2. Can someone tell me how to edit boot.ini (when I try "edit boot.ini" from
the command prompt, I am told that boot.ini is a read only file)?

Many thanks!
 
R

Rick Rogers

Hi,

2) To edit boot.ini, remove the read only attribute

attrib -r C:\boot.ini

1) It'd be easier to simply delete boot.ini (or rename it) from the Recovery
Console, then run bootcfg /rebuild from the
command prompt. A standard boot.ini should look like this (the timeout= does
not apply as there are no other os's to choose from):

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect /NoExecute=OptIn

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org
 
R

Ron Sommer

Another option:
Start, Run, Msconfig, Boot.ini tab, check Check all boot paths.
--
Ron Sommer

: Hi,
:
: 2) To edit boot.ini, remove the read only attribute
:
: attrib -r C:\boot.ini
:
: 1) It'd be easier to simply delete boot.ini (or rename it) from the
Recovery
: Console, then run bootcfg /rebuild from the
: command prompt. A standard boot.ini should look like this (the timeout=
does
: not apply as there are no other os's to choose from):
:
: [boot loader]
: timeout=30
: default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
: [operating systems]
: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
: Professional" /fastdetect /NoExecute=OptIn
:
: --
: Best of Luck,
:
: Rick Rogers, aka "Nutcase" - Microsoft MVP
:
: Windows help - www.rickrogers.org
:
: : >I have a FAT32 hard drive split into 3 partitions: C:\ has win xp pro
: > installed, D:\ is currently blank and E:\ to be used for data/backups
etc
: >
: > I had a problem with xp not booting, so I ran the set-up cd and recovery
: > console. I also disconnected everything from the m/board (graphics card,
: > memory, IDE cables etc).
: >
: > Now, xp is running fine again. My only problem is that I am left with a
: > boot-ini that looks like this:
: >
: > [Boot Loader]
: > Timeout=5
: > Default=C:\$WIN_NT$.~BT\BOOTSECT.DAT
: > [Operating Systems]
: > multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
: > Professional" /noexecute=optin /fastdetect
: > C:\ = "Previous Operating System on C:"
: > C:\$WIN_NT$.~BT\BOOTSECT.DAT = "Windows XP Installation/Upgrade"
: >
: > I don't want to be presented with any choices on boot up.... I just want
: > the
: > PC to boot straight into xp.
: >
: > Questions:
: > 1. Can someone post back how my boot.ini should look to achieve this?
: > 2. Can someone tell me how to edit boot.ini (when I try "edit boot.ini"
: > from
: > the command prompt, I am told that boot.ini is a read only file)?
: >
: > Many thanks!
: >
: >
:
 
R

Rick Rogers

Hi Ron,

That may not help, as both entries point to C:\, so they may both be seen
as valid.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org
 
R

Ron Sommer

Hi Rick,

Hopefully adamh will let us know the outcome.

I count three entries pointing to C or the partition that would be C.
--
Ron Sommer

: Hi Ron,
:
: That may not help, as both entries point to C:\, so they may both be seen
: as valid.
:
: --
: Best of Luck,
:
: Rick Rogers, aka "Nutcase" - Microsoft MVP
:
: Windows help - www.rickrogers.org
:
: : > Another option:
: > Start, Run, Msconfig, Boot.ini tab, check Check all boot paths.
: > --
: > Ron Sommer
: >
: > : > : Hi,
: > :
: > : 2) To edit boot.ini, remove the read only attribute
: > :
: > : attrib -r C:\boot.ini
: > :
: > : 1) It'd be easier to simply delete boot.ini (or rename it) from the
: > Recovery
: > : Console, then run bootcfg /rebuild from the
: > : command prompt. A standard boot.ini should look like this (the
timeout=
: > does
: > : not apply as there are no other os's to choose from):
: > :
: > : [boot loader]
: > : timeout=30
: > : default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
: > : [operating systems]
: > : multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
: > : Professional" /fastdetect /NoExecute=OptIn
: > :
: > : --
: > : Best of Luck,
: > :
: > : Rick Rogers, aka "Nutcase" - Microsoft MVP
: > :
: > : Windows help - www.rickrogers.org
: > :
: > : : > : >I have a FAT32 hard drive split into 3 partitions: C:\ has win xp pro
: > : > installed, D:\ is currently blank and E:\ to be used for
data/backups
: > etc
: > : >
: > : > I had a problem with xp not booting, so I ran the set-up cd and
: > recovery
: > : > console. I also disconnected everything from the m/board (graphics
: > card,
: > : > memory, IDE cables etc).
: > : >
: > : > Now, xp is running fine again. My only problem is that I am left
with
: > a
: > : > boot-ini that looks like this:
: > : >
: > : > [Boot Loader]
: > : > Timeout=5
: > : > Default=C:\$WIN_NT$.~BT\BOOTSECT.DAT
: > : > [Operating Systems]
: > : > multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
: > : > Professional" /noexecute=optin /fastdetect
: > : > C:\ = "Previous Operating System on C:"
: > : > C:\$WIN_NT$.~BT\BOOTSECT.DAT = "Windows XP Installation/Upgrade"
: > : >
: > : > I don't want to be presented with any choices on boot up.... I just
: > want
: > : > the
: > : > PC to boot straight into xp.
: > : >
: > : > Questions:
: > : > 1. Can someone post back how my boot.ini should look to achieve
this?
: > : > 2. Can someone tell me how to edit boot.ini (when I try "edit
: > boot.ini"
: > : > from
: > : > the command prompt, I am told that boot.ini is a read only file)?
: > : >
: > : > Many thanks!
: > : >
: > : >
: > :
: >
:
 
R

Rick Rogers

'Twould be interesting, Ron, and yes, I count 3 as well (when I referred to
"both", I was thinking about the ones to be removed).

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org

Ron Sommer said:
Hi Rick,

Hopefully adamh will let us know the outcome.

I count three entries pointing to C or the partition that would be C.
--
Ron Sommer

: Hi Ron,
:
: That may not help, as both entries point to C:\, so they may both be
seen
: as valid.
:
: --
: Best of Luck,
:
: Rick Rogers, aka "Nutcase" - Microsoft MVP
:
: Windows help - www.rickrogers.org
:
: : > Another option:
: > Start, Run, Msconfig, Boot.ini tab, check Check all boot paths.
: > --
: > Ron Sommer
: >
: > : > : Hi,
: > :
: > : 2) To edit boot.ini, remove the read only attribute
: > :
: > : attrib -r C:\boot.ini
: > :
: > : 1) It'd be easier to simply delete boot.ini (or rename it) from the
: > Recovery
: > : Console, then run bootcfg /rebuild from the
: > : command prompt. A standard boot.ini should look like this (the
timeout=
: > does
: > : not apply as there are no other os's to choose from):
: > :
: > : [boot loader]
: > : timeout=30
: > : default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
: > : [operating systems]
: > : multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
: > : Professional" /fastdetect /NoExecute=OptIn
: > :
: > : --
: > : Best of Luck,
: > :
: > : Rick Rogers, aka "Nutcase" - Microsoft MVP
: > :
: > : Windows help - www.rickrogers.org
: > :
: > : : > : >I have a FAT32 hard drive split into 3 partitions: C:\ has win xp
pro
: > : > installed, D:\ is currently blank and E:\ to be used for
data/backups
: > etc
: > : >
: > : > I had a problem with xp not booting, so I ran the set-up cd and
: > recovery
: > : > console. I also disconnected everything from the m/board (graphics
: > card,
: > : > memory, IDE cables etc).
: > : >
: > : > Now, xp is running fine again. My only problem is that I am left
with
: > a
: > : > boot-ini that looks like this:
: > : >
: > : > [Boot Loader]
: > : > Timeout=5
: > : > Default=C:\$WIN_NT$.~BT\BOOTSECT.DAT
: > : > [Operating Systems]
: > : > multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
: > : > Professional" /noexecute=optin /fastdetect
: > : > C:\ = "Previous Operating System on C:"
: > : > C:\$WIN_NT$.~BT\BOOTSECT.DAT = "Windows XP Installation/Upgrade"
: > : >
: > : > I don't want to be presented with any choices on boot up.... I
just
: > want
: > : > the
: > : > PC to boot straight into xp.
: > : >
: > : > Questions:
: > : > 1. Can someone post back how my boot.ini should look to achieve
this?
: > : > 2. Can someone tell me how to edit boot.ini (when I try "edit
: > boot.ini"
: > : > from
: > : > the command prompt, I am told that boot.ini is a read only file)?
: > : >
: > : > Many thanks!
: > : >
: > : >
: > :
: >
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top