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

Submitter:  <qwertial>
Submitted:  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:  Git master
Release:  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>
Group 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.

<qwertial>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-3230.
    Corresponding source code