Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanted to install Arch Linux on my netbook. I hadn't important files on my hard drive so I've created new partition table (GPT) using GParted from Fedora LiveCD. When I'm running

grub-mkconfig -o /boot/grub/grub.cfg

I get errors and my new system will not run from GRUB. How can I fix it? Is it a corrupted iso file? I'll add it isn't a problem with hard drive - before Arch, there was Ubuntu and Fedora.

share|improve this question
Have you installed arch? What errors do you get? How can we help if you don't even give us the error messages? Have you actually installed grub? – terdon Dec 31 '13 at 15:49

grub-mkconfig must be run once GRUB is installed, which is done by running :

grub-install /dev/sda # Adapt sda.

Tip : have a look at man pages synopsis for more information :

The Arch Wiki also details the installation process accurately :

You will also find GPT-specific instructions here :

share|improve this answer
Thanks, but I followed Beginners' Guide and I have installed GRUB. grub-install /dev/sda doesn't signal any errors. I have also installed os-prober. – enedil Dec 31 '13 at 17:12
Can you run grub-install with the --recheck option ? – John WH Smith Dec 31 '13 at 17:13
I actually ran it with --recheck option. – enedil Dec 31 '13 at 17:14
Are you in an Arch chroot when running grub-mkconfig ? Is the /boot partition/disk space available ? We might need more information... – John WH Smith Dec 31 '13 at 17:14
Yes, I'm in arch-chroot. My boot partition is mounted in /mnt/boot in host system. Boot partition - 512 MB. – enedil Dec 31 '13 at 18:54

Actually, the iso from last December (year 2013) was corrupted. Grub was corrupted. As Arch is a rolling release distro, most users haven't noticed it. Next iso solved this issue.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.