You are not logged in.

#1 2013-11-10 03:37:59

Uchiha
Member
From: Sabará/MG - Brasil
Registered: 2011-09-07
Posts: 46

Error loading \vmlinuz-linux: Not found (SOLVED)

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

#2 2013-11-10 03:42:55

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Error loading \vmlinuz-linux: Not found (SOLVED)

That is not really enough information to help you.

Offline

#3 2013-11-10 03:43:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: Error loading \vmlinuz-linux: Not found (SOLVED)

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

#4 2013-11-10 11:11:51

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Error loading \vmlinuz-linux: Not found (SOLVED)

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

#5 2013-11-10 12:35:13

Uchiha
Member
From: Sabará/MG - Brasil
Registered: 2011-09-07
Posts: 46

Re: Error loading \vmlinuz-linux: Not found (SOLVED)

Trilby wrote:

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

teateawhy wrote:

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.

Trilby wrote:

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

#6 2013-11-10 12:56:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: Error loading \vmlinuz-linux: Not found (SOLVED)

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

#7 2013-11-10 13:12:17

Uchiha
Member
From: Sabará/MG - Brasil
Registered: 2011-09-07
Posts: 46

Re: Error loading \vmlinuz-linux: Not found (SOLVED)

Trilby wrote:

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

#8 2015-11-03 05:25:13

IceDragon13
Member
Registered: 2015-11-03
Posts: 2

Re: Error loading \vmlinuz-linux: Not found (SOLVED)

Still relevant two years later. Thanks!

teateawhy wrote:

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

#9 2015-11-03 10:53:15

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,382
Website

Re: Error loading \vmlinuz-linux: Not found (SOLVED)

Please don't necrobump old topics.

https://wiki.archlinux.org/index.php/Fo … bumping.22

Closing.


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

Board footer

Powered by FluxBB