You are not logged in.
hi. i install arch linux and every time i catch minimal bash like grub when i boot up.
i have a uefi system and i partition the disk as follows:
/dev/sda1 - efi partition - 512mb
/dev/sda2 - root partition - about 500gb
Then I format and mount the partitions according to the installation guide:
#mkfs.fat -F32 /dev/sda1
#mkfs.ext4 /dev/sda2
#mount --mkdir /dev/sda1 /mnt/boot/efi
#mount /dev/sda2 /mnt
Then I install the base system:
#pacstrap -K /mnt base linux linux-firmware
#genfstab -U /mnt >> /mnt/etc/fstab
chroot to /mnt:
#arch-chroot /mnt
And set up the system according to the guide. At the end of it I will install grub:
#pacman -S grub efibootmgr
#grub-install --target=x86-64-efi --bootloader-id=Arch --efi-directory=/boot/efi
The output says no errors reported.
#reboot
I get a minimal bash-like grub after rebooting. can you tell me what i am doing wrong?
Last edited by xtr4pr00t (2023-03-30 13:21:39)
Offline
You missed configuring grub.
Offline
You missed configuring grub.
i forgot to add:
i do
grub-mkconfig
or is this command alone not enough?
Offline
Is that what the wiki says to do?
Offline
Is that what the wiki says to do?
I realized my mistake, thank you. I reread the grub article on wiki and realized that I had entered
grub-mkconfig
before, but this command just outputs the generated config to the terminal, but does not write the output to /boot/grub/grub.cfg, so I could not boot into the system. thank you so much again!
Offline