1 2001-11-29 Ethan Benson <erbenson@alaska.net>
5 * The "IBM needs to test prereleases" release.
8 - New IGNORE^H^H^H^H^H^HREADME, thanks to Chris Tillman for
9 cleaning up the pile of cruft that this thing was.
10 - yabootconfig man page was missing --kernel-args from SYSOPSIS.
11 - include README.rs6000 in the binary dist.
14 - Automatically use fstype=raw on IBM CHRP, it no longer needs
15 to be explicitly set in /etc/yaboot.conf.
16 - Deprecate ybin's yaboot.conf auto-generation, use yabootconfig
20 - Fix device path parsing to support devices containing a comma,
21 but not including a filename.
22 - Fix IBM CHRP support.
23 - Add support for zImage.initrd (Peter Bergner).
24 - help output no longer claims device=NULL if yaboot.conf does not define it.
25 - Make password prompting a bit nicer looking.
27 2001-10-28 Ethan Benson <erbenson@alaska.net>
31 * Add yaboot-howto, Thanks to Chris Tillman.
34 - XFS fixes for large partitions (Brendan O'Dea).
35 - Upgrade libext2fs to 1.25, this adds full ext3 support to yaboot.
36 - Reiserfs fixes (Jeff Mahoney).
37 - Implement the message= configuration option (see yaboot.conf man page).
39 2001-10-13 Ethan Benson <erbenson@alaska.net>
43 * ybin: Correct a verbosity message.
46 - Add SGI XFS filesystem support.
47 - Rewrite OpenFirmware device path parsing code. This fixes
48 many bugs and inconsistencies in yaboot's file loading.
49 - Fix OpenFirmware filesystem support to automatically convert
50 path separator from / to \. CDROM authors no longer need to use
51 kludges like image=\\install\\powermac\\vmlinux.
52 - Fix kernel loading on some systems.
53 - Allow for getting files from tftp server that does not run a
55 - Fix netboot when using the `n' key.
56 - Fix a great deal of incorrect format strings which could cause
58 - Fix all filesystems to properly return error conditions, and
59 report those error conditions (instead of just saying `image not
61 - Make configuration file open error consistent with other file
63 - Add `help' command to yaboot which prints out basic usage information.
64 - Add non-fatal warning when bootstrap partition has wrong type (pmac only).
65 - Minor code rearrangement.
66 - General cruft removal and code cleanup.
68 * Makefile cleanup, make filesystems configurable.
70 2001-09-25 Ethan Benson <erbenson@alaska.net>
74 * Add --debug option to yabootconfig
76 * Fix BSD booting support somewhat. The bsd= option's semantics
77 have changed, it must now be set to the BSD root partition. ybin
78 will now install /usr/local/lib/yaboot/ofwboot onto the bootstrap
79 partition when bsd= is present in /etc/yaboot.conf. The dual boot
80 menu will then execute "ofwboot <bsd_root_part>,/bsd" this means
81 the bsd kernel must be at /bsd on the BSD root partition.
83 2001-09-24 Ethan Benson <erbenson@alaska.net>
87 * Fix Makefile thinko where make install failed if
88 /etc/yaboot.conf already existed.
90 2001-09-20 Ethan Benson <erbenson@alaska.net>
94 * Don't include /etc/yaboot.conf in binary dist, instead put the
95 example in /usr/local/share/doc. This way extracting the tarball
96 from / won't blow away existing configs.
98 * Move strip commands from install target to strip target, install
101 2001-09-20 Ethan Benson <erbenson@alaska.net>
105 * Merging of ybin and yaboot source trees, this is now the
106 official upstream yaboot/ybin source tree.
109 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
111 - Fix netboot (was broken by reiserfs patch)
113 2001-08-26 Ethan Benson <erbenson@alaska.net>
117 * ofpath became broken on non-scsi systems due to quoting fix.
119 2001-08-20 Ethan Benson <erbenson@alaska.net>
123 * Fix broken quoting uncovered by debian's current /bin/ash.
125 2001-08-06 Ethan Benson <erbenson@alaska.net>
129 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
130 OpenFirmware multibooter to crash.
132 * mkofboot: zero first 800K of bootstrap partition before creating
137 - Supports using an md5 hash as well as plaintext password. (me)
138 - Fix again system.map loading. That also fix an old pending bug
139 we had where yaboot could pass random values for system.map,
140 causing the kernel to mark random pages reserved. (BenH)
141 - IBM CHRP fixes. (Peter Bergner)
142 - Add reiserfs support (Jeff Mahoney)
144 2001-06-30 Ethan Benson <erbenson@alaska.net>
150 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
151 - Use real wc if available, this speeds up ofpath slightly for scsi.
152 - Make variables local to their function unless they need to be global.
155 - If installing on IBM CHRP run addnote on yaboot binary before installing.
156 - Reword some error/verbose messages
157 - Make variables local to their function unless they need to be global.
159 2001-06-24 Ethan Benson <erbenson@alaska.net>
164 - Now works with braindamaged versions of pdisk.
165 - Add --kernel-args switch which allows boot-floppies to easily
166 add an append= line if needed.
168 2001-06-01 Ethan Benson <erbenson@alaska.net>
172 * Fix test for strict posix/SUS echo behavior.
174 * Check for printf built into the shell.
176 * yabootconfig: check for and attempt to deal with cross device symlinks.
178 2001-05-28 Ethan Benson <erbenson@alaska.net>
182 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
185 - Detect IBM CHRP hardware and disable nvram update automatically
186 - Automatically run yabootconfig if /etc/yaboot.conf is missing
187 - Check for PATH_PREFIX environment variable and add all bin and
188 sbin directories from under it to PATH. This is for boot-floppies.
189 - Add bsd= to list of multiboot options.
191 * ofboot: bump maximum number of OSes to 8.
194 - No longer report bogus paths for non-existent scsi devices.
195 - Fix bug where garbage characters were mixed with the
196 OpenFirmware device path.
197 - Fix broken Wallstreet PowerBook support.
198 - Add support for silly devfs naming convention, Thanks to Tom Rini.
200 2001-05-06 Ethan Benson <erbenson@alaska.net>
205 - Hopefully fix random and rare booting problem when chainloading
206 other OSes. Thanks to Segher Boessenkool for the fix.
207 - Add volume name which shows up in the OpenFirmware multiboot
209 - It is now possible to replace the badge icon for the multiboot
210 screen, see examples/README.mbicon.
214 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
216 * Various spelling errors and clarifications to man pages. Thanks to sword.
218 2001-04-26 Ethan Benson <erbenson@alaska.net>
224 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
225 - Removed `No such file or directory' errors when system has no
229 - If delay= is not set use value of timeout= (converted to
231 - Removed command line options --type, --creator, and long
232 obsolete and deprecated --conffile. The config file options
233 hfstype and hfscreator are still there.
234 - Removed long obsolete and deprecated bootconf= config option.
235 - Removed some old now unneeded debug cruft.
238 - Include version 1.1.1-eb3, this includes the following changes
239 - Adds password protection capabilities.
240 - Add `single-key' option from silo.
243 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
245 2001-03-22 Ethan Benson <erbenson@alaska.net>
250 - Fix a few bugs that occured when magicboot= was not used.
251 - Add basic support for IBM style bootstrap partitions. These
252 partitions have yaboot dded directly to them. See the yaboot.conf
253 man page regarding fstype for more info, also
254 examples/yaboot.conf.rs6k.
255 - Don't require that ofpath be installed if its not needed.
258 - Added examples/yaboot.conf.rs6k
259 - Man page updates for IBM support.
261 2001-02-19 Ethan Benson <erbenson@alaska.net>
266 - Quiet shell error when run on non-PowerMac (but still
268 - Properly recognize more OldWorld PowerMac G3s.
269 - Fix OldWorld detection for kernels < 2.2.17
270 - Require that /proc be mounted.
273 - Fix OldWorld detection for kernels < 2.2.17
274 - Make the `not bootable on OldWorld' warning very loud and
276 - Change PATH to make /usr/local the last component instead of
278 - Make the text/background color in the boot menu configurable,
279 see the yaboot.conf(5) man page for details.
280 - Change default foreground color to white per yaboot 1.0.
281 - Remove support for obsolete /etc/ybin.conf.
284 - Clarified the `partition=' variable in the yaboot.conf man page
285 and correct an error in the example in that man page.
286 - Added more comments to included yaboot.conf examples.
289 - Include version 1.1.1
290 - Includes color support
292 2000-11-18 Ethan Benson <erbenson@alaska.net>
296 * ybin: add `brokenosx' option, when used with macosx= ybin makes
297 the MacOSX menu entry execute \System\Library\CoreServices\BootX
298 directly instead of using \\:tbxi. This is necessary for
299 people who insist on installing OSX on HFS+ instead of UFS, since
300 MacOS deblesses HFS+ OSX partitions.
302 2000-10-28 Ethan Benson <erbenson@alaska.net>
304 * Version 0.29 (the brown paper bag release)
306 * The yaboot.conf man page was broken.
308 * While were at it, include yaboot 0.9 binary (compiled -Os,
311 2000-10-24 Ethan Benson <erbenson@alaska.net>
315 * ybin: Add mntpoint= option, this allows ybin to install the
316 bootstrap into an already mounted filesystem. This is NOT
317 recommended unless you know what your doing.
319 * ybin: fixed generation of ofboot.b so it will work with nobless
322 2000-10-20 Ethan Benson <erbenson@alaska.net>
326 * ofboot: fixed problem where text was not visible on some newer iMacs.
328 * ybin: Now warn the user when they are using ybin on an OldWorld
329 PowerMac. (it will still work since its possible to make newworld
330 bootable disks on an OldWorld mac)
332 * ofpath: Now works on oldworld macs under 2.4 kernels.
334 * Added check for packaged versions of ybin to the Makefile and
335 warn user about them.
337 2000-09-23 Ethan Benson <erbenson@alaska.net>
341 * ofboot: completely rewrote the generator script, it is now more
342 extendable and supports more menu options. More thanks to iNOUE
343 Koich! for the continuing help on OpenFirmware issues!!
345 * ybin: added options for mulitboot menu: now can create a menu
346 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
347 a CDROM, from the network, and even directly into an OpenFirmware
350 * ybin: some errors were sent to stdout instead of stderr, fixed.
352 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
354 2000-09-18 Ethan Benson <erbenson@alaska.net>
358 * ofboot: now changes the background color to black and the text
359 color to cyan like yaboot. Thanks to again to iNOUE Koich!
361 2000-09-16 Ethan Benson <erbenson@alaska.net>
365 * ofboot: many bugs in the Forth code fixed. code should now be
366 compliant to the OpenFirmware spec. Also add CD boot menu option.
367 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
370 2000-09-13 Ethan Benson <erbenson@alaska.net>
374 * ybin: now hard code the target filename for ofboot, its always
375 installed as ofboot.b on the bootstrap partition. This eliminates
376 ambiguity when someone tries a different script with different name.
378 * ybin: all debugging output goes to stderr now.
380 2000-09-09 Ethan Benson <erbenson@alaska.net>
384 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
386 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
387 instead of /boot, since these files are never directly accessed by
388 the firmware it is not really appropriate to keep them in /boot.
389 make install will create backwords compatibility symlinks when
390 installing over an older version of ybin so nothing should break.
391 IMPORTANT: you should run mkofboot on a dedicated bootstrap
392 partition to purge old filenames.
394 * Man pages updated to reflect new file locations. Also include a
395 patch to change the paths to /usr/lib/yaboot for Debian and redhat
398 * ybin: now checks two places for a default value for install=
399 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
401 2000-09-02 Ethan Benson <erbenson@alaska.net>
405 * ybin: fixed nvram update so it uses a real filename instead of
406 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
407 file in blessed directory).
409 * ofpath: more oldworld machines supported. Now supports 7200,
410 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
413 2000-08-31 Ethan Benson <erbenson@alaska.net>
417 * ybin: check for Newworld compatible nvsetenv and if found will
418 automatically update the OpenFirmware boot-device variable in
421 * ofpath: support some oldworld machines. (this does not mean
422 ybin/yaboot supports oldworld). Also silence a harmless error on
423 machines lacking a CDROM.
425 * ofboot.b: added more machines to <COMPATIBLE>
427 2000-08-25 Ethan Benson <erbenson@alaska.net>
431 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
434 2000-08-22 Ethan Benson <erbenson@alaska.net>
438 * ofboot.b: changed the yaboot boot commands to boot yaboot by
439 filename rather then file type. Booting by file type did not work
440 reliably on all machines.
442 * ybin: hard code the target filename for yaboot, regardless of
443 the source filename (from install=) the target filename on the
444 bootstrap partition will always be "yaboot.b".
446 * Added ofpath utility, this is a rewrite of the show_of_path.sh
447 utility written by Olaf Hering. Ofpath works with /bin/ash and on
448 stripped down systems such as the Debian boot floppies. Also
449 wrote a small man page for this utility.
451 * ybin: automatically use ofpath to find the OpenFirmware device
452 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
453 also use ofpath when macos= or macosx= are set to unix device
454 nodes (ie /dev/hda11), these options can still be set to
455 OpenFirmware paths as well.
457 * Makefile: minor cleanup, added installation of ofpath
458 utility/man page as well as a deinstall rule.
460 2000-08-13 Ethan Benson <erbenson@alaska.net>
464 * Yaboot 0.7 binary included.
466 * ybin: fix bug where ybin would fail if the bootstrap files
467 included an "_" in the filename. (actually its a workaround for
468 hfsutils brain-damage)
470 * ofboot.b: completely rewritten. Now includes shell script code
471 to allow ybin to configure it based on config options in
472 /etc/yaboot.conf instead of requiring the user to edit it
473 themselves. Additionally this new script will display a REAL boot
474 menu when dual booting is configured. It is capable of dual or
475 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
476 new ofboot.b script should *NOT* be edited by the user, and thus
477 should NOT be marked as a conffile in Debian and redhat packages.
478 These packages should now install ofboot.b in /boot instead of
479 /etc since it is no longer a config file. WARNING: The Forth code
480 in this script has not been tested on all machines and may not be
481 universally compatible. Thanks to Chris Emerson for writing the
484 * yaboot.conf: new options: ofboot= macos= macosx= delay=
485 defaultos=. See the yaboot.conf man page for details.
487 * Now include a Makefile to handle installation, only make install
488 is defined. Removed install-sh.
490 * mkofboot is now distributed and installed as a symlink instead
495 2000-04-25 Ethan Benson <erbenson@alaska.net>
499 * menu_ofboot.b: fixed bug where the yaboot line was missing the
500 boot command, this prevented it from booting yaboot.
502 2000-04-25 Ethan Benson <erbenson@alaska.net>
506 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
507 page and rename it back to bootstrap(8). This also solves the
508 conflict with quik. In a more useful way IMO.
510 2000-04-24 Ethan Benson <erbenson@alaska.net>
514 * Ship man pages uncompressed, gzip them in install-sh instead,
515 this allows for easier patching by debian maintainers if need be.
517 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
520 2000-04-23 Ethan Benson <erbenson@alaska.net>
524 * Rewrote the config file parsing yet again to remove dependencies
525 on tr, and awk. This allows ybin to function on minimal systems
526 such as boot/rescue floppies. This also pretty much solves the
527 slowness problem. Thanks to Daniel Jacobwitz for the help.
529 * Made changes to remove dependencies on basename and wc. Again
530 this is to allow ybin to work on boot floppies.
532 * Changed all calls to grep to stop using GNU extensions, this is
533 so ybin will work properly with the minimal version of grep
536 * Added signal handling so ybin/mkofboot will cleanup after
537 themselves if killed with signals 1 2 3 or 15.
539 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
540 you can hold down the option key and get a graphical boot selector
541 with one button for each bootable partition, the button with the
542 penguin icon is the bootstrap partition. Thanks to Nicholas
543 Humfrey for creating the Badge icon.
545 * Minor updates to the man pages.
547 2000-04-19 Ethan Benson <erbenson@alaska.net>
551 * Now include yaboot binary in ybin distribution.
553 * Include a install-sh script to install everything.
555 * Use of the separate ybin.conf file is deprecated. Use
556 /etc/yaboot.conf instead.
558 * Removed the so called kludge options, without being able to
559 bless the root directory they were just useless bloat.
561 * Removed useless --readonly option, it was already default (as it
564 * Deprecated bootconf options since the yaboot.conf is the same
565 config ybin uses. (it is still there and works but that may change)
567 * Changed configuration file format to be more like quik/lilo:
568 bootfile= is now install= (--bootfile is now --install), wrapper=
569 is now magicboot=, usemount, protect, and hide are now just a
570 keyword options, if they are present in the configuration file
571 they are turned on, if they are not present they are turned off.
572 bless= is now the nobless keyword option, since bless is default
573 this one changed names.
575 * ybin: no longer need to specify -C /dev/null if you don't have a
576 configuration file in /etc/. If this is the case ybin will generate
577 a generic yaboot.conf to install on the bootstrap partition.
579 * More changes to the configuration parsing to improve speed, the
580 format change also helped the speed problem.
582 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
585 * More general fixes/cleanup/tweaks.
587 2000-03-13 Ethan Benson <erbenson@alaska.net>
591 * Added command line options to both scripts, try --help. This
592 makes the ybin.conf file optional if you wish (-C /dev/null)
594 * Changed the way the config file is parsed, no longer source it
595 with the shell, this allows ybin.conf to be merged with
596 yaboot.conf at which point yaboot can live with unknown options in
599 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
602 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
603 of its code with ybin anyway and this will make them much easier
604 to maintain. mkofboot is now a hard link to ybin (or a symlink if
605 you prefer, both will work)
607 * Added an experimental feature to generate a yaboot.conf on the
608 fly based on command line options. The defaults should be
609 workable on a Debian system with an internal ATA disk, with the
610 root partition being the 3rd on the disk. Depends on mktemp for
611 creating the temporary file, Debian's mktemp is secure against
612 race conditions, use with caution if your distribution lacks a
613 secure mktemp utility. This option is activated with -c auto.
615 * No longer depends on bash. Works with Debian's
616 /bin/ash. Interpreter is now set to /bin/sh.
618 * Assorted cleanup, minor bug fixes.
620 * Added example yaboot.conf.
622 2000-02-04 Ethan Benson <erbenson@alaska.net>
626 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
628 2000-01-17 Ethan Benson <erbenson@alaska.net>
632 * mkofboot was still broken. :-(
635 2000-01-14 Ethan Benson <erbenson@alaska.net>
639 * Added a basic CHRP script ofboot.b to work around the problem of
640 OF refusing to load `tbxi' files unless they contain a CHRP boot
641 header. See README.ofboot.b for details.
643 * Updated default ybin.conf to install ofboot.b by default.
645 2000-01-13 Ethan Benson <erbenson@alaska.net>
649 * mkofboot: Check for hformat was broken.
651 2000-01-12 Ethan Benson <erbenson@alaska.net>
655 * mkofboot: Fixed problem where it was insisting that mkdosfs be
656 present even when using hfs filesystems if usemount=yes.
658 * mkofboot: Added proper checks for hformat or mkdosfs.
660 2000-01-09 Ethan Benson <erbenson@alaska.net>
664 * First public release.
666 * Add TODO and BUGS files.
668 * mkofboot: Check to see if usemount=yes, and if so make sure we
669 are root before proceeding to erase the partition.
671 * ybin: Removed useless echo line.
673 2000-01-05 Ethan Benson <erbenson@alaska.net>
677 * ybin (util_install): Fully support OF `wrappers' now: if a
678 wrapper is defined in the configuration file then the wrapper is
679 given the HFS file type specified instead of the bootfile, the
680 bootfile's type is set to "boot".
682 * ybin: New configuration option `bless' when yes and are using
683 hfsutils we will `bless' the root directory of the bootstrap
684 filesystem so OF should be able to find and boot the system
685 without reconfiguration.
687 * mkofboot/ybin (checkconf): Add validation for the new `bless'
688 option. Also add check that the wrapper, if defined, exists and we
689 have permission to it.
691 2000-01-04 Ethan Benson <erbenson@alaska.net>
695 * ybin (util_install): Quote the filetype/creator arguments to
696 hattrib to prevent the shell from interpreting any meta-characters
697 in some cases. Also no longer try and set metadata on wrapper if
700 * mkofboot: When creating hfs or dos filesystems give them volume
701 label of "bootstrap".
703 2000-01-03 Ethan Benson <erbenson@alaska.net>
707 * mkofboot: added -w switch to grep when checking if a filesystem
708 is already mounted to prevent erroneous positive matches.
710 * ybin (util_install): Add check to make sure that the target
711 device is not mounted as a filesystem before mucking with it.
715 2000-01-01 Ethan Benson <erbenson@alaska.net>