How to burn/write Xubuntu ISO image to USB drive

To write an ISO image to a USB drive on Linux, you can use the ‘dd’ command.

Download the latest preferred Xubuntu version from official store https://xubuntu.org/download/

Below the steps to follow:

– Insert the USB drive into your computer’s USB port.
– Open a terminal window.
– Run the following command to check the device name of your USB drive:

sudo su
fdisk -l

This command will list all the available disk devices on your system, including the USB drive. Identify the device name of your USB drive from the output.

Once you have identified the device name of your USB drive, unmount it using the following command:

umount /dev/sdb1

Make sure to replace “/dev/sdb1” with the device name of your USB drive.

Format your USB drive:

mkfs.ntfs /dev/sdb1

Make sure to replace “/dev/sdb1” with the device name of your USB drive.

Now you can write the ISO image to the USB drive using the ‘dd’ command. Run the following command:

dd bs=4M if=xubuntu-22.04.1-desktop-amd64.iso of=/dev/sdb1 status=progress && sync

Make sure to replace “xubuntu-22.04.1-desktop-amd64.iso” with the path to the ISO image file on your system, and “/dev/sdb1” with the device name of your USB drive.

The ‘bs’ option specifies the block size, which should be set to 4M for optimal performance. The ‘if’ option specifies the input file (the ISO image file), and the ‘of’ option specifies the output file (the USB drive). The ‘status=progress’ option will show you the progress of the write operation. Finally, the ‘sync’ command ensures that all data is written to the USB drive before it is ejected.

Wait for the write operation to complete. This may take some time depending on the size of the ISO image and the speed of your USB drive.

Once the write operation is complete, eject the USB drive using the following command:

eject /dev/sdb1

Make sure to replace “/dev/sdb1” with the device name of your USB drive.

Your USB drive is now ready to boot from and use.

 

Example:

# umount /dev/sdb1
# mkfs.ntfs /dev/sdb1
Cluster size has been automatically set to 4096 bytes.
Initializing device with zeroes: 100% – Done.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.

dd bs=4M if=xubuntu-22.04.1-desktop-amd64.iso of=/dev/sdb1 status=progress && sync
2474639360 bytes (2.5 GB, 2.3 GiB) copied, 453 s, 5.5 MB/s
590+1 records in
590+1 records out
2475399168 bytes (2.5 GB, 2.3 GiB) copied, 665.384 s, 3.7 MB/s

 

Source:
http://www.pendrivelinux.com/multiboot-create-a-multiboot-usb-from-linux/
http://tecadmin.net/format-usb-in-linux/#
https://www.linux.com/blog/how-burn-iso-usb-drive
https://xubuntu.org/download/

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *