Jeroen van Meeuwen wrote: > Hi, > > In an attempt to boot a virtual QEMU-KVM system from the local hard > drive using a PXE menu entry, I've come up with the following; > > Add chain.c32 to the cobbler distribution. > chain.c32 is particularly useful when you are using qemu(-kvm) > where the BIOS isn't capable of switching boot devices. In these > cases, using "localboot 0" will just restart the PXE boot. With > chain.c32 though, you can use the following snippet in > /etc/cobbler/pxe/pxelocal.template to boot from the local hard- > drive: > > label local > menu label Boot from local harddrive > kernel chain.c32 > append hd0 0 > > where "hd0" is the hard drive number (use fd0 for floppy, etc.), > and 0 is the partition number. > > Attached is a patch that adds chain.c32 to cobbler (just like > menu.c32), but if applied, you will need to copy > /usr/lib/syslinux/chain.c32 to loaders/chain.c32 manually (as binary > foo does not show in git patches). > > Kind regards, > > Jeroen van Meeuwen > -kanarip > ------------------------------------------------------------------------ > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler
(Finally have the devel branch going as 1.5 now...) I'll take this, though the patch does not currently apply to devel. Can you rebase this and resubmit? Don't include the binary chain.c32 in the patch, I'll take care of ensuring it gets carried along. --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
