Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1328
  • 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

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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