1 2003-02-09 Ethan Benson <erbenson@alaska.net>
5 * Mark first stage bootloader as compatible with new MacOS9
6 incompatible PowerMacs.
8 * Update copyright notices to include 2003
10 2002-12-09 Ethan Benson <erbenson@alaska.net>
14 * ofpath: Support new Xserve and Windtunnel PowerMacs.
15 - NOTE: For this to fully work it requires a sufficiently recent
18 * Prefer $PATH_PREFIX/usr/sbin/ofpath if it exists.
20 * yabootconfig: Add append="video=ofonly" if the running kernel
21 was booted with it, only if user does not specify --kernel-args.
23 2002-9-28 Ethan Benson <erbenson@alaska.net>
28 - Add German translation of yaboot-howto.
29 - Small updates to yaboot-howto.
30 - No longer tell people to send bugs to benh in yabootconfig(8).
33 - Fix file search so IBM CHRP will work if there is more than
34 one type 0x83 partition.
35 - Fix possible reiserfs symlink resolution failure.
38 - Fix corner case /etc/fstab parsing failure. (Debian bug#156742).
40 * Small build system modifications (mostly to accommodate the use of
41 the arch revision control system.
43 * yaboot now includes two changelogs: "ChangeLog" which is a
44 detailed automatically generated list of changes, and "changelog"
45 (this file) which is a hand written understandable summary of
46 changes between releases.
48 2001-12-01 Ethan Benson <erbenson@alaska.net>
52 * The "IBM needs to test prereleases" release.
55 - New IGNORE^H^H^H^H^H^HREADME, thanks to Chris Tillman for
56 cleaning up the pile of cruft that this thing was.
57 - yabootconfig man page was missing --kernel-args from SYNOPSIS.
58 - Include README.rs6000 in the binary dist.
61 - Automatically use fstype=raw on IBM CHRP, it no longer needs
62 to be explicitly set in /etc/yaboot.conf.
63 - Deprecate ybin's yaboot.conf auto-generation, use yabootconfig
67 - Fix IBM CHRP support.
68 - Fix device path parsing to support devices containing a comma,
69 but not including a filename.
70 - Add support for zImage.initrd (Peter Bergner).
71 - help output no longer claims device=NULL if yaboot.conf does not define it.
72 - Make password prompting a bit nicer looking.
73 - Short penalty delay on incorrect passwords.
75 2001-10-28 Ethan Benson <erbenson@alaska.net>
79 * Add yaboot-howto, Thanks to Chris Tillman.
82 - XFS fixes for large partitions (Brendan O'Dea).
83 - Upgrade libext2fs to 1.25, this adds full ext3 support to yaboot.
84 - Reiserfs fixes (Jeff Mahoney).
85 - Implement the message= configuration option (see yaboot.conf man page).
87 2001-10-13 Ethan Benson <erbenson@alaska.net>
91 * ybin: Correct a verbosity message.
94 - Add SGI XFS filesystem support.
95 - Rewrite OpenFirmware device path parsing code. This fixes
96 many bugs and inconsistencies in yaboot's file loading.
97 - Fix OpenFirmware filesystem support to automatically convert
98 path separator from / to \. CDROM authors no longer need to use
99 kludges like image=\\install\\powermac\\vmlinux.
100 - Fix kernel loading on some systems.
101 - Allow for getting files from tftp server that does not run a
103 - Fix netboot when using the `n' key.
104 - Fix a great deal of incorrect format strings which could cause
106 - Fix all filesystems to properly return error conditions, and
107 report those error conditions (instead of just saying `image not
109 - Make configuration file open error consistent with other file
111 - Add `help' command to yaboot which prints out basic usage information.
112 - Add non-fatal warning when bootstrap partition has wrong type (pmac only).
113 - Minor code rearrangement.
114 - General cruft removal and code cleanup.
116 * Makefile cleanup, make filesystems configurable.
118 2001-09-25 Ethan Benson <erbenson@alaska.net>
122 * Add --debug option to yabootconfig
124 * Fix BSD booting support somewhat. The bsd= option's semantics
125 have changed, it must now be set to the BSD root partition. ybin
126 will now install /usr/local/lib/yaboot/ofwboot onto the bootstrap
127 partition when bsd= is present in /etc/yaboot.conf. The dual boot
128 menu will then execute "ofwboot <bsd_root_part>,/bsd" this means
129 the bsd kernel must be at /bsd on the BSD root partition.
131 2001-09-24 Ethan Benson <erbenson@alaska.net>
135 * Fix Makefile thinko where make install failed if
136 /etc/yaboot.conf already existed.
138 2001-09-20 Ethan Benson <erbenson@alaska.net>
142 * Don't include /etc/yaboot.conf in binary dist, instead put the
143 example in /usr/local/share/doc. This way extracting the tarball
144 from / won't blow away existing configs.
146 * Move strip commands from install target to strip target, install
147 now depends on strip.
149 2001-09-20 Ethan Benson <erbenson@alaska.net>
153 * Merging of ybin and yaboot source trees, this is now the
154 official upstream yaboot/ybin source tree.
157 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
159 - Fix netboot (was broken by reiserfs patch)
161 2001-08-26 Ethan Benson <erbenson@alaska.net>
165 * ofpath became broken on non-scsi systems due to quoting fix.
167 2001-08-20 Ethan Benson <erbenson@alaska.net>
171 * Fix broken quoting uncovered by debian's current /bin/ash.
173 2001-08-06 Ethan Benson <erbenson@alaska.net>
177 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
178 OpenFirmware multibooter to crash.
180 * mkofboot: zero first 800K of bootstrap partition before creating
185 - Supports using an md5 hash as well as plaintext password. (me)
186 - Fix again system.map loading. That also fix an old pending bug
187 we had where yaboot could pass random values for system.map,
188 causing the kernel to mark random pages reserved. (BenH)
189 - IBM CHRP fixes. (Peter Bergner)
190 - Add reiserfs support (Jeff Mahoney)
192 2001-06-30 Ethan Benson <erbenson@alaska.net>
198 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
199 - Use real wc if available, this speeds up ofpath slightly for scsi.
200 - Make variables local to their function unless they need to be global.
203 - If installing on IBM CHRP run addnote on yaboot binary before installing.
204 - Reword some error/verbose messages
205 - Make variables local to their function unless they need to be global.
207 2001-06-24 Ethan Benson <erbenson@alaska.net>
212 - Now works with braindamaged versions of pdisk.
213 - Add --kernel-args switch which allows boot-floppies to easily
214 add an append= line if needed.
216 2001-06-01 Ethan Benson <erbenson@alaska.net>
220 * Fix test for strict posix/SUS echo behavior.
222 * Check for printf built into the shell.
224 * yabootconfig: check for and attempt to deal with cross device symlinks.
226 2001-05-28 Ethan Benson <erbenson@alaska.net>
230 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
233 - Detect IBM CHRP hardware and disable nvram update automatically
234 - Automatically run yabootconfig if /etc/yaboot.conf is missing
235 - Check for PATH_PREFIX environment variable and add all bin and
236 sbin directories from under it to PATH. This is for boot-floppies.
237 - Add bsd= to list of multiboot options.
239 * ofboot: bump maximum number of OSes to 8.
242 - No longer report bogus paths for non-existent scsi devices.
243 - Fix bug where garbage characters were mixed with the
244 OpenFirmware device path.
245 - Fix broken Wallstreet PowerBook support.
246 - Add support for silly devfs naming convention, Thanks to Tom Rini.
248 2001-05-06 Ethan Benson <erbenson@alaska.net>
253 - Hopefully fix random and rare booting problem when chainloading
254 other OSes. Thanks to Segher Boessenkool for the fix.
255 - Add volume name which shows up in the OpenFirmware multiboot
257 - It is now possible to replace the badge icon for the multiboot
258 screen, see examples/README.mbicon.
262 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
264 * Various spelling errors and clarifications to man pages. Thanks to sword.
266 2001-04-26 Ethan Benson <erbenson@alaska.net>
272 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
273 - Removed `No such file or directory' errors when system has no
277 - If delay= is not set use value of timeout= (converted to
279 - Removed command line options --type, --creator, and long
280 obsolete and deprecated --conffile. The config file options
281 hfstype and hfscreator are still there.
282 - Removed long obsolete and deprecated bootconf= config option.
283 - Removed some old now unneeded debug cruft.
286 - Include version 1.1.1-eb3, this includes the following changes
287 - Adds password protection capabilities.
288 - Add `single-key' option from silo.
291 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
293 2001-03-22 Ethan Benson <erbenson@alaska.net>
298 - Fix a few bugs that occured when magicboot= was not used.
299 - Add basic support for IBM style bootstrap partitions. These
300 partitions have yaboot dded directly to them. See the yaboot.conf
301 man page regarding fstype for more info, also
302 examples/yaboot.conf.rs6k.
303 - Don't require that ofpath be installed if its not needed.
306 - Added examples/yaboot.conf.rs6k
307 - Man page updates for IBM support.
309 2001-02-19 Ethan Benson <erbenson@alaska.net>
314 - Quiet shell error when run on non-PowerMac (but still
316 - Properly recognize more OldWorld PowerMac G3s.
317 - Fix OldWorld detection for kernels < 2.2.17
318 - Require that /proc be mounted.
321 - Fix OldWorld detection for kernels < 2.2.17
322 - Make the `not bootable on OldWorld' warning very loud and
324 - Change PATH to make /usr/local the last component instead of
326 - Make the text/background color in the boot menu configurable,
327 see the yaboot.conf(5) man page for details.
328 - Change default foreground color to white per yaboot 1.0.
329 - Remove support for obsolete /etc/ybin.conf.
332 - Clarified the `partition=' variable in the yaboot.conf man page
333 and correct an error in the example in that man page.
334 - Added more comments to included yaboot.conf examples.
337 - Include version 1.1.1
338 - Includes color support
340 2000-11-18 Ethan Benson <erbenson@alaska.net>
344 * ybin: add `brokenosx' option, when used with macosx= ybin makes
345 the MacOSX menu entry execute \System\Library\CoreServices\BootX
346 directly instead of using \\:tbxi. This is necessary for
347 people who insist on installing OSX on HFS+ instead of UFS, since
348 MacOS deblesses HFS+ OSX partitions.
350 2000-10-28 Ethan Benson <erbenson@alaska.net>
352 * Version 0.29 (the brown paper bag release)
354 * The yaboot.conf man page was broken.
356 * While were at it, include yaboot 0.9 binary (compiled -Os,
359 2000-10-24 Ethan Benson <erbenson@alaska.net>
363 * ybin: Add mntpoint= option, this allows ybin to install the
364 bootstrap into an already mounted filesystem. This is NOT
365 recommended unless you know what your doing.
367 * ybin: fixed generation of ofboot.b so it will work with nobless
370 2000-10-20 Ethan Benson <erbenson@alaska.net>
374 * ofboot: fixed problem where text was not visible on some newer iMacs.
376 * ybin: Now warn the user when they are using ybin on an OldWorld
377 PowerMac. (it will still work since its possible to make newworld
378 bootable disks on an OldWorld mac)
380 * ofpath: Now works on oldworld macs under 2.4 kernels.
382 * Added check for packaged versions of ybin to the Makefile and
383 warn user about them.
385 2000-09-23 Ethan Benson <erbenson@alaska.net>
389 * ofboot: completely rewrote the generator script, it is now more
390 extendable and supports more menu options. More thanks to iNOUE
391 Koich! for the continuing help on OpenFirmware issues!!
393 * ybin: added options for mulitboot menu: now can create a menu
394 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
395 a CDROM, from the network, and even directly into an OpenFirmware
398 * ybin: some errors were sent to stdout instead of stderr, fixed.
400 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
402 2000-09-18 Ethan Benson <erbenson@alaska.net>
406 * ofboot: now changes the background color to black and the text
407 color to cyan like yaboot. Thanks to again to iNOUE Koich!
409 2000-09-16 Ethan Benson <erbenson@alaska.net>
413 * ofboot: many bugs in the Forth code fixed. code should now be
414 compliant to the OpenFirmware spec. Also add CD boot menu option.
415 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
418 2000-09-13 Ethan Benson <erbenson@alaska.net>
422 * ybin: now hard code the target filename for ofboot, its always
423 installed as ofboot.b on the bootstrap partition. This eliminates
424 ambiguity when someone tries a different script with different name.
426 * ybin: all debugging output goes to stderr now.
428 2000-09-09 Ethan Benson <erbenson@alaska.net>
432 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
434 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
435 instead of /boot, since these files are never directly accessed by
436 the firmware it is not really appropriate to keep them in /boot.
437 make install will create backwords compatibility symlinks when
438 installing over an older version of ybin so nothing should break.
439 IMPORTANT: you should run mkofboot on a dedicated bootstrap
440 partition to purge old filenames.
442 * Man pages updated to reflect new file locations. Also include a
443 patch to change the paths to /usr/lib/yaboot for Debian and redhat
446 * ybin: now checks two places for a default value for install=
447 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
449 2000-09-02 Ethan Benson <erbenson@alaska.net>
453 * ybin: fixed nvram update so it uses a real filename instead of
454 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
455 file in blessed directory).
457 * ofpath: more oldworld machines supported. Now supports 7200,
458 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
461 2000-08-31 Ethan Benson <erbenson@alaska.net>
465 * ybin: check for Newworld compatible nvsetenv and if found will
466 automatically update the OpenFirmware boot-device variable in
469 * ofpath: support some oldworld machines. (this does not mean
470 ybin/yaboot supports oldworld). Also silence a harmless error on
471 machines lacking a CDROM.
473 * ofboot.b: added more machines to <COMPATIBLE>
475 2000-08-25 Ethan Benson <erbenson@alaska.net>
479 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
482 2000-08-22 Ethan Benson <erbenson@alaska.net>
486 * ofboot.b: changed the yaboot boot commands to boot yaboot by
487 filename rather then file type. Booting by file type did not work
488 reliably on all machines.
490 * ybin: hard code the target filename for yaboot, regardless of
491 the source filename (from install=) the target filename on the
492 bootstrap partition will always be "yaboot.b".
494 * Added ofpath utility, this is a rewrite of the show_of_path.sh
495 utility written by Olaf Hering. Ofpath works with /bin/ash and on
496 stripped down systems such as the Debian boot floppies. Also
497 wrote a small man page for this utility.
499 * ybin: automatically use ofpath to find the OpenFirmware device
500 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
501 also use ofpath when macos= or macosx= are set to unix device
502 nodes (ie /dev/hda11), these options can still be set to
503 OpenFirmware paths as well.
505 * Makefile: minor cleanup, added installation of ofpath
506 utility/man page as well as a deinstall rule.
508 2000-08-13 Ethan Benson <erbenson@alaska.net>
512 * Yaboot 0.7 binary included.
514 * ybin: fix bug where ybin would fail if the bootstrap files
515 included an "_" in the filename. (actually its a workaround for
516 hfsutils brain-damage)
518 * ofboot.b: completely rewritten. Now includes shell script code
519 to allow ybin to configure it based on config options in
520 /etc/yaboot.conf instead of requiring the user to edit it
521 themselves. Additionally this new script will display a REAL boot
522 menu when dual booting is configured. It is capable of dual or
523 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
524 new ofboot.b script should *NOT* be edited by the user, and thus
525 should NOT be marked as a conffile in Debian and redhat packages.
526 These packages should now install ofboot.b in /boot instead of
527 /etc since it is no longer a config file. WARNING: The Forth code
528 in this script has not been tested on all machines and may not be
529 universally compatible. Thanks to Chris Emerson for writing the
532 * yaboot.conf: new options: ofboot= macos= macosx= delay=
533 defaultos=. See the yaboot.conf man page for details.
535 * Now include a Makefile to handle installation, only make install
536 is defined. Removed install-sh.
538 * mkofboot is now distributed and installed as a symlink instead
543 2000-04-25 Ethan Benson <erbenson@alaska.net>
547 * menu_ofboot.b: fixed bug where the yaboot line was missing the
548 boot command, this prevented it from booting yaboot.
550 2000-04-25 Ethan Benson <erbenson@alaska.net>
554 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
555 page and rename it back to bootstrap(8). This also solves the
556 conflict with quik. In a more useful way IMO.
558 2000-04-24 Ethan Benson <erbenson@alaska.net>
562 * Ship man pages uncompressed, gzip them in install-sh instead,
563 this allows for easier patching by debian maintainers if need be.
565 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
568 2000-04-23 Ethan Benson <erbenson@alaska.net>
572 * Rewrote the config file parsing yet again to remove dependencies
573 on tr, and awk. This allows ybin to function on minimal systems
574 such as boot/rescue floppies. This also pretty much solves the
575 slowness problem. Thanks to Daniel Jacobwitz for the help.
577 * Made changes to remove dependencies on basename and wc. Again
578 this is to allow ybin to work on boot floppies.
580 * Changed all calls to grep to stop using GNU extensions, this is
581 so ybin will work properly with the minimal version of grep
584 * Added signal handling so ybin/mkofboot will cleanup after
585 themselves if killed with signals 1 2 3 or 15.
587 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
588 you can hold down the option key and get a graphical boot selector
589 with one button for each bootable partition, the button with the
590 penguin icon is the bootstrap partition. Thanks to Nicholas
591 Humfrey for creating the Badge icon.
593 * Minor updates to the man pages.
595 2000-04-19 Ethan Benson <erbenson@alaska.net>
599 * Now include yaboot binary in ybin distribution.
601 * Include a install-sh script to install everything.
603 * Use of the separate ybin.conf file is deprecated. Use
604 /etc/yaboot.conf instead.
606 * Removed the so called kludge options, without being able to
607 bless the root directory they were just useless bloat.
609 * Removed useless --readonly option, it was already default (as it
612 * Deprecated bootconf options since the yaboot.conf is the same
613 config ybin uses. (it is still there and works but that may change)
615 * Changed configuration file format to be more like quik/lilo:
616 bootfile= is now install= (--bootfile is now --install), wrapper=
617 is now magicboot=, usemount, protect, and hide are now just a
618 keyword options, if they are present in the configuration file
619 they are turned on, if they are not present they are turned off.
620 bless= is now the nobless keyword option, since bless is default
621 this one changed names.
623 * ybin: no longer need to specify -C /dev/null if you don't have a
624 configuration file in /etc/. If this is the case ybin will generate
625 a generic yaboot.conf to install on the bootstrap partition.
627 * More changes to the configuration parsing to improve speed, the
628 format change also helped the speed problem.
630 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
633 * More general fixes/cleanup/tweaks.
635 2000-03-13 Ethan Benson <erbenson@alaska.net>
639 * Added command line options to both scripts, try --help. This
640 makes the ybin.conf file optional if you wish (-C /dev/null)
642 * Changed the way the config file is parsed, no longer source it
643 with the shell, this allows ybin.conf to be merged with
644 yaboot.conf at which point yaboot can live with unknown options in
647 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
650 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
651 of its code with ybin anyway and this will make them much easier
652 to maintain. mkofboot is now a hard link to ybin (or a symlink if
653 you prefer, both will work)
655 * Added an experimental feature to generate a yaboot.conf on the
656 fly based on command line options. The defaults should be
657 workable on a Debian system with an internal ATA disk, with the
658 root partition being the 3rd on the disk. Depends on mktemp for
659 creating the temporary file, Debian's mktemp is secure against
660 race conditions, use with caution if your distribution lacks a
661 secure mktemp utility. This option is activated with -c auto.
663 * No longer depends on bash. Works with Debian's
664 /bin/ash. Interpreter is now set to /bin/sh.
666 * Assorted cleanup, minor bug fixes.
668 * Added example yaboot.conf.
670 2000-02-04 Ethan Benson <erbenson@alaska.net>
674 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
676 2000-01-17 Ethan Benson <erbenson@alaska.net>
680 * mkofboot was still broken. :-(
683 2000-01-14 Ethan Benson <erbenson@alaska.net>
687 * Added a basic CHRP script ofboot.b to work around the problem of
688 OF refusing to load `tbxi' files unless they contain a CHRP boot
689 header. See README.ofboot.b for details.
691 * Updated default ybin.conf to install ofboot.b by default.
693 2000-01-13 Ethan Benson <erbenson@alaska.net>
697 * mkofboot: Check for hformat was broken.
699 2000-01-12 Ethan Benson <erbenson@alaska.net>
703 * mkofboot: Fixed problem where it was insisting that mkdosfs be
704 present even when using hfs filesystems if usemount=yes.
706 * mkofboot: Added proper checks for hformat or mkdosfs.
708 2000-01-09 Ethan Benson <erbenson@alaska.net>
712 * First public release.
714 * Add TODO and BUGS files.
716 * mkofboot: Check to see if usemount=yes, and if so make sure we
717 are root before proceeding to erase the partition.
719 * ybin: Removed useless echo line.
721 2000-01-05 Ethan Benson <erbenson@alaska.net>
725 * ybin (util_install): Fully support OF `wrappers' now: if a
726 wrapper is defined in the configuration file then the wrapper is
727 given the HFS file type specified instead of the bootfile, the
728 bootfile's type is set to "boot".
730 * ybin: New configuration option `bless' when yes and are using
731 hfsutils we will `bless' the root directory of the bootstrap
732 filesystem so OF should be able to find and boot the system
733 without reconfiguration.
735 * mkofboot/ybin (checkconf): Add validation for the new `bless'
736 option. Also add check that the wrapper, if defined, exists and we
737 have permission to it.
739 2000-01-04 Ethan Benson <erbenson@alaska.net>
743 * ybin (util_install): Quote the filetype/creator arguments to
744 hattrib to prevent the shell from interpreting any meta-characters
745 in some cases. Also no longer try and set metadata on wrapper if
748 * mkofboot: When creating hfs or dos filesystems give them volume
749 label of "bootstrap".
751 2000-01-03 Ethan Benson <erbenson@alaska.net>
755 * mkofboot: added -w switch to grep when checking if a filesystem
756 is already mounted to prevent erroneous positive matches.
758 * ybin (util_install): Add check to make sure that the target
759 device is not mounted as a filesystem before mucking with it.
763 2000-01-01 Ethan Benson <erbenson@alaska.net>