1 2001-09-20 Ethan Benson <erbenson@alaska.net>
5 * Merging of ybin and yaboot source trees, this is now the
6 official upstream yaboot/ybin source tree.
9 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
11 - Fix netboot (was broken by reiserfs patch)
13 2001-08-26 Ethan Benson <erbenson@alaska.net>
17 * ofpath became broken on non-scsi systems due to quoting fix.
19 2001-08-20 Ethan Benson <erbenson@alaska.net>
23 * Fix broken quoting uncovered by debian's current /bin/ash.
25 2001-08-06 Ethan Benson <erbenson@alaska.net>
29 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
30 OpenFirmware multibooter to crash.
32 * mkofboot: zero first 800K of bootstrap partition before creating
37 - Supports using an md5 hash as well as plaintext password. (me)
38 - Fix again system.map loading. That also fix an old pending bug
39 we had where yaboot could pass random values for system.map,
40 causing the kernel to mark random pages reserved. (BenH)
41 - IBM CHRP fixes. (Peter Bergner)
42 - Add reiserfs support (Jeff Mahoney)
44 2001-06-30 Ethan Benson <erbenson@alaska.net>
50 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
51 - Use real wc if available, this speeds up ofpath slightly for scsi.
52 - Make variables local to their function unless they need to be global.
55 - If installing on IBM CHRP run addnote on yaboot binary before installing.
56 - Reword some error/verbose messages
57 - Make variables local to their function unless they need to be global.
59 2001-06-24 Ethan Benson <erbenson@alaska.net>
64 - Now works with braindamaged versions of pdisk.
65 - Add --kernel-args switch which allows boot-floppies to easily
66 add an append= line if needed.
68 2001-06-01 Ethan Benson <erbenson@alaska.net>
72 * Fix test for strict posix/SUS echo behavior.
74 * Check for printf built into the shell.
76 * yabootconfig: check for and attempt to deal with cross device symlinks.
78 2001-05-28 Ethan Benson <erbenson@alaska.net>
82 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
85 - Detect IBM CHRP hardware and disable nvram update automatically
86 - Automatically run yabootconfig if /etc/yaboot.conf is missing
87 - Check for PATH_PREFIX environment variable and add all bin and
88 sbin directories from under it to PATH. This is for boot-floppies.
89 - Add bsd= to list of multiboot options.
91 * ofboot: bump maximum number of OSes to 8.
94 - No longer report bogus paths for non-existent scsi devices.
95 - Fix bug where garbage characters were mixed with the
96 OpenFirmware device path.
97 - Fix broken Wallstreet PowerBook support.
98 - Add support for silly devfs naming convention, Thanks to Tom Rini.
100 2001-05-06 Ethan Benson <erbenson@alaska.net>
105 - Hopefully fix random and rare booting problem when chainloading
106 other OSes. Thanks to Segher Boessenkool for the fix.
107 - Add volume name which shows up in the OpenFirmware multiboot
109 - It is now possible to replace the badge icon for the multiboot
110 screen, see examples/README.mbicon.
114 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
116 * Various spelling errors and clarifications to man pages. Thanks to sword.
118 2001-04-26 Ethan Benson <erbenson@alaska.net>
124 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
125 - Removed `No such file or directory' errors when system has no
129 - If delay= is not set use value of timeout= (converted to
131 - Removed command line options --type, --creator, and long
132 obsolete and deprecated --conffile. The config file options
133 hfstype and hfscreator are still there.
134 - Removed long obsolete and deprecated bootconf= config option.
135 - Removed some old now unneeded debug cruft.
138 - Include version 1.1.1-eb3, this includes the following changes
139 - Adds password protection capabilities.
140 - Add `single-key' option from silo.
143 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
145 2001-03-22 Ethan Benson <erbenson@alaska.net>
150 - Fix a few bugs that occured when magicboot= was not used.
151 - Add basic support for IBM style bootstrap partitions. These
152 partitions have yaboot dded directly to them. See the yaboot.conf
153 man page regarding fstype for more info, also
154 examples/yaboot.conf.rs6k.
155 - Don't require that ofpath be installed if its not needed.
158 - Added examples/yaboot.conf.rs6k
159 - Man page updates for IBM support.
161 2001-02-19 Ethan Benson <erbenson@alaska.net>
166 - Quiet shell error when run on non-PowerMac (but still
168 - Properly recognize more OldWorld PowerMac G3s.
169 - Fix OldWorld detection for kernels < 2.2.17
170 - Require that /proc be mounted.
173 - Fix OldWorld detection for kernels < 2.2.17
174 - Make the `not bootable on OldWorld' warning very loud and
176 - Change PATH to make /usr/local the last component instead of
178 - Make the text/background color in the boot menu configurable,
179 see the yaboot.conf(5) man page for details.
180 - Change default foreground color to white per yaboot 1.0.
181 - Remove support for obsolete /etc/ybin.conf.
184 - Clarified the `partition=' variable in the yaboot.conf man page
185 and correct an error in the example in that man page.
186 - Added more comments to included yaboot.conf examples.
189 - Include version 1.1.1
190 - Includes color support
192 2000-11-18 Ethan Benson <erbenson@alaska.net>
196 * ybin: add `brokenosx' option, when used with macosx= ybin makes
197 the MacOSX menu entry execute \System\Library\CoreServices\BootX
198 directly instead of using \\:tbxi. This is necessary for
199 people who insist on installing OSX on HFS+ instead of UFS, since
200 MacOS deblesses HFS+ OSX partitions.
202 2000-10-28 Ethan Benson <erbenson@alaska.net>
204 * Version 0.29 (the brown paper bag release)
206 * The yaboot.conf man page was broken.
208 * While were at it, include yaboot 0.9 binary (compiled -Os,
211 2000-10-24 Ethan Benson <erbenson@alaska.net>
215 * ybin: Add mntpoint= option, this allows ybin to install the
216 bootstrap into an already mounted filesystem. This is NOT
217 recommended unless you know what your doing.
219 * ybin: fixed generation of ofboot.b so it will work with nobless
222 2000-10-20 Ethan Benson <erbenson@alaska.net>
226 * ofboot: fixed problem where text was not visible on some newer iMacs.
228 * ybin: Now warn the user when they are using ybin on an OldWorld
229 PowerMac. (it will still work since its possible to make newworld
230 bootable disks on an OldWorld mac)
232 * ofpath: Now works on oldworld macs under 2.4 kernels.
234 * Added check for packaged versions of ybin to the Makefile and
235 warn user about them.
237 2000-09-23 Ethan Benson <erbenson@alaska.net>
241 * ofboot: completely rewrote the generator script, it is now more
242 extendable and supports more menu options. More thanks to iNOUE
243 Koich! for the continuing help on OpenFirmware issues!!
245 * ybin: added options for mulitboot menu: now can create a menu
246 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
247 a CDROM, from the network, and even directly into an OpenFirmware
250 * ybin: some errors were sent to stdout instead of stderr, fixed.
252 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
254 2000-09-18 Ethan Benson <erbenson@alaska.net>
258 * ofboot: now changes the background color to black and the text
259 color to cyan like yaboot. Thanks to again to iNOUE Koich!
261 2000-09-16 Ethan Benson <erbenson@alaska.net>
265 * ofboot: many bugs in the Forth code fixed. code should now be
266 compliant to the OpenFirmware spec. Also add CD boot menu option.
267 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
270 2000-09-13 Ethan Benson <erbenson@alaska.net>
274 * ybin: now hard code the target filename for ofboot, its always
275 installed as ofboot.b on the bootstrap partition. This eliminates
276 ambiguity when someone tries a different script with different name.
278 * ybin: all debugging output goes to stderr now.
280 2000-09-09 Ethan Benson <erbenson@alaska.net>
284 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
286 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
287 instead of /boot, since these files are never directly accessed by
288 the firmware it is not really appropriate to keep them in /boot.
289 make install will create backwords compatibility symlinks when
290 installing over an older version of ybin so nothing should break.
291 IMPORTANT: you should run mkofboot on a dedicated bootstrap
292 partition to purge old filenames.
294 * Man pages updated to reflect new file locations. Also include a
295 patch to change the paths to /usr/lib/yaboot for Debian and redhat
298 * ybin: now checks two places for a default value for install=
299 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
301 2000-09-02 Ethan Benson <erbenson@alaska.net>
305 * ybin: fixed nvram update so it uses a real filename instead of
306 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
307 file in blessed directory).
309 * ofpath: more oldworld machines supported. Now supports 7200,
310 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
313 2000-08-31 Ethan Benson <erbenson@alaska.net>
317 * ybin: check for Newworld compatible nvsetenv and if found will
318 automatically update the OpenFirmware boot-device variable in
321 * ofpath: support some oldworld machines. (this does not mean
322 ybin/yaboot supports oldworld). Also silence a harmless error on
323 machines lacking a CDROM.
325 * ofboot.b: added more machines to <COMPATIBLE>
327 2000-08-25 Ethan Benson <erbenson@alaska.net>
331 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
334 2000-08-22 Ethan Benson <erbenson@alaska.net>
338 * ofboot.b: changed the yaboot boot commands to boot yaboot by
339 filename rather then file type. Booting by file type did not work
340 reliably on all machines.
342 * ybin: hard code the target filename for yaboot, regardless of
343 the source filename (from install=) the target filename on the
344 bootstrap partition will always be "yaboot.b".
346 * Added ofpath utility, this is a rewrite of the show_of_path.sh
347 utility written by Olaf Hering. Ofpath works with /bin/ash and on
348 stripped down systems such as the Debian boot floppies. Also
349 wrote a small man page for this utility.
351 * ybin: automatically use ofpath to find the OpenFirmware device
352 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
353 also use ofpath when macos= or macosx= are set to unix device
354 nodes (ie /dev/hda11), these options can still be set to
355 OpenFirmware paths as well.
357 * Makefile: minor cleanup, added installation of ofpath
358 utility/man page as well as a deinstall rule.
360 2000-08-13 Ethan Benson <erbenson@alaska.net>
364 * Yaboot 0.7 binary included.
366 * ybin: fix bug where ybin would fail if the bootstrap files
367 included an "_" in the filename. (actually its a workaround for
368 hfsutils brain-damage)
370 * ofboot.b: completely rewritten. Now includes shell script code
371 to allow ybin to configure it based on config options in
372 /etc/yaboot.conf instead of requiring the user to edit it
373 themselves. Additionally this new script will display a REAL boot
374 menu when dual booting is configured. It is capable of dual or
375 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
376 new ofboot.b script should *NOT* be edited by the user, and thus
377 should NOT be marked as a conffile in Debian and redhat packages.
378 These packages should now install ofboot.b in /boot instead of
379 /etc since it is no longer a config file. WARNING: The Forth code
380 in this script has not been tested on all machines and may not be
381 universally compatible. Thanks to Chris Emerson for writing the
384 * yaboot.conf: new options: ofboot= macos= macosx= delay=
385 defaultos=. See the yaboot.conf man page for details.
387 * Now include a Makefile to handle installation, only make install
388 is defined. Removed install-sh.
390 * mkofboot is now distributed and installed as a symlink instead
395 2000-04-25 Ethan Benson <erbenson@alaska.net>
399 * menu_ofboot.b: fixed bug where the yaboot line was missing the
400 boot command, this prevented it from booting yaboot.
402 2000-04-25 Ethan Benson <erbenson@alaska.net>
406 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
407 page and rename it back to bootstrap(8). This also solves the
408 conflict with quik. In a more useful way IMO.
410 2000-04-24 Ethan Benson <erbenson@alaska.net>
414 * Ship man pages uncompressed, gzip them in install-sh instead,
415 this allows for easier patching by debian maintainers if need be.
417 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
420 2000-04-23 Ethan Benson <erbenson@alaska.net>
424 * Rewrote the config file parsing yet again to remove dependencies
425 on tr, and awk. This allows ybin to function on minimal systems
426 such as boot/rescue floppies. This also pretty much solves the
427 slowness problem. Thanks to Daniel Jacobwitz for the help.
429 * Made changes to remove dependencies on basename and wc. Again
430 this is to allow ybin to work on boot floppies.
432 * Changed all calls to grep to stop using GNU extensions, this is
433 so ybin will work properly with the minimal version of grep
436 * Added signal handling so ybin/mkofboot will cleanup after
437 themselves if killed with signals 1 2 3 or 15.
439 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
440 you can hold down the option key and get a graphical boot selector
441 with one button for each bootable partition, the button with the
442 penguin icon is the bootstrap partition. Thanks to Nicholas
443 Humfrey for creating the Badge icon.
445 * Minor updates to the man pages.
447 2000-04-19 Ethan Benson <erbenson@alaska.net>
451 * Now include yaboot binary in ybin distribution.
453 * Include a install-sh script to install everything.
455 * Use of the separate ybin.conf file is deprecated. Use
456 /etc/yaboot.conf instead.
458 * Removed the so called kludge options, without being able to
459 bless the root directory they were just useless bloat.
461 * Removed useless --readonly option, it was already default (as it
464 * Deprecated bootconf options since the yaboot.conf is the same
465 config ybin uses. (it is still there and works but that may change)
467 * Changed configuration file format to be more like quik/lilo:
468 bootfile= is now install= (--bootfile is now --install), wrapper=
469 is now magicboot=, usemount, protect, and hide are now just a
470 keyword options, if they are present in the configuration file
471 they are turned on, if they are not present they are turned off.
472 bless= is now the nobless keyword option, since bless is default
473 this one changed names.
475 * ybin: no longer need to specify -C /dev/null if you don't have a
476 configuration file in /etc/. If this is the case ybin will generate
477 a generic yaboot.conf to install on the bootstrap partition.
479 * More changes to the configuration parsing to improve speed, the
480 format change also helped the speed problem.
482 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
485 * More general fixes/cleanup/tweaks.
487 2000-03-13 Ethan Benson <erbenson@alaska.net>
491 * Added command line options to both scripts, try --help. This
492 makes the ybin.conf file optional if you wish (-C /dev/null)
494 * Changed the way the config file is parsed, no longer source it
495 with the shell, this allows ybin.conf to be merged with
496 yaboot.conf at which point yaboot can live with unknown options in
499 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
502 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
503 of its code with ybin anyway and this will make them much easier
504 to maintain. mkofboot is now a hard link to ybin (or a symlink if
505 you prefer, both will work)
507 * Added an experimental feature to generate a yaboot.conf on the
508 fly based on command line options. The defaults should be
509 workable on a Debian system with an internal ATA disk, with the
510 root partition being the 3rd on the disk. Depends on mktemp for
511 creating the temporary file, Debian's mktemp is secure against
512 race conditions, use with caution if your distribution lacks a
513 secure mktemp utility. This option is activated with -c auto.
515 * No longer depends on bash. Works with Debian's
516 /bin/ash. Interpreter is now set to /bin/sh.
518 * Assorted cleanup, minor bug fixes.
520 * Added example yaboot.conf.
522 2000-02-04 Ethan Benson <erbenson@alaska.net>
526 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
528 2000-01-17 Ethan Benson <erbenson@alaska.net>
532 * mkofboot was still broken. :-(
535 2000-01-14 Ethan Benson <erbenson@alaska.net>
539 * Added a basic CHRP script ofboot.b to work around the problem of
540 OF refusing to load `tbxi' files unless they contain a CHRP boot
541 header. See README.ofboot.b for details.
543 * Updated default ybin.conf to install ofboot.b by default.
545 2000-01-13 Ethan Benson <erbenson@alaska.net>
549 * mkofboot: Check for hformat was broken.
551 2000-01-12 Ethan Benson <erbenson@alaska.net>
555 * mkofboot: Fixed problem where it was insisting that mkdosfs be
556 present even when using hfs filesystems if usemount=yes.
558 * mkofboot: Added proper checks for hformat or mkdosfs.
560 2000-01-09 Ethan Benson <erbenson@alaska.net>
564 * First public release.
566 * Add TODO and BUGS files.
568 * mkofboot: Check to see if usemount=yes, and if so make sure we
569 are root before proceeding to erase the partition.
571 * ybin: Removed useless echo line.
573 2000-01-05 Ethan Benson <erbenson@alaska.net>
577 * ybin (util_install): Fully support OF `wrappers' now: if a
578 wrapper is defined in the configuration file then the wrapper is
579 given the HFS file type specified instead of the bootfile, the
580 bootfile's type is set to "boot".
582 * ybin: New configuration option `bless' when yes and are using
583 hfsutils we will `bless' the root directory of the bootstrap
584 filesystem so OF should be able to find and boot the system
585 without reconfiguration.
587 * mkofboot/ybin (checkconf): Add validation for the new `bless'
588 option. Also add check that the wrapper, if defined, exists and we
589 have permission to it.
591 2000-01-04 Ethan Benson <erbenson@alaska.net>
595 * ybin (util_install): Quote the filetype/creator arguments to
596 hattrib to prevent the shell from interpreting any meta-characters
597 in some cases. Also no longer try and set metadata on wrapper if
600 * mkofboot: When creating hfs or dos filesystems give them volume
601 label of "bootstrap".
603 2000-01-03 Ethan Benson <erbenson@alaska.net>
607 * mkofboot: added -w switch to grep when checking if a filesystem
608 is already mounted to prevent erroneous positive matches.
610 * ybin (util_install): Add check to make sure that the target
611 device is not mounted as a filesystem before mucking with it.
615 2000-01-01 Ethan Benson <erbenson@alaska.net>