You are not logged in.

#1 2020-11-14 12:34:12

milomak
Member
Registered: 2009-11-04
Posts: 61

kernel panic - most likely uefi related

so i follwed the installation guide and came to this point

Choose and install a Linux-capable boot loader. If you have an Intel or AMD CPU, enable microcode updates in addition. 

i had turned uefi off to load the iso from my disk via grub2

i mounted my boot vfat partition to /boot/efi, installed grub and ran the command that it says you must run

thing is, when i boot the arch in legacy mode, it sends me to rootfs.

when i try load it in uefi, it just hangs. the longest i've left it is just over 5 minutes

the grub entry is this

menuentry 'Arch Linux (on /dev/nvme0n1p7)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-fc83279f-36a0-41de-a426-d6575d366467' {
        insmod part_gpt
        insmod ext2
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root  fc83279f-36a0-41de-a426-d6575d366467
        else
          search --no-floppy --fs-uuid --set=root fc83279f-36a0-41de-a426-d6575d366467
        fi
        linux /boot/vmlinuz-linux root=UUID=fc83279f-36a0-41de-a426-d6575d366467 rw loglevel=3 quiet
        initrd /boot/amd-ucode.img
}

https://i.imgur.com/KCFNDUr.png

# ls -lah /dev/disk/by-uuid/fc83279f-36a0-41de-a426-d6575d366467
lrwxrwxrwx 1 root root 15 Nov 14 12:52 /dev/disk/by-uuid/fc83279f-36a0-41de-a426-d6575d366467 -> ../../nvme0n1p7

moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2020-11-14 13:32:45)

Offline

#2 2020-11-15 23:20:21

milomak
Member
Registered: 2009-11-04
Posts: 61

Re: kernel panic - most likely uefi related

i had to chroot into this arch install from my debian install

main-pc ~ # mount /dev/nvme0n1p7 /mnt/disk/
main-pc ~ # cd /mnt/disk/
main-pc disk # mount -t proc /proc proc/
main-pc disk # mount --rbind /sys sys/
main-pc disk # mount --rbind /dev dev/
main-pc disk # mount --rbind /run run/
main-pc disk # cp /etc/resolv.conf etc/resolv.conf
main-pc disk # chroot /mnt/disk/ /bin/bash

then i follow this - https://wiki.archlinux.org/index.php/Sy … ng_loaders

[root@main-pc /]# bootctl install
Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/efi/EFI/systemd/systemd-bootx64.efi".
Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/efi/EFI/BOOT/BOOTX64.EFI".
Random seed file /efi/loader/random-seed successfully written (512 bytes).
Created EFI boot entry "Linux Boot Manager".

not able to load

Offline

Board footer

Powered by FluxBB