bugGNU GRUB - Bugs: bug #7210, grub-install hd0 (without...

 
 

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

bug #7210: grub-install hd0 (without parentheses)

Submitted by:  Egmont Koblinger <egmont>
Submitted on:  Mon 12 Jan 2004 07:12:34 PM UTC  
 
Category: User InterfaceSeverity: Major
Priority: 5 - NormalItem Group: Feature Request
Status: FixedPrivacy: Public
Assigned to: Yoshinori K. Okuji <okuji>Originator Name: 
Open/Closed: ClosedRelease: 0.93
Release: NoneReproducibility: Every Time
Planned Release: None

Sun 18 Jan 2004 07:46:47 PM UTC, comment #1:

It's a good idea. I applied your patch and added an example into the manual. Thank you.

Yoshinori K. Okuji <okuji>
Project AdministratorIn charge of this item.
Mon 12 Jan 2004 07:12:34 PM UTC, original submission:

I've found that many novice users find it too complicated to type grub-install "(hd0)" or similar.
It's trivial to modify grub-install to add missing parentheses (as currently it refuses everything that does not match /dev/* and \([hf]d[0-9]*\). I think this would be
nice to have in mainstream grub.

--- grub-0.93.orig/util/grub-install.in
+++ grub-0.93/util/grub-install.in
@@ -233,6 +233,8 @@
fi ;;
\([hf]d[0-9]*\))
install_drive="$install_device" ;;
+[hf]d[0-9]*)
+ install_drive="($install_device)" ;;
*)
echo "Format of install_device not recognized." 1>&2
usage

Egmont Koblinger <egmont>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 18 Jan 2004 07:46:47 PM UTCokujiStatusNone=>Fixed
  Assigned toNone=>okuji
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1