Link to home
Start Free TrialLog in
Avatar of sshujaat
sshujaat

asked on

How I can copy boot.ini from USB Flash drive, dont have floopy

HI,
Experts, I got laptop from my work, coming up witj NTLDR is missing, I used W2K CD to boot it in R mode and copied ntldr, ntdetect, but when I look at my boot.ini it is pointing to Partition(2), as I read in R mode I cant use edit command, problem is that I dont have floppy dirve in it, I tried USB Flash drive, but when I do map it is not being mapped, but I can see in it in Bios.   Can I use windows repair disk to edit this file?
Avatar of SheharyaarSaahil
SheharyaarSaahil
Flag of United Arab Emirates image

you don't need a floppy to create the boot.ini file using edit.com
just type edit.com and it should bring a blue colored notepad type text editor
type the following text and then save as boot.ini in the root if your c: drive

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
Avatar of matrixnz
matrixnz

You'd also need to change the attributes first, i.e. attrib -r -a -s -h C:\boot.ini then after the changes above re-apply the attributes i.e. attrib +r +a +s +h

Cheers
Avatar of sshujaat

ASKER

Gurus thanks for your help, edit command is not accessible when you boot machine in R (repair) mode from Windows 2000 cd, I found out from microsoft site.  Anyway thanks for your advice.  
ASKER CERTIFIED SOLUTION
Avatar of SysExpert
SysExpert
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks it worked