- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- new kernel will not boot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 09:53 AM
тАО05-24-2002 09:53 AM
new kernel will not boot
The problem I am having, when booting the new kernel, it is not able to find the image, and thus just keeps rebooting to the Lilo prompt.
If I choose to boot the old kernel all works fine.
In the /boot directory I have the file vmlinuz linked to the old kernel file vmlinuz-2.2.12-20. I don't see a similar file for the new kernel. The image I copied from /usr/src/linux/arch/i386/boot/bzImage to /boot is bzImage-2.4.18.
Can anyone help point me in the right direction, so that I may be able to boot the new installed kernel.
TIA
KM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 10:36 AM
тАО05-24-2002 10:36 AM
Re: new kernel will not boot
If I were you I would post /etc/lilo.conf, just in case there is a configuration issue.
Other thing : could you please post also the config file used to compile the 2.4.18 kernel (/usr/src/linux/.config) ? May be some drivers are missing so the kernel loading cannot be completed.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2002 02:56 PM
тАО05-24-2002 02:56 PM
Re: new kernel will not boot
As you requested attached are the lilo.conf and /usr/src/linux/.config file for the Kernel 2.4.18.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2002 03:58 AM
тАО05-25-2002 03:58 AM
Re: new kernel will not boot
image=/boot/bzImage-2.4.18
label=linux-2418
initrd=/boot/initrd-2.2.12-20.img <<<<<
read-only
root=/dev/hda2
image=/boot/vmlinuz-2.2.12-20
label=linux-2.2.12
initrd=/boot/initrd-2.2.12-20.img <<<<<
read-only
root=/dev/hda2
You have the same initrd file for both kernels.you need to make sure you have a new initrd for your new kernel in /boot and update the lilo.conf file to point to the new file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2002 05:25 AM
тАО05-25-2002 05:25 AM
Re: new kernel will not boot
I created a /boot/initrd-2.4.18.img,edited lilo.conf and ran /sbin/lilo. It made no difference. My PC will boot to the LILO Boot: prompt and try to boot (Loading linux-2418.....) and reboot back to the LILO Boot prompt, it will do this till I make it boot from the old kernel. I think it has to do with the vmlinuz (which is linked to the vmlinuz-2.2.12-20 directory. However, I don't have a similar directory for 2.4.18.
As for the initrd file, as from a previous post, it was explained to me that initrd is used if you are using a scsi boot disk. If you are using IDE (as I am) it is not needed. I have also tried the boot with this line deleted, and now with a initrd for 2.4.18.
KM
understanding (from a previous post) is the
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2002 05:29 AM
тАО05-25-2002 05:29 AM
Re: new kernel will not boot
KM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2002 10:08 PM
тАО05-26-2002 10:08 PM
Re: new kernel will not boot
usually this means 'SCSI' modules, but sometimes can mean other things (ie. booting of external network devices etc.).
If it is having trouble trying to boot of a kernel that's been made cleanly, it WILL be showing up some sort of message. It might be flashing up pretty quick, but it will be there.
I take it from your message that you're using an older version of lilo (ie. pre gui startup (thus don't have to CTRL-X to see lilo:))?
It'd be nice if we could have a look through the .config if your kernel source so we can see what you've got as modules, and what you've got as compiled in..