Can someone tell me how to make this work?
[root@WS1 bobg]# livecd-iso-to-disk /home/bobg/Downloads/Win10_1909_English_x64.iso /run/media/bobg/4C60-B824
ERROR: '/run/media/bobg/4C60-B824' is not a block device
I found this in my notes, apparently Sam Sieb suggested it as a method of writing to a storage device, a flash drive in this case.
On Fri, Aug 14, 2020 at 11:30:24AM -0400, Bob Goodwin wrote:
Can someone tell me how to make this work?
[root@WS1 bobg]# livecd-iso-to-disk /home/bobg/Downloads/Win10_1909_English_x64.iso /run/media/bobg/4C60-B824
ERROR: '/run/media/bobg/4C60-B824' is not a block device
I found this in my notes, apparently Sam Sieb suggested it as a method of writing to a storage device, a flash drive in this case.
/run/media/bobg/4C60-B820 is not a block device, it's a mounted directory.
You need to unmount the automounted volume and use the device (i.e. /dev/sdX ) that was mounted. You need to use the root device and not a partition.
Also, livecd-iso-to-disk is for putting a livecd image on a flash drive. As far as I know, Windows 10 isn't a Linux liveCD. I imagine it will fail the attempt at a checksum.
On 2020-08-14 11:39, Jonathan Billings wrote:
Also, livecd-iso-to-disk is for putting a livecd image on a flash drive. As far as I know, Windows 10 isn't a Linux liveCD. I imagine it will fail the attempt at a checksum.
° Ok, that makes it the wrong command to use then, the block device problem may remain but I will try the "dd" method then and see if I can make it worm instead of the usual GUI which may not work with Windows either ... Tanks for the help.
On 2020-08-14 12:04, Bob Goodwin wrote:
On 2020-08-14 11:39, Jonathan Billings wrote:
Also, livecd-iso-to-disk is for putting a livecd image on a flash drive. As far as I know, Windows 10 isn't a Linux liveCD. I imagine it will fail the attempt at a checksum.
° Ok, that makes it the wrong command to use then, the block device problem may remain but I will try the "dd" method then and see if I can make it worm instead of the usual GUI which may not work with Windows either ... Thanks for the help.
° So now I did:
[root@WS1 bobg]# dd if=/home/bobg/Downloads/Win10_1909_English_x64.iso of=/run/media/bobg/4C60-B824 bs=4M dd: error writing '/run/media/bobg/4C60-B824': No space left on device 978+0 records in 977+0 records out 4101152768 bytes (4.1 GB, 3.8 GiB) copied, 26.677 s, 154 MB/s
It appears to have written 4+ GB to the thumb drive, it remains to be seen if it will run.
Thanks again, Bob
On Fri, 14 Aug 2020, Bob Goodwin wrote:
So now I did:
[root@WS1 bobg]# dd if=/home/bobg/Downloads/Win10_1909_English_x64.iso of=/run/media/bobg/4C60-B824 bs=4M dd: error writing '/run/media/bobg/4C60-B824': No space left on device
I do not know why you expected this to be useful. You've told dd to overwrite a directory. I'm not even sure one can get a mere 4 GiB thumbdrive anymore. I think the error is actually a file size limit.
978+0 records in 977+0 records out 4101152768 bytes (4.1 GB, 3.8 GiB) copied, 26.677 s, 154 MB/s
It appears to have written 4+ GB to the thumb drive, it remains to be seen if it will run.
IIRC the usual FatFS on a thumbdrive has a 4 GiB file size limit, possibly a little less. It seems that dd did not finish the copy. I'd be amazed if your thumbdrive will do anything useful.
On 2020-08-14 12:51, Michael Hennebry wrote:
I do not know why you expected this to be useful. You've told dd to overwrite a directory. I'm not even sure one can get a mere 4 GiB thumbdrive anymore. I think the error is actually a file size limit.
° Well you are right I am definitely doing something wrong but there must be a way to put that on a thumb drive instead of some sort of DVD, the thumb drive is 64GB not 4 and there ought to be room but it appears there isn't, I thought it was cleared ...
On Fri, Aug 14, 2020 at 12:34:29PM -0400, Bob Goodwin wrote:
So now I did:
[root@WS1 bobg]# dd if=/home/bobg/Downloads/Win10_1909_English_x64.iso of=/run/media/bobg/4C60-B824 bs=4M dd: error writing '/run/media/bobg/4C60-B824': No space left on device 978+0 records in 977+0 records out 4101152768 bytes (4.1 GB, 3.8 GiB) copied, 26.677 s, 154 MB/s
It appears to have written 4+ GB to the thumb drive, it remains to be seen if it will run.
Again, /run/media/bobg/4C60-B824 is not the block device.
If it were a directory, you'd get an error immediately:
dd: failed to open '/run/media/bobg/4C60-B824': Is a directory
But, you didn't get that error, you just ran out of space, which makes me think that perhaps you didn't write to anything but a file in /run.
Please write to the block device. It probably looks like something like /dev/sdc, /dev/sdd, etc. Be sure you are writing to the flash drive and not, say, the disk where your OS lives.
I suggest installing the 'mediawriter' package, which has the Fedora Media Writer application in it. It will guide you through installing the image to the flash drive. There's a version for Windows and macOS too.
On Fri, 14 Aug 2020 at 12:30, Bob Goodwin bobgoodwin@fastmail.us wrote:
Can someone tell me how to make this work?
[root@WS1 bobg]# livecd-iso-to-disk /home/bobg/Downloads/Win10_1909_English_x64.iso /run/media/bobg/4C60-B824
A previous thread recommended WoeUSB:
$ dnf info woeusb Last metadata expiration check: 0:01:50 ago on Fri 14 Aug 2020 15:30:14 ADT. Available Packages Name : WoeUSB Version : 3.3.1 Release : 2.fc31 Architecture : x86_64 Size : 294 k Source : WoeUSB-3.3.1-2.fc31.src.rpm Repository : updates Summary : Windows USB installation media creator URL : https://github.com/slacka/WoeUSB License : GPLv3+ Description : A utility that enables you to create your own bootable Windows installation : USB storage device from an existing Windows Installation disc or disk image.
Note that you have to format the USB drive as NTFS. You can't use dd because the Windows installer won't run from the DVD disk format when using a USB stick.
ERROR: '/run/media/bobg/4C60-B824' is not a block device
I found this in my notes, apparently Sam Sieb suggested it as a method of writing to a storage device, a flash drive in this case.
You have to specify the USB device as /dev/sdX. The WoeUSB git link has some examples.