Gentoo Archives: gentoo-ppc-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] "yabootconfig: /dev/ROOT: No such file or directory" why?
Date: Tue, 30 Jun 2009 22:54:58
Message-Id: 5bdc1c8b0906301554u3f6c8cf6uba6695e0440533f7@mail.gmail.com
In Reply to: [gentoo-ppc-user] "yabootconfig: /dev/ROOT: No such file or directory" why? by "mv.1001"
1 On Tue, Jun 30, 2009 at 3:25 PM, mv.1001<mv1001@×××××.com> wrote:
2 >
3 > Hi,
4 > I have a problem here. I follow everything step by step from handbook. but
5 > it always stopped here. I tried many time and searched it in google. but
6 > Can't find answers.
7 > the problem is:
8 > After I install yaboot in chroot environment. then I exit it, and try
9 > "yabootconfig --chroot /mnt/gentoo". but I got "yabootconfig: /dev/ROOT: No
10 > such file or directory". I guess it's fstab problem, but how to mount
11 > Apple_Bootstrap in fstab?
12 > Anyone can help me?
13 >
14 > Thanks in Adv.
15 >
16 > James
17 > --
18 > View this message in context: http://www.nabble.com/%22yabootconfig%3A--dev-ROOT%3A-No-such-file-or-directory%22-why--tp24280943p24280943.html
19 > Sent from the gentoo-ppc-user mailing list archive at Nabble.com.
20 >
21 >
22 >
23
24 Sounds to me like you didn't update fstab. Here's my fstab and
25 yaboot.conf files from my Mac Mini MythTV backend server. If you make
26 changes to yaboot.conf by hand remember to run ybin -v.
27
28 Hope this helps,
29 Mark
30
31 MacMini ~ # cat /etc/fstab
32 # /etc/fstab: static file system information.
33 #
34 # noatime turns off atimes for increased performance (atimes normally aren't
35 # needed; notail increases performance of ReiserFS (at the expense of storage
36 # efficiency). It's safe to drop the noatime options if you want and to
37 # switch between notail / tail freely.
38 #
39 # The root filesystem should have a pass number of either 0 or 1.
40 # All other filesystems should have a pass number of 0 or greater than 1.
41 #
42 # See the manpage fstab(5) for more information.
43 #
44
45 # <fs> <mountpoint> <type> <opts>
46 <dump/pass>
47
48 # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
49 /dev/hda4 / ext3 noatime 0 1
50 /dev/hda3 none swap sw 0 0
51 /dev/cdrom /mnt/cdrom audo noauto,ro 0 0
52
53 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
54 # POSIX shared memory (shm_open, shm_unlink).
55 # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
56 # use almost no memory if not populated with files)
57 shm /dev/shm tmpfs
58 nodev,nosuid,noexec 0 0
59
60 #/dev/sda1 /video ext3 auto,rw 0 2
61 MacMini ~ #
62
63
64
65 MacMini ~ # cat /etc/yaboot.conf
66 boot=/dev/hda2
67
68 device=/pci@f4000000/ata-6@d/disk@0:2
69
70 partition=4
71
72 delay=5
73
74 default=2.6.28-gentoo-r5
75 timeout=300
76 install=/usr/lib/yaboot/yaboot
77 magicboot=/usr/lib/yaboot/ofboot
78
79 image=/boot/kernel-2.6.28-gentoo-r5
80 label=2.6.28-gentoo-r5
81 root=/dev/hda4
82 partition=4
83 append="video=radeonfb:1024x768-8@60"
84 read-only
85
86 image=/boot/kernel-2.6.24-gentoo-r3
87 label=2.6.24-gentoo-r3
88 root=/dev/hda4
89 partition=4
90 append="video=radeonfb:1024x768-8@60"
91 read-only
92 MacMini ~ #