You are not logged in.

#1 2023-03-30 13:15:29

xtr4pr00t
Member
Registered: 2023-03-30
Posts: 4

minimal bash like grub when booting after installation

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

#2 2023-03-30 13:19:18

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,453

Re: minimal bash like grub when booting after installation

You missed configuring grub.

Offline

#3 2023-03-30 13:24:35

xtr4pr00t
Member
Registered: 2023-03-30
Posts: 4

Re: minimal bash like grub when booting after installation

Scimmia wrote:

You missed configuring grub.

i forgot to add:
i do

grub-mkconfig

or is this command alone not enough?

Offline

#4 2023-03-30 13:30:20

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,453

Re: minimal bash like grub when booting after installation

Is that what the wiki says to do?

Offline

#5 2023-03-30 13:37:22

xtr4pr00t
Member
Registered: 2023-03-30
Posts: 4

Re: minimal bash like grub when booting after installation

Scimmia wrote:

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

Board footer

Powered by FluxBB