Gentoo Archives: gentoo-ppc-user

From: josh <josh@×××××××××××××××.us>
To: Gentoo PPC User <gentoo-ppc-user@l.g.o>
Subject: [gentoo-ppc-user] Installing on laptop
Date: Sun, 21 Mar 2004 15:01:13
Message-Id: 20040321150109.GA31937@saratoga.lib.ny.us
1 I have gone through - made notes - tried a few thngs, figured out a
2 few places where the online instructions are misleading, incomplete,
3 or perhaps wrong:
4
5 It seems I may have needed to have a kernel called 'vmlinux' for
6 yabootconfig to work.
7
8 The instructions don't require a separate /boot partition for ppc
9 but all the examples have one.
10
11 The kernel creation gives "emerge =vanilla-sources-2.4.24", but
12 "emerge ppc-sources" with no version numbers was what I required.
13
14 The airport module is not included on the g3 cd's I downloaded so
15 there was no way to use the wireless card.
16
17 Anyhow, I managed to get gentoo installed with minimal configuring
18 (too minimal) - and I can boot into OSX, though it isn't the default
19 though I thought I configured it to be the default - and I can boot
20 into gentoo. (I haven't even tested my OS9 partition yet though it
21 shows in the boot menu - BTW, I can hardly make out the yaboot boot
22 menu because it is so small.)
23
24 But now I can't use the keyboard when I boot into gentoo - so I'm
25 stuck at the login prompt. I assume that somewhere along the way I
26 missed a component or module that I needed to include. Which one?
27 I also guess I can boot off the CD and recompile the kernel.
28
29 Here is a quick
30
31 1. downloaded and burned a G3 specific ISO.
32
33 2. booted from CD
34
35 3. partitioned drive replacing first useable partition.
36 boot thingy 9, swap 10, 2g 11, rest 10
37
38 dhcpcd eth0
39 [in the instructions but I really shouldn't have needed]
40 mke2fs /dev/hda11
41 mke2fs /dev/hda12
42 mkswap /dev/hda10
43 swapon /dev/hda10
44 mkdir /mnt/root
45 mkdir /mnt/home
46 mkdir /mnt/proc
47 mount /dev/hda11 /mnt/root
48 mount /dev/hda12 /mnt/root
49 mount -t proc none /mnt/proc
50
51 cd /mnt/root
52 tar -xvpjf /mnt/cdrom/g3-stages/stage3-g3-1.4_final.tbz2
53 tar -xvjf /mnt/cdrom/portage.tbz2 -C /mnt/root/usr
54 mkdir /mnt/root/usr/portage/distfiles
55 cp -R /mnt/cdrom/distfiles/* /mnt/root/usr/portage/distfiles/
56 [can I assume a G3 snap shot would have the basic optimizations in
57 make.conf?]
58
59 cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
60 chroot /mnt/gentoo /bin/bash
61 env-update
62 source /etc/profile
63 ln -sf /usr/share/zoneinfo/GMT /etc/localtime
64
65 emerge ppc-sources
66 [differs from documentation]
67 cd /usr/src/linux
68 make menuconfig
69 [changed little - best guesses for pismo powerbook - which were wrong]
70 make dep
71 make vmlinux modules modules_install
72 [# cp vmlinux /boot/kernel-2.4.24]
73 # cp System.map /boot/System.map-2.4.24
74 cp vmlinux /boot/vmlinux
75 cp System.map /boot/System.map
76 cp .config /boot/config
77
78 find /lib/modules/2.4.21-ppc=r2/ -type f -iname '*.o'
79 [ no such # nano -w /etc/modules.autoload.d/kernel-2.4 ]
80 cat >>/etc/modules.autoload
81 airport
82 cntrol-d
83
84
85 nano /etc/fstab
86 /dev/hda11 / ext2 noauto,noatime 1 1
87 /dev/hda12 /home ext2 noatime 0 0
88 /dev/hda10 none swap sw 0 0
89 /dev/cdrom/cdrom0 /mnt/cdrom iso9660 auto,ro,user 0 1
90
91 none /proc proc defaults 0 0
92 none /dev/shm tmpfs defaults 0 0
93
94
95
96 echo broomstick > /etc/hostname
97 [hunh - need this fr yabootconfig to run]
98 mount /proc
99 yabootconfig
100 [editted to make default=macosx]
101
102 emerge syslog-ng
103 rc-update add syslog-ng default
104 passwd
105
106
107 useradd josh -m -G users,wheel,audio -s /bin/bash
108 passwd
109 exit
110 cd /
111 umount /mnt/root /mnt/proc /mnt/home
112
113 [couldn't unmount root]
114
115 reboot
116
117
118 --
119 Josh Kuperman
120 josh@×××××××××××××××.us
121
122
123 --
124 gentoo-ppc-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-ppc-user] Installing on laptop Pieter Van den Abeele <pvdabeel@g.o>
Re: [gentoo-ppc-user] Installing on laptop Rod Furey <rod@×××××××××××××.nl>