broken MBR

Jeremy Chadwick koitsu at freebsd.org
Thu Mar 13 02:14:47 UTC 2008


On Wed, Mar 12, 2008 at 04:32:35PM +0300, Yuri Pankov wrote:
> Jeremy Chadwick wrote:
>> On Wed, Mar 12, 2008 at 01:36:02PM +0100, Marko Lerota wrote:
>>> Insted of F1 I get F-| on boot menu and system won't boot.
>>> How do I remove FreeBSD boot manager from MBR? I didn't find any docs in 
>>> man fdisk or boot0cfg.
>>
>> You want "boot0cfg -b /boot/mbr <disk>", where <disk> is something like
>> ad4, da0, etc..
>>
>
> boot0cfg can't install `mbr', you need to use fdisk for that as shown in 
> boot0cfg(8) manpage, EXAMPLES section.

Oops -- yep, you're right!  Guess I missed that part.  :-)

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list