bugGNU GRUB - Bugs: bug #41031, mingw: bad defaults for...


You are not allowed to post comments on this tracker with your current authentication level.

bug #41031: mingw: bad defaults for grub-install

Submitted by:  <qwertial>
Submitted on:  Sun 29 Dec 2013 10:02:52 PM UTC  
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release: 
Release:  Git master Reproducibility:  Every Time
Planned Release:  2.03+

Wed 02 Mar 2016 12:45:49 PM UTC, comment #1:

Let's make --boot-directory mandatory on windows

Vladimir Serbinenko <phcoder>
Project Administrator
Sun 29 Dec 2013 10:02:52 PM UTC, original submission:

Current default option values make grub-install put GRUB files into the \boot\grub directory at the root of whichever drive letter grub-install happens to be run from. This may come as an unpleasant surprise to the user: the installation could fail with a confusing "disk `hostdisk/\\\\?\\Z:' not found" message (when e.g. Z: is a drive-mapped network share), or the user could unwittingly perform a cross-disk install.

A good default for --boot-directory could be "%SYSTEMDRIVE%\" (which usually would be "C:\", so that GRUB puts itself into "C:\grub"), although there may be better alternatives.

Or perhaps there should be no default on the platform at all, and grub-install should always demand specifying both --boot-directory and the boot device.



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by qwertial (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-05 phcoder Planned Release2.02 => 2.03+
    2016-03-02 phcoder Planned ReleaseNone => 2.02

    Back to the top

    Powered by Savane 3.3