You are not logged in.

#1 2015-03-05 17:16:00

lightstream
Member
From: Britain
Registered: 2011-10-30
Posts: 69

[SOLVED] Booting UEFI SSD drops me out at Grub Command Line

I've got a new motherboard and SSD that I'm trying to move my Arch install onto and booting it with UEFI. The SSD is setup with the required 512 Mb FAT32 UEFI system partition, and the remainder is set as an ext4 partition.

The ext4 partition contains my old Arch installation copied over with rsync.

Using an Arch install USB, I've chrooted into the system on the SSD and installed Grub. To do this I mounted the UEFI system partition at /boot and ran:

# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub_uefi --recheck
# grub-mkconfig -o /boot/grub/grub.cfg

Now when I boot on the SSD, I get dumped straight into the Grub command line. So I think the SSD is at least booting, but Grub isn't configured correctly. Trying to run Grub from here doesn't do anything (besides clearing the screen):

grub> configfile (hd1,gpt1)/grub/grub.cfg

Could it be something to do with my partitions? I manually created the system partition and ext partition with gdisk - I've since read some references to a back-up partition required by UEFI that should be the last partition on disk. I'm completely new to UEFI though, and not sure if that is correct.

Last edited by lightstream (2015-03-05 19:38:01)

Offline

#2 2015-03-05 19:37:34

lightstream
Member
From: Britain
Registered: 2011-10-30
Posts: 69

Re: [SOLVED] Booting UEFI SSD drops me out at Grub Command Line

So I solved the problem - because I'd manually created the boot partition, there were no kernel images in it, so grub didn't detect any OS and didn't add entries to the boot menu.

Solving it was as easy as chrooting into the SSD from my live USB stick, and re-installing linux:

pacman -S linux

Offline

Board footer

Powered by FluxBB