You are not logged in.

#1 2016-06-11 18:13:18

jess
Member
Registered: 2016-06-11
Posts: 10

[SOLVED]can't install grub

I'm setting up Arch on my Mac computer(configuring bootloader right now), and I'm following this tutorial.

But when I try "pacman -S grub-efi-x86_64" it returns this:

warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
error: target not found: grub-efi-x86_64

What should I do to install grub?

By the way, I rebooted by mistake after I installed Arch and set fstab etc. using these commands:

pacstrap /mnt base base-devel   
genfstab -p /mnt >> /mnt/etc/fstab
arch-chroot /mnt /bin/bash

Does it matter? Do I have to do these again? How can I check if I already have Arch installed?

Last edited by jess (2016-06-12 21:20:31)

Offline

#2 2016-06-11 18:57:30

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED]can't install grub

Don't follow random tutorials on the internet as they're likely to be both out-of-date and incorrect, you should always follow either the Beginner's Guide or the Installation pages from the Arch wiki.

Anyhow, your first issue is caused by never having updated pacman's databases. Fix this by doing a...

pacman -Syu

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2016-06-11 19:50:03

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED]can't install grub

In addition to the excellent Beginners' Guide referenced above, the wiki also has a page for Macbooks.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB