How to write ISO to USB key like Disk Image Writer? #23

Open
opened 2024-05-13 00:45:47 +02:00 by Benjamin_Loison · 7 comments

The purpose is to chain with a notification command.

mintstick

The purpose is to chain with a notification command. [mintstick](https://github.com/linuxmint/mintstick)
Author
Owner
Related to [Benjamin_Loison/mintstick/issues/1](https://codeberg.org/Benjamin_Loison/mintstick/issues/1).
Author
Owner

DuckDuckGo search Linux make USB bootable ISO.

https://linuxconfig.org/how-to-make-a-bootable-usb-from-an-iso-in-linux

DuckDuckGo search *Linux make USB bootable ISO*. https://linuxconfig.org/how-to-make-a-bootable-usb-from-an-iso-in-linux
Author
Owner
sudo fdisk -l /dev/sda
Output:
Disk /dev/sda: 57.84 GiB, 62109253632 bytes, 121307136 sectors
Disk model: Ultra           
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xXXXXXXXX

Device     Boot Start       End   Sectors  Size Id Type
/dev/sda1        2048 121307135 121305088 57.8G 83 Linux
``` sudo fdisk -l /dev/sda ``` <details> <summary>Output:</summary> ``` Disk /dev/sda: 57.84 GiB, 62109253632 bytes, 121307136 sectors Disk model: Ultra Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xXXXXXXXX Device Boot Start End Sectors Size Id Type /dev/sda1 2048 121307135 121305088 57.8G 83 Linux ``` </details>
Author
Owner
sudo dd if=debian-live-12.11.0-amd64-gnome.iso of=/dev/sda status=progress
199074304 bytes (199 MB, 190 MiB) copied, 15 s, 13.2 MB/s
``` sudo dd if=debian-live-12.11.0-amd64-gnome.iso of=/dev/sda status=progress ``` ``` 199074304 bytes (199 MB, 190 MiB) copied, 15 s, 13.2 MB/s ```
Author
Owner
FILE=debian-live-12.11.0-amd64-gnome.iso
dd if=$FILE | pv -f $FILE | sudo dd of=/dev/sda
 127MiB 0:00:07 [18.4MiB/s] [=>                                                                                          ]   3% ETA 0:02:57
```bash FILE=debian-live-12.11.0-amd64-gnome.iso dd if=$FILE | pv -f $FILE | sudo dd of=/dev/sda ``` ``` 127MiB 0:00:07 [18.4MiB/s] [=> ] 3% ETA 0:02:57 ```
Author
Owner
At the end:
3.28GiB 0:08:03 [6.94MiB/s] [===========================================================================================>] 100%            
6874560+0 records in
6874560+0 records out
3519774720 bytes (3.5 GB, 3.3 GiB) copied, 512.566 s, 6.9 MB/s
<details> <summary>At the end:</summary> ``` 3.28GiB 0:08:03 [6.94MiB/s] [===========================================================================================>] 100% 6874560+0 records in 6874560+0 records out 3519774720 bytes (3.5 GB, 3.3 GiB) copied, 512.566 s, 6.9 MB/s ``` </details>
Author
Owner
The USB key correctly boots Debian 12 GNOME live but the test was biased with incomplete USB Image Writer it seems on the laptop:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAy9tLUicxmBPtIY24mKl/weZaT5GykGIl/X9bBUT/51Qw
HfVRmx+sbIe64vYTI7hMX24bUIbWEkeRjm/WAZdrx440HdGbzcApsJDqAjO3mTul
1FUBCQIQf2guDKV9APcST+iinMiDfJZJhA14ceBoCyZ6BzkTqWAN5klYq1qsIl9J
or79XHhJ1TCNOgnjO3QV/MemABvWlmlra8KolZXpQF7hFU6Vb6zX
=KnmI
-----END PGP MESSAGE-----
<details> <summary>The USB key correctly boots Debian 12 GNOME live but the test was biased with incomplete <i>USB Image Writer</i> it seems on the laptop:</summary> ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdAy9tLUicxmBPtIY24mKl/weZaT5GykGIl/X9bBUT/51Qw HfVRmx+sbIe64vYTI7hMX24bUIbWEkeRjm/WAZdrx440HdGbzcApsJDqAjO3mTul 1FUBCQIQf2guDKV9APcST+iinMiDfJZJhA14ceBoCyZ6BzkTqWAN5klYq1qsIl9J or79XHhJ1TCNOgnjO3QV/MemABvWlmlra8KolZXpQF7hFU6Vb6zX =KnmI -----END PGP MESSAGE----- ``` </details>
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Benjamin_Loison/linux#23
No description provided.