LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-08-2013, 03:02 PM   #16
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330

There is one additional location you should check, although it's unlikely that the settings here are the problem:
Code:
$ ls /usr/lib/dracut/dracut.conf.d
01-dist.conf

$ cat /usr/lib/dracut/dracut.conf.d/01-dist.conf 
# dracut config file customized for RedHat/Fedora.

# i18n
i18n_vars="/etc/sysconfig/keyboard:KEYTABLE-KEYMAP /etc/sysconfig/i18n:SYSFONT-FONT,FONTACM-FONT_MAP,FONT_UNIMAP"
omit_drivers+=' .*/fs/ocfs/.*  i2o_scsi'
stdloglvl=3
logfile=/var/log/dracut.log
fileloglvl=6
install_items+=" vi /etc/virc ps grep cat rm "
prefix="/"
systemdutildir=/usr/lib/systemd
systemdsystemunitdir=/usr/lib/systemd/system
systemdsystemconfdir=/etc/systemd/system
udevdir=/usr/lib/udev
add_dracutmodules+=" systemd "
hostonly="yes"
dracut_rescue_image="yes"
N.B.: This is from a Fedora 19 setup, but I don't think that it's any different from the F18 file.
 
Old 04-18-2013, 10:19 AM   #17
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current, custom kernel, amd64, Beyond LinuxFromScratch
Posts: 130
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Thanks for the help, but /etc/dracut.conf.d has contained those files since Feb. Methinks the problem might be the POSTIN script in the kernel*rpm. It invokes /sbin/new-kernel-pkg with a now-illegal command option. It no longer likes "--package kernel". I don't know enough about rpm to figure out what happens next, but the initramfs file it creates is probably the default one. It can't even find the ext4 boot partition containing grub. With ext4.ko and lvm.ko built into the kernel, /lib/modules in the initramfs image doesn't contain those. Perhaps if /lib/modules/`uname -m`/kernel/drivers/ata, which is easily found in /lib/modules/`uname -m`/modules.block, it may have a chance, but the initramsfs has to be as small as possible so it fits in /proc/meminfo/MemTotal. I don't know, maybe parse /proc/mounts for boot and root, maybe get the device names from /etc/fstab?

[Please accept my humble apology. I suffer from what the docs classify as a serious illness, which apparently affects my patience. I know everyone tried to help without all of the facts necessary to effectively triage this issue. For that, I am indeed grateful.]
 
Old 04-18-2013, 02:03 PM   #18
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Well the sbin/new-kernel-pkg file is a shell script, so you could just edit it so it would do the right thing with the unexpected argument.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to boot into linux rescue mode without installation media? veeruk101 Linux - Newbie 3 07-18-2011 11:23 PM
Boot Error + GRUB + Rescue Mode najeebsyed2 Linux - Software 9 11-01-2007 09:08 AM
Debian rescue mode: Kernel panic manudath Linux - Software 0 02-16-2005 12:25 PM
How to boot into rescue mode with 2.4 (alt1) lewisdw Mandriva 0 08-08-2004 12:58 PM
Boot only to Rescue Mode: Filesystem Problems JZL240I-U Linux - General 9 07-12-2004 04:28 AM


All times are GMT -5. The time now is 12:54 PM.

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