Hi,

I just recompiled the kernel on a Red Hat 6.1 machine:

dual piii 600 mhz
512 mb ram
1 gb swap
1 scsi-2 18 gb hard drive (/dev/sda)
1 ide 10 gb hard drive (/dev/hda)
kernel smp 2.2.12-20


The os is installed on /dev/sda, where /dev/sda3 is the root partition. 
I encountered no errors during the kernel compile.  I copied the new
kernel image to a floppy, and tried to boot the new kernel from the
floppy.  During loading (Loading...), I got an error message saying,
"Out of memory, system halted".  So then I tried booting the new kernel
from the hard drive.  I put in a new stanza into /etc/lilo.conf for the
new kernel.  Here's my /etc/lilo.conf:

boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=new

image=/usr/src/linux/arch/i386/boot/bzImage
        label=new
        root=/dev/sda3

image=/boot/bzImage-2.2.12-20-111200smp
        label=jonesy
        read-only
        root=/dev/sda3

image=/boot/bzImage-2.2.12-20-011800smp
        label=221220smp
        read-only
        root=/dev/hda3

image=/boot/vmlinuz-2.2.12-20smp
        label=linux
        initrd=/boot/initrd-2.2.12-20smp.img
        read-only
        root=/dev/sda3

image=/boot/vmlinuz-2.2.12-20
        label=linux-up
        initrd=/boot/initrd-2.2.12-20.img
        read-only
        root=/dev/sda3


When I ran /sbin/lilo, I got this error:

Warning: /dev/sda is not on the first disk
Added new *
Added jonesy
Added 221220smp
Added linux
Added linux-up


"new" is the label for the new kernel I want to boot.  What's with the
warning message?  fdisk shows this for /dev/sda:

Disk /dev/sda: 255 heads, 63 sectors, 2231 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1       102    819283+   5  Extended
/dev/sda2   *       103       152    401625   83  Linux
/dev/sda3           153       641   3927892+  83  Linux
/dev/sda4           642      2231  12771675   83  Linux


I've set /dev/sda2, the /boot partition, to be bootable.  But when I
tried booting off the hard drive, I just got a screenful of 1s and 0s,
and the machine is frantically trying to access the floppy drive.  I
checked the bios.  The boot sequence is set to "A,C", and scsi drives
are to boot before ide.  What can I do to boot this new kernel?  Thanks,



Hidong



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to