Once the above command executes to completion, you may remove your USB drive which is now a bootable USB stick for Ubuntu 18.04. Do not run the above commands until you are 100% certain that /dev/sdb (or similar) refers to your USB drive, as selecting the wrong device can wipe your hard drive. Replace /path/to/your/ubuntu-18.04.5-desktop-amd64.iso with the actual path to your disk image, and /dev/sdb with the actual device node associated with your USB. $ sudo dd if=/path/to/your/ubuntu-18.04.5-desktop-amd64.iso of=/dev/sdb bs=1M # Burn ISO to USB drive Now make sure your USB drive is unmounted, by selecting the USB icon in the GUI if present and clicking "Eject" or similar, but do not remove the USB drive.Īfter you have confirmed that /dev/sdb (in my example, adapt accordingly based on your situation) refers to your USB drive, run: $ sudo dd if=/dev/zero of=/dev/sdb bs=1M # Wipe the USB drive Note that your case may be different, so adapt accordingly. So in my case, the device node associated with my USB drive is /dev/sdb. dev/sda /dev/sda1 /dev/sda2 /dev/sdb /dev/sdb1 Plug in your USB device and run the command again to see what new device pops up - that would be the device node corresponding to your USB drive: $ ls /dev Note that you may see different output depending on how your hard drive is partitioned, etc. Prepare a USB which does not have any information you would like to keep, as burning a disk image to the USB drive wipes out previously stored dataįire up the Terminal and run the following command to list all devices on your system: $ ls /dev
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |