Usually the kernel images are installed in /boot.
Here is my /boot directory:
[EMAIL PROTECTED] ls
-l
/boot
total 25160
lrwxrwxrwx 1 root root 27 Apr 2 23:49 System.map ->
System.map-2.4.19-pre5-ben0
-rw-r--r-- 1 root root 297241 Dec 3 2001
System.map-2.2.19-pmac
-rw-r--r-- 1 root root 541267 Dec 11 2001 System.map-2.4-pre5
-rw-r--r-- 1 root root 555708 Jan 6 2002
System.map-2.4.17-ben0
-rw-r--r-- 1 root root 568435 Apr 2 23:03
System.map-2.4.19-pre5-ben0
-rw-r--r-- 1 root root 567999 Jul 16 21:28
System.map-2.4.19-rc1-ben0
lrwxrwxrwx 1 root root 27 Apr 2 23:48 System.map-new
-> System.map-2.4.19-pre5-ben0
lrwxrwxrwx 1 root root 26 Jul 16 21:41
System.map-newest -> System.map-2.4.19-rc1-ben0
lrwxrwxrwx 1 root root 22 Dec 7 2001 System.map-old
-> System.map-2.2.19-pmac
lrwxrwxrwx 1 root root 19 Dec 7 2001
System.map-stable -> System.map-2.4-pre5
-rw-r--r-- 1 root root 5129 Dec 3 2001 config-2.2.19-pmac
-rw-r--r-- 1 root root 24504 Jan 6 2002 config-2.4.17-ben0
-rw-r--r-- 1 root root 29156 Apr 2 22:40
config-2.4.19-pre5-ben0
-rw-r--r-- 1 root root 27148 Jul 16 21:08
config-2.4.19-rc1-ben0
-rw-r--r-- 1 root root 1024 Nov 26 2001 first.b
-rw-r--r-- 1 root root 1024 Jun 18 2001 first.b.preserved
-rw-r--r-- 1 root root 41680 Nov 26 2001 second.b
-rw-r--r-- 1 root root 40756 Jun 18 2001 second.b.preserved
lrwxrwxrwx 1 root root 24 Apr 2 23:49 vmlinux ->
vmlinux-2.4.19-pre5-ben0
-rw-r--r-- 1 root root 2811144 Dec 3 2001 vmlinux-2.2.19-pmac
-rwxr-xr-x 1 root root 3653098 Dec 11 2001 vmlinux-2.4-pre5*
-rw-r--r-- 1 root root 3760887 Jan 6 2002 vmlinux-2.4.17-ben0
-rw-r--r-- 1 root root 3919195 Apr 2 23:03
vmlinux-2.4.19-pre5-ben0
-rw-r--r-- 1 root root 3766729 Jul 16 21:28
vmlinux-2.4.19-rc1-ben0
lrwxrwxrwx 1 root root 24 Apr 2 23:49 vmlinux-new ->
vmlinux-2.4.19-pre5-ben0
lrwxrwxrwx 1 root root 23 Jul 16 21:41 vmlinux-newest
-> vmlinux-2.4.19-rc1-ben0
lrwxrwxrwx 1 root root 19 Dec 7 2001 vmlinux-old ->
vmlinux-2.2.19-pmac
lrwxrwxrwx 1 root root 16 Dec 7 2001 vmlinux-stable
-> vmlinux-2.4-pre5*
-rw-r--r-- 1 root root 1303914 Jan 6 2002
vmlinux.coff-2.4.17-ben0
-rw-r--r-- 1 root root 1932461 Apr 2 23:03
vmlinux.coff-2.4.19-pre5-ben0
-rw-r--r-- 1 root root 1903789 Jul 16 21:28
vmlinux.coff-2.4.19-rc1-ben0
[EMAIL PROTECTED]
As you can see I have several kernel images there at the moment.
Installing a "kernel.deb" created with make kpkg will put the image there...
Then I created the symlinks vmlinux-...
(I also symlinked the according System.maps, although that is not
necessary I think unless you are a kernelhacker...)
The according yaboot.conf looks like this:## yaboot.conf generated by
yabootconfig 1.0.4
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
## see also: /usr/share/doc/yaboot/examples for example configurations.
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ
boot=/dev/hda9
device=hd:
partition=11
root=/dev/hda11
delay=10
timeout=50
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
macos=/dev/hda13
macosx=/dev/hda12
defaultos=macosx
enablecdboot
default=newest
image=/vmlinux
label=Linux
## append="video=ofonly"
append="keyboard_sends_linux_keycodes=1"
read-only
image=/boot/vmlinux-old
label=old
append="video=ofonly"
read-only
image=/boot/vmlinux-new
label=new
append="keyboard_sends_linux_keycodes=1"
read-only
image=/boot/vmlinux-stable
label=stable
append="keyboard_sends_linux_keycodes=1"
read-only
image=/boot/vmlinux-newest
label=newest
# append="keyboard_sends_linux_keycodes=1"
read-only
Here the kernelimages get refered to by the symlinks.
Dont forget to run ybin (as root) after editing yaboot.conf
feel free to ask any more questions ...
jonas
Gilger.John wrote:
Pardon my ignorance, but what are the "correct symlinks"?
I'm particularly interested in those necessary for a Ti PowerBook I got at
Christmas-time 2001.
TIA
John
-----Original Message-----
From: Jonas Bandi [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 18, 2002 5:16 AM
To: 'William Crowshaw'; debian-powerpc@lists.debian.org
Subject: RE: Rolling my own Powerpc kernel from Debian sources
I suggest using the benh kernel anyway
(http://master.penguinppc.org/~benh/), or do you have any special reason
not to do so?
To get it:
mkdir /usr/src/benh_kernel
rsync -avz rsync.penguinppc.org::linux-2.4-benh /usr/src/benh_kernel
to compile:
cd /usr/src/benh_kernel
sudo make xconfig
make-kpkg ...
sudo dpkg -i ...
then make the correct symlinks, edit yaboot.conf and execute ybin
jonas
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]