Bug 1045790 - grub.cfg isn't updated after stage1 download prior to reboot and install
Summary: grub.cfg isn't updated after stage1 download prior to reboot and install
Keywords:
Status: CLOSED DUPLICATE of bug 864198
Alias: None
Product: Fedora
Classification: Fedora
Component: fedup
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-22 00:50 UTC by Chris Murphy
Modified: 2014-01-13 17:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-13 17:39:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
fedupdebug.log (331.56 KB, text/plain)
2013-12-22 00:51 UTC, Chris Murphy
no flags Details
grub.cfg (3.68 KB, text/plain)
2013-12-22 00:51 UTC, Chris Murphy
no flags Details
bash -x grub2-mkconfig (10.40 KB, text/plain)
2013-12-22 00:54 UTC, Chris Murphy
no flags Details

Description Chris Murphy 2013-12-22 00:50:27 UTC
Description of problem:
When updating a Fedora 19 install to Fedora 20, fedup executes and completes the download stage without errors, but does not reboot into the fedup upgrade environment. Inspection of the grub.cfg reveals a boot entry for System Update (fedup) is missing despite the fedupdebug.log indicating a boot entry has been added.

Version-Release number of selected component (if applicable):
fedup-0.8.9-3.fc19.

How reproducible:
Always

Steps to Reproduce:
1. UEFI Fedora 19 install using installation to Btrfs with boot, root, home as subvolumes (all Btrfs installation), using netinst.iso
2. yum install fedup
3. fedup --network 20 --debuglog fedupdebug.log

Actual results:
fedup reports: Finished. Reboot to start upgrade. I reboot, and there is no fedup boot option in the GRUB menu (attached grub.cfg).

Expected results:
There should be a fedup option in the GRUB menu.

Additional info:
Does fedup leverage grubby to alter the grub.cfg?

-v -d indicates nothing additional from fedupdebug.log

fedup.sysprep INFO: adding new boot entry

Clearly this is bogus, it's not actually doing this successfully.

Comment 1 Chris Murphy 2013-12-22 00:51:10 UTC
Created attachment 840238 [details]
fedupdebug.log

Comment 2 Chris Murphy 2013-12-22 00:51:23 UTC
Created attachment 840239 [details]
grub.cfg

Comment 3 Chris Murphy 2013-12-22 00:54:01 UTC
Work around:
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

This finds /boot/vmlinuz-fedup and /boot/initramfs-fedup.img, creates an entry and the system is updatable.

Comment 4 Chris Murphy 2013-12-22 00:54:38 UTC
Created attachment 840240 [details]
bash -x grub2-mkconfig

Comment 5 Seppo Yli-Olli 2014-01-12 22:37:08 UTC
FWIW afaik /boot on Btrfs subvolume isn't a supported configuration. Please see https://bugzilla.redhat.com/show_bug.cgi?id=864198. This kind of installations are now impossible with Anaconda

Comment 6 Seppo Yli-Olli 2014-01-12 22:40:39 UTC
Uh, correction to earlier: this kind of installations are impossible with F20 version of Anaconda. Potentially the F19 version might be lacking the fix that makes this impossible. Doesn't make it any more supported though.

Comment 7 Chris Murphy 2014-01-12 23:10:44 UTC
If fedup uses grubby to alter grub.cfg, then the likely problem is bug 864198. If so this bug will be fixed with that bug is fixed.

Comment 8 Will Woods 2014-01-13 17:39:47 UTC
Yes, fedup uses grubby (via new-kernel-pkg), so this is the same problem as bug 864198.

*** This bug has been marked as a duplicate of bug 864198 ***


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