Re: Another kernel panic after preupgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 11 Nov 2010 21:55:05 +0100
oekopez@xxxxxx wrote:
 
> Does it make anything clear? 

What I notice is strange about your grub.conf is that you have no
initrd in the default boot entry (the Fedora F14 kernel).  This seems
wrong, as the system will have no way of booting.  And it doesn't exist
in your boot partition (no initramfs), so you can't just add the line.

> title Fedora (2.6.35.6-48.fc14.x86_64)
> 	root (hd0,0)
> 	kernel /vmlinuz-2.6.35.6-48.fc14.x86_64 ro
> root=/dev/mapper/vg_fb09c2-lv_root rd_LVM_LV=vg_fb09c2/lv_root
> rd_LVM_LV=vg_fb09c2/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM
> LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc
> KEYTABLE=de rhgb quiet

I'm not sure how you can use dracut to create one unless the system is
actually running.  And you can't reinstall the kernel to pick up the
original initramfs without the system actually running either.  It seems
the upgrade left you high and dry.  Maybe someone more knowledgeable
than me will be able to think of a way to create the initramfs.  There 
used to be a program called mkinitrd but I think it is obsolete as of 
F14.

Here is a sample command that you could run with dracut to generate a
custom initramfs named dracut-<kernel version>.  Run in /boot.

/sbin/dracut -f -H -v --debug dracut-2.6.35.6-48.fc14.x86_64.img 2.6.35.6-48.fc14.x86_64 > dracut_output 2>&1

It writes the output of the process to the file dracut_output in the
current directory.
You would then reference this file in an initrd line in the grub.conf
file.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux