Skip to content

Instantly share code, notes, and snippets.

@andyneff
Created October 23, 2017 22:06
Show Gist options
  • Save andyneff/e814d112362ee138a2fd355cb0eb503f to your computer and use it in GitHub Desktop.
Save andyneff/e814d112362ee138a2fd355cb0eb503f to your computer and use it in GitHub Desktop.
Adding Fedora 27 to UNetBootin
  1. Add the Fedora 27 iso like any other ISO
  2. Create a Fedora27 directory in the USB key
  3. Move EFI, Fedora-Legal-README.txt, images, isolinux, LICENSE, TRANS.TBL into the Fedora27 directory. I do this to move all the Fedora 27 files out of the way, decreasing the change of a filenae colision
  4. Edit ubnpathl.txt and add Fedora27/ infront of every line except LiveOS
  5. Edit ubnfilel.txt and add Fedora27/ infront of every line except starting with LiveOS
  6. Edit syslinux.cfg. Many of the Fedora menu items are messed up (leave the first few lines alone, or customize them to your preference)
label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit root=live:UUID=5FB6-9CD0 rd.live.image quiet

label ubnentry0
menu label Start Fedora-Workstation-Live 27_Beta
kernel /Fedora27/images/pxeboot/vmlinuz
append initrd=/Fedora27/images/pxeboot/initrd.img root=live:UUID=5FB6-9CD0 rd.live.image quiet

label ubnentry1
menu label Test this media & start Fedora-Workstation-Live 27_Beta
kernel /Fedora27/images/pxeboot/vmlinuz
append initrd=/Fedora27/images/pxeboot/initrd.img root=live:UUID=5FB6-9CD0 rd.live.image rd.live.check quiet

label ubnentry2
menu label Start Fedora-Workstation-Live 27_Beta in ^basic graphics mode
kernel /Fedora27/images/pxeboot/vmlinuz
append initrd=/Fedora27/images/pxeboot/initrd.img root=live:UUID=5FB6-9CD0 rd.live.image nomodeset quiet

label ubnentry3
menu label Run a ^memory test
kernel /Fedora27/isolinux/memtest

label ubnentry4
menu label Return to ^main menu
kernel /ubnkern
append initrd=/ubninit 

Note: The kernel line can be left /ubnkern. This is where I'm not even sure which is better. But I figure I'm better off using the kernel Fedora was meant to. Both work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment