Gentoo Archives: gentoo-dev

From: Brian Ellis <phoenix@×××.EDU>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Gentoo PPC Linux
Date: Sat, 14 Sep 2002 18:49:55
Message-Id: AABFBA46-C83C-11D6-BB72-00306557E92C@wpi.edu
1 Greetings! I've been trying since last night to get Gentoo Linux
2 running on my G4 tower, without much luck. All I managed to do was
3 render my system unbootable for an hour or two, and I think it's mostly
4 because the instructions I was following
5 (http://www.gentoo.org/doc/gentoo-ppc-install.html) lost me at a
6 particular point.
7 Everything was just fine until I got around to editing /etc/fstab.
8 Now, I'm a programmer and I use Mac OS X, so while I'm not exactly a
9 Unix geek I can grep myself out of a wet paper bag if absolutely
10 necessary. However, I was completely waylaid by the difference between
11 my /etc/fstab file and the sample one in the instructions. While that
12 one looks like this:
13
14 /dev/ROOT / ext3 noatime 0 1
15 /dev/SWAP none swap sw 0 0
16 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
17 proc /proc proc defaults 0 0
18
19 the one I actually had looked more like this (I'm reproducing this from
20 memory):
21
22 /dev/ROOT / ??? noatime 0 0
23 /dev/BOOT /boot ext2 atime 1 1
24 /dev/SWAP none swap sw 0 0
25 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
26 proc /proc proc defaults 0 0
27
28 I don't remember what the "???" was, but it definitely wasn't ext2 or
29 ext3 (I'm using ext2)... I seem to remember thinking it implied being
30 some sort of default Linux file system, but I don't know why I got that
31 impression. Anyway, you probably know. :)
32 At any rate, being entirely unsure about how to handle this problem,
33 but realizing that my root and boot partitions would be the same (hda3)
34 and noting in the instructions that I was not to put my bootstrap
35 partition in, I changed my fstab to this:
36
37 /dev/hda3 / ext2 noatime 0 1
38 /dev/hda4 none swap sw 0 0
39 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
40 proc /proc proc defaults 0 0
41
42 I then merrily went along with the install until I got to the yaboot
43 configuration, where I hit another snag: I have two hard drives. The
44 Linux partitions were going on hda, and my Mac OS X partition is all by
45 itself on hdb. Unfortunately, `ls /dev/hdb*' gave me something like 14
46 possibilities (hdb1..hdb14), and I had absolutely no clue which
47 partition was which. I tried hdb1 (wishful thinking, I guess) and hdb9
48 (because under Mac OS X it's disk1s9), but not only did neither of
49 those work but apparently my fstab was wrong too, because after the
50 'boot:' prompt and the "loading kernel..." message, I got an error that
51 there was no such file/directory. To make matters even worse, my
52 monitor is a Sun connected using an adaptor, and for some reason Mac OS
53 X makes it like to go to sleep at startup until fairly late in the boot
54 process... unfortunately, yaboot doesn't seem to trigger it to wake up
55 (although the Gentoo CD does), so ideally I'd like to not use it at all
56 and just use BootX instead. Is there any way to accomplish all this?
57 In a word, "Help!" :)
58
59 Any information you can provide would be *most* welcome. Thanks!
60
61 Brian Ellis
62
63 P.S.: If I've left out any technical details you need, please let me
64 know, but as I nuked the entire Linux hard drive after the last install
65 failed, I can more or less set it up however you need for your
66 information to work correctly.
67
68 P.P.S.: There doesn't seem to be a folder with yaboot examples
69 anywhere in the install, despite what the instruction said, and man
70 yaboot is about as helpful as the average man page is... which is to
71 say not very if you don't already know what you're doing. :/
72
73 P.P.P.S.: I'm sorry if this isn't the right address to send this to; I
74 just clicked the link at the bottom of the page. :)