Rebuild Fedora 19 ISO adding Kickstart for USB install
Posted
by
dooffas
on Server Fault
See other posts from Server Fault
or by dooffas
Published on 2013-10-24T16:41:12Z
Indexed on
2013/10/24
21:57 UTC
Read the original article
Hit count: 345
I am attempting to edit a Fedora 19 DVD ISO to add a kickstart file. I then need this ISO burnt to a USB stick for instillation.
The error I get when booting is
Warning: Could not boot.
Warning: /dev/root does not exist
To try and determine which part of the process is failing I have broken the process down in to separate stages.
Step 1:
Burn the original ISO "Fedora-19-x86_64-DVD.iso" (Available -> here) to a pendrive and see if that will install.
dd if=/path/to/iso of=/dev/sdc
Burning this image was successful and it installed without issue.
Step 2:
Exctract the ISO, repackage it and burn it to a pendrive and see if that will install. PLEASE NOTE: The final command in this section has been broken down in to multiple lines for ease of reading, in fact it was run as a single command on one line.
mkdir -p /mnt/linux
mount -o loop /tmp/linux-install.iso /mnt/linux
cd /mnt/
tar -cvf - linux | (cd /var/tmp/ && tar -xf - )
cd /var/tmp/linux
xorriso -as mkisofs -R -J -V "NewFedoraImage" -o ouput/file.iso
-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4
-boot-info-table -isohybrid-mbr /usr/share/syslinux/isohdpfx.bin .
This iso was then burnt to a pendrive as before.
dd if=/path/to/iso of=/dev/sdc
This ISO burnt to the pen drive with no problem and will boot. I then see the fedora options screen. After choosing either "Install Fedora 19" or "Test this media & install Fedora 19" I then receive the errors highlighted above.
This means the kickstart file is not to blame, but repackaging the ISO. Is there something I am missing in the repackaging process?
Any input would be great!
NOTE: If it is of any help, I attempted Step 2 with an Ubuntu server ISO and the process was successful.
© Server Fault or respective owner