Issues with RH7 kickstart via USB and PXE
Andrew Simpson <[email protected]> Wed, 8 Mar 2017 07:39:27 -0500
| Newsgroups | gmane.linux.redhat.kickstart.general |
|---|---|
| Message-ID | <CAFzrdOzutRY-t0+KdK5=sbze4mn03Pj0=MFPXzH+j7SHLupb-Q@mail.gmail.com> |
--===============8408068622972352630== Content-Type: multipart/alternative; boundary=001a11406d98514210054a376bed --001a11406d98514210054a376bed Content-Type: text/plain; charset=UTF-8 I have had a few issues migrating from RHEL 6 kickstart installs to RHEL 7. 1. pxeboot installs were failing because I did not have the LiveOS directory included in the customized ISO. Is the LiveOS directory (and the images in it) required in RHEL 7 now? 2. in pxeboot, I had to have the proper order of options in the isolinux.cfg (pxelinux.cfg) file. We were also using NFS for the install. Lastly, the pxeboot server is older, and caused issues with the nfs version. The order of relevant options was: inst.stage2=nfs4:10.0.0.1:/path/to/installdir inst.ks=nfs:10.0.0.1:/path/to/installdir/ksdir/file.ks inst.repo=nfs4:/10.0.0.1:/path/to/installdir Notice that inst.ks=nfs didn't require the nfs version, but repo and stage2 did. The order was also important for whatever reason. 3. USB installs worked under RHEL 6. Now, I'm having issues. Under RHEL 6 I would use live-iso-to-disk to write the files to the USB drive. This came from the livecd-tools packages in fedora. 4. I currently am able to do PXE installs and DVD installs without fail. Under RHEL 7, the livecd-tools utilities no longer work for this as the livecd-iso-to-disk script finds the LiveOS directory in the iso and stops processing anything else, treating it as a LiveOS image. So this goes back to Number 1 above. Is the LiveOS required? Is there anyway to use livecd-tools to generate the USB drive? The generation of the iso is correct and I'm using isohybrid on the .iso. Under RHEL 6, the usb drive would work flawlessly. I switched to using the following while building on a RHEL.6 (soon to be rhel.7) system: pv -treb my.iso | dd of=/dev/sdc conv=noerrors,notrunc So, is there a better way to make a bootable usb via command line -or- what is the proper way to do this? Should the iso layout mostly be exactly like the oem iso, with the exception of the changed isolinux.cfg file(s), ks files, and additional packages/repodata? Thanks for all and any help/information you can provide! Andrew --001a11406d98514210054a376bed Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>I have had a few issues migrating from RHEL 6 kicksta= rt installs to RHEL 7.</div><div><br></div><div>1. =C2=A0pxeboot installs w= ere failing because I did not have the LiveOS directory included in the cus= tomized ISO.=C2=A0 Is the LiveOS directory (and the images in it) required = in RHEL 7 now?</div><div>2. =C2=A0in pxeboot, I had to have the proper orde= r of options in the isolinux.cfg (pxelinux.cfg) file.=C2=A0 We were also us= ing NFS for the install.=C2=A0 Lastly, the pxeboot server is older, and cau= sed issues with the nfs version.=C2=A0 The order of relevant options was:</= div><div><br></div><div>inst.stage2=3Dnfs4:10.0.0.1:/path/to/installdir ins= t.ks=3Dnfs:10.0.0.1:/path/to/installdir/ksdir/file.ks inst.repo=3Dnfs4:/10.= 0.0.1:/path/to/installdir</div><div><br></div><div>Notice that inst.ks=3Dnf= s didn't require the nfs version, but repo and stage2 did.=C2=A0 The or= der was also important for whatever reason.</div><div><br></div><div>3.=C2= =A0 USB installs worked under RHEL 6.=C2=A0 Now, I'm having issues.=C2= =A0 Under RHEL 6 I would use live-iso-to-disk to write the files to the USB= drive.=C2=A0 This came from the livecd-tools packages in fedora.</div><div= ><br></div><div>4.=C2=A0 I currently am able to do PXE installs and DVD ins= talls without fail.</div><div><br></div><div>Under RHEL 7, the livecd-tools= utilities no longer work for this as the livecd-iso-to-disk script finds t= he LiveOS directory in the iso and stops processing anything else, treating= it as a LiveOS image.=C2=A0 So this goes back to Number 1 above.=C2=A0 Is = the LiveOS required?=C2=A0 Is there anyway to use livecd-tools to generate = the USB drive?</div><div><br></div><div>The generation of the iso is correc= t and I'm using isohybrid on the .iso.=C2=A0 Under RHEL 6, the usb driv= e would work flawlessly.</div><div><br></div><div>I switched to using the f= ollowing while building on a RHEL.6 (soon to be rhel.7) system:</div><div><= br></div><div>pv -treb my.iso | dd of=3D/dev/sdc conv=3Dnoerrors,notrunc</d= iv><div><br></div><div><br></div><div>So, is there a better way to make a b= ootable usb via command line -or- what is the proper way to do this?</div><= div><br></div><div>Should the iso layout mostly be exactly like the oem iso= , with the exception of the changed isolinux.cfg file(s), ks files, and add= itional packages/repodata?</div><div><br></div><div>Thanks for all and any = help/information you can provide!</div><div><br></div><div><div class=3D"gm= ail_signature"><div dir=3D"ltr">Andrew</div></div></div> </div> --001a11406d98514210054a376bed-- --===============8408068622972352630== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kickstart-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/kickstart-list --===============8408068622972352630==--