You are not logged in.

#1 2014-06-05 23:42:43

Otsdarva
Member
From: Newark, NJ
Registered: 2014-06-03
Posts: 18

[Solved] Grub not displaying menu, error messages from grub-mkconfig

Hi I'm new

I have (or rather, am trying to setup) a dual boot with Windows 8.1 and Arch, with each OS on separate SSDs.

Windows 8.1 already installed, Arch installation (seems to have) has gone smoothly. However, when I remove the installation usb, and try to boot, I get a command line prompt:

 grub >_ 

...instead of a menu. I tried typing 'boot', but got 'you need to load the kernel first'. So I cannot access my arch installation without chrooting (or knowing how to compile the kernel in the command line, which I could not find after a lot of searching)

I followed the documentation in the Beginner's Guide and the GRUB page for installing and configuring GRUB. This is UEFI (grub2), not BIOS (grub legacy).

pacman -S grub efibootmgr
grub-install --target=x86S64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck

No error messages. I also installed os-prober for kicks. When I went to generate the config file (as recommended for beginners), I got a torrent of what I interpreted to be error messages, not just copacetic output:

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

resulted in:

click this link for error messages
(sorry about the image. I had to shutdown and reboot into my windows partition, since I still can't arch it up. If any/all of you have a better way to reproduce output and feel it pertinent, I'm all ears)

so upon exiting chroot and rebooting, grub boots up to the above effect; no menu is displayed. And I am sad panda.

Background Information:
Partition scheme:
/dev/sda1 - BIOS boot partition (I didn't read carefully, lol)
/dev/sda2 - EFI System Partition - mounted to /mnt/boot when chrooting in
/dev/sda3 - Root partition - mounted to /mnt/ when chrooting in
/dev/sda4 - Home partition - mounted to /mnt/home when chrooting in

The installation and configuration described above was done in chroot with the above partition scheme

I originally had issues booting into UEFI mode with the arch iso (written to a usb stick for the initial install). The boot would hang at 'triggering uevents'. I ultimately fixed this by pressing 'e' in the bootloader menu (also grub, I believe) and prepended

linux /boot/vmlinux-linux root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff nomodeset nouveau.modeset=0

It then (successfully triggered uevents? and) booted normally

ALSO:
This is a custom built pc.
Hardware:
intel i7 4930K
ASUS Sabertooth X79 mobo
ASUS GTX 780 Ti gpu
ballistix sport DDR3 RAM (4 x 8 GB)
3 x 128 GB SSD (ADATA P900)
1 x 2 TB HDD (Toshiba, 7200 rpm)

Hey, if you made it to the bottom of this post, I really appreciate you taking the time out of your day. Thank you!

Last edited by Otsdarva (2014-06-09 03:22:25)


harryjhurley.com

Offline

#2 2014-06-07 21:20:01

Otsdarva
Member
From: Newark, NJ
Registered: 2014-06-03
Posts: 18

Re: [Solved] Grub not displaying menu, error messages from grub-mkconfig

Bump?

TL;DR - grub gives me a command prompt instead of a menu. When running grub-mkconfig, there is a huge number of error messages. I think there is something systemic at play here, as there cannot be that many problems with a fresh, by-the-book installation.


harryjhurley.com

Offline

#3 2014-06-07 21:23:38

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Grub not displaying menu, error messages from grub-mkconfig

This isn't a solution to your grub problem at all, but if you are going to use UEFI (and don't use a Thinkpad) maybe you should just use efistub and gummiboot.  It is stupid simple to set up, and works great.

Offline

#4 2014-06-07 21:35:23

Otsdarva
Member
From: Newark, NJ
Registered: 2014-06-03
Posts: 18

Re: [Solved] Grub not displaying menu, error messages from grub-mkconfig

I will look into that, thank you!


harryjhurley.com

Offline

#5 2014-06-08 00:07:03

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: [Solved] Grub not displaying menu, error messages from grub-mkconfig

Are you using LVM? The errors you posted seem to be about some LVM volume and then sdb, sdc and sdd. Could you post your grub.cfg?

Offline

#6 2014-06-09 03:26:12

Otsdarva
Member
From: Newark, NJ
Registered: 2014-06-03
Posts: 18

Re: [Solved] Grub not displaying menu, error messages from grub-mkconfig

I realized that since I was not using EFISTUB, I could not mount the ESP to /boot; it had to be /boot/efi. A quick remount-reinstall of grub, then rerunning grub-mkconfig solved the issue.

Also, regarding WonderWoofy's suggestion: I learned by trying gummiboot that for whatever reason the kernel hadn't compiled properly when I ran

pacstrap /mnt base base-devel

Fixed via

pacman -S linux

Thanks for your help, everybody!


harryjhurley.com

Offline

#7 2014-06-09 04:07:33

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Grub not displaying menu, error messages from grub-mkconfig

Just for the record.  I have the ESP mounted at /boot and have grub working just fine.  I use it as a backup in case efistub/gummiboot ever fails me.

Offline

Board footer

Powered by FluxBB