FS#38053 - [grub] missing file on install
Attached to Project:
Arch Linux
Opened by Christian Hesse (eworm) - Saturday, 07 December 2013, 21:06 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 21 December 2013, 20:51 GMT
Opened by Christian Hesse (eworm) - Saturday, 07 December 2013, 21:06 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 21 December 2013, 20:51 GMT
|
Details
Description:
Updated to latest grub package, now installing grub to disk fails: # grub-install /dev/sda grub-install: error: cannot open `/usr/lib/grub/i386-pc/gpt.mod': No such file or directory. Additional info: grub 1:2.00.1282.g5ae5c54-1 System ist x86_64, installed to a GPT partitioned disk. |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Saturday, 21 December 2013, 20:51 GMT
Reason for closing: Fixed
Additional comments about closing: 2.02-beta1
Saturday, 21 December 2013, 20:51 GMT
Reason for closing: Fixed
Additional comments about closing: 2.02-beta1
# grub-install --recheck /dev/sdb
grub-install: error: cannot open `/usr/lib/grub/i386-pc/msdos.mod': No such file or directory
This was working a few days ago.
Edit 0: This is not a GPT system, it's a plain old BIOS layout (both in terms of firmware and partitioning). But I have the same problem, just s/gpt\.mod/msdos.mod/
Edit 1: As a stupid workaround, I did cd /usr/lib/grub/i386-pc/; ln -s part_msdos.mod msdos.mod; and it helped, i.e., GRUB installed itself and my machine survived a reboot. That's not a permanent solution, but it might come in handy if you desperately need to install GRUB right here right now.
ln -s part_gpt.mod gpt.mod
Now grub installs, but the system doesn't boot:
It says something like:
Module part_gpt.mod already loaded.
Aborted. Press any key to exit...
http://git.savannah.gnu.org/cgit/grub.git/commit/?id=f585c905054b8c74e6e0a67341e84accfb816912
I've build my package with the attached patch. It also fixes two other bugs currently open.