On Linux to create a boot able USB follow this step:
- Download start up USB disk creator
- Select the .iso source image and the disk to use
- Click make start up disk
To create a boot able USB on command line follow this steps:
- Place the
ubuntu.isofile in any one of your hard disk partition. - Then mount the
ubuntu.isofile.For this run the below commands in terminal,sudo mkdir /media/iso sudo mount -o loop /path/to/ubuntu.iso /media/iso - Then copy all the files from
/media/isoto your mounted usb flash drive folder in/media.Insert your usb flash drive.My usb flashdrive partition screenshot.
It will automatically mounted,whenever you insert it.Your usb partition must be mounted inside
/media.Let us assume your usb drive mounted inside/media/xxxxfolder.Then run the below command,cp -a /media/iso/. /media/xxx - Then paste the
ldlinux.sysfile inside your USB flash drive partition(In my case /dev/sdd1) to make the usb bootable .For this run the below commands,sudo apt-get install syslinux mtools sudo syslinux -s /dev/sdd1 - Open the
/media/xxxand rename theisolinuxdirectory tosyslinux.Then go into the renamed syslinux folder and rename the fileisolinux.cfgtosyslinux.cfg. - Reboot your pc and change the
boot-orderin bios to USB.Now your ubuntu usb flash drive will booted up and you can install it.