Invalid MS-DOS function (copying multiple files)

Solved
Sosthen Posted messages 62 Status Membre -  
Sosthen Posted messages 62 Status Membre -
Hi everyone,

I’m at my wit's end; I've been trying for several hours to make my USB drive bootable using various software from an ISO. However, every time and with every software, it doesn’t work.
When I try to mount the ISO with Daemon Tools and attempt to copy the files, it’s impossible: Invalid MS-DOS Function.
I’ve searched, searched, and searched again, but no solution resolves my problem. Some suggestions with the xcopy command remain ineffective; it copies all the files except... for those that cause this infamous error.

Does anyone have a solution? I’m really about to explode O_O

2 réponses

Anonymous user
 
Hello,

First, you need to specify what you want to make bootable on this USB stick. Depending on your choice, the technique is not the same.

Thus, a Windows 7 USB stick is not created the same way as a Windows XP USB stick or a Linux distribution.
0
Sosthen Posted messages 62 Status Membre 9
 
It's a W8 key, sorry, it's a slip ^^
I'll do that with my computer running Vista.
0
Anonymous user
 
I don't understand ... do you want to put the W8 installation ISO on a USB? Or do you want to create a recovery drive?
0
Sosthen Posted messages 62 Status Membre 9
 
Put the installation ISO on the USB drive so that I can install it on my new PC from this drive, boot from it, and install it.
But it's not enough to just put the ISO; I have to extract it first, and when I do that, I'm getting the infamous recurring error message :/
0
Anonymous user
 
Well,

1. Prepare the key. Let's imagine it has the letter F

You launch the command prompt as an administrator

bootsect /nt60 f: (we write the mbr for W7 and W8; if bootsect is not recognized by Vista, we add it or simply move on to the next step)

diskpart (we open the partitioning program of Ws)
list disk (here we find the disk number of the USB key).
select disk n (n being the number corresponding to the usb)
clean (we empty the key)
create partition primary noerr (we create a partition)
select partition 1 (we select it)
format fs=fat32 quick label="windows8" (we format in fat 32)
assign (we assign a letter)
active (we make it bootable)
exit

The key is bootable.

2. Copy W8 onto the key.

We open the iso with 7zip or with daemon tools (or another tool that reads isos).
We copy the contents of the image...


The key is ready.

We boot in bios or uefi mode depending on what we have on the pc.
0
Sosthen Posted messages 62 Status Membre 9
 
Thank you, but everything works well, no need to go into the command prompt, I have software to do that, the problem lies in copying the content of the image, that's when the error message appears.
Anyway, thank you for your help, I think the image is the issue, I downloaded another one and it works :)

Resolved, thank you :)
0