Sponsored Content
Operating Systems Linux Red Hat Kernel can not boot after upgrade on Fedora OS 15. Post 302577075 by getrue on Monday 28th of November 2011 06:55:31 AM
Old 11-28-2011
You must boot your machine with rescue mode.
1- boot with fedora cd.
2- write "linux rescue"
3- run "chroot /mnt /sysimage "
After than you can control your kernel command with
Code:
#cat /boot/grub/grub.conf

I wish you didn't use update command If you used only install command you can see old and new kernel version. I think you have only one kernel version.
at grub.conf file "default" parameter is your currently running kernel version.

You try to run ssh or telnet command. If your ssh or telnet is running and if you know your old kernel version. You download your kernel rpm file and copy it to your machine by another linux machine with scp command. Install your kernel using with
Code:
#rpm -ivh kernelxxxxx.rpm

After installation you can see installed kernel into the /boot/grub/grub.conf
You can set as default new kernel using default parameter 0 or 1.
If you delete # character near of the hiddenmenu. You can see all kernel and you can choose desired kernel.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Linux Kernel upgrade

Hi everyone, I am trying to have a second kernel in my Red hat 2.4.18. I downloaded the 2.4.9 version and did all the extract and stuff. when I run the command make bzImage I get the following error: devlist.h:6931: __devices_b1b3 causes a section type conflict > devlist.h:6934:... (1 Reply)
Discussion started by: bashirpopal
1 Replies

2. Red Hat

How to upgrade kernel form 2.4 to 2.6

Hello, How to upgrade kernel from 2.4 to 2.6. Currently i am using rhel3 i want to upgrade it to 2.6 Please provide me the steps. Prashant (1 Reply)
Discussion started by: prashant_ohol
1 Replies

3. Linux

Dual Boot Win XP And Fedora with Fedora Installed First

Hi everyone, I hope this question goes here. Anyways, I have a unique situation where my friend's comp has Fedora installed and wants to add Win XP as a dual boot without formatting the drive. Is it possible to create a partition on the current hard drive and then install win xp? I couldn't find... (4 Replies)
Discussion started by: eltinator
4 Replies

4. Linux

Compile new kernel in Fedora 5

Hi All, I try to compile new kernel in FC5. New kernel version - 2.6.20.21 Operating System - Fedora 5 I have followed these steps, make menuconfig make make modules make modules_install make install Then i have changed the grub.cong and reboot the system with new kernel. The... (0 Replies)
Discussion started by: viveksnv
0 Replies

5. Red Hat

How to properly install kernel in fedora 10?

Hello and thank you for looking into my question. Well my question is quite straight forward. I am trying to install the latest kernel ( from kernel.org under mainline directory ). But strange error messages are coming up. Can someone please guide me through steps how did you install kernel in... (2 Replies)
Discussion started by: lynxys
2 Replies

6. Red Hat

fedora grub help, moving to tri boot (XP, ubuntu, fedora soemething)

I will shortly be adding a fedora flavor to my devel box. I currently have XP (installed first on an ssd), ubuntu 10.04 (installed second on the first partition of a platter drive), and I want to add either Cent or SL on the second partition of the platter drive. I will probably also want to... (0 Replies)
Discussion started by: LMHmedchem
0 Replies

7. Red Hat

Unable to boot after updating to kernel-3.1.4-1 in fedora 16

hi guys, I was using kernel-3.1.2-1 in fedora 16. then updated to kernel-3.1.4-1. after reboot now grub shows command prompt instead of boot menu. i tried to load manually with: set root=(hd0,msdos3) linux /vmlinuz-3.1.4-1.fc16.x86_64 initrd /initramfs-3.1.4-1.fc16.x86_64.imgbut in the middle... (0 Replies)
Discussion started by: majid.merkava
0 Replies

8. Solaris

LU upgrade for kernel

Hi Guys, I am getting into patching activity now a days. I had already done kernel upgrade through LU. My doubt is if i had to install 3 patches to get my system to current available patch level, can i directly patch one by one on an inactive LU and once done i can activate it later on or... (3 Replies)
Discussion started by: Rockyc3400
3 Replies

9. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies

10. Red Hat

Kernel Upgrade

Dear All , I want upgrade my kernel version from kernel-2.6.18-164.el5 to kernel-2.6.18-199.el5. We have RED HAT Linux Server Red Hat Enterprise Linux Server release 5.4 (Tikanga). Kindly let me know where we can download this particular RPM. if we want to download from RHN , pl let... (0 Replies)
Discussion started by: jegaraman
0 Replies
update-grub(8)						      System Manager's Manual						    update-grub(8)

NAME
update-grub - program to generate GRUB's menu.lst file SYNOPSIS
update-grub DESCRIPTION
update-grub is a program used to generate the menu.lst file used by the grub bootloader. It works by looking in /boot for all files which start with "vmlinuz-". They will be treated as kernels, and grub menu entries will be created for each. It will also create the initial menu.lst if none exists, after prompting the user. It will also add initrd lines for ramdisk images found with the same version as kernels found. e.g. /boot/vmlinuz-2.4.5 and /boot/initrd-2.4.5 will cause a line of "initrd=/boot/initrd-2.4.5 or similar to be added for the ker- nel entry in the menu.lst. After update-grub has been run for the first time, the user is required to edit the generated menu.lst. The user must set the two options update-grub uses. Then re-run the update-grub script to update the menu.lst file using the default's that have been set. These are the options passed to the linux kernel: # kopt=root=/dev/hda1 ro Everything after "kopt=" is passed to the kernel as parameters. See bootparam(7) for more information. This is the grub device from which grub loads the kernel: # groot=(hd0,1) (hd0,1) is a partition in grub notation. See grub(8) for more information. This option controls if grub should create the alternative boot options in the menu entries # alternative=true # alternative=false This option controls if grub should lock the alternative boot options see grub(8) for more information. # lockalternative=true # lockalternative=false This option controls if grub should lock the old kernels. # lockold=true # lockold=false This options controls what is used for the alternative boot options, multiple altoptions lines are allowed. # altoptions=(some description) some kernel command line options # altoptions=(recovery option) single The description is placed in '()' and the kernel command line options follow that. # updatedefault=true # updatedefault=false This option controls if grub should update the default entry to keep booting the same kernel even if a new one is installed. The update-grub script can be ran automagically from the /etc/kernel-img.conf file by adding the following lines: postinst_hook = update-grub postrm_hook = update-grub do_bootloader = no For further information related to /etc/kernel-img.conf, see the manpage kernel-img.conf(5). SEE ALSO
grub(8), grub-install(8), kernel-img.conf(5) (contained in the kernel-package package), bootparam(7). The full documentation for grub is maintained as a Texinfo manual in the grub-legacy-doc package. If the info and grub programs are prop- erly installed at your site, the command info grub should give you access to the complete manual. AUTHOR
This manual page was written by Jason Thomas <jason@debian.org>, for the Debian GNU/Linux system (but may be used by others). Jason Thomas June 18, 2001 update-grub(8)
All times are GMT -4. The time now is 10:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy