Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jun 2007 17:45:27 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>, wblock@wonkity.com
Cc:        Yuri Pankov <yuri.pankov@gmail.com>, freebsd-current@FreeBSD.org
Subject:   Re: /boot/mbr miscompiled?
Message-ID:  <1181144727.30405.30.camel@pav.hide.vol.cz>
In-Reply-To: <20070606153154.GB14456@rambler-co.ru>
References:  <20070606135815.GA913@darklight.abyss> <20070606145904.GA14456@rambler-co.ru> <20070606150536.GB875@darklight.abyss> <20070606153154.GB14456@rambler-co.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-i7vltOcKy8GyeIVFF3iV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

> > > > I've noticed lately that I can't install /boot/mbr using boot0cfg.
> > > >=20
> > > > [root@darklight:~]# boot0cfg -B -b /boot/mbr ad4
> > > > boot0cfg: /boot/mbr: unknown or incompatible boot code
> > > >=20
> > > > -r--r--r--  1 root  wheel  - 512 Jun  6 17:45 /boot/mbr
> > > > /boot/mbr: x86 boot sector
> > > >=20
> > > I think you'll have to use "fdisk -B" to do that.
> > > (boot0cfg(8) only installs boot0 and boot0sio.)
> > >=20
> >=20
> > Thank you Ruslan.
> >=20
> > Shouldn't boot0cfg(8) manpage be updated accordingly (EXAMPLES section,
> > at least)?
> >=20
> Hmm.  The documentation bug was introduced recently in rev. 1.30
> of boot0cfg.8 (and merged into RELENG_6).  I've just checked on
> 4.x, 6.x, and 7.0 systems here, and /boot/mbr could never be
> accepted by boot0cfg(8) because the second signature (the "Drive"
> string) isn't there.  I've Cc:ed the committer of this change.

And then, trust PRs. I wonder how is it possible that PR got submitted,
if the example showed in it is totally bogus? Escapes me.

So, should I back out that rev.?

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

The Phase Spider. A spider that never seems quite there.

--=-i7vltOcKy8GyeIVFF3iV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGZtaTntdYP8FOsoIRAiKvAKC24hcY8AVJqeO52xw/lwzGVfDhKgCeJgar
gGj9Nf71D+wl1s9gj93VyMI=
=gbFS
-----END PGP SIGNATURE-----

--=-i7vltOcKy8GyeIVFF3iV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1181144727.30405.30.camel>