You are not logged in.

#1 2023-04-11 14:25:29

gabtram
Member
Registered: 2023-04-11
Posts: 54

[Solved]After fresh install can't see archlinux on grub index

Hi to all,

this is mt first post here. So Hello I'm Gabriele.
I started to think about using Archlinux after reading many comments about how powerfull is about audio editing. So instaling arch linux is the base to arrive here: https://wiki.archlinux.org/title/Professional_audio

I'm a newbie in Arch, but i'm a web content worker and usually works with ubuntu and centos in the past.

Now this is my first time to try linux from zero. I followed this: https://wiki.archlinux.org/title/Installation_guide
I think correctly but sure i made some mistake.
After instalaltino and rebooting i can see in the grub menu only the options to choose uefi firmware settings.
I know i'm sorry this will the 100th post about this issue. But i swear i read many posts but can'understand how to fix it.

I followed the instructions to crfeate the right filesystem

/dev/sda1/ size 550m EFI system
/dev/sda2 size 2g linux swap
/dev/sda3 linux fs

I have secure boot and legacy mode disabled in bios right now.

So retried many times to reinstall grub, initramfs and so on but i think i made a mess!

So first is this better to format all and restart from the beggning? How in this case?
Can i recover grub installation?

How can i send me the output of hte command directly to my email so i can post it here?

Last edited by gabtram (2023-04-11 15:06:28)

Offline

#2 2023-04-11 14:28:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,742

Re: [Solved]After fresh install can't see archlinux on grub index

Where are you mounting these partitions? With the partitions mounted like you think they are correct from a chroot what output do you get from

fdisk -l
lsblk -f
mount
efibootmgr -uv
cat /boot/grub/grub.cfg

https://wiki.archlinux.org/title/List_o … n_services

Offline

#3 2023-04-11 14:53:18

gabtram
Member
Registered: 2023-04-11
Posts: 54

Re: [Solved]After fresh install can't see archlinux on grub index

Hi,

v1del.
Thanks for you fast reply. I didn't ever use ix.io to directly post from shell!
Is superusefull!Thanks!
But could i delete the post after?

So i run on archiso:

I mount

mount /dev/sda3 /mnt
mount /dev/sda1 /mnt/boot
arch-chroot /mnt

Then i run commands
Here are my output

Fdsik: http://ix.io/4tbX
Lsblk: http://ix.io/4tbZ
mount: http://ix.io/4tc1
efibootmgr: http://ix.io/4tc4
grub.cfg: http://ix.io/4tc5


Thanks too much!
Gabriele

Offline

#4 2023-04-11 14:55:46

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

Re: [Solved]After fresh install can't see archlinux on grub index

What kernel did you install? Did you mount sda1 BEFORE running pacstrap?

Online

#5 2023-04-11 14:58:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,742

Re: [Solved]After fresh install can't see archlinux on grub index

This suggests that either no kernel is installed, or if it was installed you installed it before deciding to mount your ESP to /boot. Try an explicit

pacman -S linux linux-firmware

from this current position, followed by a

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

Offline

#6 2023-04-11 15:05:07

gabtram
Member
Registered: 2023-04-11
Posts: 54

Re: [Solved]After fresh install can't see archlinux on grub index

Hi,

thnaks so much!
You're brilliant!
I launch also these commands but i made mistake cause i was the usign wrong path to create the grub config file!

Thanks!
Now i will install the X Server fro the gui and the other tool to use pipewire cause i'm very courious to try!
Gab

Offline

Board footer

Powered by FluxBB