On Saturday 24 July 2021, mcgarrett wrote:
Why doesn't this work:
dd bs=4M if=/home/doug/Downloads/Win10_21H1_English_x64 of=/dev/sda
MOST WORRYINGLY, the destination /dev/sda is often the first and most critical device in any system. On my system, /dev/sda is the device that contains my OpenSUSE operating system. If I were to dd to that device I would wipe out my OpenSUSE root partition. Are you VERY SURE the destination device is the correct one? I would normally write ISO's to USB-drives, and I would normally use SUSE Studio Imagewriter GUI to ease this task (the zypper package is called imagewriter). USB-drives would more likely have device names further down the alphabet, for example, I have one plugged as /dev/sdh right at this moment (the sda, sdb, sdc, .. sdh part depends on how many devices are resident in the system). (It's not necessarily wrong to use dd, but it's a command with no safeguards.) You want to be very sure of the destination before executing the dd. If in doubt, perhaps followup with another email to the list clearly stating what you are trying to achieve before proceeding further. However, if you are sure the destination is correct, I can see that the filename listed is Win10_21H1_English_x64.iso, so why have you supplied dd Win10_21H1_English_x64 without the iso suffix? The dd command could be amended to: dd bs=4M if=/home/doug/Downloads/Win10_21H1_English_x64.iso of=/dev/correctdestination I WOULD NOT USE THE CORRECTED COMMAND UNLESS YOU ARE VERY VERY SURE about the destination. Michael
Here is the downloaded file in /home/doug/Downloads:
-rw-r--r-- 1 doug users 5824122880 Jul 22 22:20 Win10_21H1_English_x64.iso
Here is the fail message:
dd: failed to open '/home/doug/Downloads/Win10_21H1_English_x64': No such file or directory
(Since I am IN that directory, I first tried without specifying the directory, but got the same failure.)
Confused as usual--doug