aboutsummaryrefslogtreecommitdiffstats
path: root/utils/isohybrid.in
Commit message (Collapse)AuthorAgeFilesLines
* isohybrid: make the -offset option actually workH. Peter Anvin2009-11-161-2/+2
| | | | | | | | Actually implement the -offset option. Credit for the patch goes to "cmdr from the gparted-forum", reported by Sven-Hendrik Haase <sh@lutzhaase.com>. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: convert -id to a binary stringSteffen Winterfeldt2009-08-031-1/+1
| | | | | Shouldn't 'isohybrid -id ID' write ID as 32bit number? Currently it ends up as string messing up the mbr.
* isohybrid: we are backwards compatible again, change the error msgH. Peter Anvin2009-05-251-3/+2
| | | | | | | | We are backwards compatible again, at least as long as -partok is not used. However, there is no minor version number, so we can't check for that at this time. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: revert to a stack format compatible with previous versionsyslinux-3.81-pre14H. Peter Anvin2009-05-251-1/+1
| | | | | | | | Revert the isohybrid handover protocol so that it has a stack format compatible with the previous versions; that way we can also revert the magic number to a compatible one. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: support booting from partition; fix CBIOS bootingH. Peter Anvin2009-05-211-4/+9
| | | | | | | | Fix CBIOS in isohybrid mode. Also allow an isohybrid image to be booted from a partition. Unfortunately this breaks compatibility between differing versions of isohybrid and isolinux.bin. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: allow selecting the _c and _f versions of the prefixH. Peter Anvin2009-05-211-14/+37
| | | | | | | | Allow selecting the _f or _c versions of the prefix in addition to the default one. This is specified with the -forcehd0 or -ctrlhd0 options. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: add options, change default ptype to 0x17syslinux-3.81-pre8H. Peter Anvin2009-05-201-13/+81
| | | | | | | | Add support for setting a variety of options in isohybrid. Also change the default partition type to 0x17, "Windows hidden IFS", as that seems to make Windows less unhappy. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: preserve MBR id in isohybridPascal Terjan2009-05-011-6/+8
| | | | | | | | | | When running isohybrid again it's nice to preserve the MBR id There was some partial code to support setting the id using non existing to_int, but no way to use it. Signed-off-by: Pascal Terjan <pterjan@mandriva.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: support iso images over 2GBPascal Terjan2009-05-011-2/+1
| | | | | | | | "use integer" limits integers to 2^31-1 on 32 bits, which makes imgsize to be -1 on DVD images Signed-off-by: Pascal Terjan <pterjan@mandriva.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: remove Perl modules we don't actually needH. Peter Anvin2008-09-071-3/+0
| | | | | | Remove Perl "use" statements that aren't actually required. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: verify we have a hybrid-compatible isolinux.binH. Peter Anvin2008-09-071-2/+9
| | | | | | | | Verify that the PXE boot loader is a hybrid-compatible isolinux.bin by looking for the hybrid boot signature, otherwise print an error message. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid, mkdiskimage: don't use sysopen(), sysread()H. Peter Anvin2008-09-071-2/+1
| | | | | | | | Don't use sysopen() and sysread() when it doesn't make sense. Especially avoid using sysread() -- sysopen() can be used with read(); the C fdopen() is implicit. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: fix partition table generation, documentsyslinux-3.72-pre3H. Peter Anvin2008-09-051-10/+4
| | | | | | | Fix the generation of the partition table in isohybrid; also document the operation of the partition table. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* ISOLINUX: support for hybrid mode (CD-ROM/USB key)H. Peter Anvin2008-09-051-0/+165
Still a work in progress. Signed-off-by: H. Peter Anvin <hpa@zytor.com>