All pastes #403285 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-20 08:43 UTC
rendered paste body
livecd / # mkofboot -v
mkofboot: Finding OpenFirmware device path to `/dev/hda1'...
ofpath: Unable to determine sysfs mountpoint
mkofboot: Unable to find OpenFirmware path for boot=/dev/hda1
mkofboot: Please add ofboot=<path> where <path> is the OpenFirmware path to /d  /hda1 to /etc/yaboot.conf
  


and my yaboot.conf :

## Change `unconfigured' to your bootstrap partition eg: /dev/hda2
boot=/dev/hda1
## device is the OpenFirmware device path to the disk containing
## kernel images.  if your disk is /dev/hda you can find the
## OpenFirmware path by running the command: ofpath /dev/hda DO NOT
## specify a partition number for this!  On IBM hardware you can
## generally comment this out.

device=hda

## partition is the partition number where the kernel images are
## located.  The kernel images should be on your root filesystem, so
## this is usually the same partition number as your root filesystem.
## so if root = /dev/hda3 (the 3rd partition) then you should have
## partition=3  This *MUST* be set correct or yaboot won't boot!  This
## option can be either set globally as shown here, or per image in
## the image= sections

partition=1

## delay is the amount of time in seconds the dual boot menu (if one
## is configured, by the presense of macos, macosx, etc options here)
## will wait before choosing the default OS (GNU/Linux or the value of
## defaultos=).  If you omit this then the value of timeout=
## (converted to seconds) will be used.

delay=10

## timeout is the amount of time in tenths of a second that yaboot
## will wait before booting the default kernel image (the first image=
## section in this config file or the value of default=).

timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.19-r5
        label=Linux-2.6.19-r5
        root=/dev/hda1
        sysmap=/boot/System.map-2.6.19-r5
        read-only





hda1 is my /root partition and hda3 my /home