Bug 1158035 - Could not determine the kernel command line parameters. Please specify the kernel command line in /etc/kernel/cmdline!
Summary: Could not determine the kernel command line parameters. Please specify the ke...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-28 11:41 UTC by Richard W.M. Jones
Modified: 2019-09-27 08:17 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-07 03:16:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1745346 0 unspecified CLOSED "DNF error: Error in POSTTRANS scriptlet in rpm package kernel-core" installing VM on KVM 2021-02-22 00:41:40 UTC

Description Richard W.M. Jones 2014-10-28 11:41:24 UTC
Description of problem:

systemd/src/kernel-install/90-loaderentry.install

If /proc/cmdline exists but is empty (which apparently is the case
when building live CDs in Koji), then creation of the initrd fails
with:

Could not determine the kernel command line parameters.
Please specify the kernel command line in /etc/kernel/cmdline!

The error is clear enough, but it's not fixable because:

(1) You can't create this file before doing the install in
a kickstart, and

(2) The file would be empty anyway.

Anyway, why is this even a bug?  Just allow the boot options
to be empty.

Here is the full build if you want to take a look:

http://koji.fedoraproject.org/koji/taskinfo?taskID=7959633

Version-Release number of selected component (if applicable):

Fedora 21 buildroot.
For specific versions see the 'root.log' file in
http://koji.fedoraproject.org/koji/taskinfo?taskID=7959633

How reproducible:

100% in F21 and Rawhide.

Steps to Reproduce:

You won't be able to do this unless you've been granted
special koji permissions.  However the command is:
koji spin-livecd --scratch virt-p2v 1.29.2 rawhide x86_64 p2v.ks
or
koji spin-livecd --scratch virt-p2v 1.29.2 f21-build x86_64 p2v.ks

Actual results:

Live CD doesn't boot, because no initrd is created.


Note You need to log in before you can comment on or make changes to this bug.