I'm trying to create an ISO to be used by KVM under RHEL7.
- I mount the RHEL7 iso
- I then copy all of the contents to /var/tmp/isos
- Create a tar file and move it to another directory under /tmp
Code:
tar -czf /tmp/isos/rhel7.tar.gz .
- I run file and stat against the .iso file and it appears ok
- I uncompress the .tar.gz under /tmp/isos
- I then run the following mkisofs with the following:
Code:
mkisofs -o rhel7.iso -b isolinux/isolinux.bin -c isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V rhel7.iso .
Using the information to mkisofs from this URL:
http://bencane.com/2013/06/12/mkisof...x-install-iso/
No errors so I launch KVM and start it up and once it boots up, I get the following error:
Code:
dracut-initqueue[548]: Warning: dracut-initqueue timeout - starting timeout scripts
dracut-initqueue[548]: Warning: Could not boot
dracut-initqueue[548]: Warning: /dev/root does not exist
Starting Dracut Emergency Shell...
Warning: /dev/root does not exist
Generating "/run/initramfs/rdsosrepot.txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosrepot.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.
dracut:/#
I was under the impression that dracut for if there was no initram-fs under /boot.
So I'm not understanding if I didn't run mkisofs correctly or if I need to do something else to kick off this ISO correctly.
thanks