1 2002-9-14 Ethan Benson <erbenson@alaska.net>
6 - Add German translation of yaboot-howto.
7 - Small updates to yaboot-howto.
8 - No longer tell people to send bugs to benh in yabootconfig(8).
11 - Fix file search so IBM CHRP will work if there is more then
12 one type 0x83 partition.
13 - Fix possible reiserfs symlink resolution failure.
16 - Fix corner case /etc/fstab parsing failure.
18 * Small build system modifcations (mostly to accomidate the use of
19 the arch revision control system.
21 2001-12-01 Ethan Benson <erbenson@alaska.net>
25 * The "IBM needs to test prereleases" release.
28 - New IGNORE^H^H^H^H^H^HREADME, thanks to Chris Tillman for
29 cleaning up the pile of cruft that this thing was.
30 - yabootconfig man page was missing --kernel-args from SYNOPSIS.
31 - Include README.rs6000 in the binary dist.
34 - Automatically use fstype=raw on IBM CHRP, it no longer needs
35 to be explicitly set in /etc/yaboot.conf.
36 - Deprecate ybin's yaboot.conf auto-generation, use yabootconfig
40 - Fix IBM CHRP support.
41 - Fix device path parsing to support devices containing a comma,
42 but not including a filename.
43 - Add support for zImage.initrd (Peter Bergner).
44 - help output no longer claims device=NULL if yaboot.conf does not define it.
45 - Make password prompting a bit nicer looking.
46 - Short penalty delay on incorrect passwords.
48 2001-10-28 Ethan Benson <erbenson@alaska.net>
52 * Add yaboot-howto, Thanks to Chris Tillman.
55 - XFS fixes for large partitions (Brendan O'Dea).
56 - Upgrade libext2fs to 1.25, this adds full ext3 support to yaboot.
57 - Reiserfs fixes (Jeff Mahoney).
58 - Implement the message= configuration option (see yaboot.conf man page).
60 2001-10-13 Ethan Benson <erbenson@alaska.net>
64 * ybin: Correct a verbosity message.
67 - Add SGI XFS filesystem support.
68 - Rewrite OpenFirmware device path parsing code. This fixes
69 many bugs and inconsistencies in yaboot's file loading.
70 - Fix OpenFirmware filesystem support to automatically convert
71 path separator from / to \. CDROM authors no longer need to use
72 kludges like image=\\install\\powermac\\vmlinux.
73 - Fix kernel loading on some systems.
74 - Allow for getting files from tftp server that does not run a
76 - Fix netboot when using the `n' key.
77 - Fix a great deal of incorrect format strings which could cause
79 - Fix all filesystems to properly return error conditions, and
80 report those error conditions (instead of just saying `image not
82 - Make configuration file open error consistent with other file
84 - Add `help' command to yaboot which prints out basic usage information.
85 - Add non-fatal warning when bootstrap partition has wrong type (pmac only).
86 - Minor code rearrangement.
87 - General cruft removal and code cleanup.
89 * Makefile cleanup, make filesystems configurable.
91 2001-09-25 Ethan Benson <erbenson@alaska.net>
95 * Add --debug option to yabootconfig
97 * Fix BSD booting support somewhat. The bsd= option's semantics
98 have changed, it must now be set to the BSD root partition. ybin
99 will now install /usr/local/lib/yaboot/ofwboot onto the bootstrap
100 partition when bsd= is present in /etc/yaboot.conf. The dual boot
101 menu will then execute "ofwboot <bsd_root_part>,/bsd" this means
102 the bsd kernel must be at /bsd on the BSD root partition.
104 2001-09-24 Ethan Benson <erbenson@alaska.net>
108 * Fix Makefile thinko where make install failed if
109 /etc/yaboot.conf already existed.
111 2001-09-20 Ethan Benson <erbenson@alaska.net>
115 * Don't include /etc/yaboot.conf in binary dist, instead put the
116 example in /usr/local/share/doc. This way extracting the tarball
117 from / won't blow away existing configs.
119 * Move strip commands from install target to strip target, install
120 now depends on strip.
122 2001-09-20 Ethan Benson <erbenson@alaska.net>
126 * Merging of ybin and yaboot source trees, this is now the
127 official upstream yaboot/ybin source tree.
130 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
132 - Fix netboot (was broken by reiserfs patch)
134 2001-08-26 Ethan Benson <erbenson@alaska.net>
138 * ofpath became broken on non-scsi systems due to quoting fix.
140 2001-08-20 Ethan Benson <erbenson@alaska.net>
144 * Fix broken quoting uncovered by debian's current /bin/ash.
146 2001-08-06 Ethan Benson <erbenson@alaska.net>
150 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
151 OpenFirmware multibooter to crash.
153 * mkofboot: zero first 800K of bootstrap partition before creating
158 - Supports using an md5 hash as well as plaintext password. (me)
159 - Fix again system.map loading. That also fix an old pending bug
160 we had where yaboot could pass random values for system.map,
161 causing the kernel to mark random pages reserved. (BenH)
162 - IBM CHRP fixes. (Peter Bergner)
163 - Add reiserfs support (Jeff Mahoney)
165 2001-06-30 Ethan Benson <erbenson@alaska.net>
171 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
172 - Use real wc if available, this speeds up ofpath slightly for scsi.
173 - Make variables local to their function unless they need to be global.
176 - If installing on IBM CHRP run addnote on yaboot binary before installing.
177 - Reword some error/verbose messages
178 - Make variables local to their function unless they need to be global.
180 2001-06-24 Ethan Benson <erbenson@alaska.net>
185 - Now works with braindamaged versions of pdisk.
186 - Add --kernel-args switch which allows boot-floppies to easily
187 add an append= line if needed.
189 2001-06-01 Ethan Benson <erbenson@alaska.net>
193 * Fix test for strict posix/SUS echo behavior.
195 * Check for printf built into the shell.
197 * yabootconfig: check for and attempt to deal with cross device symlinks.
199 2001-05-28 Ethan Benson <erbenson@alaska.net>
203 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
206 - Detect IBM CHRP hardware and disable nvram update automatically
207 - Automatically run yabootconfig if /etc/yaboot.conf is missing
208 - Check for PATH_PREFIX environment variable and add all bin and
209 sbin directories from under it to PATH. This is for boot-floppies.
210 - Add bsd= to list of multiboot options.
212 * ofboot: bump maximum number of OSes to 8.
215 - No longer report bogus paths for non-existent scsi devices.
216 - Fix bug where garbage characters were mixed with the
217 OpenFirmware device path.
218 - Fix broken Wallstreet PowerBook support.
219 - Add support for silly devfs naming convention, Thanks to Tom Rini.
221 2001-05-06 Ethan Benson <erbenson@alaska.net>
226 - Hopefully fix random and rare booting problem when chainloading
227 other OSes. Thanks to Segher Boessenkool for the fix.
228 - Add volume name which shows up in the OpenFirmware multiboot
230 - It is now possible to replace the badge icon for the multiboot
231 screen, see examples/README.mbicon.
235 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
237 * Various spelling errors and clarifications to man pages. Thanks to sword.
239 2001-04-26 Ethan Benson <erbenson@alaska.net>
245 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
246 - Removed `No such file or directory' errors when system has no
250 - If delay= is not set use value of timeout= (converted to
252 - Removed command line options --type, --creator, and long
253 obsolete and deprecated --conffile. The config file options
254 hfstype and hfscreator are still there.
255 - Removed long obsolete and deprecated bootconf= config option.
256 - Removed some old now unneeded debug cruft.
259 - Include version 1.1.1-eb3, this includes the following changes
260 - Adds password protection capabilities.
261 - Add `single-key' option from silo.
264 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
266 2001-03-22 Ethan Benson <erbenson@alaska.net>
271 - Fix a few bugs that occured when magicboot= was not used.
272 - Add basic support for IBM style bootstrap partitions. These
273 partitions have yaboot dded directly to them. See the yaboot.conf
274 man page regarding fstype for more info, also
275 examples/yaboot.conf.rs6k.
276 - Don't require that ofpath be installed if its not needed.
279 - Added examples/yaboot.conf.rs6k
280 - Man page updates for IBM support.
282 2001-02-19 Ethan Benson <erbenson@alaska.net>
287 - Quiet shell error when run on non-PowerMac (but still
289 - Properly recognize more OldWorld PowerMac G3s.
290 - Fix OldWorld detection for kernels < 2.2.17
291 - Require that /proc be mounted.
294 - Fix OldWorld detection for kernels < 2.2.17
295 - Make the `not bootable on OldWorld' warning very loud and
297 - Change PATH to make /usr/local the last component instead of
299 - Make the text/background color in the boot menu configurable,
300 see the yaboot.conf(5) man page for details.
301 - Change default foreground color to white per yaboot 1.0.
302 - Remove support for obsolete /etc/ybin.conf.
305 - Clarified the `partition=' variable in the yaboot.conf man page
306 and correct an error in the example in that man page.
307 - Added more comments to included yaboot.conf examples.
310 - Include version 1.1.1
311 - Includes color support
313 2000-11-18 Ethan Benson <erbenson@alaska.net>
317 * ybin: add `brokenosx' option, when used with macosx= ybin makes
318 the MacOSX menu entry execute \System\Library\CoreServices\BootX
319 directly instead of using \\:tbxi. This is necessary for
320 people who insist on installing OSX on HFS+ instead of UFS, since
321 MacOS deblesses HFS+ OSX partitions.
323 2000-10-28 Ethan Benson <erbenson@alaska.net>
325 * Version 0.29 (the brown paper bag release)
327 * The yaboot.conf man page was broken.
329 * While were at it, include yaboot 0.9 binary (compiled -Os,
332 2000-10-24 Ethan Benson <erbenson@alaska.net>
336 * ybin: Add mntpoint= option, this allows ybin to install the
337 bootstrap into an already mounted filesystem. This is NOT
338 recommended unless you know what your doing.
340 * ybin: fixed generation of ofboot.b so it will work with nobless
343 2000-10-20 Ethan Benson <erbenson@alaska.net>
347 * ofboot: fixed problem where text was not visible on some newer iMacs.
349 * ybin: Now warn the user when they are using ybin on an OldWorld
350 PowerMac. (it will still work since its possible to make newworld
351 bootable disks on an OldWorld mac)
353 * ofpath: Now works on oldworld macs under 2.4 kernels.
355 * Added check for packaged versions of ybin to the Makefile and
356 warn user about them.
358 2000-09-23 Ethan Benson <erbenson@alaska.net>
362 * ofboot: completely rewrote the generator script, it is now more
363 extendable and supports more menu options. More thanks to iNOUE
364 Koich! for the continuing help on OpenFirmware issues!!
366 * ybin: added options for mulitboot menu: now can create a menu
367 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
368 a CDROM, from the network, and even directly into an OpenFirmware
371 * ybin: some errors were sent to stdout instead of stderr, fixed.
373 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
375 2000-09-18 Ethan Benson <erbenson@alaska.net>
379 * ofboot: now changes the background color to black and the text
380 color to cyan like yaboot. Thanks to again to iNOUE Koich!
382 2000-09-16 Ethan Benson <erbenson@alaska.net>
386 * ofboot: many bugs in the Forth code fixed. code should now be
387 compliant to the OpenFirmware spec. Also add CD boot menu option.
388 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
391 2000-09-13 Ethan Benson <erbenson@alaska.net>
395 * ybin: now hard code the target filename for ofboot, its always
396 installed as ofboot.b on the bootstrap partition. This eliminates
397 ambiguity when someone tries a different script with different name.
399 * ybin: all debugging output goes to stderr now.
401 2000-09-09 Ethan Benson <erbenson@alaska.net>
405 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
407 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
408 instead of /boot, since these files are never directly accessed by
409 the firmware it is not really appropriate to keep them in /boot.
410 make install will create backwords compatibility symlinks when
411 installing over an older version of ybin so nothing should break.
412 IMPORTANT: you should run mkofboot on a dedicated bootstrap
413 partition to purge old filenames.
415 * Man pages updated to reflect new file locations. Also include a
416 patch to change the paths to /usr/lib/yaboot for Debian and redhat
419 * ybin: now checks two places for a default value for install=
420 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
422 2000-09-02 Ethan Benson <erbenson@alaska.net>
426 * ybin: fixed nvram update so it uses a real filename instead of
427 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
428 file in blessed directory).
430 * ofpath: more oldworld machines supported. Now supports 7200,
431 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
434 2000-08-31 Ethan Benson <erbenson@alaska.net>
438 * ybin: check for Newworld compatible nvsetenv and if found will
439 automatically update the OpenFirmware boot-device variable in
442 * ofpath: support some oldworld machines. (this does not mean
443 ybin/yaboot supports oldworld). Also silence a harmless error on
444 machines lacking a CDROM.
446 * ofboot.b: added more machines to <COMPATIBLE>
448 2000-08-25 Ethan Benson <erbenson@alaska.net>
452 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
455 2000-08-22 Ethan Benson <erbenson@alaska.net>
459 * ofboot.b: changed the yaboot boot commands to boot yaboot by
460 filename rather then file type. Booting by file type did not work
461 reliably on all machines.
463 * ybin: hard code the target filename for yaboot, regardless of
464 the source filename (from install=) the target filename on the
465 bootstrap partition will always be "yaboot.b".
467 * Added ofpath utility, this is a rewrite of the show_of_path.sh
468 utility written by Olaf Hering. Ofpath works with /bin/ash and on
469 stripped down systems such as the Debian boot floppies. Also
470 wrote a small man page for this utility.
472 * ybin: automatically use ofpath to find the OpenFirmware device
473 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
474 also use ofpath when macos= or macosx= are set to unix device
475 nodes (ie /dev/hda11), these options can still be set to
476 OpenFirmware paths as well.
478 * Makefile: minor cleanup, added installation of ofpath
479 utility/man page as well as a deinstall rule.
481 2000-08-13 Ethan Benson <erbenson@alaska.net>
485 * Yaboot 0.7 binary included.
487 * ybin: fix bug where ybin would fail if the bootstrap files
488 included an "_" in the filename. (actually its a workaround for
489 hfsutils brain-damage)
491 * ofboot.b: completely rewritten. Now includes shell script code
492 to allow ybin to configure it based on config options in
493 /etc/yaboot.conf instead of requiring the user to edit it
494 themselves. Additionally this new script will display a REAL boot
495 menu when dual booting is configured. It is capable of dual or
496 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
497 new ofboot.b script should *NOT* be edited by the user, and thus
498 should NOT be marked as a conffile in Debian and redhat packages.
499 These packages should now install ofboot.b in /boot instead of
500 /etc since it is no longer a config file. WARNING: The Forth code
501 in this script has not been tested on all machines and may not be
502 universally compatible. Thanks to Chris Emerson for writing the
505 * yaboot.conf: new options: ofboot= macos= macosx= delay=
506 defaultos=. See the yaboot.conf man page for details.
508 * Now include a Makefile to handle installation, only make install
509 is defined. Removed install-sh.
511 * mkofboot is now distributed and installed as a symlink instead
516 2000-04-25 Ethan Benson <erbenson@alaska.net>
520 * menu_ofboot.b: fixed bug where the yaboot line was missing the
521 boot command, this prevented it from booting yaboot.
523 2000-04-25 Ethan Benson <erbenson@alaska.net>
527 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
528 page and rename it back to bootstrap(8). This also solves the
529 conflict with quik. In a more useful way IMO.
531 2000-04-24 Ethan Benson <erbenson@alaska.net>
535 * Ship man pages uncompressed, gzip them in install-sh instead,
536 this allows for easier patching by debian maintainers if need be.
538 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
541 2000-04-23 Ethan Benson <erbenson@alaska.net>
545 * Rewrote the config file parsing yet again to remove dependencies
546 on tr, and awk. This allows ybin to function on minimal systems
547 such as boot/rescue floppies. This also pretty much solves the
548 slowness problem. Thanks to Daniel Jacobwitz for the help.
550 * Made changes to remove dependencies on basename and wc. Again
551 this is to allow ybin to work on boot floppies.
553 * Changed all calls to grep to stop using GNU extensions, this is
554 so ybin will work properly with the minimal version of grep
557 * Added signal handling so ybin/mkofboot will cleanup after
558 themselves if killed with signals 1 2 3 or 15.
560 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
561 you can hold down the option key and get a graphical boot selector
562 with one button for each bootable partition, the button with the
563 penguin icon is the bootstrap partition. Thanks to Nicholas
564 Humfrey for creating the Badge icon.
566 * Minor updates to the man pages.
568 2000-04-19 Ethan Benson <erbenson@alaska.net>
572 * Now include yaboot binary in ybin distribution.
574 * Include a install-sh script to install everything.
576 * Use of the separate ybin.conf file is deprecated. Use
577 /etc/yaboot.conf instead.
579 * Removed the so called kludge options, without being able to
580 bless the root directory they were just useless bloat.
582 * Removed useless --readonly option, it was already default (as it
585 * Deprecated bootconf options since the yaboot.conf is the same
586 config ybin uses. (it is still there and works but that may change)
588 * Changed configuration file format to be more like quik/lilo:
589 bootfile= is now install= (--bootfile is now --install), wrapper=
590 is now magicboot=, usemount, protect, and hide are now just a
591 keyword options, if they are present in the configuration file
592 they are turned on, if they are not present they are turned off.
593 bless= is now the nobless keyword option, since bless is default
594 this one changed names.
596 * ybin: no longer need to specify -C /dev/null if you don't have a
597 configuration file in /etc/. If this is the case ybin will generate
598 a generic yaboot.conf to install on the bootstrap partition.
600 * More changes to the configuration parsing to improve speed, the
601 format change also helped the speed problem.
603 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
606 * More general fixes/cleanup/tweaks.
608 2000-03-13 Ethan Benson <erbenson@alaska.net>
612 * Added command line options to both scripts, try --help. This
613 makes the ybin.conf file optional if you wish (-C /dev/null)
615 * Changed the way the config file is parsed, no longer source it
616 with the shell, this allows ybin.conf to be merged with
617 yaboot.conf at which point yaboot can live with unknown options in
620 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
623 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
624 of its code with ybin anyway and this will make them much easier
625 to maintain. mkofboot is now a hard link to ybin (or a symlink if
626 you prefer, both will work)
628 * Added an experimental feature to generate a yaboot.conf on the
629 fly based on command line options. The defaults should be
630 workable on a Debian system with an internal ATA disk, with the
631 root partition being the 3rd on the disk. Depends on mktemp for
632 creating the temporary file, Debian's mktemp is secure against
633 race conditions, use with caution if your distribution lacks a
634 secure mktemp utility. This option is activated with -c auto.
636 * No longer depends on bash. Works with Debian's
637 /bin/ash. Interpreter is now set to /bin/sh.
639 * Assorted cleanup, minor bug fixes.
641 * Added example yaboot.conf.
643 2000-02-04 Ethan Benson <erbenson@alaska.net>
647 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
649 2000-01-17 Ethan Benson <erbenson@alaska.net>
653 * mkofboot was still broken. :-(
656 2000-01-14 Ethan Benson <erbenson@alaska.net>
660 * Added a basic CHRP script ofboot.b to work around the problem of
661 OF refusing to load `tbxi' files unless they contain a CHRP boot
662 header. See README.ofboot.b for details.
664 * Updated default ybin.conf to install ofboot.b by default.
666 2000-01-13 Ethan Benson <erbenson@alaska.net>
670 * mkofboot: Check for hformat was broken.
672 2000-01-12 Ethan Benson <erbenson@alaska.net>
676 * mkofboot: Fixed problem where it was insisting that mkdosfs be
677 present even when using hfs filesystems if usemount=yes.
679 * mkofboot: Added proper checks for hformat or mkdosfs.
681 2000-01-09 Ethan Benson <erbenson@alaska.net>
685 * First public release.
687 * Add TODO and BUGS files.
689 * mkofboot: Check to see if usemount=yes, and if so make sure we
690 are root before proceeding to erase the partition.
692 * ybin: Removed useless echo line.
694 2000-01-05 Ethan Benson <erbenson@alaska.net>
698 * ybin (util_install): Fully support OF `wrappers' now: if a
699 wrapper is defined in the configuration file then the wrapper is
700 given the HFS file type specified instead of the bootfile, the
701 bootfile's type is set to "boot".
703 * ybin: New configuration option `bless' when yes and are using
704 hfsutils we will `bless' the root directory of the bootstrap
705 filesystem so OF should be able to find and boot the system
706 without reconfiguration.
708 * mkofboot/ybin (checkconf): Add validation for the new `bless'
709 option. Also add check that the wrapper, if defined, exists and we
710 have permission to it.
712 2000-01-04 Ethan Benson <erbenson@alaska.net>
716 * ybin (util_install): Quote the filetype/creator arguments to
717 hattrib to prevent the shell from interpreting any meta-characters
718 in some cases. Also no longer try and set metadata on wrapper if
721 * mkofboot: When creating hfs or dos filesystems give them volume
722 label of "bootstrap".
724 2000-01-03 Ethan Benson <erbenson@alaska.net>
728 * mkofboot: added -w switch to grep when checking if a filesystem
729 is already mounted to prevent erroneous positive matches.
731 * ybin (util_install): Add check to make sure that the target
732 device is not mounted as a filesystem before mucking with it.
736 2000-01-01 Ethan Benson <erbenson@alaska.net>