To create a bootable USB pen on a Linux system, you will need a USB pen with a capacity of at least as large as the bootable image that you want to create, and an image of the bootable operating system or application that you want to install.
Here is an example of how to create a bootable USB pen on a Linux system:
lsblk
command to list the block devices on your system, and look for the device name of the USB pen (e.g., /dev/sdb
).For example, to list the block devices on your system, you can use the following command:
$ lsblk
umount
command to unmount the USB pen.For example, to unmount the USB pen with the device name /dev/sdb
, you can use the following command:
$ umount /dev/sdb
dd
command to create the bootable USB pen. To create the bootable USB pen, you can use the dd
command with the if
and of
options to specify the input and output file, respectively. The input file should be the path to the bootable image file (e.g., /path/to/bootable.img
), and the output file should be the device name of the USB pen (e.g., /dev/sdb
).Here is an example of the dd
command to create a bootable USB pen:
$ dd if=/path/to/bootable.img of=/dev/sdb
This will create a bootable USB pen with the contents of the bootable image file.
status=progress
option to show a progress bar while the copy operation is in progress. You can use the status=progress
option to display a progress bar while the dd
command is running.For example, to show a progress bar while creating the bootable USB pen, you can use the following command:
$ dd if=/path/to/bootable.img of=/dev/sdb status=progress