Bug 1033550 - add option to install grub without stage 1/1.5
Summary: add option to install grub without stage 1/1.5
Keywords:
Status: CLOSED DUPLICATE of bug 886502
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-22 11:11 UTC by David Jaša
Modified: 2014-12-09 21:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-09 21:59:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Jaša 2013-11-22 11:11:14 UTC
Description of problem:
It' quite easy to launch grub2 from another grub2:
menuentry "F20 Grub" {
    ### just e.g., the /boot on partition case is even simpler
    insmod lvm
    set root=(vg_name-lv_with_fedora)
    ### grub2 may be also built as linux binary
    ### in that case replace "multiboot" with "linux"
    multiboot /boot/grub2/i386-pc/core.img
}
such setup has advantage of more OSs not messing up with each other bootloader but in order to be actually useful, anaconda would have to:
1) install grub physically in /boot
2) not to touch actual boot sector and stage 1.5 space

This bug purpose is to get effectively the same what was achieved in the past by grub installation to partition and chainloading the partition from master grub - but unlike that method, executing grub2 from another grub2 in the way outlined above is clean so anaconda shouldn't have troubles implementing it

The only problem I see is communicating this option in UI so that users who want it can see it. Maybe the options could form somehow a logical tree:
* install bootloader to boot sector of the disk (default)
* do not setup the bootloader
    * install the bootloader to /boot but do not set the computer up to use it
    * do not install bootloader at all
 

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

How reproducible:
always

Steps to Reproduce:
1. try to install bootloader without stage 1 and 1.5
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 David Shea 2014-12-09 21:59:40 UTC
This can now be achieved by using "inst.nombr" in the boot parameters or "--nombr" in the kickstart bootloader command. grub-install is executed with --grub-setup=/bin/true.

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


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