tools/livecd-iso-to-disk.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 3ea5e21f5d49ce967d6dc71e1d543e42a0eff606 Author: Jeremy Katz <[email protected]> Date: Fri Mar 6 17:01:42 2009 -0500 Tweak kernel/initrd paths for the multi-image case When you load the extra syslinux.cfg, we need to be sure we reference the kernel and initrd with full paths so the right ones are loaded. Go ahead and set that up. For those who want to try, add a section like the following to your top-level syslinux/syslinux.cfg label otherimage menu label Other Image kernel vesamenu.c32 APPEND /livedir/syslinux/syslinux.cfg diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index c803bc7..f840c6e 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -668,8 +668,11 @@ if [ -z "$multi" ]; then cleanup fi else + # we need to do some more config file tweaks for multi-image mode + sed -i -e "s;kernel vm;kernel $LIVEOS/syslinux/vm;" $USBMNT/$SYSLINUXPATH/isolinux.cfg + sed -i -e "s;initrd i;initrd $LIVEOS/syslinux/i;" $USBMNT/$SYSLINUXPATH/isolinux.cfg + mv $USBMNT/$SYSLINUXPATH/isolinux.cfg $USBMNT/$SYSLINUXPATH/syslinux.cfg cleanup - echo "Multi-image mode selected; not setting up bootloader" fi echo "USB stick set up as live image!" -- Fedora-livecd-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-livecd-list
