You are not logged in.

#1 2018-04-08 19:12:30

Batbat
Member
Registered: 2018-04-08
Posts: 2

[SOLVED] In GRUB Shell, unable to boot into arch.

I just tried my first arch install and after figuring a few things out I have it installed, however, GRUB boots into the command shell when I launch my PC. I think this is due to forgetting to enable microcode updates, but I'm not sure.
The process I went through to install grub was first mounting the EFI file, then running this # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub command. Currently I'm in the grub command shell (not rescue) and don't know how to proceed.
I have an nvme SSD and I'm dual booting windows 10 with arch, however I may have broken the windows ten boot loader if that info is helpful.
Thanks.

Last edited by Batbat (2018-04-09 01:09:31)

Offline

#2 2018-04-08 19:14:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] In GRUB Shell, unable to boot into arch.

Did you configure grub?

Offline

#3 2018-04-08 19:23:37

Batbat
Member
Registered: 2018-04-08
Posts: 2

Re: [SOLVED] In GRUB Shell, unable to boot into arch.

Actually I don't think I did. Is there anyway I could get into arch from the grub shell so I can do that?

Offline

#4 2018-04-08 20:22:19

CLFAS
Member
Registered: 2014-04-13
Posts: 61

Re: [SOLVED] In GRUB Shell, unable to boot into arch.

Boot from your installation media, mount your /mnt & /boot directories etc. the same as you did for installation e.g. mount /dev/sdax /mnt.

Then you need to change root: arch chroot /mnt

Then go from here: https://wiki.archlinux.org/index.php/GR … ation_file


Apples?

Offline

#5 2018-04-08 23:23:28

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: [SOLVED] In GRUB Shell, unable to boot into arch.

Alternatively, in the GRUB shell:

# Find the / and /boot partitions,
# the latter being the EFI partition in your case.
ls                # List available partitions.
ls (hdX,gptY)[/]  # List a partition's information [files].

# Let (hdA,gptB) be the /boot partition and /dev/sdxY the / partition.
set root=(hdA,gptB)
linux /vmlinuz-linux root=/dev/sdxY rw
initrd [/intel-ucode.img] /initramfs-linux.img

As an example, (hd0, gpt1) translates to /dev/sda1.
However, in my case, GRUB labels my only disk as hd1, while Arch
recognizes it as /dev/sda.

Note that the paths are relative to the /boot partition's root. I.e. if
there was no separate boot partition, paths would change.

Last edited by respiranto (2018-04-08 23:41:33)

Offline

#6 2018-04-09 00:55:40

amish
Member
Registered: 2014-05-10
Posts: 470

Re: [SOLVED] In GRUB Shell, unable to boot into arch.

To @batbat: Just wanted to point out to you that forgetting microcode update in grub.conf will not be cause of stuck system. It will run with older (embedded) microcode. Hence you may want to change the title of this thread.

Last edited by amish (2018-04-09 00:56:36)

Offline

Board footer

Powered by FluxBB