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

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Unable to boot after updating to kernel-3.1.4-1 in fedora 16
# 1  
Old 12-07-2011
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:
Code:
set root=(hd0,msdos3)
linux /vmlinuz-3.1.4-1.fc16.x86_64
initrd /initramfs-3.1.4-1.fc16.x86_64.img

but in the middle of booting it shows something like kernel panic and stops. I tried this with previous kernel (3.1.2-1) but it shows the same output. here is my grub.cfg:
Code:
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}


set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (3.1.4-1.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos3)'
    search --no-floppy --fs-uuid --set=root 41a4bc4d-ff84-4666-a75f-6addb3b7db59
    echo 'Loading Fedora (3.1.4-1.fc16.x86_64) ...'
    linux    /vmlinuz-3.1.4-1.fc16.x86_64 root=UUID=ba8be145-4880-47d2-8fdf-7115d33c59df ro rd.md=0 rd.lvm=0 rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-3.1.4-1.fc16.x86_64.img
menuentry 'Fedora (3.1.2-1.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos3)'
    search --no-floppy --fs-uuid --set=root 41a4bc4d-ff84-4666-a75f-6addb3b7db59
    echo 'Loading Fedora (3.1.2-1.fc16.x86_64) ...'
    linux    /vmlinuz-3.1.2-1.fc16.x86_64 root=UUID=ba8be145-4880-47d2-8fdf-7115d33c59df ro rd.md=0 rd.lvm=0 rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-3.1.2-1.fc16.x86_64.img
}
submenu "Xen 4.1.2" {
menuentry 'Fedora Linux, with Xen 4.1.2 and Linux 3.1.4-1.fc16.x86_64' --class fedora --class gnu-linux --class gnu --class os --class xen {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos3)'
    search --no-floppy --fs-uuid --set=root 41a4bc4d-ff84-4666-a75f-6addb3b7db59
    echo    'Loading Xen 4.1.2 ...'
    multiboot    /xen-4.1.2.gz placeholder
    echo    'Loading Linux 3.1.4-1.fc16.x86_64 ...'
    module    /vmlinuz-3.1.4-1.fc16.x86_64 placeholder root=UUID=ba8be145-4880-47d2-8fdf-7115d33c59df ro rd.md=0 rd.lvm=0 rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
    echo    'Loading initial ramdisk ...'
    module    /initramfs-3.1.4-1.fc16.x86_64.img
}
menuentry 'Fedora Linux, with Xen 4.1.2 and Linux 3.1.4-1.fc16.x86_64 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os --class xen {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos3)'
    search --no-floppy --fs-uuid --set=root 41a4bc4d-ff84-4666-a75f-6addb3b7db59
    echo    'Loading Xen 4.1.2 ...'
    multiboot    /xen-4.1.2.gz placeholder
    echo    'Loading Linux 3.1.4-1.fc16.x86_64 ...'
    module    /vmlinuz-3.1.4-1.fc16.x86_64 placeholder root=UUID=ba8be145-4880-47d2-8fdf-7115d33c59df ro single rd.md=0 rd.lvm=0 rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
    echo    'Loading initial ramdisk ...'
    module    /initramfs-3.1.4-1.fc16.x86_64.img
}
}
submenu "Xen syms-4.1.2" {
menuentry 'Fedora Linux, with Xen syms-4.1.2 and Linux 3.1.4-1.fc16.x86_64' --class fedora --class gnu-linux --class gnu --class os --class xen {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos3)'
    search --no-floppy --fs-uuid --set=root 41a4bc4d-ff84-4666-a75f-6addb3b7db59
    echo    'Loading Xen syms-4.1.2 ...'
    multiboot    /xen-syms-4.1.2 placeholder
    echo    'Loading Linux 3.1.4-1.fc16.x86_64 ...'
    module    /vmlinuz-3.1.4-1.fc16.x86_64 placeholder root=UUID=ba8be145-4880-47d2-8fdf-7115d33c59df ro rd.md=0 rd.lvm=0 rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
    echo    'Loading initial ramdisk ...'
    module    /initramfs-3.1.4-1.fc16.x86_64.img
}
menuentry 'Fedora Linux, with Xen syms-4.1.2 and Linux 3.1.4-1.fc16.x86_64 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os --class xen {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos3)'
    search --no-floppy --fs-uuid --set=root 41a4bc4d-ff84-4666-a75f-6addb3b7db59
    echo    'Loading Xen syms-4.1.2 ...'
    multiboot    /xen-syms-4.1.2 placeholder
    echo    'Loading Linux 3.1.4-1.fc16.x86_64 ...'
    module    /vmlinuz-3.1.4-1.fc16.x86_64 placeholder root=UUID=ba8be145-4880-47d2-8fdf-7115d33c59df ro single rd.md=0 rd.lvm=0 rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
    echo    'Loading initial ramdisk ...'
    module    /initramfs-3.1.4-1.fc16.x86_64.img
}
}
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" --class windows --class os {
    insmod part_msdos
    insmod ntfs
    set root='(hd0,msdos1)'
    search --no-floppy --fs-uuid --set=root 0064D65C64D653CE
    drivemap -s (hd0) ${root}
    chainloader +1
}

