You are not logged in.
Pages: 1
Topic closed
Hi!
I'm following the Beginners' Guide. This is my /boot/loader/entries/arch.conf:
title Arch
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=/dev/sda1 rw
So, when I reboot and try to boot the hd, it returns this error: Error loading \vmlinuz-linux: Not found. I tried to overwrite to /boot/vmlinuz-linux, without success. What have I forgotten to do?
Thanks
Last edited by Uchiha (2013-11-10 13:51:12)
Linux user #519886
Offline
That is not really enough information to help you.
Offline
Can you provide more details:
Is this an efi bootloader? Which one?
How is the disk partitioned?
The kernel will almost certainly not be at /boot/vmlinuz-linux while the bootloader is running - generally it will be in the working root directory (base of whichever partition the bootloader is running on). But depending on which efi loader you are using and how it is configured, you may have to copy the installed kernel over to the ESP.
Last edited by Trilby (2013-11-10 03:44:11)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
My guess is that you have forgotten to mount the EFI System Partition before using pacstrap, that means the kernel was never copied to the ESP, but only the root partition.
Offline
Can you provide more details:
Is this an efi bootloader? Which one?
How is the disk partitioned?
I installed Gummiboot.
/dev/sda1 => FAT32 => EFI partition
/dev/sda2 => ext4 => /
/dev/sda3 => swap
/dev/sda4 => ext4 => /home
My guess is that you have forgotten to mount the EFI System Partition before using pacstrap, that means the kernel was never copied to the ESP, but only the root partition.
The kernel will almost certainly not be at /boot/vmlinuz-linux while the bootloader is running - generally it will be in the working root directory (base of whichever partition the bootloader is running on). But depending on which efi loader you are using and how it is configured, you may have to copy the installed kernel over to the ESP.
I see. When I used pacstrap I forgot that I didn't boot as EFI. Well, it makes sense now. I'll format the partitions and try again.
Linux user #519886
Offline
No need to repartition - just mount the esp, and reinstall the kernel.
But also note that your config in the first post has sda1 as root, that should be sda2.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
No need to repartition - just mount the esp, and reinstall the kernel.
But also note that your config in the first post has sda1 as root, that should be sda2.
I know, it was a try. I know it should by /dev/sda2. Ok, I'll try this.
EDIT: this was it. Thanks!
Last edited by Uchiha (2013-11-10 13:51:43)
Linux user #519886
Offline
Still relevant two years later. Thanks!
My guess is that you have forgotten to mount the EFI System Partition before using pacstrap, that means the kernel was never copied to the ESP, but only the root partition.
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed