How to install Haiku to USB Flash Drive from Windows

Forum thread started by miqlas on Wed, 2008-06-11 23:00

IMPORTANT!!!!
YOU USE AT YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS,
DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING OR
MISUSING THIS SOFTWARE.

Note: When entering commands shown quotes, do not enter the actual quote characters!

0) Connect Your Flash Drive.

1) First download the latest Haiku raw image from HERE and the latest Flashnul program from HERE.

2) Extract both files to a new directory (e.g. c:\haiku). Rename the raw image to haiku.img

3) Open a Command Line (Start -> Run, type "cmd", and press enter.) You will see a black window appear with a blinking cursor. You can use basic DOS commands to navigate the directory of the image and the Flashnul. For example "cd \haiku".

4) Type "flashnul -p" to list the available devices.

Example:

Flashnul>flashnul -p

Available physical drives:
0 size = 81961123328 (76 Gb)
1 size = 1000341504 (954 Mb)

As you can see, I have 2 physical disks, the first is 76Gb, and the second is 954 Mb. The second is my Flash drive, shown at index 1. The list will vary depending on your own storage setup. It is very important that you use the number that your listing shows!!! Use the media size as an extra clue to identify the correct media.

5) Write image to flash drive
In step 4 we listed the available devices. We need the index of the Flash drive to write the image to it.

To write the image to Flash drive use the following command (Check the number 3 times before You press enter!!!!!):

"flashnul number_of_Your_flashdrive -L haiku.img"

Example:

Flashnul>flashnul 1 -L haiku.img

Disk PhysicalDrive1 (UNC name: \\.\PhysicalDrive1)
------------------------------------------------------------[Drive geometry]--
Cylinders/heads/sectors = 121/255/63
Bytes per sector = 512
CHS size = 995258880 (949 Mb)
---------------------------------------------------------------[Device size]--
Device size = 1000341504 (954 Mb)
delta to near power of 2 = 73400320 (70 Mb), 7%
Surplus size = 5082624 (4963 kb)
-----------------------------------------------[Adapter & Device properties]--
Bus type = (7) USB
Removable device = Yes
Command Queue = Unsupported
Device vendor = Kingston
Device name = DataTraveler 2.0
Revision = PMAP
--------------------------------------------------------------[Hotplug info]--
Device hotplug = Yes
Media hotplug = No

Selected operation: load file content
Selected drive: PhysicalDrive1, 1000341504b (954 Mb)

THIS OPERATION IS DESTRUCTIVE!!!
Type 'yes' to confirm operation. All other text will stop it.

Really destroy data on drive PhysicalDrive1? :yes

-----------------------------------------------------------------------[Log]--
Running operation [load file content] for drive PhysicalDrive1

Writing 0xf9f0000 (250 Mb), 899733 b/s
image load finished

----------------------------------------------------------[Operation result]--
passes: 1
errors: 0
write bytes: 262144000 (250 Mb)
avg. write speed: 899731 (878 kb/s)
max/min write speed: 0 (0 b/s) / 0 (0 b/s)

Press ENTER to exit.

Ta-Da! Your Boot-able Haiku Flash Drive is ready!

6) Reboot Your computer and open the BIOS, select USB device for first boot device, and save the changes.
After rebooting the computer will boot from the USB disk. It can take a long time, so please be patient.

I wish you good luck!
Thank You for EuanK for the spell correcting.

ByE!
miqlas

Comments

Re: How to install Haiku to USB Flash Drive from Windows

I have a question:
1) Can this method be used to install Haiku to a non-USB (ie., IDE) HDD partition?

Portable Hard Drives

Re: How to install Haiku to USB Flash Drive from Windows

Could the author plse comment on this?

Re: How to install Haiku to USB Flash Drive from Windows

I got sound. Actually, Haiku was already supporting the realtek HD audio.. It's now working fine.

Thanks, Michael and Urias!

Don't boot...

I wrote raw image as written in instruction to flash drive, but every time when I try to boot Haiku, I got blank screen and text "Failed to boot OS".

Re: Don't boot...

