1 2001-09-25 Ethan Benson <erbenson@alaska.net>
5 * Add --debug option to yabootconfig
7 * Fix BSD booting support somewhat. The bsd= option's semantics
8 have changed, it must now be set to the BSD root partition. ybin
9 will now install /usr/local/lib/yaboot/ofwboot onto the bootstrap
10 partition when bsd= is present in /etc/yaboot.conf. The dual boot
11 menu will then execute "ofwboot <bsd_root_part>,/bsd" this means
12 the bsd kernel must be at /bsd on the BSD root partition.
14 2001-09-24 Ethan Benson <erbenson@alaska.net>
18 * Fix Makefile thinko where make install failed if
19 /etc/yaboot.conf already existed.
21 2001-09-20 Ethan Benson <erbenson@alaska.net>
25 * Don't include /etc/yaboot.conf in binary dist, instead put the
26 example in /usr/local/share/doc. This way extracting the tarball
27 from / won't blow away existing configs.
29 * Move strip commands from install target to strip target, install
32 2001-09-20 Ethan Benson <erbenson@alaska.net>
36 * Merging of ybin and yaboot source trees, this is now the
37 official upstream yaboot/ybin source tree.
40 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
42 - Fix netboot (was broken by reiserfs patch)
44 2001-08-26 Ethan Benson <erbenson@alaska.net>
48 * ofpath became broken on non-scsi systems due to quoting fix.
50 2001-08-20 Ethan Benson <erbenson@alaska.net>
54 * Fix broken quoting uncovered by debian's current /bin/ash.
56 2001-08-06 Ethan Benson <erbenson@alaska.net>
60 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
61 OpenFirmware multibooter to crash.
63 * mkofboot: zero first 800K of bootstrap partition before creating
68 - Supports using an md5 hash as well as plaintext password. (me)
69 - Fix again system.map loading. That also fix an old pending bug
70 we had where yaboot could pass random values for system.map,
71 causing the kernel to mark random pages reserved. (BenH)
72 - IBM CHRP fixes. (Peter Bergner)
73 - Add reiserfs support (Jeff Mahoney)
75 2001-06-30 Ethan Benson <erbenson@alaska.net>
81 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
82 - Use real wc if available, this speeds up ofpath slightly for scsi.
83 - Make variables local to their function unless they need to be global.
86 - If installing on IBM CHRP run addnote on yaboot binary before installing.
87 - Reword some error/verbose messages
88 - Make variables local to their function unless they need to be global.
90 2001-06-24 Ethan Benson <erbenson@alaska.net>
95 - Now works with braindamaged versions of pdisk.
96 - Add --kernel-args switch which allows boot-floppies to easily
97 add an append= line if needed.
99 2001-06-01 Ethan Benson <erbenson@alaska.net>
103 * Fix test for strict posix/SUS echo behavior.
105 * Check for printf built into the shell.
107 * yabootconfig: check for and attempt to deal with cross device symlinks.
109 2001-05-28 Ethan Benson <erbenson@alaska.net>
113 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
116 - Detect IBM CHRP hardware and disable nvram update automatically
117 - Automatically run yabootconfig if /etc/yaboot.conf is missing
118 - Check for PATH_PREFIX environment variable and add all bin and
119 sbin directories from under it to PATH. This is for boot-floppies.
120 - Add bsd= to list of multiboot options.
122 * ofboot: bump maximum number of OSes to 8.
125 - No longer report bogus paths for non-existent scsi devices.
126 - Fix bug where garbage characters were mixed with the
127 OpenFirmware device path.
128 - Fix broken Wallstreet PowerBook support.
129 - Add support for silly devfs naming convention, Thanks to Tom Rini.
131 2001-05-06 Ethan Benson <erbenson@alaska.net>
136 - Hopefully fix random and rare booting problem when chainloading
137 other OSes. Thanks to Segher Boessenkool for the fix.
138 - Add volume name which shows up in the OpenFirmware multiboot
140 - It is now possible to replace the badge icon for the multiboot
141 screen, see examples/README.mbicon.
145 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
147 * Various spelling errors and clarifications to man pages. Thanks to sword.
149 2001-04-26 Ethan Benson <erbenson@alaska.net>
155 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
156 - Removed `No such file or directory' errors when system has no
160 - If delay= is not set use value of timeout= (converted to
162 - Removed command line options --type, --creator, and long
163 obsolete and deprecated --conffile. The config file options
164 hfstype and hfscreator are still there.
165 - Removed long obsolete and deprecated bootconf= config option.
166 - Removed some old now unneeded debug cruft.
169 - Include version 1.1.1-eb3, this includes the following changes
170 - Adds password protection capabilities.
171 - Add `single-key' option from silo.
174 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
176 2001-03-22 Ethan Benson <erbenson@alaska.net>
181 - Fix a few bugs that occured when magicboot= was not used.
182 - Add basic support for IBM style bootstrap partitions. These
183 partitions have yaboot dded directly to them. See the yaboot.conf
184 man page regarding fstype for more info, also
185 examples/yaboot.conf.rs6k.
186 - Don't require that ofpath be installed if its not needed.
189 - Added examples/yaboot.conf.rs6k
190 - Man page updates for IBM support.
192 2001-02-19 Ethan Benson <erbenson@alaska.net>
197 - Quiet shell error when run on non-PowerMac (but still
199 - Properly recognize more OldWorld PowerMac G3s.
200 - Fix OldWorld detection for kernels < 2.2.17
201 - Require that /proc be mounted.
204 - Fix OldWorld detection for kernels < 2.2.17
205 - Make the `not bootable on OldWorld' warning very loud and
207 - Change PATH to make /usr/local the last component instead of
209 - Make the text/background color in the boot menu configurable,
210 see the yaboot.conf(5) man page for details.
211 - Change default foreground color to white per yaboot 1.0.
212 - Remove support for obsolete /etc/ybin.conf.
215 - Clarified the `partition=' variable in the yaboot.conf man page
216 and correct an error in the example in that man page.
217 - Added more comments to included yaboot.conf examples.
220 - Include version 1.1.1
221 - Includes color support
223 2000-11-18 Ethan Benson <erbenson@alaska.net>
227 * ybin: add `brokenosx' option, when used with macosx= ybin makes
228 the MacOSX menu entry execute \System\Library\CoreServices\BootX
229 directly instead of using \\:tbxi. This is necessary for
230 people who insist on installing OSX on HFS+ instead of UFS, since
231 MacOS deblesses HFS+ OSX partitions.
233 2000-10-28 Ethan Benson <erbenson@alaska.net>
235 * Version 0.29 (the brown paper bag release)
237 * The yaboot.conf man page was broken.
239 * While were at it, include yaboot 0.9 binary (compiled -Os,
242 2000-10-24 Ethan Benson <erbenson@alaska.net>
246 * ybin: Add mntpoint= option, this allows ybin to install the
247 bootstrap into an already mounted filesystem. This is NOT
248 recommended unless you know what your doing.
250 * ybin: fixed generation of ofboot.b so it will work with nobless
253 2000-10-20 Ethan Benson <erbenson@alaska.net>
257 * ofboot: fixed problem where text was not visible on some newer iMacs.
259 * ybin: Now warn the user when they are using ybin on an OldWorld
260 PowerMac. (it will still work since its possible to make newworld
261 bootable disks on an OldWorld mac)
263 * ofpath: Now works on oldworld macs under 2.4 kernels.
265 * Added check for packaged versions of ybin to the Makefile and
266 warn user about them.
268 2000-09-23 Ethan Benson <erbenson@alaska.net>
272 * ofboot: completely rewrote the generator script, it is now more
273 extendable and supports more menu options. More thanks to iNOUE
274 Koich! for the continuing help on OpenFirmware issues!!
276 * ybin: added options for mulitboot menu: now can create a menu
277 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
278 a CDROM, from the network, and even directly into an OpenFirmware
281 * ybin: some errors were sent to stdout instead of stderr, fixed.
283 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
285 2000-09-18 Ethan Benson <erbenson@alaska.net>
289 * ofboot: now changes the background color to black and the text
290 color to cyan like yaboot. Thanks to again to iNOUE Koich!
292 2000-09-16 Ethan Benson <erbenson@alaska.net>
296 * ofboot: many bugs in the Forth code fixed. code should now be
297 compliant to the OpenFirmware spec. Also add CD boot menu option.
298 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
301 2000-09-13 Ethan Benson <erbenson@alaska.net>
305 * ybin: now hard code the target filename for ofboot, its always
306 installed as ofboot.b on the bootstrap partition. This eliminates
307 ambiguity when someone tries a different script with different name.
309 * ybin: all debugging output goes to stderr now.
311 2000-09-09 Ethan Benson <erbenson@alaska.net>
315 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
317 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
318 instead of /boot, since these files are never directly accessed by
319 the firmware it is not really appropriate to keep them in /boot.
320 make install will create backwords compatibility symlinks when
321 installing over an older version of ybin so nothing should break.
322 IMPORTANT: you should run mkofboot on a dedicated bootstrap
323 partition to purge old filenames.
325 * Man pages updated to reflect new file locations. Also include a
326 patch to change the paths to /usr/lib/yaboot for Debian and redhat
329 * ybin: now checks two places for a default value for install=
330 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
332 2000-09-02 Ethan Benson <erbenson@alaska.net>
336 * ybin: fixed nvram update so it uses a real filename instead of
337 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
338 file in blessed directory).
340 * ofpath: more oldworld machines supported. Now supports 7200,
341 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
344 2000-08-31 Ethan Benson <erbenson@alaska.net>
348 * ybin: check for Newworld compatible nvsetenv and if found will
349 automatically update the OpenFirmware boot-device variable in
352 * ofpath: support some oldworld machines. (this does not mean
353 ybin/yaboot supports oldworld). Also silence a harmless error on
354 machines lacking a CDROM.
356 * ofboot.b: added more machines to <COMPATIBLE>
358 2000-08-25 Ethan Benson <erbenson@alaska.net>
362 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
365 2000-08-22 Ethan Benson <erbenson@alaska.net>
369 * ofboot.b: changed the yaboot boot commands to boot yaboot by
370 filename rather then file type. Booting by file type did not work
371 reliably on all machines.
373 * ybin: hard code the target filename for yaboot, regardless of
374 the source filename (from install=) the target filename on the
375 bootstrap partition will always be "yaboot.b".
377 * Added ofpath utility, this is a rewrite of the show_of_path.sh
378 utility written by Olaf Hering. Ofpath works with /bin/ash and on
379 stripped down systems such as the Debian boot floppies. Also
380 wrote a small man page for this utility.
382 * ybin: automatically use ofpath to find the OpenFirmware device
383 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
384 also use ofpath when macos= or macosx= are set to unix device
385 nodes (ie /dev/hda11), these options can still be set to
386 OpenFirmware paths as well.
388 * Makefile: minor cleanup, added installation of ofpath
389 utility/man page as well as a deinstall rule.
391 2000-08-13 Ethan Benson <erbenson@alaska.net>
395 * Yaboot 0.7 binary included.
397 * ybin: fix bug where ybin would fail if the bootstrap files
398 included an "_" in the filename. (actually its a workaround for
399 hfsutils brain-damage)
401 * ofboot.b: completely rewritten. Now includes shell script code
402 to allow ybin to configure it based on config options in
403 /etc/yaboot.conf instead of requiring the user to edit it
404 themselves. Additionally this new script will display a REAL boot
405 menu when dual booting is configured. It is capable of dual or
406 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
407 new ofboot.b script should *NOT* be edited by the user, and thus
408 should NOT be marked as a conffile in Debian and redhat packages.
409 These packages should now install ofboot.b in /boot instead of
410 /etc since it is no longer a config file. WARNING: The Forth code
411 in this script has not been tested on all machines and may not be
412 universally compatible. Thanks to Chris Emerson for writing the
415 * yaboot.conf: new options: ofboot= macos= macosx= delay=
416 defaultos=. See the yaboot.conf man page for details.
418 * Now include a Makefile to handle installation, only make install
419 is defined. Removed install-sh.
421 * mkofboot is now distributed and installed as a symlink instead
426 2000-04-25 Ethan Benson <erbenson@alaska.net>
430 * menu_ofboot.b: fixed bug where the yaboot line was missing the
431 boot command, this prevented it from booting yaboot.
433 2000-04-25 Ethan Benson <erbenson@alaska.net>
437 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
438 page and rename it back to bootstrap(8). This also solves the
439 conflict with quik. In a more useful way IMO.
441 2000-04-24 Ethan Benson <erbenson@alaska.net>
445 * Ship man pages uncompressed, gzip them in install-sh instead,
446 this allows for easier patching by debian maintainers if need be.
448 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
451 2000-04-23 Ethan Benson <erbenson@alaska.net>
455 * Rewrote the config file parsing yet again to remove dependencies
456 on tr, and awk. This allows ybin to function on minimal systems
457 such as boot/rescue floppies. This also pretty much solves the
458 slowness problem. Thanks to Daniel Jacobwitz for the help.
460 * Made changes to remove dependencies on basename and wc. Again
461 this is to allow ybin to work on boot floppies.
463 * Changed all calls to grep to stop using GNU extensions, this is
464 so ybin will work properly with the minimal version of grep
467 * Added signal handling so ybin/mkofboot will cleanup after
468 themselves if killed with signals 1 2 3 or 15.
470 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
471 you can hold down the option key and get a graphical boot selector
472 with one button for each bootable partition, the button with the
473 penguin icon is the bootstrap partition. Thanks to Nicholas
474 Humfrey for creating the Badge icon.
476 * Minor updates to the man pages.
478 2000-04-19 Ethan Benson <erbenson@alaska.net>
482 * Now include yaboot binary in ybin distribution.
484 * Include a install-sh script to install everything.
486 * Use of the separate ybin.conf file is deprecated. Use
487 /etc/yaboot.conf instead.
489 * Removed the so called kludge options, without being able to
490 bless the root directory they were just useless bloat.
492 * Removed useless --readonly option, it was already default (as it
495 * Deprecated bootconf options since the yaboot.conf is the same
496 config ybin uses. (it is still there and works but that may change)
498 * Changed configuration file format to be more like quik/lilo:
499 bootfile= is now install= (--bootfile is now --install), wrapper=
500 is now magicboot=, usemount, protect, and hide are now just a
501 keyword options, if they are present in the configuration file
502 they are turned on, if they are not present they are turned off.
503 bless= is now the nobless keyword option, since bless is default
504 this one changed names.
506 * ybin: no longer need to specify -C /dev/null if you don't have a
507 configuration file in /etc/. If this is the case ybin will generate
508 a generic yaboot.conf to install on the bootstrap partition.
510 * More changes to the configuration parsing to improve speed, the
511 format change also helped the speed problem.
513 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
516 * More general fixes/cleanup/tweaks.
518 2000-03-13 Ethan Benson <erbenson@alaska.net>
522 * Added command line options to both scripts, try --help. This
523 makes the ybin.conf file optional if you wish (-C /dev/null)
525 * Changed the way the config file is parsed, no longer source it
526 with the shell, this allows ybin.conf to be merged with
527 yaboot.conf at which point yaboot can live with unknown options in
530 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
533 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
534 of its code with ybin anyway and this will make them much easier
535 to maintain. mkofboot is now a hard link to ybin (or a symlink if
536 you prefer, both will work)
538 * Added an experimental feature to generate a yaboot.conf on the
539 fly based on command line options. The defaults should be
540 workable on a Debian system with an internal ATA disk, with the
541 root partition being the 3rd on the disk. Depends on mktemp for
542 creating the temporary file, Debian's mktemp is secure against
543 race conditions, use with caution if your distribution lacks a
544 secure mktemp utility. This option is activated with -c auto.
546 * No longer depends on bash. Works with Debian's
547 /bin/ash. Interpreter is now set to /bin/sh.
549 * Assorted cleanup, minor bug fixes.
551 * Added example yaboot.conf.
553 2000-02-04 Ethan Benson <erbenson@alaska.net>
557 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
559 2000-01-17 Ethan Benson <erbenson@alaska.net>
563 * mkofboot was still broken. :-(
566 2000-01-14 Ethan Benson <erbenson@alaska.net>
570 * Added a basic CHRP script ofboot.b to work around the problem of
571 OF refusing to load `tbxi' files unless they contain a CHRP boot
572 header. See README.ofboot.b for details.
574 * Updated default ybin.conf to install ofboot.b by default.
576 2000-01-13 Ethan Benson <erbenson@alaska.net>
580 * mkofboot: Check for hformat was broken.
582 2000-01-12 Ethan Benson <erbenson@alaska.net>
586 * mkofboot: Fixed problem where it was insisting that mkdosfs be
587 present even when using hfs filesystems if usemount=yes.
589 * mkofboot: Added proper checks for hformat or mkdosfs.
591 2000-01-09 Ethan Benson <erbenson@alaska.net>
595 * First public release.
597 * Add TODO and BUGS files.
599 * mkofboot: Check to see if usemount=yes, and if so make sure we
600 are root before proceeding to erase the partition.
602 * ybin: Removed useless echo line.
604 2000-01-05 Ethan Benson <erbenson@alaska.net>
608 * ybin (util_install): Fully support OF `wrappers' now: if a
609 wrapper is defined in the configuration file then the wrapper is
610 given the HFS file type specified instead of the bootfile, the
611 bootfile's type is set to "boot".
613 * ybin: New configuration option `bless' when yes and are using
614 hfsutils we will `bless' the root directory of the bootstrap
615 filesystem so OF should be able to find and boot the system
616 without reconfiguration.
618 * mkofboot/ybin (checkconf): Add validation for the new `bless'
619 option. Also add check that the wrapper, if defined, exists and we
620 have permission to it.
622 2000-01-04 Ethan Benson <erbenson@alaska.net>
626 * ybin (util_install): Quote the filetype/creator arguments to
627 hattrib to prevent the shell from interpreting any meta-characters
628 in some cases. Also no longer try and set metadata on wrapper if
631 * mkofboot: When creating hfs or dos filesystems give them volume
632 label of "bootstrap".
634 2000-01-03 Ethan Benson <erbenson@alaska.net>
638 * mkofboot: added -w switch to grep when checking if a filesystem
639 is already mounted to prevent erroneous positive matches.
641 * ybin (util_install): Add check to make sure that the target
642 device is not mounted as a filesystem before mucking with it.
646 2000-01-01 Ethan Benson <erbenson@alaska.net>