[haiku-development] Re: booting from partition on flash drive

  • From: Alan Searchwell <bigduppy@xxxxxxxxxxx>
  • To: <haiku-development@xxxxxxxxxxxxx>
  • Date: Mon, 21 Sep 2009 18:28:16 +0000




















Patrick,

I'm affraid I'm not a developer myself although as a hobbyist I used to mess 
around with MS Basic and a little bit of assembly years ago. 

> Odd, have you tried the Live-CD?

No, I,m assuming that will work, I'm more interested in understanding how the 
boot process works with flash drives.
 
> With Haiku in Alpha it might be too late to ask for that.
 
Actually no, this is not really a part of haiku but a tool for making a haiku 
partition bootable and the source is available. It's just not available as a 
binary for non programmers like me. I guess I'll just have to try a little 
compiling.

> Your approach should be fine, only one way to find out.

Like I said, time to try some compiling.

Jonas,

> I'm not sure it's what you ask for, but we have a utility 
> (in Haiku) called "bootman" which installs a simple boot menu
> on the MBR, allowing booting from any of the primary partitions
> of one's primary disk

I guess once I try some compiling, I can look at porting bootman to 
Linux/Windows.

 Richie,

Interesting app. Since I use linux on my laptop, dd works just fine and is 
pretty straightforward.

Adrien,

> There is makebootabletiny.c under linux to make a partition bootable,
> too. So you shouldn't have to do it by hand, usually. Just compile the
> small c program and run it.


Tried makebootabletiny.c. Compiled in a few seconds. Failed to mount
partition as user. Ran fine with sudo. That wasn't hard at all!


> Anyway, BIOS looking for a partition table is wrong. You should report
> it to the motherboard manufacturer :)

Just guessing about the BIOS scanning partition table. I could be completely 
wrong. As a matter of fact it seems there IS a problem a problem with the BIOS 
on this mb.

I did the whole process on another 4GB flash drive and the whole thing went a 
lot quicker the second time around. Makebootabletiny made a huge difference, 
being able to correct the data directly. Maybe i should write a little howto?

Alan


                                          
_________________________________________________________________
Show them the way! Add maps and directions to your party invites. 
http://www.microsoft.com/windows/windowslive/products/events.aspx

Other related posts: