The first step to install Ubuntu on your laptop/desktop is for us to create the bootable pendrive which contains the Ubuntu operating system required for installing Ubuntu.
Download the required iso from http://releases.ubuntu.com/ , recent versions of Ubuntu is 22.04
Now, connect the pen drive you want to format to create bootable disk to install ubuntu. check in dmesg the device node created after connecting pendrive, this is just to make sure usb creator uses the right device node.
devbee@devbee:~/Desktop$ dmesg [ 2396.372066] usb 2-2: new high-speed USB device number 2 using ehci-pci [ 2399.299527] sd 6:0:0:0: [sdb] Assuming drive cache: write through [ 2399.325106] sdb: sdb1 [ 2399.328776] sd 6:0:0:0: [sdb] Attached SCSI removable disk [ 2404.515673] EXT4-fs (sdb1): 1 orphan inode deleted [ 2404.515675] EXT4-fs (sdb1): recovery complete [ 2404.552993] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null) [ 2935.303552] sdb: sdb1
dmesg shows the pendrive detected as /dev/sdb1, and also may get automounted by your existing ubuntu.
$ sudo usb-creator-gtk
If your latop contains only one iso, usb creator will autodetect the same as below,
If you want to once you are sure, usb creator detected right usb pendrive and iso, click “Make Startup Disk”, on the next screen you will be asked to confirm formating of your pendrive, if you don’t have any important data in pendrive, click “YES” or click “NO” , backup your data on pendrive and repeat above procedure.
Once you click “YES” wait for the “Writing disk image” to get 100% completed and you will be asked to remove pen-drive once its successfully formatted with the Ubuntu iso you want to install.