Andrew Brown wrote:
>
>     I'm assuming you are building this on F9?
>
>
> I wasn't, I was using the script and kickstart in the koan source 
> which was fc8.  I've switched to the development branch which is fc9 
> and re-built it.
>
> The cd image that comes out of that works, as in, it boots and starts 
> executing the scripts.  I believe I can modify things to do what we need.
>
> I also tried using the livecd-iso-to-pxe script to convert the iso 
> into a pxe boot kernel/initrd and pxelinux config file.  That also 
> worked as far as I could tell booting an actual machine using the 
> generated /tftpboot tree (it generates a kernel, initrd, and pxelinux 
> config file)
>
> However, I tried booting the kernel and initrd with qemu using its 
> -kernel and -initrd options, and it wouldn't work.  I'd like to get 
> this to work if possible so I can rapidly try new images without 
> booting up actual hardware.
> It's actually not that big of a deal because qemu boots the iso just 
> fine.  I'm just curious why it wouldn't boot the kernel/initrd 
> directly.  The command line looks like this:
>
>     qemu -m 256 -hda ~/disk.qcow2 -kernel vmlinuz0 -initrd initrd0.img
>     -append "root=/koan-live-cd.iso rootfstype=iso9660 rootflags=loop"
>

This is what koan is for.

If using a VM:

# on cobbler server
cobbler image add --name=livecd --path=nfs://server/path/to/livecd.iso

# on host system
koan --virt --virt-type=qemu --image=livecd

This all goes through the virtinst libraries to make sure the correct 
arguments are used.  If that /still/ fails, we can debug this.

The process for PXEbooting that still involves "cobbler distro add" and 
not "image add" based on the Wiki link "AllAboutImages" I posted 
yesterday. 

> It errors with a kernel panic being unable to mount the root 
> filesystem.  The append line was copied from the generated pxe config 
> from the livecd-iso-to-pxe script.  /koan-live-cd.iso is a file in the 
> initrd.
>
>
> Anyways, if that's a dead end, I won't worry about it.  I'm going to 
> try and modify the koan live cd to be a cloner live cd.  I'm first 
> going to get it working with dd, since partimage isn't in the repos 
> and I'll have to build it myself.

Yep, we're going to want to get partimage packaged for Fedora.



> -Andrew
>
> On Tue, Aug 5, 2008 at 2:58 PM, Michael DeHaan <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Andrew Brown wrote:
>     > So I've started looking at the script that builds a koan live cd
>     (the
>     > 'live' directory in the koan source) to modify it to do what we
>     need,
>     > but I'm having trouble getting the code to produce a bootable iso.
>     >
>     > I'm just trying to run the build.py script as is, and it produces a
>     > koan-live-cd.iso.  But when I boot it, it gets several errors about
>     > mounting the root filesystem, as well as several other errors that I
>     > can type up here if you want.  The last line looks like "switchroot:
>     > mount failed: No such file or directory"
>     >
>     > I need to get this working before I can move on to editing it
>     for the
>     > cloner imaging.  Any idea what's going on with this?
>     > -Andrew
>
>     Sure.  Perhaps you can take a picture of the actual error, so we
>     can run
>     it by the livecd-tools folks?
>
>     I'm assuming you are building this on F9?
>
>     --Michael
>
>
>     _______________________________________________
>     cobbler mailing list
>     [email protected] <mailto:[email protected]>
>     https://fedorahosted.org/mailman/listinfo/cobbler
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to