My Win Os partition was erased

My 500g ssd was the home to my winos which some how…; managed to become partitioned for me. I have a 1tb external USB SCSI drive, upon which I have a Back Up of all files and Data, including a Win11.ISO file that I want to install onto a USB drive for re-installation. I am doing this in a Kali Linux environment, and having only a modicum of Linux knowledge, I need help identifying a Linux analog to the Winos Rufus or alternative application for creating a boot able USB drive from an ISO file.

Any direction or guidance here would be greatly appreciated. I appreciate the discourse I have only recently been able to enjoy on this board. Again TY

dd if='path to your windows iso here' of='your usb drive goes here

So for example

dd ‘if=/var/lib/libvirt/images/Windows11.iso’ of=‘dev/sdx’

Just make sure that /dev/sdx IS actually your usb drive.. the letter x may be a different one for you

Thank You for the quick reply. This is exactly what I needed. OK, so dd is convert and copy a file. the IF is the Read from file, the ISO file, and the IF is the destination or write to file, the USB drive. Am I correct here? This just seems so light on parameters. Will this create a boot able USB drive from said ISO?

Wow if im not missing anything, this is fantastic. TY

I was hasty in my last reply. The dd of= is the destination or the USB drive im writing to.

dd makes a bit by bit copy from the input to the output.

This is essentially what balenaetcher does, or what rufus in DD mode does.

A single command that fits on one line really amazes me. Do you know if there is a native command in the, winos list of commands that is similar to this? Perhaps it is why there are multiple third party applications to perform this command in the winos.

There is a reason people consider the command line faster and more powerful than navigating menus :wink:

I am not aware of a windows alternative.

Sorry, one last thing. In the command dd if =’ are the apostrophes required? my command with apostrophes would look like. Hell Ill experiment and figure it out.
dd if = ‘/media/jj/DATA001/windows.ISO’

Again Thank You.

no, don’t need them, that was just for the example to show where to put the path.

Thank You so much. I did experiment with…well I made several stupid errors in my syntax, however I got it figured out.

Again TY

1 Like

If your Windows OS partition was erased, stop using the drive immediately. Use recovery software like Recuva or EaseUS, or consult a data recovery professional to attempt restoring lost files.

they prolly wiped it installing kali, so there’s not going to be much left anyway.