Monday 18 November 2019

iso image - Creating a Centos 7 iso with kickstart

I wish to create an iso file containing Centos 7 x64 for unattended/kickstart installations. For Centos 6, it worked like a charm. But for Centos 7, i am not able to create a bootable iso image.


This is what i did:


Mounted the original .iso


mkdir /tmp/iso
mount /work/CentOS-7-x86_64-Minimal-1503-01.iso /tmp/iso -o loop

Copying the files to a new directory:


mkdir /work/kickstart 
rsync -avz /tmp/iso/ /work/kickstart/

Creating a new iso:


genisoimage -untranslated-filenames -volid 'CentOS-7.0-KS-x86_64' -J -joliet-long -rational-rock -translation-table -input-charset utf-8 -x  ./lost+found -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img  -no-emul-boot -o /work/centos7.iso -T /work/kickstart
isohybrid -u /work/centos7.iso

All is good so far, but when i try to boot out of this image i get:


dracut-initqueue[577]: Warning: Could not boot.
dracut-initqueue[577]: Warning: /dev/root does not exist

Screen shot - http://prntscr.com/81rs63


What causes this problem? I guess i am not creating the iso right, it should be a simple copy of the same data.

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...