FS#29847 - [grub2-bios] grub-install broken with 1:2.00beta4-1

Attached to Project: Arch Linux
Opened by Sébastien Luttringer (seblu) - Friday, 11 May 2012, 18:24 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 14 May 2012, 17:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

grub-install doesn't works since beta4-1 upgrade.

archibal ~ # grub-install /dev/sda
source_dir doesn't exist. Please specify --target or --directory

Additional info:
* package version(s): 1:2.00beta4-1
Step to reproduce:

archibal ~ 1 # pacman -Qi grub2-bios
Name : grub2-bios
Version : 1:2.00beta4-1
URL : http://www.gnu.org/software/grub/
Licenses : GPL3
Groups : None
Provides : None
Depends On : grub2-common=1:2.00beta4
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 2488.00 KiB
Packager : Ronald van Haren <ronald@archlinux.org>
Architecture : i686
Build Date : Sun 22 Apr 2012 04:33:16 PM CEST
Install Date : Fri 11 May 2012 08:18:11 PM CEST
Install Reason : Explicitly installed
Install Script : No
Description : The GNU GRand Unified Bootloader version 2 - Built for i386 PC BIOS
archibal ~ # grub-install /dev/sda
source_dir doesn't exist. Please specify --target or --directory
archibal ~ 1 # pacman -U grub2-bios-1:2.00beta3-1-i686.pkg.tar.xz grub2-common-1:2.00beta3-1-i686.pkg.tar.xz
loading packages...
warning: downgrading package grub2-bios (1:2.00beta4-1 => 1:2.00beta3-1)
warning: downgrading package grub2-common (1:2.00beta4-1 => 1:2.00beta3-1)
resolving dependencies...
looking for inter-conflicts...

Targets (2): grub2-bios-1:2.00beta3-1 grub2-common-1:2.00beta3-1

Total Installed Size: 14.58 MiB
Net Upgrade Size: -0.32 MiB

Proceed with installation? [Y/n]
(2/2) checking package integrity [###################################] 100%
(2/2) loading package files [###################################] 100%
(2/2) checking for file conflicts [###################################] 100%
(2/2) checking available disk space [###################################] 100%
(1/2) upgrading grub2-common [###################################] 100%
(2/2) upgrading grub2-bios [###################################] 100%
archibal ~ # grub-install /dev/sda
Installation finished. No error reported.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 14 May 2012, 17:17 GMT
Reason for closing:  Not a bug
Additional comments about closing:  read the comment
Comment by Keshav Amburay (the.ridikulus.rat) - Sunday, 13 May 2012, 07:04 GMT
No. grub-install is not broken. You are wrong. Go read the wiki fully. There's no assumption in grub-install that just running "grub-install /dev/sda" means you are trying to install grub2-bios and not any other platform (grub2-efi-x86_64 or grub2-efi-i386 etc.).

Loading...