RE: [SCIENTIFIC-LINUX-USERS] Create bootable ISO that can be copied to a USB key
Hi Pat Thanks for the reply I make a copy of the files from the SL-7.2-DVD-x86_64-2016-01-26.iso in a directory. I delete the packages I don't want. I copy our application software and kickstart file into the directory. I modify isolinux/isolinux.cfg to use the kickstart file. I use mkisofs to create the new ISO mkisofs -U -J -R -v -T -V PCS -o ../R20.001.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table . I burn a DVD from the new ISO which I can boot from and do the install. When I use dd to create a USB key from the ISO and try to boot from USB key, it does not boot. I have tried adding the "-eltorito-alt-boot -e images/efiboot.img -no-emul-boot" options to the mkisofs command with no success. Bill -Original Message- From: Pat Riehecky [mailto:riehe...@fnal.gov] Sent: Thursday, May 24, 2018 1:35 PM To: EXT-Askew, R W; scientific-linux-us...@listserv.fnal.gov Subject: Re: [SCIENTIFIC-LINUX-USERS] Create bootable ISO that can be copied to a USB key Hello, Are you creating the custom iso with pungi or a different tool? Pat On 05/24/2018 01:17 PM, Bill wrote: > I am creating a custom installation ISO using kickstart. This install ISO is > based on SL 7.2. > > When I burn a DVD from this ISO I can boot from the DVD and the install menu > come up as expected. > > When I use dd to copy the ISO to a USB key and try to boot from the USB key > the install menu does not appear and the system boots from the hard drive. > > I tried using dd to copy the SL7.2 ISO to a USB key. When I try to boot from > this USB key the install menu comes up as expected. > > What files on the SL7.2 have to do with booting from the USB key? > > Is there a mkisofs option I should be using to make booting USB key work? -- Pat Riehecky Fermi National Accelerator Laboratory www.fnal.gov www.scientificlinux.org
Re: [SCIENTIFIC-LINUX-USERS] Create bootable ISO that can be copied to a USB key
Pungi uses isohybrid (from the syslinux package) down in the bowels to do that. At least that's what I found when I deconstructed its methodology. That's how I'm getting a USB-bootable .iso file for our spin, anyway... The algorithm I'm using is: mkisofs isohybrid implantisomd5 Your mileage may vary... On 5/24/18, 1:35 PM, "owner-scientific-linux-us...@listserv.fnal.gov on behalf of Pat Riehecky"wrote: Hello, Are you creating the custom iso with pungi or a different tool? Pat On 05/24/2018 01:17 PM, Bill wrote: > I am creating a custom installation ISO using kickstart. This install ISO is based on SL 7.2. > > When I burn a DVD from this ISO I can boot from the DVD and the install menu come up as expected. > > When I use dd to copy the ISO to a USB key and try to boot from the USB key the install menu does not appear and the system boots from the hard drive. > > I tried using dd to copy the SL7.2 ISO to a USB key. When I try to boot from this USB key the install menu comes up as expected. > > What files on the SL7.2 have to do with booting from the USB key? > > Is there a mkisofs option I should be using to make booting USB key work? -- Pat Riehecky Fermi National Accelerator Laboratory www.fnal.gov www.scientificlinux.org
Re: [SCIENTIFIC-LINUX-USERS] Create bootable ISO that can be copied to a USB key
Hello, Are you creating the custom iso with pungi or a different tool? Pat On 05/24/2018 01:17 PM, Bill wrote: I am creating a custom installation ISO using kickstart. This install ISO is based on SL 7.2. When I burn a DVD from this ISO I can boot from the DVD and the install menu come up as expected. When I use dd to copy the ISO to a USB key and try to boot from the USB key the install menu does not appear and the system boots from the hard drive. I tried using dd to copy the SL7.2 ISO to a USB key. When I try to boot from this USB key the install menu comes up as expected. What files on the SL7.2 have to do with booting from the USB key? Is there a mkisofs option I should be using to make booting USB key work? -- Pat Riehecky Fermi National Accelerator Laboratory www.fnal.gov www.scientificlinux.org