<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/boot0cfg, branch stable/8</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r230978:</title>
<updated>2012-02-07T09:40:22+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2012-02-07T09:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cdc3bc8717e6f6c3aa0aced7182b6f047ce84634'/>
<id>cdc3bc8717e6f6c3aa0aced7182b6f047ce84634</id>
<content type='text'>
Be as explicit as possible when describing relation between the -m mask
argument and slices. Adjust example for the same reason.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Be as explicit as possible when describing relation between the -m mask
argument and slices. Adjust example for the same reason.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC 228738:</title>
<updated>2012-01-13T18:49:28+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2012-01-13T18:49:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0faef7b97f850ce698fb83363de31edc59b65946'/>
<id>0faef7b97f850ce698fb83363de31edc59b65946</id>
<content type='text'>
Allow boot0cfg to force a PXE boot via boot0 on the next boot.
- Fix boot0 to check for PXE when using the pre-set setting for the
  preferred slice.
- Update boot0cfg to use slice 6 to select PXE.  Accept a 'pxe' argument
  instead of a number for the 's' option as a way to select PXE as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow boot0cfg to force a PXE boot via boot0 on the next boot.
- Fix boot0 to check for PXE when using the pre-set setting for the
  preferred slice.
- Update boot0cfg to use slice 6 to select PXE.  Accept a 'pxe' argument
  instead of a number for the 's' option as a way to select PXE as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r216229:</title>
<updated>2010-12-09T15:26:38+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>brucec@FreeBSD.org</email>
</author>
<published>2010-12-09T15:26:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b5489c3fe1b620c6346a1354078663589a8400c8'/>
<id>b5489c3fe1b620c6346a1354078663589a8400c8</id>
<content type='text'>
Revert r209469: it causes the rest of the function to be bypassed.

Approved by:	re (kensmith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Revert r209469: it causes the rest of the function to be bypassed.

Approved by:	re (kensmith)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r209469:</title>
<updated>2010-08-07T12:58:01+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>brucec@FreeBSD.org</email>
</author>
<published>2010-08-07T12:58:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3b65a6ccc1a3c6e7e42fcf85b39c4a0ae39fb5e9'/>
<id>3b65a6ccc1a3c6e7e42fcf85b39c4a0ae39fb5e9</id>
<content type='text'>
If a device can't be opened, don't keep going but display the error
returned from open() and quit.

PR: bin/81035
Submitted by: Peter Schuller &lt;peter.schuller at infidyne.com&gt;
Approved by: rrs (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a device can't be opened, don't keep going but display the error
returned from open() and quit.

PR: bin/81035
Submitted by: Peter Schuller &lt;peter.schuller at infidyne.com&gt;
Approved by: rrs (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>Write the MBR by using the bootcode verb of the gpart class.</title>
<updated>2009-03-02T04:35:52+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2009-03-02T04:35:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a565cc2897b85d552c2c5eb0d43db7219da9f2d3'/>
<id>a565cc2897b85d552c2c5eb0d43db7219da9f2d3</id>
<content type='text'>
The "write MBR" verb is kept for backward compatibility, but
the DIOCSMBR ioctl has been removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "write MBR" verb is kept for backward compatibility, but
the DIOCSMBR ioctl has been removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend the geom-related info and put in the NOTE section, not</title>
<updated>2009-01-13T21:55:39+00:00</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2009-01-13T21:55:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=789a82a6dbd180cb67292dd282fbeacf973c1d62'/>
<id>789a82a6dbd180cb67292dd282fbeacf973c1d62</id>
<content type='text'>
in BUGS, as this is a feature.

Bump the date, as it was forgotten in previous commits and the
page has had significant changes recently
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in BUGS, as this is a feature.

Bump the date, as it was forgotten in previous commits and the
page has had significant changes recently
</pre>
</div>
</content>
</entry>
<entry>
<title>Another, hopefully final set of changes to boot0 and boot0cfg.</title>
<updated>2008-12-03T14:53:59+00:00</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2008-12-03T14:53:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ae3096705cf6552347b8eaf82fb6ca5a4cb5b2f6'/>
<id>ae3096705cf6552347b8eaf82fb6ca5a4cb5b2f6</id>
<content type='text'>
boot0.S changes:

+ import a patch from Christoph Mallon to rearrange the various
  print functions and save another couple of bytes;

+ implement the suggestion in PR 70531 to enable booting from
  any valid partition because even the extended partitions that
  were previously in our kill list may contain a valid boot loader.
  This simplifies the code and saves some bytes;

+ followwing up PR 127764, implement conditional code to preserve
  the 'Volume ID' which might be used by other OS (NT, XP, Vista)
  and is located at offset 0x1b8. This requires a relocation of the
  parameter block within the boot sector -- there is no other
  possible workaround.
  To address this, boot0cfg has been updated to handle both
  versions of the boot code;

+ slightly rearrange the strings printed in the menus to make
  the code buildable with all options. Given the tight memory
  budget, this means that with certain options we need to
  shrink or remove certain labels.

and especially:

	make -DVOLUME_LABEL -DPXE the default options.

  This means that the newly built boot0 block will preserve the
  Volume ID, and has the (hidden) option F6 to boot from INT18/PXE.
  I think the extra functionality is well worth the change.

  The most visible difference here is that the 'Default: ' string
  now becomes 'Boot: ' (it can be reverted to the old value
  but then we need to nuke 1/2 partition name or entries to
  make up for the extra room).

boot0cfg changes:

+ modify the code to recognise the new boot0 structure (with the
  relocated options block to make room for the Volume id).

+ add two options, '-i xxxx-xxxx' to set the volume ID, -e c
  to modify the character printed in case of bad input

PR:		127764 70531
Submitted by:	Christoph Mallon (portions)
MFC after:	4 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
boot0.S changes:

+ import a patch from Christoph Mallon to rearrange the various
  print functions and save another couple of bytes;

+ implement the suggestion in PR 70531 to enable booting from
  any valid partition because even the extended partitions that
  were previously in our kill list may contain a valid boot loader.
  This simplifies the code and saves some bytes;

+ followwing up PR 127764, implement conditional code to preserve
  the 'Volume ID' which might be used by other OS (NT, XP, Vista)
  and is located at offset 0x1b8. This requires a relocation of the
  parameter block within the boot sector -- there is no other
  possible workaround.
  To address this, boot0cfg has been updated to handle both
  versions of the boot code;

+ slightly rearrange the strings printed in the menus to make
  the code buildable with all options. Given the tight memory
  budget, this means that with certain options we need to
  shrink or remove certain labels.

and especially:

	make -DVOLUME_LABEL -DPXE the default options.

  This means that the newly built boot0 block will preserve the
  Volume ID, and has the (hidden) option F6 to boot from INT18/PXE.
  I think the extra functionality is well worth the change.

  The most visible difference here is that the 'Default: ' string
  now becomes 'Boot: ' (it can be reverted to the old value
  but then we need to nuke 1/2 partition name or entries to
  make up for the extra room).

boot0cfg changes:

+ modify the code to recognise the new boot0 structure (with the
  relocated options block to make room for the Volume id).

+ add two options, '-i xxxx-xxxx' to set the volume ID, -e c
  to modify the character printed in case of bad input

PR:		127764 70531
Submitted by:	Christoph Mallon (portions)
MFC after:	4 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>- Improve error message given on g_providername call failure.</title>
<updated>2008-09-30T07:18:49+00:00</updated>
<author>
<name>Ulf Lilleengen</name>
<email>lulf@FreeBSD.org</email>
</author>
<published>2008-09-30T07:18:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bd5add5884ab280bd71ea125fac9c20c3eb13bc7'/>
<id>bd5add5884ab280bd71ea125fac9c20c3eb13bc7</id>
<content type='text'>
- While there, make error messages consistent with the rest.

Approved by:	kib (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- While there, make error messages consistent with the rest.

Approved by:	kib (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>- Make use of the new and g_device_path utility function in libgeom to avoid</title>
<updated>2008-09-07T13:58:35+00:00</updated>
<author>
<name>Ulf Lilleengen</name>
<email>lulf@FreeBSD.org</email>
</author>
<published>2008-09-07T13:58:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b31e5ae243d9825fe60e61f8d549bd07325b8fcd'/>
<id>b31e5ae243d9825fe60e61f8d549bd07325b8fcd</id>
<content type='text'>
  duplication of code in fdisk and boot0cfg. Also make use of g_providername to
  fix an issue with fdisk and boot0cfg not using the correct provider when
  writing the MBR.

Reviewed by:	phk
Approved by:	pjd (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  duplication of code in fdisk and boot0cfg. Also make use of g_providername to
  fix an issue with fdisk and boot0cfg not using the correct provider when
  writing the MBR.

Reviewed by:	phk
Approved by:	pjd (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>"-b /boot/mbr" is redundant, /boot/mbr is the default boot code for fdisk(8).</title>
<updated>2007-06-07T07:43:04+00:00</updated>
<author>
<name>Pav Lucistnik</name>
<email>pav@FreeBSD.org</email>
</author>
<published>2007-06-07T07:43:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=448f9bb6c11b7874f5ef3e0be6df9b9352c76860'/>
<id>448f9bb6c11b7874f5ef3e0be6df9b9352c76860</id>
<content type='text'>
Pointed out by:	ru
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pointed out by:	ru
</pre>
</div>
</content>
</entry>
</feed>
