You are not logged in.
Pages: 1
I freshly installed arch but grub does not find Arch.
My fstab shows 2 entries for my /mnt, but I am not sure if I should change anything. It has the appropriate /boot partition.
My lsblk -f does not show any label for the root partition l, is that a problem?
EDIT: I had forgotten the
mkinitcpio -P
command
Last edited by Nucleo (2024-11-12 05:31:40)
Offline
have you generated a config with grub-mkconfig after installing grub with grub-install?
Offline
have you generated a config with grub-mkconfig after installing grub with grub-install?
Yep realised I didn't do it the first time, rebooted into live iso and made the config
Installed os-prober and everything
Offline
and - does it work now?
Offline
and - does it work now?
No, I was saying that before posting I did it, but still no arch.
Offline
Which kernel did you install? Is the image for it at /boot?
Online
Which kernel did you install? Is the image for it at /boot?
Don't know rn, I am reinstalling arch from scratch, if the problem remains will tell.
For future reference, how to find out kernel?
Offline
Well you chose it and told pacstrap to install it, so you should know it.
Online
I am reinstalling arch from scratch,
although this is a valid option I used for years to fix broken windows installs is difficult to help fixing a boot issue if you trash the system
also: for me your reply read as you hadn't generated a config before my reply and did so after it - I misunderstood you meant you alread had done - in whoch case my next reply would had been: does the generated config list a section for arch?
Offline
Nucleo wrote:I am reinstalling arch from scratch,
although this is a valid option I used for years to fix broken windows installs is difficult to help fixing a boot issue if you trash the system
also: for me your reply read as you hadn't generated a config before my reply and did so after it - I misunderstood you meant you alread had done - in whoch case my next reply would had been: does the generated config list a section for arch?
I had forgotten the mkinitcpio command last time, that does in fact copy the iso to /boot, the first time, only realised it after reinstalling and encountering the step. i will mark as solved after editing.
Offline
Well you chose it and told pacstrap to install it, so you should know it.
i did the normal
pacstrap -K base linux-firmware
as suggested by the docs.
Offline
you should read more carefully:
Use the pacstrap(8) script to install the base package, Linux kernel and firmware for common hardware:
pacstrap -K /mnt base linux linux-firmware
[...]
Creating a new initramfs is usually not required, because mkinitcpio was run on installation of the kernel package with pacstrap.
so the actual mistake was not you hadn't run mkinitcpio but not listing a kernel in the pacstrap command
Offline
pacstrap -K base linux-firmware
as suggested by the docs.
What docs say that?
I had forgotten the mkinitcpio command last time, that does in fact copy the iso to /boot, the first time, only realised it after reinstalling and encountering the step. i will mark as solved after editing.
No, it doesn't. Nothing copies the iso to /boot at all, and a hook copies the kernel image there, not running mkinitcpio.
Online
Pages: 1