History log of /haiku/src/tools/anyboot/anyboot.cpp
Revision Date Author Comments
# 2f0ca697 26-May-2017 Alexander von Gluck IV <kallisti5@unixzen.com>

anyboot: Add EFI partition support

* Enables us to add an optional EFI filesystem
to the anyboot image.
* All existing anyboot behaviour is preserved.
* We still need to figure out how to build bios
and EFI loaders at the same time on x86.
* The tiny "fake ISO" still needs el-torito
alt-boot for the EFI loader to work when burned
to a CD. This makes the EFI loader work when
written to a hard disk / flash drive.


# 040eb824 12-Nov-2010 François Revol <revol@free.fr>

Add missing copyright to mmlr. Please check.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39410 a95241bf-73f2-0310-859d-f6bbb57e9c96


# aceebab7 01-Mar-2010 Michael Lotz <mmlr@mlotz.ch>

Add a CHS conversion function. It is not used though as we can't generally make
valid CHS addresses due to not knowing the geometry of the target device
beforehand. So it's mostly just for completeness...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35717 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0a54a1a5 28-Feb-2010 Michael Lotz <mmlr@mlotz.ch>

Fix missing stdint include, missing open mode flags and libsupc++ linking.
Thanks to luroh and mmadia for testing!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35674 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 596ba082 28-Feb-2010 Michael Lotz <mmlr@mlotz.ch>

Well, it was a 50-50 chance to hit the portable write function... Should fix
the anyboot build tool build on non-Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35673 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bfa5a8db 28-Feb-2010 Michael Lotz <mmlr@mlotz.ch>

Adding an "anyboot" buildtool that takes a chainloading MBR, a ISO CD boot image
and a Haiku image and fuses everything to a hybrid MBR/ISO image. Since it
contains a valid MBR, partition table and el-torito CD boot record such an image
should be pretty universally bootable. It can be written to disks, USB sticks or
CDs/DVDs. Since it has a partition table in place it is also possible that it
helps with the non-booting USB sticks where the BIOS (wrongly) assumes a
partition table.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35667 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 040eb824e410dbdae6a3068500e4cec0f9142f83 12-Nov-2010 François Revol <revol@free.fr>

Add missing copyright to mmlr. Please check.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39410 a95241bf-73f2-0310-859d-f6bbb57e9c96


# aceebab74020c7ff7b144550d7fb4b881fcdb4c2 01-Mar-2010 Michael Lotz <mmlr@mlotz.ch>

Add a CHS conversion function. It is not used though as we can't generally make
valid CHS addresses due to not knowing the geometry of the target device
beforehand. So it's mostly just for completeness...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35717 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0a54a1a530d66795edf976c4db56b82a3b294c3f 28-Feb-2010 Michael Lotz <mmlr@mlotz.ch>

Fix missing stdint include, missing open mode flags and libsupc++ linking.
Thanks to luroh and mmadia for testing!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35674 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 596ba08220ad7c58534c4296707ce9c93730e5d8 28-Feb-2010 Michael Lotz <mmlr@mlotz.ch>

Well, it was a 50-50 chance to hit the portable write function... Should fix
the anyboot build tool build on non-Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35673 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bfa5a8db186641f2227e0566dd7d084f0e6748ec 28-Feb-2010 Michael Lotz <mmlr@mlotz.ch>

Adding an "anyboot" buildtool that takes a chainloading MBR, a ISO CD boot image
and a Haiku image and fuses everything to a hybrid MBR/ISO image. Since it
contains a valid MBR, partition table and el-torito CD boot record such an image
should be pretty universally bootable. It can be written to disks, USB sticks or
CDs/DVDs. Since it has a partition table in place it is also possible that it
helps with the non-booting USB sticks where the BIOS (wrongly) assumes a
partition table.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35667 a95241bf-73f2-0310-859d-f6bbb57e9c96