James Hartley wrote:
> Section 4.8 of the FAQ discusses how to capture the PBR for multibooting
> with dd:
> 
> # dd if=/dev/rwd0a of=openbsd.pbr bs=512 count=1
> 
> Two questions.
> 
> * For stand-alone installations, is the PBR the same thing as the MBR?

no.

> * More importantly, how can I use dd to access the MBR in a multibooted
> system of Vista & OpenBSD?

Read:
  http://www.openbsd.org/faq/faq14.html#Boot386
over and over until it makes sense to you.  Read every single man page
linked in that section.  Read it about twice more AFTER the answer to
the previous question becomes obvious. :)

I really hesitate to answer this, but what the heck.  Here are the bullet:
  dd if=/dev/rwd0c of=disk.mbr bs=512 count=1

dd and fdisk are useful guns.  That round thing is your disk, those fleshy
things on the floor in front of you are your feet.  Fire away...

> Thanks for any insight.

Not sure what you are planning on doing with that info, but I'd say goodbye
to your data now, it will be harder once it is gone.  You are messing with
things you had better understand well.  OpenBSD will actually be pretty
forgiving (assuming you recreate things properly), but I'd bet Vista, given
a chance, will try to save you from ever seeing your data again.  Knowing
how long it takes to reinstall Windows XP and 2003, I can only imagine how
long it will take to reinstall (and patch) Vista.

Nick.

Reply via email to