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

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 06 Jun 2008 23:55:45 +0200

Urias McCullough wrote:
> 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 :)

Yeah, pretty cool!

> 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 ;

Is there a disadvantage for doing this as the "official default" in 
HaikuImage?

Best regards,
-Stephan

Other related posts: