|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
Join Date: Mar 2004
Posts: 32
|
Changing boot.ini in dos mode
Anyone know how to edit boot.ini from DOS mode. Everytime I boot up pc the machine goes into safe mode and will not log me onto the pc. I can gain access into DOS and want to change the boot from safe to normal. Last known just takes me to safe mode everytime.
|
|
|
|
|
|
#2 |
|
Member (10 bit)
|
What OS?
If you are using WinXP/Win2k in FAT32 mode, all you ned to do is to go to the DOS prompt and type the following: cd\ attrib - s -h -r boot.ini edit boot.ini If you are using either Win2K in NTFS, you will need to boot from a bootable CD and login at the command prompt as administrator. The same goes for XP, except here you can access the Recovery Console from the bootable CD and then log in as Administrator, after which you can reset the attributes for boot.ini and the edit it using the commands given above.
__________________
[FONT=Arial][SIZE=1][COLOR=Navy][CENTER]Intel Core2Quad Q9550; EP45-UD3R (rev 1.1); 4x2GB DDR2 800MHz; eVGA e-GeForce 9600GT KO 512MB DDR3; Seagate ST31000528AS 1T, Seagate ST3500320AS 500GB SATA II, Seagate ST3500418AS 500GB SATA II; LG GH22-NS50 DVD-RAM x 2; DELL SP2208WFP; Windows 7 Ultimate 64-Bit Palm LifeDrive Mobile Manager |
|
|
|
|
|
#3 |
|
Member (6 bit)
Join Date: Mar 2004
Posts: 32
|
I tried exactly what you suggested and it allowed me to changes the attributes but did not recongnize edit boot.ini as a command.....something I did incorrectly?
|
|
|
|
|
|
#4 |
|
Member (12 bit)
Join Date: Jul 2002
Location: Easthampton, Massachusetts
Posts: 2,633
|
Windows XP/2K does not have DOS..the closest it has to DOS is a command prompt.
|
|
|
|
|
|
#5 |
|
Member (10 bit)
|
What File system (FAT32/NTFS)?
|
|
|
|
|
|
#6 |
|
Member (6 bit)
Join Date: Mar 2004
Posts: 32
|
ntfs
|
|
|
|
|
|
#7 |
|
Member (10 bit)
|
[hr]
Do you have another computer that you can use? and a floppy disk and drive in this machine with the problem? Right then: If you have been able to change the attributes for boot.ini, insert a floppy disk in your drive and then type: copy boot.ini a: This will copy the file to the floppy. Now simply put the floppy in your other machine, edit it as necessary and copy it back to the problem machine. Not a very elegant solution, I admit, but it should work, unless the gurus on the forums have a better method. [/hr] Please disregard the above. Was not thinking straight. If you can change the attributes for boot.ini, do as follows: type cd c:\windows\system32 at the prompt. This will bring up the editor window. Now press ALT+F+O to bring up the oen dialog. Here type c:\boot.ini to open boot.ini in the editor. Make your changes and then press ALT+F+S to save the file. Now press [b]ALT+F+X[/] to exit the editor. Reboot your system. Last edited by pillainp; 05-17-2004 at 01:11 PM. |
|
|
|
|
|
#8 |
|
Member (6 bit)
Join Date: Mar 2004
Posts: 32
|
The machine in question is a dell latitude d600 which does not have a floppy drive included. I made a change under msconfig to boot in safe mode and the machine does not recognize the admin pw or the local user. Plus, I belong to a work domain and I do not see that on the log on to windows screen. I was hoping to change the start mode back to normal by manipulating the boot.ini but no success.
|
|
|
|
|
|
#9 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Ok here's the thing, you can create a new boot.ini file, but you cannot edit the file from the command line interface.
this is what I would recommend .. get to your command prompt and then change teh attribs for the file boot.ini as was stated before. here's how to proceed (bold text is the commands you should type as shown, small font text explains what we are doing here) ren boot.ini boot.tmp this renames your boot.ini to boot.tmp type boot.tmp this dumps the contents of the file boot.tmp (your former boot.ini) on the screen for your reference. Helpful to see and type copy con boot.ini this is an obscure copy command extension for "creating" a file Now type out the new boot.ini file EXACTLY as it is supposed to be, press Enter where a new line is to appear etc. Now when you want to end typing your new file, and save the contents Press CTRL+Z... you should see a ^Z appear on screen, that is the processor for SAVE. Simply press Enter after that and you should see that 1 file was saved. Now to be absolutely sure you can write: type boot.ini and see if the new boot.ini is as you like it. If all is well end with this: attrib +s +h +r boot.ini Last edited by Statica; 05-17-2004 at 07:33 PM. |
|
|
|
|
|
#10 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Check the screen shot for a better idea
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|