You are not logged in.

#1 2014-01-20 22:50:46

Yashka
Member
From: Israel
Registered: 2013-03-26
Posts: 240

[SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

Hi

I reinstalled the Arch linux. I used a usb stick for the installation. I have a UEFI motherboard.
I installed the gummiboot.

# pacman -S gummiboot
# gummiboot --path=/boot install

The /boot/loader/loader.conf file is like this:

default  arch
timeout  2

The /boot/loader/entries/arch.conf file look like this:

title          Arch Linux
linux          /vmlinuz-linux
initrd         /initramfs-linux.img
options        root=PARTUUID=my-root-PARTUUID rw

the my-root-PARTUUID I copy from the fstab file.
When I reboot I see three options that I can choose from:

Arch Linux
EFI Default Loader
Reboot Into Firmware Interface

If I choose the Arch Linux I get this message:

Error Loading \vmlinuz-linux: Not Found

If I reboot into the firmware and there choose boot from the usb and after I make the mounts and the arch-chroot /mnt, then I do get into the new system.

I tried the grub, but it also didnt work, I dont remember the exact message but something like - could not load the kernel.
I tried this

# efibootmgr -c -d /dev/sda -p 1 -l /EFI/gummiboot/gummibootx64.efi -L "Gummiboot"

didnt help, same result as the former case.

Last edited by Yashka (2014-01-21 06:37:48)


You do not need to leave your room. Remain sitting at your table and listen.
Do not even listen, simply wait, be quiet, still and solitary.
The world will freely offer itself to you to be unmasked, it has no choice, it will roll in ecstasy at your feet.
                   Franz Kafka

Offline

#2 2014-01-20 22:54:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

Output of 'ls /boot'?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-01-20 22:57:36

Yashka
Member
From: Israel
Registered: 2013-03-26
Posts: 240

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

After the arch-chroot

[root@archiso /]# ls /boot
EFI loader

Last edited by Yashka (2014-01-20 22:59:54)


You do not need to leave your room. Remain sitting at your table and listen.
Do not even listen, simply wait, be quiet, still and solitary.
The world will freely offer itself to you to be unmasked, it has no choice, it will roll in ecstasy at your feet.
                   Franz Kafka

Offline

#4 2014-01-21 00:34:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

That's where gumiboot is expecting to find your kernel and initrd...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-01-21 00:55:57

Yashka
Member
From: Israel
Registered: 2013-03-26
Posts: 240

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

jasonwryan wrote:

That's where gumiboot is expecting to find your kernel and initrd...

how do I put them there?


You do not need to leave your room. Remain sitting at your table and listen.
Do not even listen, simply wait, be quiet, still and solitary.
The world will freely offer itself to you to be unmasked, it has no choice, it will roll in ecstasy at your feet.
                   Franz Kafka

Offline

#6 2014-01-21 01:00:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

You can move them there, or you can tell gummiboot where they really are.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-01-21 01:02:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

wait, isn't that just on the ramdisk, since it's in an archiso?

Offline

#8 2014-01-21 01:08:08

Yashka
Member
From: Israel
Registered: 2013-03-26
Posts: 240

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

probably i did something wrong during the installation, i will try to install again when i come home.


You do not need to leave your room. Remain sitting at your table and listen.
Do not even listen, simply wait, be quiet, still and solitary.
The world will freely offer itself to you to be unmasked, it has no choice, it will roll in ecstasy at your feet.
                   Franz Kafka

Offline

#9 2014-01-21 01:19:51

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

@Scimmia: not if OP used arch-chroot.

@Yashka: Any chance you mounted the ESP to /boot after installing everything else (e.g. the linux package)? If so, your kernel and initramdisk are on your root partition, but are hidden due to the ESP being mounted over the /boot dir. Reinstalling the linux package while the ESP is mounted will probably fix it, but you should make sure that the ESP is mounted whenever you update the kernel in the future, or else you will most likely be unable to boot properly due to a kernel/module mismatch.


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

#10 2014-01-21 01:33:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

WorMzy wrote:

@Scimmia: not if OP used arch-chroot.

And if he did, the prompt wouldn't say "[root@archiso /]#"

Offline

#11 2014-01-21 01:42:07

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

You might be right about that, I've not used arch-chroot.


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

#12 2014-01-21 05:45:27

Yashka
Member
From: Israel
Registered: 2013-03-26
Posts: 240

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

I reinstalled every thing from the beginning.
Now there seems to be another problem. After finishing the gummiboot install and rebooting the system for the first time it gives again the three options, but now when i choose the Arch Linux option the screan goes black and thats it. So i have to power of manualy and then again boot trough the usb and arch-chroot.


You do not need to leave your room. Remain sitting at your table and listen.
Do not even listen, simply wait, be quiet, still and solitary.
The world will freely offer itself to you to be unmasked, it has no choice, it will roll in ecstasy at your feet.
                   Franz Kafka

Offline

#13 2014-01-21 05:47:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]reinstalling problem - Error loading \vmlinuz-linux: not found

That is a separate issue. Please mark this thread as solved and then, before opening a new thread, try adding nomodeset (or your card's equivalent) to the kernel line and see if that gets you any further...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB