Tag Archives: Windows

How to copy .img files to floppy with DD

If you are into retro computing and need to copy one of the old floppy .img disks to a diskette then it can be done with dd for unix/linux or by using the windows port of dd

My son learning to code Power Basic for DOS and switching floppies 😉

In my case i had 2 computeres with a floppy drive, one was a Windows XP machine and the other was a much older DOS computer without USB or network and i need to test FreeDOS and MS DOS 6.2 but i only had files like disk1.img downloaded from the internet and blank 1.44 floppy disks.

In my first attempt i tried to use a Windows program called winimage but it was not able to run on the old Windows XP, maybe it needed a servicepack or somthing else, so the fastest way was to find a simpler and faster solution and dd came in to my rescue.

here is How to copy a disk.img to floppy with dd

Unix/Linux

dd if=disk1.img of=/dev/fd0

Windows (DOS or CMD Console)

dd if=disk1.img of=\\?\Device\Floppy0

It can be downloaded at http://www.chrysocome.net/download

OR from my server https://www.pvangsgaard.com/download/dd-windows/

Linux | How to get Windows 10 License key from BIOS

If you have installed Linux on your laptop but wan’t to have a Windows VM in virtualbox then chances are that you need a serial number for windows 10.

Normally Windows read the embedded key that are hardcodet into the BIOS of the laptop and Windows in a virtual instance will not be able to read other than the vm’s virtual BIOS so you will need to type one in yourself.

With this command you can extract the serial number:

sudo hexdump -s 56 -e '"WIN key: " /29 "%s\n"' /sys/firmware/acpi/tables/MSDM