From: sideband <sideband@cac.net>
Subject: Re: Compiling kernels on RedHat 6.2 with SRM
Date: 2000/07/19 [thread overview]
Message-ID: <397568F6.28861489@cac.net> (raw)
In-Reply-To: 3973DCC1.778C897E@okstate.edu
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 <eof> before hitting a
<cr>. ::grin::
-SSB
Mathew Lee wrote:
> <snip>
>
> > 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.
> >
>
> <snip>
>
> 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
next prev parent reply other threads:[~2000-07-19 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-17 4:00 Compiling kernels on RedHat 6.2 with SRM sideband
2000-07-17 4:00 ` Mathew Lee
2000-07-19 4:00 ` sideband [this message]
2000-07-23 4:00 ` P.Copeland
2000-07-24 4:00 ` sideband
2000-07-18 4:00 ` sideband
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox