Re: RH7.3 not booting latest kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Finally got it to work.

I found on that on the production box there was already a 2.4.20-20.7.img
in /boot so edited lilo to look like this:

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

image=/boot/vmlinuz-2.4.20-20.7
	label=linux
	initrd=/boot/initrd-2.4.20-20.7.img
        root=/dev/hda1
	read-only
--------------------------------------------

then I ran /sbin/lilo -v and I got an error message about sectors/disk size
and try lba32, so I did a google search and found out I should replace
'linear' with 'lba32' and finally ended up with this:

--------------------------------------------
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
lba32
default=linux

image=/boot/vmlinuz-2.4.20-20.7
	label=linux
	initrd=/boot/initrd-2.4.20-20.7.img
        root=/dev/hda1
	read-only
-------------------------------------------

re-ran /sbin/lilo -v and it worked.  I rebooted and now the proper kernel
is running.

Thanks for your help

Steve


At 01:01 PM 10/20/2003 -0400, you wrote:
>On Mon, 2003-10-20 at 15:55, Steve Bopple wrote:
>> Yeah I'm not sure why, but it appears in /boot that the only kernel that
>> has an *.img file associated with it is that bigmem kernel.  I thought I
>> had up2date set to allow for kernel updates, but if I had up2date set to
>> skip kernel updates, would that make sense that all the other kernels don't
>> have img files associated with them?  Sorry if I'm completely n00bish here,
>> but I don't mess around with kernel stuff at all (obviously).
>
>You'll need to create the ramdisk image.  Check this out:
>
>http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-cus
tom-kernel-initrd.html
>
>
>-- 
>Jason Dixon, RHCE
>DixonGroup Consulting
>http://www.dixongroup.net
>
>
>-- 
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>
>



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux