Ubuntu: manually make drive bootable



Question:

I have extracted my iso to my pendrive instead of letting a boot utility software do it. Now I can't boot my pc with that pendrive. Moreover, it was formatted in windows prior to copying iso contents. Hence, I think this is what makes grub rescue not detect the file system.

I would like to know what a boot utility software (like pendrivelinux, or startup disk creator, etc) does. I hope this will guide me in creating a bootable drive, manually.

Edit:

I think I've found a partial answer. But what is a hybrid iso? How to create one?


Solution:1

Unetbootin has worked well for me. Very straight forward GUI.

Also, I would always format your pen/thumb/flash drive as FAT32, as any OS can see it.

http://unetbootin.sourceforge.net/


Solution:2

Here are the files it creates:

enter image description here

Look inside the EFI/Boot directory and you will find Bootx64.efi which triggers the BIOS to boot from the USB:

enter image description here

Inside the syslinux.cfg file here is what you will find, this is the menu of options for starting up in failsafe mode, live mode, etc...:

default menu.c32  prompt 0  menu title UNetbootin  timeout 100    label unetbootindefault  menu label Default  kernel /ubnkern  append initrd=/ubninit menu_amd64 -- menu_486 -- menu_486    label ubnentry0  menu label menu_amd64  kernel /EFI/BOOT/vesamenu.c32  append initrd=/ubninit menu_amd64 -- menu_486 -- menu_486    label ubnentry1  menu label menu_486  kernel /EFI/BOOT/vesamenu.c32  append initrd=/live/initrd2.img boot=live config live-media=removable apparmor=1 security=apparmor nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash noautologin module=Tails  quiet    label ubnentry2  menu label Live (failsafe)  kernel /live/vmlinuz2  append initrd=/live/initrd2.img boot=live config live-media=removable apparmor=1 security=apparmor nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash noautologin module=Tails  noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal    label ubnentry3  menu label Live  kernel /live/vmlinuz  append initrd=/live/initrd.img boot=live config live-media=removable apparmor=1 security=apparmor nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash noautologin module=Tails  quiet  

Look inside the live folder and here is what you will see... notice the large file that is highlighted: That is the contents of the image or distro you are using

enter image description here

That is best way I know to explain it... manually doing this will take you hours.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »