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/ As for recent versions of ubuntu after 17.04 ubuntu no longer supports 32 bit version hence, if you are required to install ubuntu on 32 bit laptop, download ubuntu 16.04 which is most stable version with lot of necessary packages support. Ubuntu after 16.04 for 32 bit i.e. 17.04 doesn’t contains installers for chrome browser and some package updates, hence prefer 16.04 for 32 bit ubuntu.
If your laptop/desktop supports 64 bit, you may download latest version of ubuntu from http://releases.ubuntu.com/ and follow same procedure as mentioned below.
As my laptop is 32 bit, following instructions refers to 32 bit ubuntu iso. ( You may use 64 bit iso )
$ wget -c http://releases.ubuntu.com/16.04/ubuntu-16.04.5-desktop-i386.iso
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.
$ dmesg 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.