History log of /haiku/src/apps/bootmanager/LegacyBootMenu.cpp
Revision Date Author Comments
# 0449ac1e 05-Oct-2022 Oscar Lesta <oscar.lesta@gmail.com>

BootManager: fix usage of BPartition::ContentName()

This one got changed in hrev56463. Fixes #17969.

Credit for the proper fix: Jérôme Duval.

Change-Id: Ia7ab07573538031f4794efce9e0feba37b7b9bda
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5714
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 39681c5c 13-Jul-2019 Augustin Cavalier <waddlesplash@gmail.com>

BootManager: Lock installation to "Intel" partition types only.

It seems no other OS calls these "Intel" partition types, but instead
MBR partition types. Perhaps we should change this, too?

At any rate, this solves #13260 by blocking installation on GPT
drives altogether.


# 4c9e8f77 11-Jul-2019 Augustin Cavalier <waddlesplash@gmail.com>

BootManager: Take explicit instead of implicit reference.

Passing a type& to a va-args turns it into a pointer as per
the Itanium ABI; but we shouldn't rely on such trickery.
Explicitly capture a reference to it instead.


# 8e3ccf2c 10-Feb-2019 Rob Gill <rrobgill@protonmail.com>

BootManager Disallow install to read-only drive (Bug #14596 & Bug #7200)

* Test for read-only devices during drive scan
if read-only detected, flag it in ui and disallow installation

Change-Id: Idd9e8e94d4a4840df97939154e1bbec70d0c0ece
Reviewed-on: https://review.haiku-os.org/c/1026
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>


# 4011cb5d 21-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BootManager: different error when no MBR is found

We were using the same "no space available" message used when the first
partition starts too early. Be more specific here to make it clearer
what the problem is.

Fixes #7087.


# b41ab65b 05-Feb-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

x86_64: Add BootManager, writembr

* Fix build of BootManager on x86_64 (signed vs unsigned error)
* Throw in writembr as it seems to build (untested)


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# d3dd01a5 08-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Removed no longer used TestBootDrive.* files.
* Added a comment to LegacyBootMenu.cpp on how to conveniently test the boot
manager, and its menu.


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


# 49c044ab 08-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Changed bootman.S to use the BIOS provided drive to stage load itself, as well
as when the boot menu entry has a 0 BIOS drive. This allows the boot loader to
be installed on any drive.
* Implemented BootDrive class, and changed LegacyBootMenu the way it should
work now. Installing the boot menu should now work again, and the first time
while installing Haiku.
* Removed MakeArray.cpp - we already have such a tool in our repository.
* Build BootLoader.h automatically during the build process - the only
disadvantage is that you can only build it on x86 now (but other systems
don't use this boot loader, anyway).
* In general, the BootManager is prepared to handle different kinds of boot
menus; one only needs to write a class BootMenu implementation for this to
work - and have the possibility to choose between different menus, if there
are more than one per platform/partitioning system.
* Renamed quite a few methods.
* Automatic whitespace cleanup.


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


# 5675f44e 05-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Work in progress of being able to choose the drive to install the menu to.
Note, the BootManager might not work right now, anymore.


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


# 4011cb5d303d89140dc966279f894865a6e9a208 21-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

BootManager: different error when no MBR is found

We were using the same "no space available" message used when the first
partition starts too early. Be more specific here to make it clearer
what the problem is.

Fixes #7087.


# b41ab65bd4aca837e26e3a7dec767da6fb71a0a4 05-Feb-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

x86_64: Add BootManager, writembr

* Fix build of BootManager on x86_64 (signed vs unsigned error)
* Throw in writembr as it seems to build (untested)


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# d3dd01a500c5209fd6e5f9ac823a457d4f76a45e 08-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Removed no longer used TestBootDrive.* files.
* Added a comment to LegacyBootMenu.cpp on how to conveniently test the boot
manager, and its menu.


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


# 49c044ab9fc4afb883931c0d0e5ba5083e60a563 08-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Changed bootman.S to use the BIOS provided drive to stage load itself, as well
as when the boot menu entry has a 0 BIOS drive. This allows the boot loader to
be installed on any drive.
* Implemented BootDrive class, and changed LegacyBootMenu the way it should
work now. Installing the boot menu should now work again, and the first time
while installing Haiku.
* Removed MakeArray.cpp - we already have such a tool in our repository.
* Build BootLoader.h automatically during the build process - the only
disadvantage is that you can only build it on x86 now (but other systems
don't use this boot loader, anyway).
* In general, the BootManager is prepared to handle different kinds of boot
menus; one only needs to write a class BootMenu implementation for this to
work - and have the possibility to choose between different menus, if there
are more than one per platform/partitioning system.
* Renamed quite a few methods.
* Automatic whitespace cleanup.


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


# 5675f44e8462b10aa718b2bcceb72f9ac60eca87 05-Jan-2011 Axel Dörfler <axeld@pinc-software.de>

* Work in progress of being able to choose the drive to install the menu to.
Note, the BootManager might not work right now, anymore.


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