• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1349
  • Last Modified:

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?
0
sshujaat
Asked:
sshujaat
1 Solution
 
SheharyaarSaahilCommented:
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
0
 
matrixnzCommented:
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
0
 
sshujaatAuthor Commented:
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.  
0
 
SysExpertCommented:
Boot with a Linux bootable Live CD ( knoppix or Ubuntu ).

There are also Rscue CD's available that should be able to write to NTFS.e

If this drive is NTFS, you will also need the  NTFS write option, for fat16/ 32 that is not a problem.

You can then copy files to your hard drive.
I would also include a small editor from DOS.

Other option is to see if you can boot to NTFSDOS via your USB ( if the file system is NTFS ).

I hope this helps !
0
 
sshujaatAuthor Commented:
Thanks it worked
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now