LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 01-06-2012, 12:20 AM   #1
temp2012temp
LQ Newbie
 
Registered: Jan 2012
Posts: 11

Rep: Reputation: Disabled
Where can I find initramfs-2.6.41.4-1.fc15.i686.img or how can I generate one


After upgrading the kernel,I restart the computer.When I choose the new kernel vision,I met a problem below:
kernel panic -not syncing:vfs:unable to mount root fs on unknown block(0,0)

I can't find
"initrd /initramfs-2.6.41.4-1.fc15.i686.img"
in my /etc/grub.conf.

And there is no /boot/initramfs-2.6.41.4-1.fc15.i686.img in my computer.
Where can I find initramfs-2.6.41.4-1.fc15.i686.img or how can I generate one.


Here is my /etc/grub.conf:

splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.41.4-1.fc15.i686)
root (hd0,2)
kernel /vmlinuz-2.6.41.4-1.fc15.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
title Fedora (2.6.38.6-26.rc1.fc15.i686)
root (hd0,2)
kernel /vmlinuz-2.6.38.6-26.rc1.fc15.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.38.6-26.rc1.fc15.i686.img
title Other
rootnoverify (hd0,0)
chainloader +1
 
Old 01-06-2012, 05:46 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,779

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
With this goolge search :
Quote:
how to generate initrd for fedora
turns up this link- http://www.ibm.com/developerworks/li...trd/index.html

The command you need is 'mkinitrd'. You need to read the details, its not hard to do.

This link is from Fedora doc - http://fedoraproject.org/wiki/Dracut

Last edited by camorri; 01-06-2012 at 05:49 AM. Reason: Added another link.
 
Old 01-06-2012, 06:56 AM   #3
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu
Posts: 1,175

Rep: Reputation: 219Reputation: 219Reputation: 219
mkinitrd has been superceeded by dracut. You;; need to boot using the old kernel and run a command similar to the following (be sure to substitute your kernel version in the appropriate places; I'm using 64-bit Rawhide)
Code:
dracut -H initramfs-3.2.0-0.rc6.git0.1.fc17.x86_64.img 3.2.0-0.rc6.git0.1.7.x86_64
man dracut for details
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] FC15 preupgrade failue on java-1.5.0-gcj-javadoc-1.5.0.0-35.fc15.i686 gkasica Linux - Software 1 05-29-2011 06:17 AM
problem wiht creating initrd (initramfs.img) file using dracut Crackel Linux - Kernel 0 10-26-2010 06:19 PM
Looking for script to generate isolinux/initrd.img Skaperen Slackware 19 05-31-2009 09:32 AM
initramfs cannot find lvm root partition mgrant Linux - General 1 01-23-2009 07:12 PM
Boot cant find initramfs caleb star Linux - Kernel 4 06-13-2007 07:57 AM


All times are GMT -5. The time now is 03:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration