On Sat, Apr 21, 2001 at 05:00:53PM +0200, Arne Scheffler wrote: > Hi, > ybin complains : > /---------------------------------------------------------------------- > > stella:/home/scheffle# ybin > hmount: /dev/hda2: not a Macintosh HFS volume (Invalid argument) > ybin: An error occured trying to access /dev/hda2 as HFS
hmm i should add a suggestion to run mkofboot to that error, ill do that for 1.1. > > my partition looks like : > /---------------------------------------------------------------------- > > /dev/hda > # type name length base > ( size ) system > /dev/hda1 Apple_partition_map Apple 63 @ 1 > ( 31.5k) Partition map > /dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64 > (800.0k) Unknown > /dev/hda3 Apple_UNIX_SVR2 data 4194304 @ 1664 > ( 2.0G) Linux native > /dev/hda4 Apple_HFS osx 8398991 @ 4195968 > ( 4.0G) HFS > > Block size=512, Number of Blocks=12594959 > DeviceType=0x0, DeviceId=0x0 looks good. > my yaboot.conf: > /---------------------------------------------------------------------- > ## Example yaboot.conf for ybin and yaboot >= 0.6 > ## see man yaboot.conf for more details. > > ## Change to your bootstrap partition ie: /dev/hda2 > boot=/dev/hda2 > device=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/@1 i think you may need a : at the end of this, please run: ofpath /dev/hda to make sure this is correct. > partition=2 this is wrong, 2 is your bootstrap partition, this must be your root partition. since you have partition specified below you can either change this line to 6 and remove the partition=6 lines from your image= sections, or delete this line entirely. leaving it as it is will cause problems. > delay=10 > timeout=20 > install=/usr/lib/yaboot/yaboot > magicboot=/usr/lib/yaboot/ofboot > > default=Linux > > macos=/dev/hdb7 > > ## Comment out if you have a newworld compatible nvsetenv (ybin can > ## likely detect the incompatible version) when commented out ybin > ## will update the boot-device variable in OpenFirmware to the > ## bootstrap partition. > #nonvram > > image=/boot/vmlinux > label=Linux2.2 > root=/dev/sda6 > read-only > partition=6 > > image=/boot/vmlinux-2.4 > label=Linux > root=/dev/sda6 > read-only > partition=6 > /---------------------------------------------------------------------- > What am I doing wrong ? make the above fixes to your /etc/yaboot.conf and run mkofboot. -- Ethan Benson http://www.alaska.net/~erbenson/
pgpLEq9hsBfEB.pgp
Description: PGP signature