[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-ppc-user
Subject:    Re: [gentoo-ppc-user] "yabootconfig: /dev/ROOT: No such file or
From:       Mark Knecht <markknecht () gmail ! com>
Date:       2009-06-30 22:54:55
Message-ID: 5bdc1c8b0906301554u3f6c8cf6uba6695e0440533f7 () mail ! gmail ! com
[Download RAW message or body]

On Tue, Jun 30, 2009 at 3:25 PM, mv.1001<mv1001@gmail.com> wrote:
> 
> Hi,
> I have a problem here. I follow everything step by step from handbook. but
> it always stopped here. I tried many time and searched it in google. but
> Can't find answers.
> the problem is:
> After I install yaboot in chroot environment. then I exit it, and try
> "yabootconfig --chroot /mnt/gentoo". but I got "yabootconfig: /dev/ROOT: No
> such file or directory". I guess it's fstab problem, but how to mount
> Apple_Bootstrap in fstab?
> Anyone can help me?
> 
> Thanks in Adv.
> 
> James
> --
> View this message in context: \
> http://www.nabble.com/%22yabootconfig%3A--dev-ROOT%3A-No-such-file-or-directory%22-why--tp24280943p24280943.html
>  Sent from the gentoo-ppc-user mailing list archive at Nabble.com.
> 
> 
> 

Sounds to me like you didn't update fstab. Here's my fstab and
yaboot.conf files from my Mac Mini MythTV backend server. If you make
changes to yaboot.conf by hand remember to run ybin -v.

Hope this helps,
Mark

MacMini ~ # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>
 <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda4               /               ext3            noatime         0 1
/dev/hda3               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      audo            noauto,ro       0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs
nodev,nosuid,noexec    0 0

#/dev/sda1              /video          ext3            auto,rw         0 2
MacMini ~ #



MacMini ~ # cat /etc/yaboot.conf
boot=/dev/hda2

device=/pci@f4000000/ata-6@d/disk@0:2

partition=4

delay=5

default=2.6.28-gentoo-r5
timeout=300
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.28-gentoo-r5
        label=2.6.28-gentoo-r5
        root=/dev/hda4
        partition=4
        append="video=radeonfb:1024x768-8@60"
        read-only

image=/boot/kernel-2.6.24-gentoo-r3
        label=2.6.24-gentoo-r3
        root=/dev/hda4
        partition=4
        append="video=radeonfb:1024x768-8@60"
        read-only
MacMini ~ #


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic