Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th December 2011, 09:50 AM
merkava's Avatar
merkava Offline
Registered User
 
Join Date: Jul 2010
Location: Tabriz, Iran
Age: 23
Posts: 75
linuxfirefox
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:
__________________
Best Regards
MERKAVA

Last edited by merkava; 7th December 2011 at 03:15 PM.
Reply With Quote
  #2  
Old 7th December 2011, 05:35 PM
Dimer Offline
Registered User
 
Join Date: Dec 2011
Posts: 1
linuxfirefox
Re: Unable to boot after updating to kernel-3.1.4-1 in fedora 16

I get Kernel Panic too
Reply With Quote
  #3  
Old 7th December 2011, 10:25 PM
AdamW's Avatar
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,761
linuxfirefox
Re: Unable to boot after updating to kernel-3.1.4-1 in fedora 16

dimer: your problem looks like something different.

merkava: you have to pass a root= kernel parameter (on the 'linux /boot/vmlinuz blah blah' line) to tell dracut where the system root partition is, or it'll never manage to start up right. if you look at your grub.cfg, you can see this parameter:

root=UUID=ba8be145-4880-47d2-8fdf-7115d33c59df

so try adding that to your hand-boot attempt.
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #4  
Old 7th December 2011, 10:26 PM
merkava's Avatar
merkava Offline
Registered User
 
Join Date: Jul 2010
Location: Tabriz, Iran
Age: 23
Posts: 75
windows_xp_2003firefox
Re: Unable to boot after updating to kernel-3.1.4-1 in fedora 16

yes I changed the kernel parameters, and it boots. after that I use grub2-mkconfig to regenerate grub.cfg
__________________
Best Regards
MERKAVA
Reply With Quote
Reply

Tags
boot, fedora, kernel1, unable, updating

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
removing old and updating new kernel can't boot on X surfino Using Fedora 8 14th November 2011 11:28 AM
[SOLVED] Unable to boot after kernel upgrade DoulbeG Using Fedora 2 11th September 2011 11:50 AM
After updating fedora 12, new kernel wont boot! jacklortz Using Fedora 2 16th March 2010 06:39 PM
Unable to boot with new kernel Bert Ragnarok Using Fedora 7 29th December 2008 11:52 PM
Unable to boot kernel 2.6.24 on my ps3 Jblank0 Mac Chat 2 8th February 2008 01:48 AM


Current GMT-time: 03:48 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat