1 2001-09-20 Ethan Benson <erbenson@alaska.net>
5 * Don't include /etc/yaboot.conf in binary dist, instead put the
6 example in /usr/local/share/doc. This way extracting the tarball
7 from / won't blow away existing configs.
9 * Move strip commands from install target to strip target, install
12 2001-09-20 Ethan Benson <erbenson@alaska.net>
16 * Merging of ybin and yaboot source trees, this is now the
17 official upstream yaboot/ybin source tree.
20 - Various ppc64 & chrp fixes by Peter Bergner, fix fdisk partition
22 - Fix netboot (was broken by reiserfs patch)
24 2001-08-26 Ethan Benson <erbenson@alaska.net>
28 * ofpath became broken on non-scsi systems due to quoting fix.
30 2001-08-20 Ethan Benson <erbenson@alaska.net>
34 * Fix broken quoting uncovered by debian's current /bin/ash.
36 2001-08-06 Ethan Benson <erbenson@alaska.net>
40 * ofboot: remove <OS-VOLUME-NAME> tag as it was causing the
41 OpenFirmware multibooter to crash.
43 * mkofboot: zero first 800K of bootstrap partition before creating
48 - Supports using an md5 hash as well as plaintext password. (me)
49 - Fix again system.map loading. That also fix an old pending bug
50 we had where yaboot could pass random values for system.map,
51 causing the kernel to mark random pages reserved. (BenH)
52 - IBM CHRP fixes. (Peter Bergner)
53 - Add reiserfs support (Jeff Mahoney)
55 2001-06-30 Ethan Benson <erbenson@alaska.net>
61 - Add support for IBM CHRP, thanks to Marco d'Itri for testing.
62 - Use real wc if available, this speeds up ofpath slightly for scsi.
63 - Make variables local to their function unless they need to be global.
66 - If installing on IBM CHRP run addnote on yaboot binary before installing.
67 - Reword some error/verbose messages
68 - Make variables local to their function unless they need to be global.
70 2001-06-24 Ethan Benson <erbenson@alaska.net>
75 - Now works with braindamaged versions of pdisk.
76 - Add --kernel-args switch which allows boot-floppies to easily
77 add an append= line if needed.
79 2001-06-01 Ethan Benson <erbenson@alaska.net>
83 * Fix test for strict posix/SUS echo behavior.
85 * Check for printf built into the shell.
87 * yabootconfig: check for and attempt to deal with cross device symlinks.
89 2001-05-28 Ethan Benson <erbenson@alaska.net>
93 * Added yabootconfig, a script to build a valid /etc/yaboot.conf
96 - Detect IBM CHRP hardware and disable nvram update automatically
97 - Automatically run yabootconfig if /etc/yaboot.conf is missing
98 - Check for PATH_PREFIX environment variable and add all bin and
99 sbin directories from under it to PATH. This is for boot-floppies.
100 - Add bsd= to list of multiboot options.
102 * ofboot: bump maximum number of OSes to 8.
105 - No longer report bogus paths for non-existent scsi devices.
106 - Fix bug where garbage characters were mixed with the
107 OpenFirmware device path.
108 - Fix broken Wallstreet PowerBook support.
109 - Add support for silly devfs naming convention, Thanks to Tom Rini.
111 2001-05-06 Ethan Benson <erbenson@alaska.net>
116 - Hopefully fix random and rare booting problem when chainloading
117 other OSes. Thanks to Segher Boessenkool for the fix.
118 - Add volume name which shows up in the OpenFirmware multiboot
120 - It is now possible to replace the badge icon for the multiboot
121 screen, see examples/README.mbicon.
125 - Includes my previous 1.1.1-eb3 patches for password protection and single-key.
127 * Various spelling errors and clarifications to man pages. Thanks to sword.
129 2001-04-26 Ethan Benson <erbenson@alaska.net>
135 - Add support for Performa 6400_200, PowerMac 4400, and the clones.
136 - Removed `No such file or directory' errors when system has no
140 - If delay= is not set use value of timeout= (converted to
142 - Removed command line options --type, --creator, and long
143 obsolete and deprecated --conffile. The config file options
144 hfstype and hfscreator are still there.
145 - Removed long obsolete and deprecated bootconf= config option.
146 - Removed some old now unneeded debug cruft.
149 - Include version 1.1.1-eb3, this includes the following changes
150 - Adds password protection capabilities.
151 - Add `single-key' option from silo.
154 - Rewrote the yaboot.conf man page, now derived from silo.conf(5)
156 2001-03-22 Ethan Benson <erbenson@alaska.net>
161 - Fix a few bugs that occured when magicboot= was not used.
162 - Add basic support for IBM style bootstrap partitions. These
163 partitions have yaboot dded directly to them. See the yaboot.conf
164 man page regarding fstype for more info, also
165 examples/yaboot.conf.rs6k.
166 - Don't require that ofpath be installed if its not needed.
169 - Added examples/yaboot.conf.rs6k
170 - Man page updates for IBM support.
172 2001-02-19 Ethan Benson <erbenson@alaska.net>
177 - Quiet shell error when run on non-PowerMac (but still
179 - Properly recognize more OldWorld PowerMac G3s.
180 - Fix OldWorld detection for kernels < 2.2.17
181 - Require that /proc be mounted.
184 - Fix OldWorld detection for kernels < 2.2.17
185 - Make the `not bootable on OldWorld' warning very loud and
187 - Change PATH to make /usr/local the last component instead of
189 - Make the text/background color in the boot menu configurable,
190 see the yaboot.conf(5) man page for details.
191 - Change default foreground color to white per yaboot 1.0.
192 - Remove support for obsolete /etc/ybin.conf.
195 - Clarified the `partition=' variable in the yaboot.conf man page
196 and correct an error in the example in that man page.
197 - Added more comments to included yaboot.conf examples.
200 - Include version 1.1.1
201 - Includes color support
203 2000-11-18 Ethan Benson <erbenson@alaska.net>
207 * ybin: add `brokenosx' option, when used with macosx= ybin makes
208 the MacOSX menu entry execute \System\Library\CoreServices\BootX
209 directly instead of using \\:tbxi. This is necessary for
210 people who insist on installing OSX on HFS+ instead of UFS, since
211 MacOS deblesses HFS+ OSX partitions.
213 2000-10-28 Ethan Benson <erbenson@alaska.net>
215 * Version 0.29 (the brown paper bag release)
217 * The yaboot.conf man page was broken.
219 * While were at it, include yaboot 0.9 binary (compiled -Os,
222 2000-10-24 Ethan Benson <erbenson@alaska.net>
226 * ybin: Add mntpoint= option, this allows ybin to install the
227 bootstrap into an already mounted filesystem. This is NOT
228 recommended unless you know what your doing.
230 * ybin: fixed generation of ofboot.b so it will work with nobless
233 2000-10-20 Ethan Benson <erbenson@alaska.net>
237 * ofboot: fixed problem where text was not visible on some newer iMacs.
239 * ybin: Now warn the user when they are using ybin on an OldWorld
240 PowerMac. (it will still work since its possible to make newworld
241 bootable disks on an OldWorld mac)
243 * ofpath: Now works on oldworld macs under 2.4 kernels.
245 * Added check for packaged versions of ybin to the Makefile and
246 warn user about them.
248 2000-09-23 Ethan Benson <erbenson@alaska.net>
252 * ofboot: completely rewrote the generator script, it is now more
253 extendable and supports more menu options. More thanks to iNOUE
254 Koich! for the continuing help on OpenFirmware issues!!
256 * ybin: added options for mulitboot menu: now can create a menu
257 with options for GNU/Linux, MacOS, MacOSX, Darwin, and booting off
258 a CDROM, from the network, and even directly into an OpenFirmware
261 * ybin: some errors were sent to stdout instead of stderr, fixed.
263 * ofpath: refuse to run on anything but GNU/Linux. (for now anyway)
265 2000-09-18 Ethan Benson <erbenson@alaska.net>
269 * ofboot: now changes the background color to black and the text
270 color to cyan like yaboot. Thanks to again to iNOUE Koich!
272 2000-09-16 Ethan Benson <erbenson@alaska.net>
276 * ofboot: many bugs in the Forth code fixed. code should now be
277 compliant to the OpenFirmware spec. Also add CD boot menu option.
278 (add enablecdboot to /etc/yaboot.conf) Thanks to iNOUE Koich! for
281 2000-09-13 Ethan Benson <erbenson@alaska.net>
285 * ybin: now hard code the target filename for ofboot, its always
286 installed as ofboot.b on the bootstrap partition. This eliminates
287 ambiguity when someone tries a different script with different name.
289 * ybin: all debugging output goes to stderr now.
291 2000-09-09 Ethan Benson <erbenson@alaska.net>
295 * ofboot.b renamed to ofboot. (.b means boot block which this is not)
297 * yaboot and ofboot are now installed in /usr/local/lib/yaboot/
298 instead of /boot, since these files are never directly accessed by
299 the firmware it is not really appropriate to keep them in /boot.
300 make install will create backwords compatibility symlinks when
301 installing over an older version of ybin so nothing should break.
302 IMPORTANT: you should run mkofboot on a dedicated bootstrap
303 partition to purge old filenames.
305 * Man pages updated to reflect new file locations. Also include a
306 patch to change the paths to /usr/lib/yaboot for Debian and redhat
309 * ybin: now checks two places for a default value for install=
310 /usr/local/lib/yaboot/yaboot, /usr/lib/yaboot/yaboot.
312 2000-09-02 Ethan Benson <erbenson@alaska.net>
316 * ybin: fixed nvram update so it uses a real filename instead of
317 \\:tbxi when nobless is set in /etc/yaboot.conf. (\\: means find
318 file in blessed directory).
320 * ofpath: more oldworld machines supported. Now supports 7200,
321 7300, 8600, 9500, Gossamer G3, PowerBook 1998, PowerBook 3400 (and
324 2000-08-31 Ethan Benson <erbenson@alaska.net>
328 * ybin: check for Newworld compatible nvsetenv and if found will
329 automatically update the OpenFirmware boot-device variable in
332 * ofpath: support some oldworld machines. (this does not mean
333 ybin/yaboot supports oldworld). Also silence a harmless error on
334 machines lacking a CDROM.
336 * ofboot.b: added more machines to <COMPATIBLE>
338 2000-08-25 Ethan Benson <erbenson@alaska.net>
342 * Added PowerMac3,2 and PowerMac3,3 to ofboot.b scripts. Fixes
345 2000-08-22 Ethan Benson <erbenson@alaska.net>
349 * ofboot.b: changed the yaboot boot commands to boot yaboot by
350 filename rather then file type. Booting by file type did not work
351 reliably on all machines.
353 * ybin: hard code the target filename for yaboot, regardless of
354 the source filename (from install=) the target filename on the
355 bootstrap partition will always be "yaboot.b".
357 * Added ofpath utility, this is a rewrite of the show_of_path.sh
358 utility written by Olaf Hering. Ofpath works with /bin/ash and on
359 stripped down systems such as the Debian boot floppies. Also
360 wrote a small man page for this utility.
362 * ybin: automatically use ofpath to find the OpenFirmware device
363 path when ofpath= is not defined in /etc/yaboot.conf. Ybin will
364 also use ofpath when macos= or macosx= are set to unix device
365 nodes (ie /dev/hda11), these options can still be set to
366 OpenFirmware paths as well.
368 * Makefile: minor cleanup, added installation of ofpath
369 utility/man page as well as a deinstall rule.
371 2000-08-13 Ethan Benson <erbenson@alaska.net>
375 * Yaboot 0.7 binary included.
377 * ybin: fix bug where ybin would fail if the bootstrap files
378 included an "_" in the filename. (actually its a workaround for
379 hfsutils brain-damage)
381 * ofboot.b: completely rewritten. Now includes shell script code
382 to allow ybin to configure it based on config options in
383 /etc/yaboot.conf instead of requiring the user to edit it
384 themselves. Additionally this new script will display a REAL boot
385 menu when dual booting is configured. It is capable of dual or
386 tri booting GNU/Linux (yaboot), MacOS 8.*/9.* and MacOSX. This
387 new ofboot.b script should *NOT* be edited by the user, and thus
388 should NOT be marked as a conffile in Debian and redhat packages.
389 These packages should now install ofboot.b in /boot instead of
390 /etc since it is no longer a config file. WARNING: The Forth code
391 in this script has not been tested on all machines and may not be
392 universally compatible. Thanks to Chris Emerson for writing the
395 * yaboot.conf: new options: ofboot= macos= macosx= delay=
396 defaultos=. See the yaboot.conf man page for details.
398 * Now include a Makefile to handle installation, only make install
399 is defined. Removed install-sh.
401 * mkofboot is now distributed and installed as a symlink instead
406 2000-04-25 Ethan Benson <erbenson@alaska.net>
410 * menu_ofboot.b: fixed bug where the yaboot line was missing the
411 boot command, this prevented it from booting yaboot.
413 2000-04-25 Ethan Benson <erbenson@alaska.net>
417 * Merge quik's bootstrap(8) man page with ybin's ofboot(8) man
418 page and rename it back to bootstrap(8). This also solves the
419 conflict with quik. In a more useful way IMO.
421 2000-04-24 Ethan Benson <erbenson@alaska.net>
425 * Ship man pages uncompressed, gzip them in install-sh instead,
426 this allows for easier patching by debian maintainers if need be.
428 * Rename bootstrap(8) man page to ofboot(8) so ybin does not
431 2000-04-23 Ethan Benson <erbenson@alaska.net>
435 * Rewrote the config file parsing yet again to remove dependencies
436 on tr, and awk. This allows ybin to function on minimal systems
437 such as boot/rescue floppies. This also pretty much solves the
438 slowness problem. Thanks to Daniel Jacobwitz for the help.
440 * Made changes to remove dependencies on basename and wc. Again
441 this is to allow ybin to work on boot floppies.
443 * Changed all calls to grep to stop using GNU extensions, this is
444 so ybin will work properly with the minimal version of grep
447 * Added signal handling so ybin/mkofboot will cleanup after
448 themselves if killed with signals 1 2 3 or 15.
450 * Added OS Badge icons to the ofboot.b scripts. On G4 machines
451 you can hold down the option key and get a graphical boot selector
452 with one button for each bootable partition, the button with the
453 penguin icon is the bootstrap partition. Thanks to Nicholas
454 Humfrey for creating the Badge icon.
456 * Minor updates to the man pages.
458 2000-04-19 Ethan Benson <erbenson@alaska.net>
462 * Now include yaboot binary in ybin distribution.
464 * Include a install-sh script to install everything.
466 * Use of the separate ybin.conf file is deprecated. Use
467 /etc/yaboot.conf instead.
469 * Removed the so called kludge options, without being able to
470 bless the root directory they were just useless bloat.
472 * Removed useless --readonly option, it was already default (as it
475 * Deprecated bootconf options since the yaboot.conf is the same
476 config ybin uses. (it is still there and works but that may change)
478 * Changed configuration file format to be more like quik/lilo:
479 bootfile= is now install= (--bootfile is now --install), wrapper=
480 is now magicboot=, usemount, protect, and hide are now just a
481 keyword options, if they are present in the configuration file
482 they are turned on, if they are not present they are turned off.
483 bless= is now the nobless keyword option, since bless is default
484 this one changed names.
486 * ybin: no longer need to specify -C /dev/null if you don't have a
487 configuration file in /etc/. If this is the case ybin will generate
488 a generic yaboot.conf to install on the bootstrap partition.
490 * More changes to the configuration parsing to improve speed, the
491 format change also helped the speed problem.
493 * Added man pages for ybin, mkofboot, yaboot, yaboot.conf and
496 * More general fixes/cleanup/tweaks.
498 2000-03-13 Ethan Benson <erbenson@alaska.net>
502 * Added command line options to both scripts, try --help. This
503 makes the ybin.conf file optional if you wish (-C /dev/null)
505 * Changed the way the config file is parsed, no longer source it
506 with the shell, this allows ybin.conf to be merged with
507 yaboot.conf at which point yaboot can live with unknown options in
510 * Use /etc/ybin.conf if it exists, if not use /etc/yaboot.conf for
513 * Merged ybin and mkofboot into one script, mkofboot shared 90% of
514 of its code with ybin anyway and this will make them much easier
515 to maintain. mkofboot is now a hard link to ybin (or a symlink if
516 you prefer, both will work)
518 * Added an experimental feature to generate a yaboot.conf on the
519 fly based on command line options. The defaults should be
520 workable on a Debian system with an internal ATA disk, with the
521 root partition being the 3rd on the disk. Depends on mktemp for
522 creating the temporary file, Debian's mktemp is secure against
523 race conditions, use with caution if your distribution lacks a
524 secure mktemp utility. This option is activated with -c auto.
526 * No longer depends on bash. Works with Debian's
527 /bin/ash. Interpreter is now set to /bin/sh.
529 * Assorted cleanup, minor bug fixes.
531 * Added example yaboot.conf.
533 2000-02-04 Ethan Benson <erbenson@alaska.net>
537 * Added a simple multi-boot menu written by Benjamin Herrenschmidt.
539 2000-01-17 Ethan Benson <erbenson@alaska.net>
543 * mkofboot was still broken. :-(
546 2000-01-14 Ethan Benson <erbenson@alaska.net>
550 * Added a basic CHRP script ofboot.b to work around the problem of
551 OF refusing to load `tbxi' files unless they contain a CHRP boot
552 header. See README.ofboot.b for details.
554 * Updated default ybin.conf to install ofboot.b by default.
556 2000-01-13 Ethan Benson <erbenson@alaska.net>
560 * mkofboot: Check for hformat was broken.
562 2000-01-12 Ethan Benson <erbenson@alaska.net>
566 * mkofboot: Fixed problem where it was insisting that mkdosfs be
567 present even when using hfs filesystems if usemount=yes.
569 * mkofboot: Added proper checks for hformat or mkdosfs.
571 2000-01-09 Ethan Benson <erbenson@alaska.net>
575 * First public release.
577 * Add TODO and BUGS files.
579 * mkofboot: Check to see if usemount=yes, and if so make sure we
580 are root before proceeding to erase the partition.
582 * ybin: Removed useless echo line.
584 2000-01-05 Ethan Benson <erbenson@alaska.net>
588 * ybin (util_install): Fully support OF `wrappers' now: if a
589 wrapper is defined in the configuration file then the wrapper is
590 given the HFS file type specified instead of the bootfile, the
591 bootfile's type is set to "boot".
593 * ybin: New configuration option `bless' when yes and are using
594 hfsutils we will `bless' the root directory of the bootstrap
595 filesystem so OF should be able to find and boot the system
596 without reconfiguration.
598 * mkofboot/ybin (checkconf): Add validation for the new `bless'
599 option. Also add check that the wrapper, if defined, exists and we
600 have permission to it.
602 2000-01-04 Ethan Benson <erbenson@alaska.net>
606 * ybin (util_install): Quote the filetype/creator arguments to
607 hattrib to prevent the shell from interpreting any meta-characters
608 in some cases. Also no longer try and set metadata on wrapper if
611 * mkofboot: When creating hfs or dos filesystems give them volume
612 label of "bootstrap".
614 2000-01-03 Ethan Benson <erbenson@alaska.net>
618 * mkofboot: added -w switch to grep when checking if a filesystem
619 is already mounted to prevent erroneous positive matches.
621 * ybin (util_install): Add check to make sure that the target
622 device is not mounted as a filesystem before mucking with it.
626 2000-01-01 Ethan Benson <erbenson@alaska.net>