Ethan, I get errors about locating the bootstrap partition. It says i need to create a 800k type 0x41 partition. My partition is ~ 2meg. Is it looking for the specified size? There may be other problems with my partitions, though. This is an RS/6000 that used to run AIX and fdisk complains about existing AIX labels. Maybe the labels are confusing yabootconfig too. I think its worth noting that I can only get this machine to boot off of the floppy.
Phil Ethan Benson <[EMAIL PROTECTED]> 05/23/2001 08:15 AM To: Debian-powerpc <debian-powerpc@lists.debian.org> cc: Subject: yabootconfig: please test Hi, i have written a new utility yabootconfig, which will be included in the next release of ybin. it is inspired by quikconfig and liloconfig. when it is run it will determine what type of machine its running on and then ask whether you want to generate a small yaboot.conf and install the yaboot bootstrap. after permission is granted it will write /etc/yaboot.conf which is fully configured for the machine its running on, then it will run mkofboot -f to install the bootstrap and make the system bootable from disk. i have written it in posix /bin/sh and it will run within the confines of busybox (only the one in unstable, potato's is too broken). it also supports a --chroot option, when running from the boot floppies for example one would mount the root filesystem on /target, and run yabootconfig --chroot /target where it would generate /target/etc/yaboot.conf and base the config on that root filesystem rather then the boot floppy root filesystem. this function will hopefully be soon used by dbootstrap in woody to enable `Make Debian Bootable From the hard disk' actually do what its supposed to on a NewWorld. this script also should support IBM RS/6000 hardware, but as i don't have one of these the only testing i can do is by contructing fake /proc filesystem... on PowerMacs it searches for a type Apple_Bootstrap partition, it requires that one be present to generate a config, since that is the only way yaboot may be installed. on IBM machines it searches for a type 0x41 PPC PReP Boot partition, and again requires that one be present. yabootconfig is also able to detect separate /boot partitions and generate correct yaboot.confs for that setup. (for you xfs on / users). existing /etc/yaboot.conf is saved to /etc/yaboot.conf.old, only one backup is kept, eg, the .old is overwritten the next time yabootconfig runs. please suggest other/better methods of handling this situation if you find this suboptimal. i need people to test this and ensure it works correctly and generates accurate yaboot.conf files. to aid in people's willingness to test the version i have posted has some temporary modifications: 1) it generates {chroot}/tmp/yaboot.conf instead of {chroot}/etc/yaboot.conf. it will NOT overwrite your working /etc/yaboot.conf right now. 2) it runs fakeofboot (internal function) instead of mkofboot to install the bootstrap, fakeofboot will not touch anything, only spew out how it was called so that you can see whether yabootconfig would have correctly called mkofboot. (in case of --chroot it must pass -C /something/etc/yaboot.conf) please test, and report any bugs that you find, preferably setup a simple boot-floppy environment and make sure that --chroot works correctly. you can find it and a gpg signature at http://penguinppc.org/files/eb TIA -- Ethan Benson http://www.alaska.net/~erbenson/
attxauid.dat
Description: Binary data