Other Format USB drive in raw mode (fat32)?

Hello,

I'm trying to make a bootable USB pen with Windows 10 iso and I'm using unetbootin to do that.

I did format USB pen with fat32:

gpart destroy -F /dev/da0​
gpart create -s mbr /dev/da0​
gpart add -t fat32 /dev/da0​
newfs_msdos -L FILES -F 32 /dev/da0s1

and then used unetbootin with Windows 10 iso but I got "Boot Error".

pkg-message says:

"If SysLinux refuses to boot with a "Boot error" message when written to a PC partition (slice), try to reformat the drive in raw (or dedicated) mode (that is, without a partition table), then reinstall things again."

How do I reformat USB drive in raw mode?

Thanks,

Nuno Teixeira​
 
Not sure you can do what you want with unetbootin. Its documentation doesn't state it can create a bootable USB stick for Microsoft Windows. It's mainly for UN*X systems. And look closer at the pkg-message, it talks about SysLinux.
 
Here is the result of using Rufus utility (under Microsoft Windows) to make a Windows 10 bootable USB stick with a MBR scheme (BIOS bootable):
Code:
$ gpart show da0
=>      63  31129537  da0  MBR  (15G)
        63      1985       - free -  (993K)
      2048  31127552    1  ntfs  [active]  (15G)

And this one is with a GPT scheme (UEFI bootable):
Code:
$ gpart show da0
=>      34  31129533  da0  GPT  (15G)
        34      2014       - free -  (1.0M)
      2048  31127519    1  ms-basic-data  (15G)

As you can see, there is no more FAT file system...
 
Back
Top