From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 34D8D3EAE9 for ; Fri, 17 May 2002 23:34:45 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g4I3YjM26483 for axp-list@listman.redhat.com; Fri, 17 May 2002 23:34:45 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g4I3Yjl26479 for ; Fri, 17 May 2002 23:34:45 -0400 Received: from icarus.com (IDENT:root@icarus.icarus.com [208.36.26.146]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g4I3SRM31566 for ; Fri, 17 May 2002 23:28:27 -0400 Received: from icarus.com (steve@localhost) by icarus.com (8.11.6/8.11.6) with ESMTP id g4I3YgY03264; Fri, 17 May 2002 20:34:42 -0700 Message-Id: <200205180334.g4I3YgY03264@icarus.com> X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 To: Stephen Torri Cc: axp-list@redhat.com Subject: Re: Building 2.4 kernel In-Reply-To: Your message of "17 May 2002 22:15:31 CDT." <1021691731.1341.17.camel@base.torri.linux> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 17 May 2002 20:34:42 -0700 From: Stephen Williams X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: storri@ameritech.net said: > I am familiar with building the kernel on an intel platform. The thing > that I am stuck on is the equivalent make commands to: "make boot" creates the bootable image arch/alpha/vmlinux.gz. Just copy this to /boot/vmlinux-2.4.18.gz or whereever you want to put this image (don't replace your current kernel!) and edit your /etc/aboot.conf file to include an entry for your new kernel. Mine looks like this: # aboot default configurations # NOTICE: You have a /boot partition. This means that # all kernel paths are relative to /boot/ 0:1/vmlinuz-2.4.3-12 root=/dev/sda2 1:1/vmlinuz-2.4.3-12 root=/dev/sda2 console=ttyS0 2:1/vmlinuz-2.4.3-12 root=/dev/sda2 console=ttyS0 console=tty0 3:1/vmlinuz-2.4.3-12 root=/dev/sda2 single 4:1/vmlinuz-2.4.3-12 root=/dev/sda2 floppy=nodma,nofifo 5:1/vmlinuz-2.4.18 root=/dev/sda2 6:1/vmlinuz-2.4.18 root=/dev/sda2 single 7:1/vmlinuz-2.4.9-31 root=/dev/sda2 single Notice that I have 8 possible boot options in this file. Many of these were installed yb the initial install. #5 is the one I added for my 2.4.18 kernel. Also nite that /boot on my machine is a partition of its own so the file names are relative the root of that partition. Anyhow, to boot this kernel from srm, I do this at the srm console: boot dk0 -fl 5 to go right into the kernel, or boot dk0 -fl i to go into interactive mode for aboot. (I forget the exact device name, I have to look it up every time, because I reboot so rarely:-) The PC164 doesn't have the mythical halt button (never seen one) so automatic reboot is not an option for PC164/srm. You must therefore have seen at least some of the "boot" command by now. The trick here is where to find (and where to install) the bootable kernel image, and how to tell aboot about it. -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, steve at picturel.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep." abuse@xo.com uce@ftc.gov