Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've just finished installing Arch Linux on a virtual machine and, until now, everything is working, including grub. However, when I boot the OS, an error message relating to grub appears, but it disappears so fast that I am not able to read it.

The bootloader works as intended, but obviously there is something wrong. Is there a way I can check what problems there are?

share|improve this question

3 Answers 3

You can pause GRUB by pressing the Pause (Break) key on your keyboard. Resume with Return ⏎.

To pause the output when the error is displayed, press Return ⏎ followed by Pause repeatedly until the error is displayed.

share|improve this answer
    
Very helpful. Was a bit hard to get the timing, but after few tries I "freezed" the error message. And the error was... a missing locale just like @Ernestas suggested (file '/grub/locale/pt.gmo' not found). Thank you both. –  noisebleed Jan 2 at 13:04

dmesg will unlikely show anything related to GRUB. Though, my best guess is that you are having a missing locale error. Try running:
sudo cp /usr/share/locale/en@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
sudo gunzip /boot/grub/locale/en.mo
sudo cp /boot/grub/locale/en@quot.mo /boot/grub/locale/en_US.mo

Sources: https://bugs.archlinux.org/task/29043
https://bbs.archlinux.org/viewtopic.php?pid=1075065#p1075065

share|improve this answer

The error is very likely logged either to one of the system logs (by way of the syslog daemon), to the kernel log (reviewed using dmesg), or both.

I would try dmesg | less first to review the kernel log (you can use / to initiate a search).

If that does not turn up anything, turn to the system logs in /var/log. I'm not sure which exact file this would be on Arch, but something along the lines of grep -rHi grub /var/log/* | less should get you started.

If neither of these turn up anything useful, with a bit of trickery you may be able to set up a serial console. That is a very different question and quite frankly not likely to be needed, but if you need to, despite its age you may find that the remote serial console howto provides some insights.

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.