Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
1  
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

2 Answers 2

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

 
discard

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.