Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] Making custom perfsonar 4.1 installation ISO (modifying ks.cfg only)

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] Making custom perfsonar 4.1 installation ISO (modifying ks.cfg only)


Chronological Thread 
  • From: Zhi-Wei Lu <>
  • To: Andrew Lake <>
  • Cc: "" <>
  • Subject: RE: [perfsonar-user] Making custom perfsonar 4.1 installation ISO (modifying ks.cfg only)
  • Date: Mon, 27 Aug 2018 16:24:05 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:NYJJSBPQo/2xlB0jdPwl6mtUPXoX/o7sNwtQ0KIMzox0K/7zrsbcNUDSrc9gkEXOFd2Cra4c1KyO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhjexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJNyA3/nzLisJ+j6xbrhCupx1jzIHbe4yaLuZycr/HcN8GWWZMXMBcXDFBDIOmaIsPCvIMMuVYr4n8vlcBrQWxBQixD+3p1z9Dm3j73Kw00uQlDAHLxxEgEM4Tv3vOstX1NbwSXfqrw6bV0DXOdvVb0irz5ojPdxAuu/CMXbRofMrQz0kvCx3Kjk+WqYP7IzOZyP4BvHaG4Op9Te6vjHMnqx11ojiowccsiZPFiZ4SylDB8yhy3YU7JcWgRUJle9GoDIZcuiSHO4drX88vRm9otSkmxrEavJO7cjYFxZsoyhPabvGKcpWE7xH7WOqMIDp1gGhpdKyxihuw60Ss1PDwW8eu3FpUsiZJitfMuW4O2hDP78WKT/9w80S91TuP0g3c9v1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bbJJ7KBhOcSgerPGw6OtMOt61BOexWVcqMEYsAqX8jZkDOvB3pIL2fadixmYUyrUkVytu972gsZJaSxBVmc=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Thank you Andy,

 

That was the ticket. 

 

isohybrid my.iso

It will modify my.iso file for easy USB key creation, with a modified my.iso

dd if=my.iso of=/dev/sdd

 

Assume sdd is the USB media on your creation station.  You need to modify the boot parameter

ks=file:///ks.cfg to

ks=hd:sdc1:/ks.cfg

 

If you don’t modify ks.cfg in the  to initrd.img and repacl initrd.img.

sdc above is the USB drive letter in your installation system

 

I have stuck for hours making it work.  Let me know if need a hint if you encounter similar problem.

 

Zhi-Wei Lu

IET-CR-Network Operations Center

University of California, Davis

(530) 752-0155

 

From: Andrew Lake <>
Sent: Friday, August 24, 2018 7:28 AM
To: Zhi-Wei Lu <>
Cc:
Subject: Re: [perfsonar-user] Making custom perfsonar 4.1 installation ISO (modifying ks.cfg only)

 

Hi,

 

After you repack the iso, try running the command "isohybrid ISO" where ISO is the path to your ISO file. If that command is not found, do a "yum install syslinux" which is the package with that command. It is what does the magic to make an ISO bootable to both optical and USB media. We run that after we build the Toolkit ISOs, its possible it needs to be run again after a re-pack.

 

Thanks,
Andy

 

On Thu, Aug 23, 2018 at 8:09 PM, Zhi-Wei Lu <> wrote:

Hi all,

 

I plan to migrate our current CentOS6.x perfsonar boxes to modern age (with CentOS7). When I installed those boxes a few years ago, I extracted the perfsonar install media and modify the kickstart file and repack them back into a ISO file, wrote it to a USB key. I was able to use my modified ISO file  for perfsonar installation to a bunch servers (with the same configuration).

 

I tried the same recipe, I failed to make the USB bootable. I must need to modify a few steps somewhere.  I would love to hear it from the package maintainer or someone who has successfully done this exercise.

 

I extracted all files from the following iso file:

pS-Toolkit-4.1-CentOS7-FullInstall-x86_64-2018Aug13.iso

 

I can see two ks.cfg files, one in the top directory and one in the isolinux directory (and one buried in the initrd.img as well).

Which ks.cfg file I need to modify?  What is the exact command line to repack into a new ISO file (using mkisofs)?

 

Thank you very much for your help!

 

Zhi-Wei Lu

IET-CR-Network Operations Center

University of California, Davis

(530) 752-0155

 


--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user

 




Archive powered by MHonArc 2.6.19.

Top of Page