Nishanth - as a Cobbler newbie, I didn't know about this. Thanks!
It worked after I tweaked it - I had to add the kernel parameter
"root=live:/boot.iso" to the PXE config line, where "boot.iso" is the
name
of the original ISO that livemedia-creator made before getting PXE
converted.
For others finding this on the internets, I had to make a profile called
"livecd" with the distro, and then I had to add the kernel option to the
profile with the following command:
cobbler profile edit --name livecd --kopts="root=live:/boot.iso"
It works! :D Thanks all!
On Wed, Sep 23, 2015 at 10:55 AM, Nishanth Aravamudan <
nacc(a)linux.vnet.ibm.com> wrote:
On 23.09.2015 [10:46:03 -0700], Locane wrote:
> Yes, absolutely. I have a current legacy PXE server running on (shudder)
> CentOS 4, and it works great for loading the LiveCD image. Below is the
> PXE menu config entry associated with it that works on the old server:
>
> label livecd
> menu label ^LiveCD
> KERNEL devops/livecd/vmlinuz
> APPEND rootflags=loop initrd=devops/livecd/initrd.img
> root=live:/boot.iso rootfstype=auto ro liveimg quiet nodiskmount
nolvmmount
> rhgb vga=791 nomodeset rd_NO_LUKS rd_NO_MD rd_NO_DM
> ONERROR LOCALBOOT 0
>
> It is a CentOS 7 LiveCD, built using Lorax and converted with
> livecd-to-pxe-boot from LiveCD Tools (also a Fedora thing).
Have you tried copying the vmlinuz and initrd.img to the Cobbler
server's disk and running a `cobbler distro add` on it? `cobbler import`
is for importing full DVDs of OS distributions.
-Nish