- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Kernel upgrade not bootable
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
Forums
Discussions
Discussions
Discussions
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
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
04-19-2002 09:10 AM
04-19-2002 09:10 AM
make dep
make bzImage
make modules
cp bzImage to the boot partition
make modules_install
edit the lilo.conf file and add the lines to boot from the new kernel as well as the old.
run the lilo command
reboot
when I choose the new kernel it starts to uncompress the kernel then immediately reboots. Any help or suggestions would be greatly appreciated. (I chose linux2.4.16 so I could use the lids patch and enable lids support but right now I am just trying to get the kernel to work.)
I will assign points to all helpful replies so don't be shy.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2002 11:20 AM
04-19-2002 11:20 AM
Re: Kernel upgrade not bootable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2002 03:39 PM
04-19-2002 03:39 PM
Re: Kernel upgrade not bootable
Did you make a new initrd for the Kernel, did you ensure that the sysmap was properly created and installed?
Mark.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2002 08:31 PM
04-19-2002 08:31 PM
Re: Kernel upgrade not bootable
Mark - I did create the initrd image (even though I am not using any scsi devices) and that went fine. The kernel doesn't log anything since it reboots after displaying the uncompressing vmlinuz-2.4.16 .............. at the beginning of the boot. As far as the sysmap goes. I ran a diff on the working kernel's sysmap.h file and the new kernel's sysmap.h file and there was no difference what-so-ever. Other than that I don't know what to run.
Don't worry, I haven't forgottoen about points, I am waiting until I get this resolved and I will assign them accordingly. Thanks for the help so far.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2002 01:00 PM
04-21-2002 01:00 PM
SolutionI would suggest that you start with a RH .config file from the RH kernel-source RPM. The RH kernel source RPM includes a "configs" directory which contains the ".config"s used to build the RH kernel RPM's.
Pick the config file that matches your current kernel and architecture (see NOTE below) & copy that file to your new source directory and name it ".config". Then run "make oldconfig". This will quickly go through the existing ".config" and prompt for any new options which may have been added. Answer any new questions appropriately.
Now you can continue on with your "make *config", "make dep", etc. You should end-up with a bootable kernel.
-chuck
NOTE: I have a system to figure out exactly which config file matches the running kernel, but its too complicated to post here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 10:42 AM
04-22-2002 10:42 AM
Re: Kernel upgrade not bootable
FYI - I tried the other suggestions with not much luck. I decided to try the most recent stable kernel 2.4.18 and that one actually starts to boot, but stops when it tried to run init. It says that there is no init found and passing init= to kernel. Any idea why this would be happening? sounds like it can't access the disk or something to me, but that is only a guess since I haven't seen this error before.
Thanks for the help so far. ( I am posting points to the first two replies since I have tried their suggestions already)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 07:22 AM
04-29-2002 07:22 AM
Re: Kernel upgrade not bootable
sorry for dropping in like that, but..
what chuck described in his last post is what does it for me!!! i also had a problem with booting new 2.4.18 kernel, like you, jeffrey, and i followed the instructions and DONE! it was that my compiler, for no reason whatsoever, choose i686 arch for pentuim 133 - my netserver lc, instead of i586, like kernel 2.2.16 ran on!!
regards, himba
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 08:13 AM
04-29-2002 08:13 AM
Re: Kernel upgrade not bootable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 03:50 AM
05-07-2002 03:50 AM
Re: Kernel upgrade not bootable
could you mail some info on how to match up the running kernel with a .config file (I.e. extract the config out the kernel if possible)
Rgds Jarle