RE: Create bootable ISO that can be copied to a USB key

2018-07-23 Thread EXT-Askew, R W
Thanks

Bill Askew
PCS Technical Lead
(832) 224-7074
BAB 3E209

-Original Message-
From: Konstantin Olchanski [mailto:olcha...@triumf.ca] 
Sent: Friday, July 20, 2018 7:38 PM
To: EXT-Askew, R W 
Cc: scientific-linux-us...@listserv.fnal.gov
Subject: Re: Create bootable ISO that can be copied to a USB key

On Thu, May 24, 2018 at 01:17:35PM -0500, Bill wrote:
>
> I am creating a custom installation ISO using kickstart.  This install ISO is 
> based on SL 7.2.
>


Here is my recipe for doing what you are doing:

https://urldefense.proofpoint.com/v2/url?u=https-3A__daqshare.triumf.ca_-7Eolchansk_linux_CentOS7_AAA-2DREADME-2DUSBBOOT.txt=DwIFAw=gRgGjJ3BkIsb5y6s49QqsA=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A=4ptmKZ4Ekfhxz8D8GRd9TzkLQxVH7j2H0j0TTzqUG-c=0QKisuAkqOezv6rjbP-lgO7ehBNbaSepYjPtfKNzBDc=


-- 
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada



RE: [SCIENTIFIC-LINUX-USERS] Create bootable ISO that can be copied to a USB key

2018-05-24 Thread EXT-Askew, R W
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 <r.w.as...@boeing.com>; 
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: create repodata for a custom install DVD

2016-10-10 Thread EXT-Askew, R W
I will take a look at this script
Thanks Mark

Bill 

-Original Message-
From: stod...@pelletron.com [mailto:stod...@pelletron.com] 
Sent: Friday, October 07, 2016 1:27 PM
To: EXT-Askew, R W <r.w.as...@boeing.com>; 
scientific-linux-us...@listserv.fnal.gov
Subject: Re: create repodata for a custom install DVD

On 10/07/2016 01:04 PM, Bill Askew wrote:
> I have been searching for a howTo that provides the steps required to create 
> the repodata on an install DVD.
> I am using the SL 7.2 install DVD as a baseline and removing the unneeded 
> packages then am using a kickstart file to do the install.
> This works fine without updating the repodata however if I want to add 
> packages or replace packages with new packages I believe I would need to 
> rebuild the repodata the match the new packages.
> Thanks
>

I have a modified version, but this is what Pat sent me a few months ago 
(written by Connie).  It is a good starting point for rolling your own.

The approach I took was to put my additional packages either using the context 
scheme SL proposes or just another directory off the DVD root.

Depending on what you decide to do, you will want to grab a copy of the 
original comps.xml and make any additional modifications to it.  Then, from 
what will be the DVD root, run 'createrepo -g  .'  This will 
find and build a repo from all rpms found in subdirectories.

I also have some scripts to inject custom bootloader configs and kickstart 
options if you are interested.

Hope that helps.

-Mark