[openbeos] Re: Is it possible to boot Haiku from a USB key?

  • From: "Urias McCullough" <umccullough@xxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 6 Jun 2008 14:33:19 -0700

2008/6/6 Michael Lotz <mmlr@xxxxxxxx>:
> It is possible and pretty simple too. The only thing necessary is that
> the USB stack, the host controller drivers and the usb_disk driver are
> added to the boot module symlinks. If you build Haiku yourself you can
> add the targets "usb <usb>uhci <usb>ohci <usb>ehci usb_disk" to the
> targets list of "AddBootModuleSymlinksToHaikuImage" in "build/jam/
> HaikuImage". Otherwise you can do this manually by creating symlinks to
> "/boot/beos/system/add-ons/kernel/bus_managers/usb", "/boot/beos/system
> /add-ons/kernel/busses/usb/{u|o|e}hci" and "/boot/beos/system/add-ons/
> kernel/drivers/bin/usb_disk" in the "/boot/beos/add-ons/kernel/boot"
> folder where all the other boot symlinks reside already.

Ah, good info. This is probably why I was unable to get Haiku booted
from USB before :)

I assume just adding a line to the UserBuildConfig would be sufficient
as well (rather than hacking at HaikuImage):

AddBootModuleSymlinksToHaikuImage usb <usb>uhci <usb>ohci <usb>ehci usb_disk ;

- Urias

Other related posts: