URL:
  <http://savannah.gnu.org/bugs/?41030>

                 Summary: grub-install does not check arguments for sanity
before proceeding
                 Project: GNU GRUB
            Submitted by: qwertial
            Submitted on: Sun 29 Dec 2013 09:20:19 PM GMT
                Category: Installation
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Git master
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

To reproduce: run

grub-install --target=i386-pc --verbose /dev/bull

and observe that it copies modules before even establishing that /dev/bull is
not an actual block device.

There's an opportunity for some "smart" behaviour here: for example, when
given a directory (instead of a device node) as the installation target
argument, GRUB could use it as if it were passed as --boot-directory, and
install itself to the underlying partition's disk. (For the mingw port,
specifying a drive letter in this way would be less awkward than using paths
like \\?\PhysicalDrive0.) But this is just a suggestion.

Also, grub-install could check whether a configuration file exists in the boot
directory, and prompt the user to create one (or just prompt unconditionally).




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41030>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to