Click to See Complete Forum and Search --> : compiling kernel on RH 7.1. didnt work :S


Pizza
07-26-2001, 03:14 PM
well i tried to compile and install the newest kernel 2.4.7 on redhat 7.1
compiling went well but after reboot it said

LOADING LINUX247...............
UNCOMPRESSING Linux.... OK, booting kernel
and here it hangs

what have i done:
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install

then i copied System.map to /boot (changed name to System.map-2.4.7
pointed the Symlink (System.map) to it

i copied bzImage to /boot (didnt change name)

then i edited the lilo.conf
and added the new kernel

then i run lilo

and rebooted

i can run the old kernel but not the new

gives the error listed above

anyone had this problem
or does anyone know what is going on??

Pizza

Timbo
07-26-2001, 05:32 PM
No one else seems to know what is wrong so I'll take stab in the dark (with a very small knife). Take a look at your lilo.conf file and make sure everything is correct. You may not have set your root= correctly. My only other guess is that you left out support for something that was required when you configured your kernel. make sure that your CPU is set correctly and you did include support for ext2 file systems (or what ever your root FS is).

Everyone breath easy now, I'm putting down my knife

Pizza
07-27-2001, 04:22 AM
well my lilo looks like this


boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux242

image=/boot/vmlinuz-2.4.2-2
label=linux242
read-only
root=/dev/hda5
image=/boot/bzImage
label=linux247
read-only
root=/dev/hda5

i think that is the right way
i will check on the ext2 support, iam not totally confinced i included that

/me hits his head to the monitor :s