Bug 885284 - grub is not installed in an all defaults autopart installation, system not bootable
Summary: grub is not installed in an all defaults autopart installation, system not bo...
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F18Blocker, F18FinalBlocker
TreeView+ depends on / blocked
Reported: 2012-12-08 06:31 UTC by Chris Murphy
Modified: 2013-10-31 12:02 UTC (History)
10 users (show)

Fixed In Version: anaconda-18.37.2-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-12-15 03:17:18 UTC
Type: Bug

Attachments (Terms of Use)
anaconda.log (9.47 KB, text/plain)
2012-12-08 06:38 UTC, Chris Murphy
no flags Details
anaconda.program.log (78.99 KB, text/plain)
2012-12-08 06:39 UTC, Chris Murphy
no flags Details
anaconda.storage.log (133.69 KB, text/plain)
2012-12-08 06:40 UTC, Chris Murphy
no flags Details

System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 916529 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 916529

Description Chris Murphy 2012-12-08 06:31:02 UTC
Description of problem:
grub is not installed to the MBR and MBR gap in a normal autopart installation. Resulting system it not bootable.

Version-Release number of selected component (if applicable):
Fedora-18-TC1-x86_64-Live-Desktop.iso with anaconda 18.37-1 from koji

How reproducible:

Steps to Reproduce:
1. Started with a single blank virtual disk image. 
2. Proceed with an all defaults autopart installation.
3. Reboot upon successful completion.
Actual results:
System is not bootable.
MBR boot loader region contains garbage, not GRUB code; MBR gap is empty.

Expected results:
A bootable system.

Additional info:

Comment 1 Chris Murphy 2012-12-08 06:38:29 UTC
Created attachment 659749 [details]

Comment 2 Chris Murphy 2012-12-08 06:39:47 UTC
Created attachment 659750 [details]

Comment 3 Chris Murphy 2012-12-08 06:40:32 UTC
Created attachment 659751 [details]

Comment 4 Chris Murphy 2012-12-08 06:43:37 UTC
program.log is missing a grub2-install, grub2-mkconfig, etc. entries.

storage.log bogus claim: 01:13:58,924 INFO storage: user specified that bootloader install be skipped

anaconda.log: 01:19:02,896 INFO anaconda: Installing bootloader

Comment 5 Steve Tyler 2012-12-08 08:14:18 UTC
Confirmed. Installed system hangs at:
Booting from Hard Disk...

Tested with:
$ qemu-img create f18-test-1.img 12G
$ qemu-kvm -m 2048 -hda f18-test-1.img -cdrom ~/xfr/fedora/F18/F18-Final/TC1/Fedora-18-TC1-x86_64-Live-Desktop.iso -usb -vga qxl -boot menu=on -usbdevice mouse

Updated anaconda on Live CD from koji: 
Information for build anaconda-18.37-1.fc18
ID	371688

Installed with default storage configuration:
Click Installation Destination.
Click Done.
Click Begin Installation.

Comment 6 Steve Tyler 2012-12-08 09:09:03 UTC
A workaround is to toggle installing the bootloader off and then on:

Click Installation Destination.
Click Full disk summary and options...
Click ATA QEMU HARDDISK to select.
Click Do not install bootloader.
Click Set as Boot Device.
Click Close.
Click Done.
Click Begin Installation.

Comment 7 Kamil Páral 2012-12-11 14:37:51 UTC
Confirmed with smoke5. Happens for uninitialized disks. Proposing as blocker.

Comment 8 Fedora Update System 2012-12-12 00:54:14 UTC
anaconda-18.37.1-1.fc18 has been submitted as an update for Fedora 18.

Comment 9 Adam Williamson 2012-12-12 17:27:19 UTC
Discussed at 2012-12-12 blocker review meeting: http://meetbot.fedoraproject.org/fedora-bugzappers/2012-12-12/f18final-blocker-review-4.2012-12-12-17.01.log.txt . Accepted as a blocker per criterion "In most cases, a system installed according to any of the above criteria must boot to the 'firstboot' utility on the first boot after installation, without unintended user intervention, unless the user explicitly chooses to boot in non-graphical mode..."

Comment 10 Fedora Update System 2012-12-12 20:41:04 UTC
Package anaconda-18.37.2-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.37.2-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 11 Chris Murphy 2012-12-12 22:44:30 UTC
anaconda-18.37.2-1.fc18 fixes this bug for me. Grub is installed.

Comment 12 Adam Williamson 2012-12-13 01:22:20 UTC
smoke6 seems fine for me too, I got grub.

Comment 13 Fedora Update System 2012-12-15 03:17:21 UTC
anaconda-18.37.2-1.fc18 has been pushed to the Fedora 18 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.