1 2001-10-13 Ethan Benson <erbenson@alaska.net>
5 * ybin: Correct a verbosity message.
8 - Add SGI XFS filesystem support.
9 - Rewrite OpenFirmware device path parsing code. This fixes
10 many bugs and inconsistencies in yaboot's file loading.
11 - Fix OpenFirmware filesystem support to automatically convert
12 path separator from / to \. CDROM authors no longer need to use
13 kludges like image=\\install\\powermac\\vmlinux.
14 - Fix kernel loading on some systems.
15 - Allow for getting files from tftp server that does not run a
17 - Fix netboot when using the `n' key.
18 - Fix a great deal of incorrect format strings which could cause
20 - Fix all filesystems to properly return error conditions, and
21 report those error conditions (instead of just saying `image not
23 - Make configuration file open error consistent with other file
25 - Add `help' command to yaboot which prints out basic usage information.
26 - Add non-fatal warning when bootstrap partition has wrong type (pmac only).
27 - Minor code rearrangement.
28 - General cruft removal and code cleanup.
30 * Makefile cleanup, make filesystems configurable.
32 2001-09-25 Ethan Benson <erbenson@alaska.net>
36 * Add --debug option to yabootconfig
38 * Fix BSD booting support somewhat. The bsd= option's semantics
39 have changed, it must now be set to the BSD root partition. ybin
40 will now install /usr/local/lib/yaboot/ofwboot onto the bootstrap
41 partition when bsd= is present in /etc/yaboot.conf. The dual boot
42 menu will then execute "ofwboot <bsd_root_part>,/bsd" this means
43 the bsd kernel must be at /bsd on the BSD root partition.
45 2001-09-24 Ethan Benson <erbenson@alaska.net>
49 * Fix Makefile thinko where make install failed if
50 /etc/yaboot.conf already existed.
52 2001-09-20 Ethan Benson <erbenson@alaska.net>
56 * Don't include /etc/yaboot.conf in binary dist, instead put the
57 example in /usr/local/share/doc. This way extracting the tarball
58 from / won't blow away existing configs.
60 * Move strip commands from install target to strip target, install
63 2001-09-20 Ethan Benson <erbenson@alaska.net>
67 * Merging of ybin and yaboot source trees, this is now the
68 official upstream yaboot/ybin source tree.
71 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
73 - Fix netboot (was broken by reiserfs patch)
75 2001-08-26 Ethan Benson <erbenson@alaska.net>
79 * ofpath became broken on non-scsi systems due to quoting fix.
81 2001-08-20 Ethan Benson <erbenson@alaska.net>
85 * Fix broken quoting uncovered by debian's current /bin/ash.
87 2001-08-06 Ethan Benson <erbenson@alaska.net>
91 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
92 OpenFirmware multibooter to crash.
94 * mkofboot: zero first 800K of bootstrap partition before creating
99 - Supports using an md5 hash as well as plaintext password. (me)
100 - Fix again system.map loading. That also fix an old pending bug
101 we had where yaboot could pass random values for system.map,
102 causing the kernel to mark random pages reserved. (BenH)
103 - IBM CHRP fixes. (Peter Bergner)
104 - Add reiserfs support (Jeff Mahoney)
106 2001-06-30 Ethan Benson <erbenson@alaska.net>
112 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
113 - Use real wc if available, this speeds up ofpath slightly for scsi.
114 - Make variables local to their function unless they need to be global.
117 - If installing on IBM CHRP run addnote on yaboot binary before installing.
118 - Reword some error/verbose messages
119 - Make variables local to their function unless they need to be global.
121 2001-06-24 Ethan Benson <erbenson@alaska.net>
126 - Now works with braindamaged versions of pdisk.
127 - Add --kernel-args switch which allows boot-floppies to easily
128 add an append= line if needed.
130 2001-06-01 Ethan Benson <erbenson@alaska.net>
134 * Fix test for strict posix/SUS echo behavior.
136 * Check for printf built into the shell.
138 * yabootconfig: check for and attempt to deal with cross device symlinks.
140 2001-05-28 Ethan Benson <erbenson@alaska.net>
144 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
147 - Detect IBM CHRP hardware and disable nvram update automatically
148 - Automatically run yabootconfig if /etc/yaboot.conf is missing
149 - Check for PATH_PREFIX environment variable and add all bin and
150 sbin directories from under it to PATH. This is for boot-floppies.
151 - Add bsd= to list of multiboot options.
153 * ofboot: bump maximum number of OSes to 8.
156 - No longer report bogus paths for non-existent scsi devices.
157 - Fix bug where garbage characters were mixed with the
158 OpenFirmware device path.
159 - Fix broken Wallstreet PowerBook support.
160 - Add support for silly devfs naming convention, Thanks to Tom Rini.
162 2001-05-06 Ethan Benson <erbenson@alaska.net>
167 - Hopefully fix random and rare booting problem when chainloading
168 other OSes. Thanks to Segher Boessenkool for the fix.
169 - Add volume name which shows up in the OpenFirmware multiboot
171 - It is now possible to replace the badge icon for the multiboot
172 screen, see examples/README.mbicon.
176 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
178 * Various spelling errors and clarifications to man pages. Thanks to sword.
180 2001-04-26 Ethan Benson <erbenson@alaska.net>
186 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
187 - Removed `No such file or directory' errors when system has no
191 - If delay= is not set use value of timeout= (converted to
193 - Removed command line options --type, --creator, and long
194 obsolete and deprecated --conffile. The config file options
195 hfstype and hfscreator are still there.
196 - Removed long obsolete and deprecated bootconf= config option.
197 - Removed some old now unneeded debug cruft.
200 - Include version 1.1.1-eb3, this includes the following changes
201 - Adds password protection capabilities.
202 - Add `single-key' option from silo.
205 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
207 2001-03-22 Ethan Benson <erbenson@alaska.net>
212 - Fix a few bugs that occured when magicboot= was not used.
213 - Add basic support for IBM style bootstrap partitions. These
214 partitions have yaboot dded directly to them. See the yaboot.conf
215 man page regarding fstype for more info, also
216 examples/yaboot.conf.rs6k.
217 - Don't require that ofpath be installed if its not needed.
220 - Added examples/yaboot.conf.rs6k
221 - Man page updates for IBM support.
223 2001-02-19 Ethan Benson <erbenson@alaska.net>
228 - Quiet shell error when run on non-PowerMac (but still
230 - Properly recognize more OldWorld PowerMac G3s.
231 - Fix OldWorld detection for kernels < 2.2.17
232 - Require that /proc be mounted.
235 - Fix OldWorld detection for kernels < 2.2.17
236 - Make the `not bootable on OldWorld' warning very loud and
238 - Change PATH to make /usr/local the last component instead of
240 - Make the text/background color in the boot menu configurable,
241 see the yaboot.conf(5) man page for details.
242 - Change default foreground color to white per yaboot 1.0.
243 - Remove support for obsolete /etc/ybin.conf.
246 - Clarified the `partition=' variable in the yaboot.conf man page
247 and correct an error in the example in that man page.
248 - Added more comments to included yaboot.conf examples.
251 - Include version 1.1.1
252 - Includes color support
254 2000-11-18 Ethan Benson <erbenson@alaska.net>
258 * ybin: add `brokenosx' option, when used with macosx= ybin makes
259 the MacOSX menu entry execute \System\Library\CoreServices\BootX
260 directly instead of using \\:tbxi. This is necessary for
261 people who insist on installing OSX on HFS+ instead of UFS, since
262 MacOS deblesses HFS+ OSX partitions.
264 2000-10-28 Ethan Benson <erbenson@alaska.net>
266 * Version 0.29 (the brown paper bag release)
268 * The yaboot.conf man page was broken.
270 * While were at it, include yaboot 0.9 binary (compiled -Os,
273 2000-10-24 Ethan Benson <erbenson@alaska.net>
277 * ybin: Add mntpoint= option, this allows ybin to install the
278 bootstrap into an already mounted filesystem. This is NOT
279 recommended unless you know what your doing.
281 * ybin: fixed generation of ofboot.b so it will work with nobless
284 2000-10-20 Ethan Benson <erbenson@alaska.net>
288 * ofboot: fixed problem where text was not visible on some newer iMacs.
290 * ybin: Now warn the user when they are using ybin on an OldWorld
291 PowerMac. (it will still work since its possible to make newworld
292 bootable disks on an OldWorld mac)
294 * ofpath: Now works on oldworld macs under 2.4 kernels.
296 * Added check for packaged versions of ybin to the Makefile and
297 warn user about them.
299 2000-09-23 Ethan Benson <erbenson@alaska.net>
303 * ofboot: completely rewrote the generator script, it is now more
304 extendable and supports more menu options. More thanks to iNOUE
305 Koich! for the continuing help on OpenFirmware issues!!
307 * ybin: added options for mulitboot menu: now can create a menu
308 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
309 a CDROM, from the network, and even directly into an OpenFirmware
312 * ybin: some errors were sent to stdout instead of stderr, fixed.
314 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
316 2000-09-18 Ethan Benson <erbenson@alaska.net>
320 * ofboot: now changes the background color to black and the text
321 color to cyan like yaboot. Thanks to again to iNOUE Koich!
323 2000-09-16 Ethan Benson <erbenson@alaska.net>
327 * ofboot: many bugs in the Forth code fixed. code should now be
328 compliant to the OpenFirmware spec. Also add CD boot menu option.
329 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
332 2000-09-13 Ethan Benson <erbenson@alaska.net>
336 * ybin: now hard code the target filename for ofboot, its always
337 installed as ofboot.b on the bootstrap partition. This eliminates
338 ambiguity when someone tries a different script with different name.
340 * ybin: all debugging output goes to stderr now.
342 2000-09-09 Ethan Benson <erbenson@alaska.net>
346 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
348 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
349 instead of /boot, since these files are never directly accessed by
350 the firmware it is not really appropriate to keep them in /boot.
351 make install will create backwords compatibility symlinks when
352 installing over an older version of ybin so nothing should break.
353 IMPORTANT: you should run mkofboot on a dedicated bootstrap
354 partition to purge old filenames.
356 * Man pages updated to reflect new file locations. Also include a
357 patch to change the paths to /usr/lib/yaboot for Debian and redhat
360 * ybin: now checks two places for a default value for install=
361 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
363 2000-09-02 Ethan Benson <erbenson@alaska.net>
367 * ybin: fixed nvram update so it uses a real filename instead of
368 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
369 file in blessed directory).
371 * ofpath: more oldworld machines supported. Now supports 7200,
372 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
375 2000-08-31 Ethan Benson <erbenson@alaska.net>
379 * ybin: check for Newworld compatible nvsetenv and if found will
380 automatically update the OpenFirmware boot-device variable in
383 * ofpath: support some oldworld machines. (this does not mean
384 ybin/yaboot supports oldworld). Also silence a harmless error on
385 machines lacking a CDROM.
387 * ofboot.b: added more machines to <COMPATIBLE>
389 2000-08-25 Ethan Benson <erbenson@alaska.net>
393 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
396 2000-08-22 Ethan Benson <erbenson@alaska.net>
400 * ofboot.b: changed the yaboot boot commands to boot yaboot by
401 filename rather then file type. Booting by file type did not work
402 reliably on all machines.
404 * ybin: hard code the target filename for yaboot, regardless of
405 the source filename (from install=) the target filename on the
406 bootstrap partition will always be "yaboot.b".
408 * Added ofpath utility, this is a rewrite of the show_of_path.sh
409 utility written by Olaf Hering. Ofpath works with /bin/ash and on
410 stripped down systems such as the Debian boot floppies. Also
411 wrote a small man page for this utility.
413 * ybin: automatically use ofpath to find the OpenFirmware device
414 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
415 also use ofpath when macos= or macosx= are set to unix device
416 nodes (ie /dev/hda11), these options can still be set to
417 OpenFirmware paths as well.
419 * Makefile: minor cleanup, added installation of ofpath
420 utility/man page as well as a deinstall rule.
422 2000-08-13 Ethan Benson <erbenson@alaska.net>
426 * Yaboot 0.7 binary included.
428 * ybin: fix bug where ybin would fail if the bootstrap files
429 included an "_" in the filename. (actually its a workaround for
430 hfsutils brain-damage)
432 * ofboot.b: completely rewritten. Now includes shell script code
433 to allow ybin to configure it based on config options in
434 /etc/yaboot.conf instead of requiring the user to edit it
435 themselves. Additionally this new script will display a REAL boot
436 menu when dual booting is configured. It is capable of dual or
437 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
438 new ofboot.b script should *NOT* be edited by the user, and thus
439 should NOT be marked as a conffile in Debian and redhat packages.
440 These packages should now install ofboot.b in /boot instead of
441 /etc since it is no longer a config file. WARNING: The Forth code
442 in this script has not been tested on all machines and may not be
443 universally compatible. Thanks to Chris Emerson for writing the
446 * yaboot.conf: new options: ofboot= macos= macosx= delay=
447 defaultos=. See the yaboot.conf man page for details.
449 * Now include a Makefile to handle installation, only make install
450 is defined. Removed install-sh.
452 * mkofboot is now distributed and installed as a symlink instead
457 2000-04-25 Ethan Benson <erbenson@alaska.net>
461 * menu_ofboot.b: fixed bug where the yaboot line was missing the
462 boot command, this prevented it from booting yaboot.
464 2000-04-25 Ethan Benson <erbenson@alaska.net>
468 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
469 page and rename it back to bootstrap(8). This also solves the
470 conflict with quik. In a more useful way IMO.
472 2000-04-24 Ethan Benson <erbenson@alaska.net>
476 * Ship man pages uncompressed, gzip them in install-sh instead,
477 this allows for easier patching by debian maintainers if need be.
479 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
482 2000-04-23 Ethan Benson <erbenson@alaska.net>
486 * Rewrote the config file parsing yet again to remove dependencies
487 on tr, and awk. This allows ybin to function on minimal systems
488 such as boot/rescue floppies. This also pretty much solves the
489 slowness problem. Thanks to Daniel Jacobwitz for the help.
491 * Made changes to remove dependencies on basename and wc. Again
492 this is to allow ybin to work on boot floppies.
494 * Changed all calls to grep to stop using GNU extensions, this is
495 so ybin will work properly with the minimal version of grep
498 * Added signal handling so ybin/mkofboot will cleanup after
499 themselves if killed with signals 1 2 3 or 15.
501 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
502 you can hold down the option key and get a graphical boot selector
503 with one button for each bootable partition, the button with the
504 penguin icon is the bootstrap partition. Thanks to Nicholas
505 Humfrey for creating the Badge icon.
507 * Minor updates to the man pages.
509 2000-04-19 Ethan Benson <erbenson@alaska.net>
513 * Now include yaboot binary in ybin distribution.
515 * Include a install-sh script to install everything.
517 * Use of the separate ybin.conf file is deprecated. Use
518 /etc/yaboot.conf instead.
520 * Removed the so called kludge options, without being able to
521 bless the root directory they were just useless bloat.
523 * Removed useless --readonly option, it was already default (as it
526 * Deprecated bootconf options since the yaboot.conf is the same
527 config ybin uses. (it is still there and works but that may change)
529 * Changed configuration file format to be more like quik/lilo:
530 bootfile= is now install= (--bootfile is now --install), wrapper=
531 is now magicboot=, usemount, protect, and hide are now just a
532 keyword options, if they are present in the configuration file
533 they are turned on, if they are not present they are turned off.
534 bless= is now the nobless keyword option, since bless is default
535 this one changed names.
537 * ybin: no longer need to specify -C /dev/null if you don't have a
538 configuration file in /etc/. If this is the case ybin will generate
539 a generic yaboot.conf to install on the bootstrap partition.
541 * More changes to the configuration parsing to improve speed, the
542 format change also helped the speed problem.
544 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
547 * More general fixes/cleanup/tweaks.
549 2000-03-13 Ethan Benson <erbenson@alaska.net>
553 * Added command line options to both scripts, try --help. This
554 makes the ybin.conf file optional if you wish (-C /dev/null)
556 * Changed the way the config file is parsed, no longer source it
557 with the shell, this allows ybin.conf to be merged with
558 yaboot.conf at which point yaboot can live with unknown options in
561 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
564 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
565 of its code with ybin anyway and this will make them much easier
566 to maintain. mkofboot is now a hard link to ybin (or a symlink if
567 you prefer, both will work)
569 * Added an experimental feature to generate a yaboot.conf on the
570 fly based on command line options. The defaults should be
571 workable on a Debian system with an internal ATA disk, with the
572 root partition being the 3rd on the disk. Depends on mktemp for
573 creating the temporary file, Debian's mktemp is secure against
574 race conditions, use with caution if your distribution lacks a
575 secure mktemp utility. This option is activated with -c auto.
577 * No longer depends on bash. Works with Debian's
578 /bin/ash. Interpreter is now set to /bin/sh.
580 * Assorted cleanup, minor bug fixes.
582 * Added example yaboot.conf.
584 2000-02-04 Ethan Benson <erbenson@alaska.net>
588 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
590 2000-01-17 Ethan Benson <erbenson@alaska.net>
594 * mkofboot was still broken. :-(
597 2000-01-14 Ethan Benson <erbenson@alaska.net>
601 * Added a basic CHRP script ofboot.b to work around the problem of
602 OF refusing to load `tbxi' files unless they contain a CHRP boot
603 header. See README.ofboot.b for details.
605 * Updated default ybin.conf to install ofboot.b by default.
607 2000-01-13 Ethan Benson <erbenson@alaska.net>
611 * mkofboot: Check for hformat was broken.
613 2000-01-12 Ethan Benson <erbenson@alaska.net>
617 * mkofboot: Fixed problem where it was insisting that mkdosfs be
618 present even when using hfs filesystems if usemount=yes.
620 * mkofboot: Added proper checks for hformat or mkdosfs.
622 2000-01-09 Ethan Benson <erbenson@alaska.net>
626 * First public release.
628 * Add TODO and BUGS files.
630 * mkofboot: Check to see if usemount=yes, and if so make sure we
631 are root before proceeding to erase the partition.
633 * ybin: Removed useless echo line.
635 2000-01-05 Ethan Benson <erbenson@alaska.net>
639 * ybin (util_install): Fully support OF `wrappers' now: if a
640 wrapper is defined in the configuration file then the wrapper is
641 given the HFS file type specified instead of the bootfile, the
642 bootfile's type is set to "boot".
644 * ybin: New configuration option `bless' when yes and are using
645 hfsutils we will `bless' the root directory of the bootstrap
646 filesystem so OF should be able to find and boot the system
647 without reconfiguration.
649 * mkofboot/ybin (checkconf): Add validation for the new `bless'
650 option. Also add check that the wrapper, if defined, exists and we
651 have permission to it.
653 2000-01-04 Ethan Benson <erbenson@alaska.net>
657 * ybin (util_install): Quote the filetype/creator arguments to
658 hattrib to prevent the shell from interpreting any meta-characters
659 in some cases. Also no longer try and set metadata on wrapper if
662 * mkofboot: When creating hfs or dos filesystems give them volume
663 label of "bootstrap".
665 2000-01-03 Ethan Benson <erbenson@alaska.net>
669 * mkofboot: added -w switch to grep when checking if a filesystem
670 is already mounted to prevent erroneous positive matches.
672 * ybin (util_install): Add check to make sure that the target
673 device is not mounted as a filesystem before mucking with it.
677 2000-01-01 Ethan Benson <erbenson@alaska.net>