/boot/mbr miscompiled?

Yuri Pankov yuri.pankov at gmail.com
Wed Jun 6 15:06:05 UTC 2007


On Wed, Jun 06, 2007 at 06:59:04PM +0400, Ruslan Ermilov wrote:
> On Wed, Jun 06, 2007 at 05:58:15PM +0400, Yuri Pankov wrote:
> > Hi,
> > 
> > I've noticed lately that I can't install /boot/mbr using boot0cfg.
> > 
> > [root at darklight:~]# boot0cfg -B -b /boot/mbr ad4
> > boot0cfg: /boot/mbr: unknown or incompatible boot code
> > 
> > -r--r--r--  1 root  wheel  - 512 Jun  6 17:45 /boot/mbr
> > /boot/mbr: x86 boot sector
> > 
> I think you'll have to use "fdisk -B" to do that.
> (boot0cfg(8) only installs boot0 and boot0sio.)
> 
> 
> Cheers,
> -- 
> Ruslan Ermilov
> ru at FreeBSD.org
> FreeBSD committer

Thank you Ruslan.

Shouldn't boot0cfg(8) manpage be updated accordingly (EXAMPLES section,
at least)?


Thanks,
Yuri


More information about the freebsd-current mailing list