pandeiro / arch-on-air

Step by step of setting up Arch Linux on a Macbook Air 2013
302 stars 19 forks source link

pacman Grub install #5

Open toddpi314 opened 9 years ago

toddpi314 commented 9 years ago

When you run this off of the default image, it is likely that pacman needs to be updated to get the latest mirror list to find the efi package.

To resolve, update pacman packages on the live medium: pacman -Syu

toddpi314 commented 9 years ago

Open the pacman.conf file:

nano /etc/pacman.conf

If you are using 64 bit system you should go ahead and enable (un-comment) the “multilib” repo:

[multilib] Include = /etc/pacman.d/mirrorlist Then hit Ctrl+X and then type ‘y‘ when asked.

update the repositories by running this command:

pacman -Sy

pandeiro commented 9 years ago

@toddpi314 Thanks for these! I think they're helpful.

Would you mind putting them in a pull request so I can see where you'd want to include them?

bandali0 commented 9 years ago

@toddpi314 @pandeiro AFAIK, when you run pacstrap, it automatically updates the package database, so, I don't see why pacman -Syu would be necessary? Am I missing anything?

Also, again I don't see the necessity in enabling the multilib repo. Sure, the user would enable it whenever they need to install multilib packages, but most likely that won't be the case during installation, on a 2013 MacBook Air. Correct me if I'm wrong.

pandeiro commented 9 years ago

@aminb I don't think pacstrap actually does that; I think the line in question is here. Correct me if I'm wrong.

Re: multilib, I don't think it's necessary either. I often go a while before I realize I need it and enable. Maybe it's best left out, or mentioned as an aside but not a headline step.

bandali0 commented 9 years ago

@aminb I don't think pacstrap actually does that; I think the line in question is here. Correct me if I'm wrong.

@pandeiro Oh OK. I think I haven't had to do that so far, but I'll try it the next time I'm installing arch (either tonight or tomorrow) and see if I notice anything different.

Re: multilib, I don't think it's necessary either. I often go a while before I realize I need it and enable. Maybe it's best left out, or mentioned as an aside but not a headline step.

Yeah I think that's a good idea. We can have it as an aside or something in the end. Your call.