1 2001-09-24 Ethan Benson <erbenson@alaska.net>
5 * Fix Makefile thinko where make install failed if
6 /etc/yaboot.conf already existed.
8 2001-09-20 Ethan Benson <erbenson@alaska.net>
12 * Don't include /etc/yaboot.conf in binary dist, instead put the
13 example in /usr/local/share/doc. This way extracting the tarball
14 from / won't blow away existing configs.
16 * Move strip commands from install target to strip target, install
19 2001-09-20 Ethan Benson <erbenson@alaska.net>
23 * Merging of ybin and yaboot source trees, this is now the
24 official upstream yaboot/ybin source tree.
27 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
29 - Fix netboot (was broken by reiserfs patch)
31 2001-08-26 Ethan Benson <erbenson@alaska.net>
35 * ofpath became broken on non-scsi systems due to quoting fix.
37 2001-08-20 Ethan Benson <erbenson@alaska.net>
41 * Fix broken quoting uncovered by debian's current /bin/ash.
43 2001-08-06 Ethan Benson <erbenson@alaska.net>
47 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
48 OpenFirmware multibooter to crash.
50 * mkofboot: zero first 800K of bootstrap partition before creating
55 - Supports using an md5 hash as well as plaintext password. (me)
56 - Fix again system.map loading. That also fix an old pending bug
57 we had where yaboot could pass random values for system.map,
58 causing the kernel to mark random pages reserved. (BenH)
59 - IBM CHRP fixes. (Peter Bergner)
60 - Add reiserfs support (Jeff Mahoney)
62 2001-06-30 Ethan Benson <erbenson@alaska.net>
68 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
69 - Use real wc if available, this speeds up ofpath slightly for scsi.
70 - Make variables local to their function unless they need to be global.
73 - If installing on IBM CHRP run addnote on yaboot binary before installing.
74 - Reword some error/verbose messages
75 - Make variables local to their function unless they need to be global.
77 2001-06-24 Ethan Benson <erbenson@alaska.net>
82 - Now works with braindamaged versions of pdisk.
83 - Add --kernel-args switch which allows boot-floppies to easily
84 add an append= line if needed.
86 2001-06-01 Ethan Benson <erbenson@alaska.net>
90 * Fix test for strict posix/SUS echo behavior.
92 * Check for printf built into the shell.
94 * yabootconfig: check for and attempt to deal with cross device symlinks.
96 2001-05-28 Ethan Benson <erbenson@alaska.net>
100 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
103 - Detect IBM CHRP hardware and disable nvram update automatically
104 - Automatically run yabootconfig if /etc/yaboot.conf is missing
105 - Check for PATH_PREFIX environment variable and add all bin and
106 sbin directories from under it to PATH. This is for boot-floppies.
107 - Add bsd= to list of multiboot options.
109 * ofboot: bump maximum number of OSes to 8.
112 - No longer report bogus paths for non-existent scsi devices.
113 - Fix bug where garbage characters were mixed with the
114 OpenFirmware device path.
115 - Fix broken Wallstreet PowerBook support.
116 - Add support for silly devfs naming convention, Thanks to Tom Rini.
118 2001-05-06 Ethan Benson <erbenson@alaska.net>
123 - Hopefully fix random and rare booting problem when chainloading
124 other OSes. Thanks to Segher Boessenkool for the fix.
125 - Add volume name which shows up in the OpenFirmware multiboot
127 - It is now possible to replace the badge icon for the multiboot
128 screen, see examples/README.mbicon.
132 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
134 * Various spelling errors and clarifications to man pages. Thanks to sword.
136 2001-04-26 Ethan Benson <erbenson@alaska.net>
142 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
143 - Removed `No such file or directory' errors when system has no
147 - If delay= is not set use value of timeout= (converted to
149 - Removed command line options --type, --creator, and long
150 obsolete and deprecated --conffile. The config file options
151 hfstype and hfscreator are still there.
152 - Removed long obsolete and deprecated bootconf= config option.
153 - Removed some old now unneeded debug cruft.
156 - Include version 1.1.1-eb3, this includes the following changes
157 - Adds password protection capabilities.
158 - Add `single-key' option from silo.
161 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
163 2001-03-22 Ethan Benson <erbenson@alaska.net>
168 - Fix a few bugs that occured when magicboot= was not used.
169 - Add basic support for IBM style bootstrap partitions. These
170 partitions have yaboot dded directly to them. See the yaboot.conf
171 man page regarding fstype for more info, also
172 examples/yaboot.conf.rs6k.
173 - Don't require that ofpath be installed if its not needed.
176 - Added examples/yaboot.conf.rs6k
177 - Man page updates for IBM support.
179 2001-02-19 Ethan Benson <erbenson@alaska.net>
184 - Quiet shell error when run on non-PowerMac (but still
186 - Properly recognize more OldWorld PowerMac G3s.
187 - Fix OldWorld detection for kernels < 2.2.17
188 - Require that /proc be mounted.
191 - Fix OldWorld detection for kernels < 2.2.17
192 - Make the `not bootable on OldWorld' warning very loud and
194 - Change PATH to make /usr/local the last component instead of
196 - Make the text/background color in the boot menu configurable,
197 see the yaboot.conf(5) man page for details.
198 - Change default foreground color to white per yaboot 1.0.
199 - Remove support for obsolete /etc/ybin.conf.
202 - Clarified the `partition=' variable in the yaboot.conf man page
203 and correct an error in the example in that man page.
204 - Added more comments to included yaboot.conf examples.
207 - Include version 1.1.1
208 - Includes color support
210 2000-11-18 Ethan Benson <erbenson@alaska.net>
214 * ybin: add `brokenosx' option, when used with macosx= ybin makes
215 the MacOSX menu entry execute \System\Library\CoreServices\BootX
216 directly instead of using \\:tbxi. This is necessary for
217 people who insist on installing OSX on HFS+ instead of UFS, since
218 MacOS deblesses HFS+ OSX partitions.
220 2000-10-28 Ethan Benson <erbenson@alaska.net>
222 * Version 0.29 (the brown paper bag release)
224 * The yaboot.conf man page was broken.
226 * While were at it, include yaboot 0.9 binary (compiled -Os,
229 2000-10-24 Ethan Benson <erbenson@alaska.net>
233 * ybin: Add mntpoint= option, this allows ybin to install the
234 bootstrap into an already mounted filesystem. This is NOT
235 recommended unless you know what your doing.
237 * ybin: fixed generation of ofboot.b so it will work with nobless
240 2000-10-20 Ethan Benson <erbenson@alaska.net>
244 * ofboot: fixed problem where text was not visible on some newer iMacs.
246 * ybin: Now warn the user when they are using ybin on an OldWorld
247 PowerMac. (it will still work since its possible to make newworld
248 bootable disks on an OldWorld mac)
250 * ofpath: Now works on oldworld macs under 2.4 kernels.
252 * Added check for packaged versions of ybin to the Makefile and
253 warn user about them.
255 2000-09-23 Ethan Benson <erbenson@alaska.net>
259 * ofboot: completely rewrote the generator script, it is now more
260 extendable and supports more menu options. More thanks to iNOUE
261 Koich! for the continuing help on OpenFirmware issues!!
263 * ybin: added options for mulitboot menu: now can create a menu
264 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
265 a CDROM, from the network, and even directly into an OpenFirmware
268 * ybin: some errors were sent to stdout instead of stderr, fixed.
270 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
272 2000-09-18 Ethan Benson <erbenson@alaska.net>
276 * ofboot: now changes the background color to black and the text
277 color to cyan like yaboot. Thanks to again to iNOUE Koich!
279 2000-09-16 Ethan Benson <erbenson@alaska.net>
283 * ofboot: many bugs in the Forth code fixed. code should now be
284 compliant to the OpenFirmware spec. Also add CD boot menu option.
285 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
288 2000-09-13 Ethan Benson <erbenson@alaska.net>
292 * ybin: now hard code the target filename for ofboot, its always
293 installed as ofboot.b on the bootstrap partition. This eliminates
294 ambiguity when someone tries a different script with different name.
296 * ybin: all debugging output goes to stderr now.
298 2000-09-09 Ethan Benson <erbenson@alaska.net>
302 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
304 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
305 instead of /boot, since these files are never directly accessed by
306 the firmware it is not really appropriate to keep them in /boot.
307 make install will create backwords compatibility symlinks when
308 installing over an older version of ybin so nothing should break.
309 IMPORTANT: you should run mkofboot on a dedicated bootstrap
310 partition to purge old filenames.
312 * Man pages updated to reflect new file locations. Also include a
313 patch to change the paths to /usr/lib/yaboot for Debian and redhat
316 * ybin: now checks two places for a default value for install=
317 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
319 2000-09-02 Ethan Benson <erbenson@alaska.net>
323 * ybin: fixed nvram update so it uses a real filename instead of
324 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
325 file in blessed directory).
327 * ofpath: more oldworld machines supported. Now supports 7200,
328 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
331 2000-08-31 Ethan Benson <erbenson@alaska.net>
335 * ybin: check for Newworld compatible nvsetenv and if found will
336 automatically update the OpenFirmware boot-device variable in
339 * ofpath: support some oldworld machines. (this does not mean
340 ybin/yaboot supports oldworld). Also silence a harmless error on
341 machines lacking a CDROM.
343 * ofboot.b: added more machines to <COMPATIBLE>
345 2000-08-25 Ethan Benson <erbenson@alaska.net>
349 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
352 2000-08-22 Ethan Benson <erbenson@alaska.net>
356 * ofboot.b: changed the yaboot boot commands to boot yaboot by
357 filename rather then file type. Booting by file type did not work
358 reliably on all machines.
360 * ybin: hard code the target filename for yaboot, regardless of
361 the source filename (from install=) the target filename on the
362 bootstrap partition will always be "yaboot.b".
364 * Added ofpath utility, this is a rewrite of the show_of_path.sh
365 utility written by Olaf Hering. Ofpath works with /bin/ash and on
366 stripped down systems such as the Debian boot floppies. Also
367 wrote a small man page for this utility.
369 * ybin: automatically use ofpath to find the OpenFirmware device
370 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
371 also use ofpath when macos= or macosx= are set to unix device
372 nodes (ie /dev/hda11), these options can still be set to
373 OpenFirmware paths as well.
375 * Makefile: minor cleanup, added installation of ofpath
376 utility/man page as well as a deinstall rule.
378 2000-08-13 Ethan Benson <erbenson@alaska.net>
382 * Yaboot 0.7 binary included.
384 * ybin: fix bug where ybin would fail if the bootstrap files
385 included an "_" in the filename. (actually its a workaround for
386 hfsutils brain-damage)
388 * ofboot.b: completely rewritten. Now includes shell script code
389 to allow ybin to configure it based on config options in
390 /etc/yaboot.conf instead of requiring the user to edit it
391 themselves. Additionally this new script will display a REAL boot
392 menu when dual booting is configured. It is capable of dual or
393 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
394 new ofboot.b script should *NOT* be edited by the user, and thus
395 should NOT be marked as a conffile in Debian and redhat packages.
396 These packages should now install ofboot.b in /boot instead of
397 /etc since it is no longer a config file. WARNING: The Forth code
398 in this script has not been tested on all machines and may not be
399 universally compatible. Thanks to Chris Emerson for writing the
402 * yaboot.conf: new options: ofboot= macos= macosx= delay=
403 defaultos=. See the yaboot.conf man page for details.
405 * Now include a Makefile to handle installation, only make install
406 is defined. Removed install-sh.
408 * mkofboot is now distributed and installed as a symlink instead
413 2000-04-25 Ethan Benson <erbenson@alaska.net>
417 * menu_ofboot.b: fixed bug where the yaboot line was missing the
418 boot command, this prevented it from booting yaboot.
420 2000-04-25 Ethan Benson <erbenson@alaska.net>
424 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
425 page and rename it back to bootstrap(8). This also solves the
426 conflict with quik. In a more useful way IMO.
428 2000-04-24 Ethan Benson <erbenson@alaska.net>
432 * Ship man pages uncompressed, gzip them in install-sh instead,
433 this allows for easier patching by debian maintainers if need be.
435 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
438 2000-04-23 Ethan Benson <erbenson@alaska.net>
442 * Rewrote the config file parsing yet again to remove dependencies
443 on tr, and awk. This allows ybin to function on minimal systems
444 such as boot/rescue floppies. This also pretty much solves the
445 slowness problem. Thanks to Daniel Jacobwitz for the help.
447 * Made changes to remove dependencies on basename and wc. Again
448 this is to allow ybin to work on boot floppies.
450 * Changed all calls to grep to stop using GNU extensions, this is
451 so ybin will work properly with the minimal version of grep
454 * Added signal handling so ybin/mkofboot will cleanup after
455 themselves if killed with signals 1 2 3 or 15.
457 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
458 you can hold down the option key and get a graphical boot selector
459 with one button for each bootable partition, the button with the
460 penguin icon is the bootstrap partition. Thanks to Nicholas
461 Humfrey for creating the Badge icon.
463 * Minor updates to the man pages.
465 2000-04-19 Ethan Benson <erbenson@alaska.net>
469 * Now include yaboot binary in ybin distribution.
471 * Include a install-sh script to install everything.
473 * Use of the separate ybin.conf file is deprecated. Use
474 /etc/yaboot.conf instead.
476 * Removed the so called kludge options, without being able to
477 bless the root directory they were just useless bloat.
479 * Removed useless --readonly option, it was already default (as it
482 * Deprecated bootconf options since the yaboot.conf is the same
483 config ybin uses. (it is still there and works but that may change)
485 * Changed configuration file format to be more like quik/lilo:
486 bootfile= is now install= (--bootfile is now --install), wrapper=
487 is now magicboot=, usemount, protect, and hide are now just a
488 keyword options, if they are present in the configuration file
489 they are turned on, if they are not present they are turned off.
490 bless= is now the nobless keyword option, since bless is default
491 this one changed names.
493 * ybin: no longer need to specify -C /dev/null if you don't have a
494 configuration file in /etc/. If this is the case ybin will generate
495 a generic yaboot.conf to install on the bootstrap partition.
497 * More changes to the configuration parsing to improve speed, the
498 format change also helped the speed problem.
500 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
503 * More general fixes/cleanup/tweaks.
505 2000-03-13 Ethan Benson <erbenson@alaska.net>
509 * Added command line options to both scripts, try --help. This
510 makes the ybin.conf file optional if you wish (-C /dev/null)
512 * Changed the way the config file is parsed, no longer source it
513 with the shell, this allows ybin.conf to be merged with
514 yaboot.conf at which point yaboot can live with unknown options in
517 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
520 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
521 of its code with ybin anyway and this will make them much easier
522 to maintain. mkofboot is now a hard link to ybin (or a symlink if
523 you prefer, both will work)
525 * Added an experimental feature to generate a yaboot.conf on the
526 fly based on command line options. The defaults should be
527 workable on a Debian system with an internal ATA disk, with the
528 root partition being the 3rd on the disk. Depends on mktemp for
529 creating the temporary file, Debian's mktemp is secure against
530 race conditions, use with caution if your distribution lacks a
531 secure mktemp utility. This option is activated with -c auto.
533 * No longer depends on bash. Works with Debian's
534 /bin/ash. Interpreter is now set to /bin/sh.
536 * Assorted cleanup, minor bug fixes.
538 * Added example yaboot.conf.
540 2000-02-04 Ethan Benson <erbenson@alaska.net>
544 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
546 2000-01-17 Ethan Benson <erbenson@alaska.net>
550 * mkofboot was still broken. :-(
553 2000-01-14 Ethan Benson <erbenson@alaska.net>
557 * Added a basic CHRP script ofboot.b to work around the problem of
558 OF refusing to load `tbxi' files unless they contain a CHRP boot
559 header. See README.ofboot.b for details.
561 * Updated default ybin.conf to install ofboot.b by default.
563 2000-01-13 Ethan Benson <erbenson@alaska.net>
567 * mkofboot: Check for hformat was broken.
569 2000-01-12 Ethan Benson <erbenson@alaska.net>
573 * mkofboot: Fixed problem where it was insisting that mkdosfs be
574 present even when using hfs filesystems if usemount=yes.
576 * mkofboot: Added proper checks for hformat or mkdosfs.
578 2000-01-09 Ethan Benson <erbenson@alaska.net>
582 * First public release.
584 * Add TODO and BUGS files.
586 * mkofboot: Check to see if usemount=yes, and if so make sure we
587 are root before proceeding to erase the partition.
589 * ybin: Removed useless echo line.
591 2000-01-05 Ethan Benson <erbenson@alaska.net>
595 * ybin (util_install): Fully support OF `wrappers' now: if a
596 wrapper is defined in the configuration file then the wrapper is
597 given the HFS file type specified instead of the bootfile, the
598 bootfile's type is set to "boot".
600 * ybin: New configuration option `bless' when yes and are using
601 hfsutils we will `bless' the root directory of the bootstrap
602 filesystem so OF should be able to find and boot the system
603 without reconfiguration.
605 * mkofboot/ybin (checkconf): Add validation for the new `bless'
606 option. Also add check that the wrapper, if defined, exists and we
607 have permission to it.
609 2000-01-04 Ethan Benson <erbenson@alaska.net>
613 * ybin (util_install): Quote the filetype/creator arguments to
614 hattrib to prevent the shell from interpreting any meta-characters
615 in some cases. Also no longer try and set metadata on wrapper if
618 * mkofboot: When creating hfs or dos filesystems give them volume
619 label of "bootstrap".
621 2000-01-03 Ethan Benson <erbenson@alaska.net>
625 * mkofboot: added -w switch to grep when checking if a filesystem
626 is already mounted to prevent erroneous positive matches.
628 * ybin (util_install): Add check to make sure that the target
629 device is not mounted as a filesystem before mucking with it.
633 2000-01-01 Ethan Benson <erbenson@alaska.net>