Bug 928093 - Problematic bootloader config when kickstart specifies multiple kernels
Summary: Problematic bootloader config when kickstart specifies multiple kernels
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-26 21:16 UTC by John Florian
Modified: 2013-04-23 03:44 UTC (History)
6 users (show)

Fixed In Version: livecd-tools-19.2-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-23 03:44:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
extlinux.conf (as created) with two kernel choices, but no default (3.40 KB, text/plain)
2013-03-26 21:16 UTC, John Florian
no flags Details
isolinux.cfg as per request in comment #1. (3.32 KB, text/plain)
2013-03-27 13:10 UTC, John Florian
no flags Details
patch (1.23 KB, patch)
2013-03-28 23:31 UTC, Brian Lane
no flags Details | Diff

Description John Florian 2013-03-26 21:16:10 UTC
Created attachment 716733 [details]
extlinux.conf (as created) with two kernel choices, but no default

Description of problem:
My kickstart for livecd-creator contains

%packages
kernel.i686
kernel-PAE.i686
# kernel.x86_64

When I transfer the resultant image over to a CompactFlash card formatted with ext3 with livecd-iso-to-disk, the extlinux.conf does have the two kernel entries configured, but:

* both are labeled as PAE when one in fact is PAE and the other is not
* no menu label is marked as a default (with 'menu default'), so the 3 second timeout for automatic procession becomes an infinite way for a user to make a selection


Version-Release number of selected component (if applicable):
livecd-tools-18.14-1.fc18.x86_64

How reproducible:
always


Expected results:
Ideally, I would be able to specify on the cmd-line which kernel is to be the default, or at least the non-PAE kernel initially.

Additional info:
I'm trying to produce a Fedora Live spin for embedded deployment which has both kernels aboard so that I can use a single spin on a variety of hardware, some of which has PAE and some which doesn't.  My goal was to boot without PAE (safest) and somewhere early in the boot process detect if PAE is available.  If so, reconfigure extlinux.conf to change the default and reboot.  Ideally I could also support kernel.x86_64 too, but I cannot seem to get livecd-creator to find and install that package despite having i386 and x86_64 repositories configured in the kickstart.

I've attached the extlinux.conf that results.

Comment 1 Brian Lane 2013-03-27 00:36:36 UTC
Please attach isolinux.cfg from the iso, livecd-iso-to-disk just modifies what livecd-creator creates.

Comment 2 John Florian 2013-03-27 13:10:35 UTC
Created attachment 717062 [details]
isolinux.cfg as per request in comment #1.

Comment 3 John Florian 2013-03-27 15:02:03 UTC
(In reply to comment #1)
> livecd-iso-to-disk just modifies what livecd-creator creates.

I was unaware of that fact, but it is quite apparent now; thanks for the info.  

I've diff'ed the two files and it appears that the faults (or design choices, if that's the case) can be found in livecd-creator itself.  I don't see where livecd-iso-to-disk did anything unexpected.

Comment 4 Brian Lane 2013-03-28 23:31:54 UTC
Created attachment 717889 [details]
patch

Comment 5 John Florian 2013-04-01 15:13:45 UTC
(In reply to comment #4)
> Created attachment 717889 [details]
> patch

I applied this patch to my installed python-imgcreate-18.14-1.fc18.x86_64 and can confirm that:
 * the two extlinux menu options are now labeled distinctly and correctly
 * the first menu entry is the default and proceeds automatically after the 3s timeout expires

Thanks Brian!

With respect to the desire to also incorporate a kernel.x86_64 into an otherwise 32-bit spin, should I file a separate bug report for that?  It seems that livecd-tools does not honor the arch tag of a package name in the kickstart file as does yum.  See also bug #124456 (kickstart %packages should support name.arch package inputs).

Comment 6 Brian Lane 2013-04-01 16:44:09 UTC
Different problems should be different bugs.

Comment 7 Fedora Update System 2013-04-03 18:00:14 UTC
livecd-tools-19.2-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/livecd-tools-19.2-1.fc19

Comment 8 Fedora Update System 2013-04-03 18:06:07 UTC
livecd-tools-18.15-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/livecd-tools-18.15-1.fc18

Comment 9 Fedora Update System 2013-04-03 18:08:07 UTC
livecd-tools-17.16-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/livecd-tools-17.16-1.fc17

Comment 10 Fedora Update System 2013-04-05 02:53:15 UTC
Package livecd-tools-19.2-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing livecd-tools-19.2-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-4856/livecd-tools-19.2-1.fc19
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2013-04-23 00:26:18 UTC
livecd-tools-17.16-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2013-04-23 00:28:09 UTC
livecd-tools-18.15-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2013-04-23 03:44:58 UTC
livecd-tools-19.2-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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