From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,9beb9583ff0854c4 X-Google-Attributes: gid111c93,public From: sideband Subject: Re: Compiling kernels on RedHat 6.2 with SRM Date: 2000/07/19 Message-ID: <397568F6.28861489@cac.net>#1/1 X-Deja-AN: 648119201 Content-Transfer-Encoding: 7bit References: <3973C267.A8AEE5EB@cac.net> <3973DCC1.778C897E@okstate.edu> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: newsfeed.slurp.net 963995318 209.69.196.228 (Wed, 19 Jul 2000 03:28:38 CDT) MIME-Version: 1.0 NNTP-Posting-Date: Wed, 19 Jul 2000 03:28:38 CDT Newsgroups: comp.os.linux.alpha Matthew: Thanks for the pointer, but the problem wasn't the BSD disklable.. That had already been done. and beside, how would I compile a new kernel and install it unless the machine booted in the first place? ::grin:: The problem was a missing carriage return at the end of the second line in aboot.conf... Apparently SRM doesn't like hitting before hitting a . ::grin:: -SSB Mathew Lee wrote: > > > > Anyway, once I get the new kernel compiled and put in /boot, and once > > I've edited aboot.conf, how do I get the kernel to boot? > > > > my aboot.conf looks like this: > > > > 0:1/boot/vmlinuz-2.2.14-6.0 root=/dev/hda1 > > 1:1/boot/vmlinuz-2.2.16-c1 root=/dev/hda1 > > > > If I change the boot_osflags environment variable to 1 in the SRM > > console, the system refuses to mount the root partition, even tho ext2 > > is compiled into the kernel. > > > > > > Sideband, > > Before doing anything make sure that you have BSD disklabels enabled in > your kernel. Also, I am assuming that you have no trouble booting your > older kernels on the same system. If this does not work, please give us > more information. > > also, your boot_osflag should always be set to "root=/dev/hda1" > your boot_osfile should now be set to "2/vmlinuz-2.2.16-c1" > > your /boot/etc/aboot.conf file should look like the following > > 1:1/vmlinuz-2.2.14-6.0 root=/dev/hda1 > 1:2/vmlinuz-2.2.16-c1 root=/dev/hda1 > > now you will be able to boot by the following > boot yourdev -fl root=/dev/hda1 -fi 2 > > the -fi 2 means to use 1:2/vmlinuz-2.2.16-c1 > > good luck! > > Mathew Lee > Undergraduate Research Assistant > Oklahoma State University > Mechanical and Aerospace Engieering