Fulvio Scapin
2008-Jul-06 01:05 UTC
[syslinux] Patch for GRUB Legacy to chainload SYSLINUX from logical partitions
Inspired from a similar patch posted on grub-devel for Grub2 I immersed myself into the code of Grub Legacy and came up with this absurdedly simple patch to allow syslinux or other bootloaders residing in logical partition to be chainloaded from GRUB Legacy (0.9x). Hoping it to be of help, regards Fulvio Scapin -------------- next part -------------- A non-text attachment was scrubbed... Name: grub-chainloading-logical-partitions.patch Type: text/x-patch Size: 1032 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20080706/11028352/attachment.bin>
greenfinch
2008-Jul-06 11:15 UTC
[syslinux] Patch for GRUB Legacy to chainload SYSLINUX from logical partitions
Fulvio Scapin wrote:> Inspired from a similar patch posted on grub-devel for Grub2 I > immersed myself into the code of Grub Legacy and came up with this > absurdedly simple patch to allow syslinux or other bootloaders > residing in logical partition to be chainloaded from GRUB Legacy (0.9x). > Hoping it to be of help, regards > Fulvio Scapin >Very good job Fulvio! I've just tried it and it works. I've patched GRUB LEGACY 0.97. Meanwhile I thought about a workaround: - Install GRUB in the MBR of the USB drive. - Start with GRUB the primary partitions of the USB stick (incl. hide/unhide, etc.) - If I want to boot logical partitions from my USB drive, I chainload SYSLINUX (3.70), which is installed in the boot sector of the first primary partition of the USB stick. With SYSLINUX I can boot any logical partition from there. However this is not necessary anylonger with your patch! Thank you very much for your help Fulvio! greenfinch