[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #41030] grub-install does not check arguments for sanity before pro
From: |
INVALID.NOREPLY |
Subject: |
[bug #41030] grub-install does not check arguments for sanity before proceeding |
Date: |
Sun, 29 Dec 2013 21:20:20 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 |
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 #41030] grub-install does not check arguments for sanity before proceeding,
INVALID.NOREPLY <=