F5F Stay Refreshed Hardware Desktop Using a USB stick and terminal, generate an ISO file via the dd command.

Using a USB stick and terminal, generate an ISO file via the dd command.

Using a USB stick and terminal, generate an ISO file via the dd command.

F
floundershy
Member
191
07-20-2016, 02:32 PM
#1
Hello fellow Linux enthusiasts, good day! I’m here to share how to craft a bootable USB in Linux without relying on pre-installed tools like Etcher or Rufus. I favor a direct terminal approach, which is a great way to sharpen your command-line skills.

Assuming the ISO resides at /home/user/Downloads/Linuxfile.iso and is named Linuxfile.iso, I’d begin by checking available devices: `sudo lsblk`. If the USB is under /dev/sdb1, I’d proceed to unmount it with `sudo umount /dev/sdb1`. Then, I’d create the USB using `sudo dd` with a 4M block size. The command would look something like this:

```
sudo dd if=/home/user/Downloads/Linuxfile.iso of=/dev/sdb status=progress oflag=sync
```

Regarding the device name versus partition, using the partition label (sdb1) is more precise here. This ensures the correct partition is targeted. Let me know if you need further clarification!
F
floundershy
07-20-2016, 02:32 PM #1

Hello fellow Linux enthusiasts, good day! I’m here to share how to craft a bootable USB in Linux without relying on pre-installed tools like Etcher or Rufus. I favor a direct terminal approach, which is a great way to sharpen your command-line skills.

Assuming the ISO resides at /home/user/Downloads/Linuxfile.iso and is named Linuxfile.iso, I’d begin by checking available devices: `sudo lsblk`. If the USB is under /dev/sdb1, I’d proceed to unmount it with `sudo umount /dev/sdb1`. Then, I’d create the USB using `sudo dd` with a 4M block size. The command would look something like this:

```
sudo dd if=/home/user/Downloads/Linuxfile.iso of=/dev/sdb status=progress oflag=sync
```

Regarding the device name versus partition, using the partition label (sdb1) is more precise here. This ensures the correct partition is targeted. Let me know if you need further clarification!

N
Nelina
Member
184
07-20-2016, 08:08 PM
#2
Hello again. After some time I attempted the same, but encountered several issues. Here’s what happened: the command didn’t work properly, and I received errors like "Passwort für ubuntu:" repeatedly. It seems the file path was handled incorrectly—maybe using the wrong directory or format. I tried a different approach, but it didn’t resolve the problem. Could you clarify what you meant? Looking forward to your reply. Cheers!
N
Nelina
07-20-2016, 08:08 PM #2

Hello again. After some time I attempted the same, but encountered several issues. Here’s what happened: the command didn’t work properly, and I received errors like "Passwort für ubuntu:" repeatedly. It seems the file path was handled incorrectly—maybe using the wrong directory or format. I tried a different approach, but it didn’t resolve the problem. Could you clarify what you meant? Looking forward to your reply. Cheers!

G
Ged_Merrillin
Member
205
07-28-2016, 02:45 AM
#3
Use the tool "/dev/sdb" instead of the partition name. Referring to a partition would shift all ISO-specific labels incorrectly due to the offset, leading to detection problems. Also, the available space is limited by the partition size—exceeding it will prevent storage.
G
Ged_Merrillin
07-28-2016, 02:45 AM #3

Use the tool "/dev/sdb" instead of the partition name. Referring to a partition would shift all ISO-specific labels incorrectly due to the offset, leading to detection problems. Also, the available space is limited by the partition size—exceeding it will prevent storage.

M
Medina599
Junior Member
36
07-29-2016, 02:26 PM
#4
Good evening, NotLeafClover. Thank you very much for your response—appreciate the reminder. Note: I need to handle the tasks carefully (especially in Terminal commands), so it’s a good idea we talk about this here in the forum. I’m happy to be part of this community. Warm regards.
M
Medina599
07-29-2016, 02:26 PM #4

Good evening, NotLeafClover. Thank you very much for your response—appreciate the reminder. Note: I need to handle the tasks carefully (especially in Terminal commands), so it’s a good idea we talk about this here in the forum. I’m happy to be part of this community. Warm regards.