Could anyone help?
------------------------------------------------
[Edit]
However I I tested now, I can boot windows with:
Code:
set root=(hd0, msdos1)
chainloader +1
boot

------------------------------------------------
[Edit]
Here is the screenshot:
Image

---------- Post updated 2011-12-08 at 02:00 AM ---------- Previous update was 2011-12-07 at 01:17 PM ----------

I asked this problem in ask.fedoraproject.org. They told me to add kernel parameters:
Code:
root=UUID=ba8be145-4880-47d2-8fdf-7115d33c59df ro rd.md=0 rd.lvm=0  rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0  LANG=en_US.UTF-8

After booting I ran grub2-mkconfig to regenerate grub.cfg. Now boot menu shows and all OSes booting perfectly.

Last edited by majid.merkava; 12-07-2011 at 11:13 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. Red Hat

Redhat Cluster updating kernel setting

hello, I was going through clustering documentation for Redhat, it says "Enable IP Aliasing support in the kernel by setting the CONFIG_IP_ALIAS kernel option to y. When specifying kernel options, under Networking Options, select IP aliasing support", I knew I should update /etc/sysctl.conf with... (1 Reply)
Discussion started by: bobby320
1 Replies

3. Red Hat

Kernel can not boot after upgrade on Fedora OS 15.

Hello, everyone. I am using Fedora 15, and want to upgrade to version 16. I follow the official link Upgrading Fedora using yum - FedoraProject to upgrade my OS by the following command: yum update kernel* --releasever=16 yum groupupdate Base --releasever=16 reboot After reboot, OS... (2 Replies)
Discussion started by: 915086731
2 Replies

4. 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

5. Red Hat

Unable to boot Fedora 10

Hello, I have a test PC running Fedora 10. Friday evening it was working fine, I have some perl scripts which are scheduled to run every morning. But when I started work this morning, I found I cannot ping the machine. When I switched on the monitor, I saw the GRUB promt :(. I am not sure... (10 Replies)
Discussion started by: SivaramaRaju
10 Replies

6. Solaris

Solaris 10 - Unable to boot the system "panic: cannot open /kernel/amd64/unix"

Hi All, I have installed Solaris 10 on my AMD 64 3000+ system. I was playing with grub commands eeprom and bootadm commands. I screwed my boot-file and now am unable to boot the system. Gets error msg as "panic: cannot open /kernel/amd64/unix". I booted the system is filesafe and tried update the... (2 Replies)
Discussion started by: Manjunath K V
2 Replies

7. 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

8. 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

9. Linux

Updating my kernel...GULP

Lol I wanna update my kernel so i can have the newest latest greatest wonderful stuff that i cna get. I've got a couple questions first! Where do i d/l the new version, How do i set it up, will i lose any inormating upon being successful or even if i royaly screw up for tha tmatter...lol. Right... (9 Replies)
Discussion started by: byblyk
9 Replies
Login or Register to Ask a Question