In 2018, I used VirtualBox to upgrade a hard drive to be used in my Tivo. It worked great and shortly after that, I used the same technique to install Windows XP on a solid-state drive (SSD) for use in another machine and then Mageia on another drive destined for anoter machine. I found myself in need of the same proceedure and pulled up my old page and found that Oracle had updated the command involved. The one on my old page, $ VBoxManage internalcommands createrawvmdk -filename /path/to/source_sdk.vmdk -rawdisk /dev/sdk has been superseded by: $ VBoxManage createmedium disk --filename=VirtualBox VMs/Tiny10-Install/Tiny10.vmdk --variant=RawDisk --format=VMDK --property RawDrive=/dev/sdd This change allows some nice new features that might be useful to me in the future, but it did take me a while to figure things out, especially since the solutions offered to the problems I encountered were mostly for Debian-based distros (and many were ancient posts) and had no real appli...
I recently purchased some inexpensive 4GB USB drives from Amazon and right away, I ran into problems. Mageia Linux essentially mandates that you use their utility, IsoDumper, to write ISO images to USB drives. A nice feature is that if any space is left on the drive, it can format it in one of several different formats compatible with whatever OS the ISO is. For example, I installed the FreeDOS ISO and formatted the remainder of the drive as a FAT partition, perfect for including some DOS apps. However, if the ISO image is installed and is corrupted, the drive becomes "read only" and can't be overwritten on a second attempt with IsoDumper. Unfortunately, because the USB's partition table seems borked, you can't just use: $ sudo dd if=/dev/zero of=/dev/sdX bs=4096 count=1 to zero out the partition table because it returns the error message that /dev/sdX is "read-only". I had an unused drive , so I imaged it with: $ sudo dd if=/dev/sdX of=4MB_USB.img Yo...