Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3668 closed bug (invalid)

Partition boot code can't find boot loader

Reported by: idefix Owned by: axeld
Priority: normal Milestone: R1
Component: System/Boot Loader Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I usually update my Haiku partition by copying the contents of a pre-build image to that partition under BeOS. (Like section 2.3 from http://www.haiku-os.org/documents/user/how_to_get_haiku_booted.)
This time however, I reinitialized the partition under BeOS and then copied the new directory structure from the hrev29884 image to it.
Now when I want to boot into Haiku, I get a message saying "Error loading OS; press any key to reboot."

I suspect this is because BeOS's makebootable sets the partition boot code to look for the "/boot/beos/system/zbeos" file, while that one is now "/boot/system/haiku_loader". (BTW: Shouldn't that file be called "system_loader" instead?)

I tried to run the makebootable from the pre-build image, but I get a message saying "sh: ./makebootable: cannot execute binary file".

Change History (4)

comment:1 by idefix, 15 years ago

Copying haiku_loader to "/boot/beos/system/" and renaming it to zbeos got Haiku booting again. I can live with this work-around, so this ticket can be closed.

comment:2 by stippi, 15 years ago

Resolution: invalid
Status: newclosed

Ok, marking as invalid, since it isn't actually a bug, only your method of installation isn't supported anymore. It kind of sucks, I agree, but thankfully you found a work around.

comment:3 by idefix, 15 years ago

After I ran makebootable from the now bootable Haiku installation and deleted the zbeos file, Haiku still booted fine. The workaround is only needed for the first boot (until I accidentaly run makebootable from BeOS again).

comment:4 by heto, 15 years ago

In case someone is interested, I've made a version of makebootabletiny for BeOS, available here: http://www.students.tut.fi/~vettenrh/dump/ . makebootabletiny.c contains the source code, makebootabletiny_beos contains a binary for BeOS R5.

Note: See TracTickets for help on using tickets.