You are not logged in.

#1 2025-01-01 23:35:11

splinter
Member
Registered: 2025-01-01
Posts: 3

After first Install Grub doesent start as expected

Hi Guys,

i followed this guide:https://wiki.archlinux.org/title/Installation_guide#Boot_loader

In Section 3.8 it tolds me: "Choose and install a Linux-capable boot loader."

So i watched a few YouTube-Videos, tryed my best, but after rebooting my Laptop I only saw:

GNU GRUB version 2:2.12-3
Minimal BASH-like line editing is supported...........
grub> _


Here is what i have done during installation:

loadkeys de-latin1
setfont ter-132b
iwctl
    device list
    station wlan0 scan
    station wlan0 get-networks
    station wlan0 connect Chaos
    exit
timedatectl

fdisk -l
fdisk /dev/nvme0n1
    n
    p
    1
    " "
    +2G
    n
    p
    2
    " "
    +32G
    n
    p
    3
    " "
    " "
    w
mkfs.fat -F 32 /dev/nvme0n1p1
mkswap /dev/nvme0n1p2
mkfs.ext4 /dev/nvme0n1p3

mount /dev/nvme0n1p3 /mnt
mount --mkdir /dev/nvme0n1p1 /mnt/boot
swapon /dev/nvme0n1p2

nano /etc/pacman.d/mirrorlist
pacstrap -K /mnt base linux linux-firmware
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt

-------------------------------------------------------

ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
date
hwclock --systohc
pacman -S nano
nano /etc/locale.gen
    ...richtigen kommentarzeichen entfernen
locale-gen
nano /etc/locale.conf
    LANG=de_DE.UTF-8
nano /etc/vconsole.conf
    KEYMAP=de-latin1
nano /etc/hostname
    ny
mkinitcpio -P
passwd
groupadd sudo
useradd -m -G sudo -s /bin/bash splinter
passwd splinter
pacman -S sudo
EDITOR=nano visudo
    Kommentarzeichen bei "%sudo ALL=(ALL:ALL) ALL" entfernen.
pacman -S networkmanager iwd
systemctl enable NetworkManager
systemctl enable iwd

pacman -S grub efibootmgr
grub-install --target=x86_64-efi --efi-directory=/boot

exit
umount -a
reboot


i am quite shure that for an expirienced user it might be a quiet stupid mistake... but i dont get the point... maybe someone can give me a hint what i have done wrong.

thanks

Offline

#2 2025-01-01 23:44:28

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: After first Install Grub doesent start as expected

Looks like you forgot to generate grub.cfg. I did the exact same thing myself the first time I installed Arch. Took me _weeks_ to figure out what was wrong big_smile

EDIT: use the ArchWiki rather than YouTube. The GRUB page is very good.

Last edited by Head_on_a_Stick (2025-01-01 23:45:23)


Jin, Jîyan, Azadî

Offline

#3 2025-01-02 13:04:52

splinter
Member
Registered: 2025-01-01
Posts: 3

Re: After first Install Grub doesent start as expected

thanks

looked at the wiki

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

done smile

Offline

Board footer

Powered by FluxBB