writing the raw image to the USB key is not enough (your PC don't know where to find the boot loader).

  1. Download the Haiku for vmware image.
  2. run it with vmware player (you may need to enable the USB support in the .VMX file)
  3. mount your usb key with "DriveSetup". it will appear as /Haiku1
  4. run : makebootable /haiku1
  5. reboot your PC on the USB key...

Re: How to install Haiku to USB Flash Drive from Windows

Today I followed the instruction and Haiku successfully booted from my Toshiba notebook (P205-S6337) with Core2Duo T5300, and Intel GMA950. I used 1GB CF card with a old sandisk multireader to write and boot Haiku image (r31262).

Haiku could detect correct screen resolution (1440x900) but I can feel some tiny blinking of the screen (may be driver problem). Entire system works very well, and it's amazingly fast. Although it did not have sound (Realtek HD audio), the system was very usable.

Re: How to install Haiku to USB Flash Drive from Windows

"Although it did not have sound (Realtek HD audio), the system was very usable."

It's funny, because the driver already in repo.

Re: How to install Haiku to USB Flash Drive from Windows

Sound was not working...Is a driver for realtek hd audio included in the image, or should I download the driver?

Re: How to install Haiku to USB Flash Drive from Windows

Yes, the HDA drive is now included (it didn't use to be, so if you haven't tested in the last month or two, you might try again)

I believe you can check if it's loaded with ls /dev/audio/hmulti

Check the media preferences to make sure the proper output is being used.

If it's still not working, you can try installing the OpenSound optional package, but make sure to remove the hda driver if you choose to do this as they will both load and potentially cause crashing or conflicts.

Re: How to install Haiku to USB Flash Drive from Windows

Thank you for your advice! I will try what you told.

Re: How to install Haiku to USB Flash Drive from Windows

Will this work on drives over 2GB? My computer has no problem booting from USB (I used to do this when I carried my desktop with me via good ole linux), but I only have 4GB sticks at the time, and I want to know if it will work.

Also, will it work off of CF cards?

Re: How to install Haiku to USB Flash Drive from Windows

Will this work on drives over 2GB? My computer has no problem booting from USB (I used to do this when I carried my desktop with me via good ole linux), but I only have 4GB sticks at the time, and I want to know if it will work.

Also, will it work off of CF cards?

Re: How to install Haiku to USB Flash Drive from Windows

For those Vista users, who not have opportunity to write Haiku RAW image to USB Flash with flashnul (because of "write error: access refused") or "Haiku On A Stick" utility, now may to try application called USB Image Tool. I've successfully load RAW image to my Transcend USB JetFlash 150. Haiku is booted up and run from USB 2.0 pretty fast and stable.

It is possible that this is help to someone else...

Re: How to install Haiku to USB Flash Drive from Windows

THANKS VADIM!!

Your solution help me a lot!!!!!!

But..

In the boot, I was surprised by the follow message:
--
PANIC: could not mount boot device!

Welcome to Kernel Debugging Land...
Thread 12 "main2" running on CPU 0

kdebug>
-----

My motherboard is a M2N-MX SE

any suggestion?

Re: How to install Haiku to USB Flash Drive from Windows

michaelvoliveira wrote:

THANKS VADIM!!

Your solution help me a lot!!!!!!

But..

In the boot, I was surprised by the follow message:
--
PANIC: could not mount boot device!

Welcome to Kernel Debugging Land...
Thread 12 "main2" running on CPU 0

kdebug>
-----

My motherboard is a M2N-MX SE

any suggestion?

When in the Kernel Debugging Land, could you enter "sc"?

Also while haiku is just starting to boot, you can press the space bar where you can enable on screen logging, so you can see more info on what is happening.

Re: How to install Haiku to USB Flash Drive from Windows

bixzricard wrote:
michaelvoliveira wrote:

THANKS VADIM!!

Your solution help me a lot!!!!!!

But..

In the boot, I was surprised by the follow message:
--
PANIC: could not mount boot device!

Welcome to Kernel Debugging Land...
Thread 12 "main2" running on CPU 0

kdebug>
-----

My motherboard is a M2N-MX SE

any suggestion?

When in the Kernel Debugging Land, could you enter "sc"?

Also while haiku is just starting to boot, you can press the space bar where you can enable on screen logging, so you can see more info on what is happening.

Well, I hit space bar and select the haiku volume, choose Safe mode, but the panic continues.

I enter with sc command, then:

stack trace for thread 12 "main2"
kernel stack: 0x8018e000 to 0x80192000

frame caller : function + offset
0 80191978 (+48) 80061819 invoke_debugger_command() + 0x00e1
1 801919a8 (+48) 80061972 _ZL19invoke_pipe_segmentP21debugger_command_pipePC() + 0x0083
2 801919d8 (+32) 80061a3a invoke_debugger_command_pipe() + 0x008b
3 801919f8 (+128) 8006591b _ZN16ExpressionParser17_ParseCommandPipeERi() + 0x0aa3
4 80191a78 (+48) 800680bb _ZN16ExpressionParser15EvaluateCommandEPKCRi() + 0x06d5
5 80191aa8 (+192) 80068234 evaluate_debug_command() + 0x0084
6 80191b68 (+96) 800608b8 kernel_debugger() + 0x02be
7 80191bc8 (+160) 80060a4a panic() + 0x002a
8 80191c68 (+816) 800a1c85 vfs_mount_boot_file_system() + 0x02be
9 80191f98 (+64) 80043d2d _ZL5main2Pv() + 0x0087
10 80191fd8 (+32) 800568c4 _ZL28_create_kernel_thread_kentryv() + 0x0015
11 80191ff8 (+2145837064) 8005aef0 _ZL19thread_kthread_exitv() + 0x0000

-----

Some suggestion?

Re: How to install Haiku to USB Flash Drive from Windows

This is ticket 2620

You can see the stack trace(sc) is the same as yours.

You can see the underlying problem here in ticket 5.

Re: How to install Haiku to USB Flash Drive from Windows

bixzricard wrote:

This is ticket 2620

You can see the stack trace(sc) is the same as yours.

You can see the underlying problem here in ticket 5.

Uh... I suspect you'll ALWAYS get that stack trace if it can't find a mountable device...

Thus, the cause cannot be traced to a single bug...

The root cause is actually going to be seen in the syslog/serial debug.

Re: How to install Haiku to USB Flash Drive from Windows

;(

It's sad...

Four years already

Re: How to install Haiku to USB Flash Drive from Windows

Have you looked for any USB legacy settings in your BIOS?

I have the same problem for my haiku testing PC. But I can use haiku as I have set "USB1.0+2.0" mode to "USB1.0" mode in BIOS.

Re: How to install Haiku to USB Flash Drive from Windows

Yes. I do.

My USB stick is 1.0

I set enable USB 1.1 and USB Legacy
and unabled USB 2.0.

Don't have USB 1.0 Option only,

Re: How to install Haiku to USB Flash Drive from Windows

I've noticed that some people were running into booting issues... one thing that I wanted to point out that helps to keep in mind is that you should plug in the USB drive before you turn the system on... This how-to worked for me when I prepared a flash drive for Haiku to boot on my Aspire One. I tried plugging in the drive after the system turned on and went into the BIOS. I set it to boot from USB HHD. It didn't like this. When I rebooted and went into the BIOS again (leaving the thumbdrive in the USB port the entire time), I saw a new option under my boot menu for that -specific- thumbdrive. It mentioned it by vendor name.

Not all BIOSes are the same, obviously, but it may help to make sure you have the thumbdrive plugged in before you power on the system and then arrange the boot order... making sure that the BIOS is aware of the thumbdrive before setup opens.

To make matters more confusing, on my Aspire One, when I used a different thumbdrive to boot Haiku (one that was faster than the 512MB I first tried)... I had to repeat this entire process because the other thumbdrive had a different product name as recognized by the BIOS. That ended up becoming a new entry for me to have to raise to the #1 spot for Boot Order in BIOS.

Re: How to install Haiku to USB Flash Drive from Windows

I found this is the easiest way for me to install to a flash drive, and it keeps things up to date. Its also a little bit safer as you can't get to your Windows hd.

-Get VMWare Player, and blank VMWare disk images(try google)
-Use it to install some linux distro, I used debian.
(Here is a great resource on VMWare config files http://sanbarrow.com/vmx.html)
-Make sure you linux VM has USB support in it.

Once you have booted your linux VM
-Download Haiku from svn, there is a great post on building on Ubuntu.
(http://www.haiku-os.org/documents/dev/building_haiku_on_ubuntu_linux_ste... Thanks Ryan Leavengood)
-Edit the UserBuildConfig file in the build/jam folder to have the image be 'sda' in folder '/dev' (may be different depending on which name your usb stick has)
-Run jam as it is described in the Ubuntu step by step.

The USB stick now has a bootable image on it. I tried it on my Dell Latitude d630, it loads but the os crashes before the bootloader is done. My wife's dell Inspiron 700m boots just fine though.

I have also used this to build a 20g VMWare disk image.

Re: How to install Haiku to USB Flash Drive from Windows

Hi,
my system is: ASROCK AOD790GX/128M motherboard, PHENOM 9950 cpu.
I too can reach the fourth icon and then get kernel panic with:
"did not find any boot paritions"

Re: How to install Haiku to USB Flash Drive from Windows

Please press lot of times the Space bar before the Haiku logo shows up. It will open the boot options, and try boot the Haiku with Safe mode on.

Re: How to install Haiku to USB Flash Drive from Windows

No it didn't work.
I first checked the "disable DMA". It failed with the same message.
Then I checked "Safe mode". The same.
And lastly I checked everything. More of the same.
If there's something else you would want me to try, I'd be happy to help.

Re: How to install Haiku to USB Flash Drive from Windows

Did You test in another USB port? I have 8 USB, but the first can't boot Haiku (maybe now can, but i never use this port more (it works in windows)).

Thanks!

Re: How to install Haiku to USB Flash Drive from Windows

I don't know why but flashnul have some error durning create usb key. This looks so: like create sdc1 instead of sdc on example. Where from such conclusions? I use dd from linuks, and mistake was put in way, I write sdc1 and I have "Failed to load OS" when I write sdc Haiku booting correctly from USB.
http://dev.haiku-os.org/ticket/3413

BTW. Often instead of to look for in settings USB, look to order boot HDD from inserted USB flash, he should appear on list and give him on first place.

Re: How to install Haiku to USB Flash Drive from Windows

Haiku boots on MSI Wind? Cool can you list what hw is working?

Re: How to install Haiku to USB Flash Drive from Windows

I have an original msi wind u100, just added another 1 gb of ram.
haiku boots correctly, lan, backlight buttons (FN), and touchpad (no scrolling) works.
The other things like wifi, bluetooth, FN buttons, audio don't work yet!

Re: How to install Haiku to USB Flash Drive from Windows

audio doesn't work huh, hmm too bad. Maybe there is an audio drive but it is GPL so you'll have to build Haiku yourself and set the building of GPL addons to true / 1 if that's the case.

Re: How to install Haiku to USB Flash Drive from Windows

nutela wrote:

audio doesn't work huh, hmm too bad. Maybe there is an audio drive but it is GPL so you'll have to build Haiku yourself and set the building of GPL addons to true / 1 if that's the case.

I see no GPL audio drivers listed in the HaikuImage Jamfile - so I suspect this won't matter.

Probably the most likely solution would be to add OpenSound to the image and see if that works with the specific audio hardware in the MSI Wind (what is the chipset anyway?)

Re: How to install Haiku to USB Flash Drive from Windows

the audio chipset is an ALC888S by realtek, based on ALC880 chipset family.

Re: How to install Haiku to USB Flash Drive from Windows

HDA from Realtek should runing from OSS. It at me work nice ;)

Re: How to install Haiku to USB Flash Drive from Windows

thank you, I will post the photos as soon as possible... I'm a little bit busy in the university.
But i noted that with a different usb pen drive the error code change

Re: How to install Haiku to USB Flash Drive from Windows

Hi I'd like to inform that with the last raw 28633 haiku boot properly on my msi wind!!! thank you!

edit: i tried to edit this post but it changed position :(

Re: How to install Haiku to USB Flash Drive from Windows

Hi There!!!
I have a problem while booting haiku, i followed the guide and flashnul create a bootable pendrive about 400 mb.
when i boot up, in loading screen haiku returns an error:

PANIC: vm_page_fault: unhandled page fault in kernel space at 0x80465165, ip 0x8045ef00
Welcome to kernel Debugging Land...
Thread 13 "main2" runnig on CPU 0
kdebug>

this is what happens on my msi wind u100 with double boot winxp ubuntu 8.10
can you help me?

Re: How to install Haiku to USB Flash Drive from Windows

What icon was haiku under when the crash happened?
what revision was it ? (i.e. say r28555)

And also when you get to the Debugger enter bt or sc, You may want to take a photo of it.

And also yes, do go to http://dev.haiku-os.org

Re: How to install Haiku to USB Flash Drive from Windows

If You got the bootscreen i think the disk is correct. Maybe this is a bug in the Haiku. Can You try the booting on an another machine?
If it works on an another computer, please, serach on the dev.haiku-os.org for the duplication, and if You don't found this problem here fill an bugreport.
Thank You, mastermind.

Re: How to install Haiku to USB Flash Drive from Windows

No luck apart from one PC, that I have got it to load to the last icon 'till it freaks out, debugger says about it: :busy bit not set after 100ms - probably noone there :aborting because busy bit not set"

BTW the boot options: USB-FDD, USB-HDD, USB-CDROM, USB-ZIP don't do anything in this case, don't bother to try and use them, if your computer can boot from USB pen drive then the BIOS will be tricking its self into thinking that its a local hard drive, so rather go "hard drive boot order", and use the num pad + & - to change the boot order.

OR if you have a Esc or F12 boot select the use that. Mine has a list that looks like this:

FDD
ZIP
CDROM
+HDD
USB-FDD
USB-ZIP
USB-CDROM
USB-HDD
BOOT-LAN

selecting +HDD

brings this list

ST1605485(160GB)
ST1405415(140GB)
DSE USB 1GB PEN-DRIVE(986MB)

what piss' me off is that the PC that is dose work on (AMD sempron 2.6Ghz socket:754) the motherboard doesn't always see it and that it takes a bit of fiddling, removing, turning the computer off and on then putting the flash drive back in and trying again.

Re: How to install Haiku to USB Flash Drive from Windows

I had to enable USB Legacy Emulation to use USB booting on my laptop but it it KDL's now saying it can't mount boot partition, oh well.

Re: How to install Haiku to USB Flash Drive from Windows

believe what you will.rant all day if you want.

the problem lies with makebootable.

as far as not using grub or lilo, BEST OF LUCK TO YA!

only reason it MAY be required is because makebootable doesn't natively work. maybe if you built from sources it MIGHT.maybe.
hence the need for lilo or grub.why it works in HAIKU in a VM i couldn't tell you.im sure there is a difference somewhere.

there is an installer, you have to grab it from SENRYU, your offshoot.ZETA doesnt have it, they removed it on purpose.

The BFS formatter is in Haiku, you need a blanked drive to use it or it wont work right.use the disk utility.size is the only thing misreported, it only reports the correct size on a created VM image that is blank.
otherwise, it works.

copying the files with -R also works.

good tip on R5, though.question is could you modify the R5 to get HAIKU going assuming the bootsector is all you kept?there has to be a way to raw read or hex edit the R5 floppy.

beta code doesnt mean jack if you cant test at least the base of what you are coding for.(which means booting natively, even if old hardware is all you designed HAIKU for.what good is an os that wont boot?) anyone?

didn't know it actually worked with grub, i was too busy fixing knoppix.aparently even with the speed increase, the apt-get doesnt grab the proper files for the release and has a habit of grabbing experimental files instead of unstable/testing.

will give haiku sources a whirl AFTER i get this system a little more stable.some of my packages are being removed when they shouldnt.i look for stability first in an OS, then speed.

knoppix and Haiku have both.

Re: How to install Haiku to USB Flash Drive from Windows

not quite.

ZETA boots okay, if you use SAFE mode and switch from german to english.(unless yer german...)

They removed the hd utils, so you have to bring them in from haiku or senryu.yes, i've tried this going the other way apparently there is a make boot floppy script the team forgot about.its in the 'bin'.

my issue, since I have only usb floppy is how to write this disk from within haiku, since haiku cant boot natively and wont list the usb ports like Unices i usually use.maybe if ZETA makes the disk, i can do it.

I've had no luck trying to boot haiku off a BeOSr5 boot floppy or cd.It just hangs after completion.I can get R5 to load, but I only have usb kayboard and mouse, so its useless.
(still need safe mode)

makebootable is supposed to do the magic, it attempts to work. you can make a BFS partition and format it,even copy over install (by either senryu installer or the 'cp' command), but booting it natively is next to impossible.(EVEN with makebootable)

see, you design an OS UP FROM the bootloader, not the other way around. until lilo or grub can boot haiku (BFS) like thay do linux, I HEAVILY DOUBT Haiku, Senryu, or ANY derivatives will boot natively. RC or not. you can write and read BFS from certain linux distros, forget which, as i've encountered seven different ones trying to reformat my ibook to something semi- as fast as os9.

I found knoppix works quite well at similar speeds for my tower. see it isn't just about doing the job, its about how WELL you can do it, and this was where R5 shimmered.If its anywhere NEAR the speed of knoppix on this machine, I'd buy it in a heartbeat. IF WE CAN GET IT TO BOOT.

the creators that built the disk images just assume like any programmer, that the app works both inside AND outside of Haiku, when in fact, makebootable only runs properly from a ubuntu install with haiku sources.its like assuming a windows(32 bit enviroment) app will run flawlessly on dos (16bit).you BETA and ALPHA test for a reason.I like what I see, but i think yall at Haiku can do better or look for another alternative [bootloader]that can do the job much better as far as getting this to a consumable product.

without that, lets face it, you have nothing.

the cracking team for osx86, (even if it is a grey area) found an opendarwin bootloader that worked.im sure yall can find something.

in the meanwhile, enjoy the curio.

Re: How to install Haiku to USB Flash Drive from Windows

Warning, what follows is borderline rant, and to make it worse, it was written in between other things I was working on, so it's somewhat disjointed.

Take it with a grain of salt, and please excuse my broad ignorance of the details. Sorry if it offends.

Quote:

I've had no luck trying to boot haiku off a BeOSr5 boot floppy or cd.It just hangs after completion.I can get R5 to load, but I only have usb kayboard and mouse, so its useless.
(still need safe mode)

That's because Haiku is not BeOS R5. The bootloader and kernel need to be built from the same source repo - as they're tightly coupled. There is actually a set of information passed from the bootloader to Haiku's kernel when it's bootstrapped. This is not meant to be compatible with BeOS. You would likely run into a similar problem trying to boot a new Haiku partition using an old boot floppy from Haiku - as the bootloader wouldn't be passing the right structures to the kernel when it's loaded (they have changed over time).

Quote:

makebootable is supposed to do the magic, it attempts to work. you can make a BFS partition and format it,even copy over install (by either senryu installer or the 'cp' command), but booting it natively is next to impossible.(EVEN with makebootable)

I not entirely sure what you're talking about here... Last I heard, Haiku couldn't properly partition or run makebootable from itself - so if that's what you're complaining about, that's simply a known bug still. Of course, maybe that was supposedly fixed, I don't know, but I doubt it.

Quote:

see, you design an OS UP FROM the bootloader, not the other way around. until lilo or grub can boot haiku (BFS) like

That seems awfully opinionated to me. I don't have any problems booting Haiku from Grub - in fact it works every time I try it - but, all it does is chainload to the Haiku bootloader on the partition.

If you want a version of Grub that boots off BFS, go use the one from SkyOS. Haiku doesn't use Grub, and doesn't intend to.

Now, if you're complaining about Linux or Windows support for BFS (or lack of support), maybe you should take that up with them. At this point, Haiku aims to be an independent OS, and therefore it will be able to install and boot itself without any other host OS, or bootloader-helpers... seems like a good strategy to me.

Quote:

the creators that built the disk images just assume like any programmer, that the app works both inside AND outside of Haiku, when in fact, makebootable only runs properly from a ubuntu install with haiku sources.its like assuming a windows(32 bit enviroment) app will run flawlessly on dos (16bit).you BETA and ALPHA test for a reason.I like what I see, but i think yall at Haiku can do better or look for another alternative [bootloader]that can do the job much better as far as getting this to a consumable product.

So maybe we can set the record straight: I don't believe the creators of the disk images expect "end users" to actually use them. They're there for testing and development. If you can't figure out how to make it work, then it's probably not ready for you yet.

When Haiku is released as alpha/beta - I'm pretty certain the plan is to provide a bootable CD that can partition and format a disk.

This insinuation that Haiku's developers must somehow cater to every possible scenario at this stage of the game bothers me personally. It's not like they don't have enough to do already.

If you've tried *everything* you've found and read, and still nothing works for you - then likely your configuration simply doesn't work.

One final thought - posting your issues, concerns, and questions here is not likely to get much attention of the developers. If you'd like development review of your issues, you should file bugs in Trac, or post to the development mailing list. The forums are mostly frequented by other users of Haiku.

Re: How to install Haiku to USB Flash Drive from Windows

Good rant. Agreed.

b

Re: How to install Haiku to USB Flash Drive from Windows

Nada...

I just bought an old p3 from ebay so I can enjoy BeOS in a semi-native setting. I have a keyboard/monitor switcher so it should be fun. I don't think my dual-core amd turion is ever gonna work this out "magic" boot-sector or folder or grub or lilo or usb or partition or ubuntu or anything (most of which I've tried).

Best,
b

Re: How to install Haiku to USB Flash Drive from Windows

Hi. Good text miglas ;)
I have mainboard Gigabyte M61PME-S2 for Athlon X2. I made all according to recipe. In BIOS I have boot options: USB-FDD, USB-HDD, USB-CDROM, USB-ZIP. I checked every possibility - pendrive is visible during boot - but computer booting with HDD. Someone checked on this mainboard?

Re: How to install Haiku to USB Flash Drive from Windows

I think the developers now require one to run a makebootable program on the partitions (like Apple's "blessed" system folders). I don't think anybody's going to run these new versions unless someone ports makebootable to Windows.

b

Re: How to install Haiku to USB Flash Drive from Windows

bluestone wrote:

I think the developers now require one to run a makebootable program on the partitions (like Apple's "blessed" system folders).

No, it's not like that...

Basically the first block of a BFS partition has some "magic" in it that stores the physical offset to the partition in relation to the start of the disk. Whoever formats the BFS partition is responsible for setting this magic value (i.e. if you were able to use gparted to create a BFS partition, it would do this trick for you... but unfortunately it doesn't support creation of BFS partitions).

The problem is, dd'ing a BFS partition from one partition to another is actually a bad way to make a BFS partition. This is why you must then run "makebootable" on the partition which fixes the offset and allows the bootloader and kernel to locate the partition again after being bootstrapped and load all the drivers.

I have run into funny situations where I dd one BFS partition to another, but booting off of the second partition really goes back and reads the first partition. This is because the second partition has an offset pointing to the first partition still, and if the first partition is still there and valid, it will be used by the kernel.

The reason dd'ing a raw image over an entire disk works is because this overwrites (removes) the partition table, making the offset accurate because the image starts from the very beginning of the disk.

Quote:

I don't think anybody's going to run these new versions unless someone ports makebootable to Windows.

Personally, I doubt that's gonna happen. More likely you'll see Haiku LiveCDs that can format BFS partitions and make them bootable before this happens :) If you can boot a BeOS or Zeta LiveCD and physicall access the partition - that can also do this trick.

HTH, not trying to be a pain, just trying to explain what's going on.

Re: How to install Haiku to USB Flash Drive from Windows

Tried on a MSI Wind with no success - didn't seem to want to boot off USB stick.