Create an Ubuntu Bootable USB with an ISO with dd
1. Start Ubuntu on a host machine or VM. I used VMWare Workstation and a guest Ubuntu ISO.
2. apt-get install gparted
3. plug in an empty USB
4. See which /dev directory that the USB is attached to. Usually like /dev/sdb. Can do this by typing dmesg | tail -n 10. The output should show the name, size, and directory of the USB
5. sudo gparted ; enter password if it is set.
6. Select the correct device from the dropdown on the right.
7. On the menu, choose Partition. If the drive isn't empty, delete what is on the drive by clicking on "Delete". This will permanently delete the info, so keep this in mind. Click on the green checkmark icon to apply the changes to the drive.
8. If/when the drive is empty, select "New". A popup should appear. Choose ext4 for the File system. Click OK. Click on the green checkmark icon to apply the changes to the drive.
9. Exit the program.
10. Download the Ubuntu ISO
11. dd if=/pathandname/of/Ubuntu.ISO of=/dev/devname bs=4MB
Create an Ubuntu Bootable USB with an ISO with unetbootin
1. Start Ubuntu on a host machine or VM. I used VMWare Workstation and a guest Ubuntu ISO.
2. apt-get install gparted && apt-get install unetbootin
3. plug in an empty USB
4. See which /dev directory that the USB is attached to. Usually like /dev/sdb. Can do this by typing dmesg | tail -n 10. The output should show the name, size, and directory of the USB
5. sudo gparted ; enter password if it is set.
6. Select the correct device from the dropdown on the right.
7. On the menu, choose Partition. If the drive isn't empty, delete what is on the drive by clicking on "Delete". This will permanently delete the info, so keep this in mind. Click on the green checkmark icon to apply the changes to the drive.
8. If/when the drive is empty, select "New". A popup should appear. Choose ext4 for the File system. Click OK. Click on the green checkmark icon to apply the changes to the drive.
9. Exit the program.
10. Download the Ubuntu ISO
11. Mount the device mount /dev/sdX /mnt
12. sudo unetbootin
13. Either A) Select Ubuntu from the OS dropdown and the version of Ubuntu from the dropdown at the top of the screen and select USB at the bottom of the screen and the directory of the USB from the elevator bar, then click OK
Or B) Select your Ubuntu ISO in the elevator bar at the bottom of the screen and select USB at the bottom of the screen and the directory of the USB from the elevator bar, then click OK.
No comments:
Post a Comment