1 2001-10-24 Ethan Benson <erbenson@alaska.net>
6 - XFS fixes for large partitions (Brendan O'Dea)
7 - Upgrade libext2fs to 1.25, this adds full ext3 support to yaboot.
8 - Reiserfs fixes (Jeff Mahoney)
10 2001-10-13 Ethan Benson <erbenson@alaska.net>
14 * ybin: Correct a verbosity message.
17 - Add SGI XFS filesystem support.
18 - Rewrite OpenFirmware device path parsing code. This fixes
19 many bugs and inconsistencies in yaboot's file loading.
20 - Fix OpenFirmware filesystem support to automatically convert
21 path separator from / to \. CDROM authors no longer need to use
22 kludges like image=\\install\\powermac\\vmlinux.
23 - Fix kernel loading on some systems.
24 - Allow for getting files from tftp server that does not run a
26 - Fix netboot when using the `n' key.
27 - Fix a great deal of incorrect format strings which could cause
29 - Fix all filesystems to properly return error conditions, and
30 report those error conditions (instead of just saying `image not
32 - Make configuration file open error consistent with other file
34 - Add `help' command to yaboot which prints out basic usage information.
35 - Add non-fatal warning when bootstrap partition has wrong type (pmac only).
36 - Minor code rearrangement.
37 - General cruft removal and code cleanup.
39 * Makefile cleanup, make filesystems configurable.
41 2001-09-25 Ethan Benson <erbenson@alaska.net>
45 * Add --debug option to yabootconfig
47 * Fix BSD booting support somewhat. The bsd= option's semantics
48 have changed, it must now be set to the BSD root partition. ybin
49 will now install /usr/local/lib/yaboot/ofwboot onto the bootstrap
50 partition when bsd= is present in /etc/yaboot.conf. The dual boot
51 menu will then execute "ofwboot <bsd_root_part>,/bsd" this means
52 the bsd kernel must be at /bsd on the BSD root partition.
54 2001-09-24 Ethan Benson <erbenson@alaska.net>
58 * Fix Makefile thinko where make install failed if
59 /etc/yaboot.conf already existed.
61 2001-09-20 Ethan Benson <erbenson@alaska.net>
65 * Don't include /etc/yaboot.conf in binary dist, instead put the
66 example in /usr/local/share/doc. This way extracting the tarball
67 from / won't blow away existing configs.
69 * Move strip commands from install target to strip target, install
72 2001-09-20 Ethan Benson <erbenson@alaska.net>
76 * Merging of ybin and yaboot source trees, this is now the
77 official upstream yaboot/ybin source tree.
80 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
82 - Fix netboot (was broken by reiserfs patch)
84 2001-08-26 Ethan Benson <erbenson@alaska.net>
88 * ofpath became broken on non-scsi systems due to quoting fix.
90 2001-08-20 Ethan Benson <erbenson@alaska.net>
94 * Fix broken quoting uncovered by debian's current /bin/ash.
96 2001-08-06 Ethan Benson <erbenson@alaska.net>
100 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
101 OpenFirmware multibooter to crash.
103 * mkofboot: zero first 800K of bootstrap partition before creating
108 - Supports using an md5 hash as well as plaintext password. (me)
109 - Fix again system.map loading. That also fix an old pending bug
110 we had where yaboot could pass random values for system.map,
111 causing the kernel to mark random pages reserved. (BenH)
112 - IBM CHRP fixes. (Peter Bergner)
113 - Add reiserfs support (Jeff Mahoney)
115 2001-06-30 Ethan Benson <erbenson@alaska.net>
121 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
122 - Use real wc if available, this speeds up ofpath slightly for scsi.
123 - Make variables local to their function unless they need to be global.
126 - If installing on IBM CHRP run addnote on yaboot binary before installing.
127 - Reword some error/verbose messages
128 - Make variables local to their function unless they need to be global.
130 2001-06-24 Ethan Benson <erbenson@alaska.net>
135 - Now works with braindamaged versions of pdisk.
136 - Add --kernel-args switch which allows boot-floppies to easily
137 add an append= line if needed.
139 2001-06-01 Ethan Benson <erbenson@alaska.net>
143 * Fix test for strict posix/SUS echo behavior.
145 * Check for printf built into the shell.
147 * yabootconfig: check for and attempt to deal with cross device symlinks.
149 2001-05-28 Ethan Benson <erbenson@alaska.net>
153 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
156 - Detect IBM CHRP hardware and disable nvram update automatically
157 - Automatically run yabootconfig if /etc/yaboot.conf is missing
158 - Check for PATH_PREFIX environment variable and add all bin and
159 sbin directories from under it to PATH. This is for boot-floppies.
160 - Add bsd= to list of multiboot options.
162 * ofboot: bump maximum number of OSes to 8.
165 - No longer report bogus paths for non-existent scsi devices.
166 - Fix bug where garbage characters were mixed with the
167 OpenFirmware device path.
168 - Fix broken Wallstreet PowerBook support.
169 - Add support for silly devfs naming convention, Thanks to Tom Rini.
171 2001-05-06 Ethan Benson <erbenson@alaska.net>
176 - Hopefully fix random and rare booting problem when chainloading
177 other OSes. Thanks to Segher Boessenkool for the fix.
178 - Add volume name which shows up in the OpenFirmware multiboot
180 - It is now possible to replace the badge icon for the multiboot
181 screen, see examples/README.mbicon.
185 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
187 * Various spelling errors and clarifications to man pages. Thanks to sword.
189 2001-04-26 Ethan Benson <erbenson@alaska.net>
195 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
196 - Removed `No such file or directory' errors when system has no
200 - If delay= is not set use value of timeout= (converted to
202 - Removed command line options --type, --creator, and long
203 obsolete and deprecated --conffile. The config file options
204 hfstype and hfscreator are still there.
205 - Removed long obsolete and deprecated bootconf= config option.
206 - Removed some old now unneeded debug cruft.
209 - Include version 1.1.1-eb3, this includes the following changes
210 - Adds password protection capabilities.
211 - Add `single-key' option from silo.
214 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
216 2001-03-22 Ethan Benson <erbenson@alaska.net>
221 - Fix a few bugs that occured when magicboot= was not used.
222 - Add basic support for IBM style bootstrap partitions. These
223 partitions have yaboot dded directly to them. See the yaboot.conf
224 man page regarding fstype for more info, also
225 examples/yaboot.conf.rs6k.
226 - Don't require that ofpath be installed if its not needed.
229 - Added examples/yaboot.conf.rs6k
230 - Man page updates for IBM support.
232 2001-02-19 Ethan Benson <erbenson@alaska.net>
237 - Quiet shell error when run on non-PowerMac (but still
239 - Properly recognize more OldWorld PowerMac G3s.
240 - Fix OldWorld detection for kernels < 2.2.17
241 - Require that /proc be mounted.
244 - Fix OldWorld detection for kernels < 2.2.17
245 - Make the `not bootable on OldWorld' warning very loud and
247 - Change PATH to make /usr/local the last component instead of
249 - Make the text/background color in the boot menu configurable,
250 see the yaboot.conf(5) man page for details.
251 - Change default foreground color to white per yaboot 1.0.
252 - Remove support for obsolete /etc/ybin.conf.
255 - Clarified the `partition=' variable in the yaboot.conf man page
256 and correct an error in the example in that man page.
257 - Added more comments to included yaboot.conf examples.
260 - Include version 1.1.1
261 - Includes color support
263 2000-11-18 Ethan Benson <erbenson@alaska.net>
267 * ybin: add `brokenosx' option, when used with macosx= ybin makes
268 the MacOSX menu entry execute \System\Library\CoreServices\BootX
269 directly instead of using \\:tbxi. This is necessary for
270 people who insist on installing OSX on HFS+ instead of UFS, since
271 MacOS deblesses HFS+ OSX partitions.
273 2000-10-28 Ethan Benson <erbenson@alaska.net>
275 * Version 0.29 (the brown paper bag release)
277 * The yaboot.conf man page was broken.
279 * While were at it, include yaboot 0.9 binary (compiled -Os,
282 2000-10-24 Ethan Benson <erbenson@alaska.net>
286 * ybin: Add mntpoint= option, this allows ybin to install the
287 bootstrap into an already mounted filesystem. This is NOT
288 recommended unless you know what your doing.
290 * ybin: fixed generation of ofboot.b so it will work with nobless
293 2000-10-20 Ethan Benson <erbenson@alaska.net>
297 * ofboot: fixed problem where text was not visible on some newer iMacs.
299 * ybin: Now warn the user when they are using ybin on an OldWorld
300 PowerMac. (it will still work since its possible to make newworld
301 bootable disks on an OldWorld mac)
303 * ofpath: Now works on oldworld macs under 2.4 kernels.
305 * Added check for packaged versions of ybin to the Makefile and
306 warn user about them.
308 2000-09-23 Ethan Benson <erbenson@alaska.net>
312 * ofboot: completely rewrote the generator script, it is now more
313 extendable and supports more menu options. More thanks to iNOUE
314 Koich! for the continuing help on OpenFirmware issues!!
316 * ybin: added options for mulitboot menu: now can create a menu
317 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
318 a CDROM, from the network, and even directly into an OpenFirmware
321 * ybin: some errors were sent to stdout instead of stderr, fixed.
323 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
325 2000-09-18 Ethan Benson <erbenson@alaska.net>
329 * ofboot: now changes the background color to black and the text
330 color to cyan like yaboot. Thanks to again to iNOUE Koich!
332 2000-09-16 Ethan Benson <erbenson@alaska.net>
336 * ofboot: many bugs in the Forth code fixed. code should now be
337 compliant to the OpenFirmware spec. Also add CD boot menu option.
338 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
341 2000-09-13 Ethan Benson <erbenson@alaska.net>
345 * ybin: now hard code the target filename for ofboot, its always
346 installed as ofboot.b on the bootstrap partition. This eliminates
347 ambiguity when someone tries a different script with different name.
349 * ybin: all debugging output goes to stderr now.
351 2000-09-09 Ethan Benson <erbenson@alaska.net>
355 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
357 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
358 instead of /boot, since these files are never directly accessed by
359 the firmware it is not really appropriate to keep them in /boot.
360 make install will create backwords compatibility symlinks when
361 installing over an older version of ybin so nothing should break.
362 IMPORTANT: you should run mkofboot on a dedicated bootstrap
363 partition to purge old filenames.
365 * Man pages updated to reflect new file locations. Also include a
366 patch to change the paths to /usr/lib/yaboot for Debian and redhat
369 * ybin: now checks two places for a default value for install=
370 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
372 2000-09-02 Ethan Benson <erbenson@alaska.net>
376 * ybin: fixed nvram update so it uses a real filename instead of
377 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
378 file in blessed directory).
380 * ofpath: more oldworld machines supported. Now supports 7200,
381 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
384 2000-08-31 Ethan Benson <erbenson@alaska.net>
388 * ybin: check for Newworld compatible nvsetenv and if found will
389 automatically update the OpenFirmware boot-device variable in
392 * ofpath: support some oldworld machines. (this does not mean
393 ybin/yaboot supports oldworld). Also silence a harmless error on
394 machines lacking a CDROM.
396 * ofboot.b: added more machines to <COMPATIBLE>
398 2000-08-25 Ethan Benson <erbenson@alaska.net>
402 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
405 2000-08-22 Ethan Benson <erbenson@alaska.net>
409 * ofboot.b: changed the yaboot boot commands to boot yaboot by
410 filename rather then file type. Booting by file type did not work
411 reliably on all machines.
413 * ybin: hard code the target filename for yaboot, regardless of
414 the source filename (from install=) the target filename on the
415 bootstrap partition will always be "yaboot.b".
417 * Added ofpath utility, this is a rewrite of the show_of_path.sh
418 utility written by Olaf Hering. Ofpath works with /bin/ash and on
419 stripped down systems such as the Debian boot floppies. Also
420 wrote a small man page for this utility.
422 * ybin: automatically use ofpath to find the OpenFirmware device
423 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
424 also use ofpath when macos= or macosx= are set to unix device
425 nodes (ie /dev/hda11), these options can still be set to
426 OpenFirmware paths as well.
428 * Makefile: minor cleanup, added installation of ofpath
429 utility/man page as well as a deinstall rule.
431 2000-08-13 Ethan Benson <erbenson@alaska.net>
435 * Yaboot 0.7 binary included.
437 * ybin: fix bug where ybin would fail if the bootstrap files
438 included an "_" in the filename. (actually its a workaround for
439 hfsutils brain-damage)
441 * ofboot.b: completely rewritten. Now includes shell script code
442 to allow ybin to configure it based on config options in
443 /etc/yaboot.conf instead of requiring the user to edit it
444 themselves. Additionally this new script will display a REAL boot
445 menu when dual booting is configured. It is capable of dual or
446 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
447 new ofboot.b script should *NOT* be edited by the user, and thus
448 should NOT be marked as a conffile in Debian and redhat packages.
449 These packages should now install ofboot.b in /boot instead of
450 /etc since it is no longer a config file. WARNING: The Forth code
451 in this script has not been tested on all machines and may not be
452 universally compatible. Thanks to Chris Emerson for writing the
455 * yaboot.conf: new options: ofboot= macos= macosx= delay=
456 defaultos=. See the yaboot.conf man page for details.
458 * Now include a Makefile to handle installation, only make install
459 is defined. Removed install-sh.
461 * mkofboot is now distributed and installed as a symlink instead
466 2000-04-25 Ethan Benson <erbenson@alaska.net>
470 * menu_ofboot.b: fixed bug where the yaboot line was missing the
471 boot command, this prevented it from booting yaboot.
473 2000-04-25 Ethan Benson <erbenson@alaska.net>
477 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
478 page and rename it back to bootstrap(8). This also solves the
479 conflict with quik. In a more useful way IMO.
481 2000-04-24 Ethan Benson <erbenson@alaska.net>
485 * Ship man pages uncompressed, gzip them in install-sh instead,
486 this allows for easier patching by debian maintainers if need be.
488 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
491 2000-04-23 Ethan Benson <erbenson@alaska.net>
495 * Rewrote the config file parsing yet again to remove dependencies
496 on tr, and awk. This allows ybin to function on minimal systems
497 such as boot/rescue floppies. This also pretty much solves the
498 slowness problem. Thanks to Daniel Jacobwitz for the help.
500 * Made changes to remove dependencies on basename and wc. Again
501 this is to allow ybin to work on boot floppies.
503 * Changed all calls to grep to stop using GNU extensions, this is
504 so ybin will work properly with the minimal version of grep
507 * Added signal handling so ybin/mkofboot will cleanup after
508 themselves if killed with signals 1 2 3 or 15.
510 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
511 you can hold down the option key and get a graphical boot selector
512 with one button for each bootable partition, the button with the
513 penguin icon is the bootstrap partition. Thanks to Nicholas
514 Humfrey for creating the Badge icon.
516 * Minor updates to the man pages.
518 2000-04-19 Ethan Benson <erbenson@alaska.net>
522 * Now include yaboot binary in ybin distribution.
524 * Include a install-sh script to install everything.
526 * Use of the separate ybin.conf file is deprecated. Use
527 /etc/yaboot.conf instead.
529 * Removed the so called kludge options, without being able to
530 bless the root directory they were just useless bloat.
532 * Removed useless --readonly option, it was already default (as it
535 * Deprecated bootconf options since the yaboot.conf is the same
536 config ybin uses. (it is still there and works but that may change)
538 * Changed configuration file format to be more like quik/lilo:
539 bootfile= is now install= (--bootfile is now --install), wrapper=
540 is now magicboot=, usemount, protect, and hide are now just a
541 keyword options, if they are present in the configuration file
542 they are turned on, if they are not present they are turned off.
543 bless= is now the nobless keyword option, since bless is default
544 this one changed names.
546 * ybin: no longer need to specify -C /dev/null if you don't have a
547 configuration file in /etc/. If this is the case ybin will generate
548 a generic yaboot.conf to install on the bootstrap partition.
550 * More changes to the configuration parsing to improve speed, the
551 format change also helped the speed problem.
553 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
556 * More general fixes/cleanup/tweaks.
558 2000-03-13 Ethan Benson <erbenson@alaska.net>
562 * Added command line options to both scripts, try --help. This
563 makes the ybin.conf file optional if you wish (-C /dev/null)
565 * Changed the way the config file is parsed, no longer source it
566 with the shell, this allows ybin.conf to be merged with
567 yaboot.conf at which point yaboot can live with unknown options in
570 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
573 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
574 of its code with ybin anyway and this will make them much easier
575 to maintain. mkofboot is now a hard link to ybin (or a symlink if
576 you prefer, both will work)
578 * Added an experimental feature to generate a yaboot.conf on the
579 fly based on command line options. The defaults should be
580 workable on a Debian system with an internal ATA disk, with the
581 root partition being the 3rd on the disk. Depends on mktemp for
582 creating the temporary file, Debian's mktemp is secure against
583 race conditions, use with caution if your distribution lacks a
584 secure mktemp utility. This option is activated with -c auto.
586 * No longer depends on bash. Works with Debian's
587 /bin/ash. Interpreter is now set to /bin/sh.
589 * Assorted cleanup, minor bug fixes.
591 * Added example yaboot.conf.
593 2000-02-04 Ethan Benson <erbenson@alaska.net>
597 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
599 2000-01-17 Ethan Benson <erbenson@alaska.net>
603 * mkofboot was still broken. :-(
606 2000-01-14 Ethan Benson <erbenson@alaska.net>
610 * Added a basic CHRP script ofboot.b to work around the problem of
611 OF refusing to load `tbxi' files unless they contain a CHRP boot
612 header. See README.ofboot.b for details.
614 * Updated default ybin.conf to install ofboot.b by default.
616 2000-01-13 Ethan Benson <erbenson@alaska.net>
620 * mkofboot: Check for hformat was broken.
622 2000-01-12 Ethan Benson <erbenson@alaska.net>
626 * mkofboot: Fixed problem where it was insisting that mkdosfs be
627 present even when using hfs filesystems if usemount=yes.
629 * mkofboot: Added proper checks for hformat or mkdosfs.
631 2000-01-09 Ethan Benson <erbenson@alaska.net>
635 * First public release.
637 * Add TODO and BUGS files.
639 * mkofboot: Check to see if usemount=yes, and if so make sure we
640 are root before proceeding to erase the partition.
642 * ybin: Removed useless echo line.
644 2000-01-05 Ethan Benson <erbenson@alaska.net>
648 * ybin (util_install): Fully support OF `wrappers' now: if a
649 wrapper is defined in the configuration file then the wrapper is
650 given the HFS file type specified instead of the bootfile, the
651 bootfile's type is set to "boot".
653 * ybin: New configuration option `bless' when yes and are using
654 hfsutils we will `bless' the root directory of the bootstrap
655 filesystem so OF should be able to find and boot the system
656 without reconfiguration.
658 * mkofboot/ybin (checkconf): Add validation for the new `bless'
659 option. Also add check that the wrapper, if defined, exists and we
660 have permission to it.
662 2000-01-04 Ethan Benson <erbenson@alaska.net>
666 * ybin (util_install): Quote the filetype/creator arguments to
667 hattrib to prevent the shell from interpreting any meta-characters
668 in some cases. Also no longer try and set metadata on wrapper if
671 * mkofboot: When creating hfs or dos filesystems give them volume
672 label of "bootstrap".
674 2000-01-03 Ethan Benson <erbenson@alaska.net>
678 * mkofboot: added -w switch to grep when checking if a filesystem
679 is already mounted to prevent erroneous positive matches.
681 * ybin (util_install): Add check to make sure that the target
682 device is not mounted as a filesystem before mucking with it.
686 2000-01-01 Ethan Benson <erbenson@alaska.net>