Linux you need to load the kernel first

Содержание
  1. Arch Linux
  2. #1 2018-07-17 13:53:15
  3. [SOLVED] Error: you need to load the kernel first
  4. #2 2018-07-17 14:07:27
  5. Re: [SOLVED] Error: you need to load the kernel first
  6. #3 2018-07-17 14:14:36
  7. Re: [SOLVED] Error: you need to load the kernel first
  8. #4 2018-07-17 14:43:13
  9. Re: [SOLVED] Error: you need to load the kernel first
  10. #5 2018-07-17 15:05:29
  11. Re: [SOLVED] Error: you need to load the kernel first
  12. #6 2018-07-17 19:58:15
  13. Re: [SOLVED] Error: you need to load the kernel first
  14. #7 2018-07-19 10:00:49
  15. Re: [SOLVED] Error: you need to load the kernel first
  16. #8 2018-07-19 10:50:20
  17. Re: [SOLVED] Error: you need to load the kernel first
  18. #9 2018-07-19 13:46:09
  19. Re: [SOLVED] Error: you need to load the kernel first
  20. #10 2018-07-19 14:13:58
  21. Re: [SOLVED] Error: you need to load the kernel first
  22. #11 2018-07-19 14:52:46
  23. Re: [SOLVED] Error: you need to load the kernel first
  24. #12 2018-07-19 14:58:05
  25. Re: [SOLVED] Error: you need to load the kernel first
  26. #13 2018-07-19 15:10:38
  27. Re: [SOLVED] Error: you need to load the kernel first
  28. I can’t get out of grub + you need to load the kernel first
  29. 2 Answers 2
  30. Not the answer you’re looking for? Browse other questions tagged grub2 17.10 or ask your own question.
  31. Related
  32. Hot Network Questions
  33. Subscribe to RSS
  34. Debian User Forums
  35. [SOLVED] Error: you need to load the kernel first (Wheezy)
  36. [SOLVED] Error: you need to load the kernel first (Wheezy)
  37. Re: Can’t boot after kernel upgrade (Wheezy)
  38. Re: Can’t boot after kernel upgrade (Wheezy)
  39. Re: Can’t boot after kernel upgrade (Wheezy)
  40. Arch Linux
  41. #1 2019-11-21 10:43:40
  42. [SOLVED]Grub says i need to load kernel first
  43. #2 2019-11-21 10:47:22
  44. Re: [SOLVED]Grub says i need to load kernel first
  45. #3 2019-11-21 10:51:52
  46. Re: [SOLVED]Grub says i need to load kernel first
  47. #4 2019-11-21 11:33:31
  48. Re: [SOLVED]Grub says i need to load kernel first
  49. #5 2019-11-21 11:37:16
  50. Re: [SOLVED]Grub says i need to load kernel first
  51. #6 2019-11-21 12:30:06
  52. Re: [SOLVED]Grub says i need to load kernel first
  53. #7 2019-11-21 15:39:43
  54. Re: [SOLVED]Grub says i need to load kernel first

Arch Linux

You are not logged in.

#1 2018-07-17 13:53:15

[SOLVED] Error: you need to load the kernel first

https://s22.postimg.cc/6bber66pr/IMG_20 … 112812.jpg
This omnious screen showed up after I performed a major Windows 10 upgrade(I dual boot Windows and Arch Linux on the same drive), but I’m not sure if it was the cause. Unfortunately the system is in Italian, so I’m not sure what the error text is like in English, but it should be something like

I can access GRUB and boot into Windows just fine, however trying to boot with the fallback kernel still gets me to the same error screen. I don’t know how to fix it, can I even recover this system?

— Mod note: Converted oversized image to URL, please follow the CoC on image sizes — V1del

Last edited by quirico (2018-07-20 20:18:14)

#2 2018-07-17 14:07:27

Re: [SOLVED] Error: you need to load the kernel first

Boot a live system (the install iso will do) and inspect the boot partition. You’re probably short on space and windows created some BOFH style…
Chroot into the installed system, ensure to mount the boot partition and re-install linux, see https://wiki.archlinux.org/index.php/Pa … _rebooting

Of course, you may have to free some space on the boot partition first.

#3 2018-07-17 14:14:36

Re: [SOLVED] Error: you need to load the kernel first

Please only paste thumbnails or links to huge screenshots like that: https://wiki.archlinux.org/index.php/Co … s_and_code

#4 2018-07-17 14:43:13

Re: [SOLVED] Error: you need to load the kernel first

Boot a live system (the install iso will do) and inspect the boot partition. You’re probably short on space and windows created some BOFH style…
Chroot into the installed system, ensure to mount the boot partition and re-install linux, see https://wiki.archlinux.org/index.php/Pa … _rebooting

Of course, you may have to free some space on the boot partition first.

How do I safely free up space in /boot?

#5 2018-07-17 15:05:29

Re: [SOLVED] Error: you need to load the kernel first

Depends on whether there’re disposable files. Backups or i18n related files are good candidates.
However, first ensure that it’s really a space issue and also be prepared that windows might keep dumping stuff there. If this ends up being a permanent issue, you’ll have to grow the partition (what’s gonna be PITA because of it’s position) or move the linux boot to another partition.

Читайте также:  Разбивка диска при установке линукс

Is this an EFI or a BIOS boot?

#6 2018-07-17 19:58:15

Re: [SOLVED] Error: you need to load the kernel first

Depends on whether there’re disposable files. Backups or i18n related files are good candidates.
However, first ensure that it’s really a space issue and also be prepared that windows might keep dumping stuff there. If this ends up being a permanent issue, you’ll have to grow the partition (what’s gonna be PITA because of it’s position) or move the linux boot to another partition.

Is this an EFI or a BIOS boot?

It is an EFI boot. I’ll get to work tomorrow.

#7 2018-07-19 10:00:49

Re: [SOLVED] Error: you need to load the kernel first

OK I’m in the installation CD right now, how do I check the remaining free space? The output of df -h doesn’t show me the partitions in my hard drive.

#8 2018-07-19 10:50:20

Re: [SOLVED] Error: you need to load the kernel first

Have you mounted the boot partition?

#9 2018-07-19 13:46:09

Re: [SOLVED] Error: you need to load the kernel first

Have you mounted the boot partition?

I did, still not showing up. But root partition shows up just fine.
EDIT: running df -h -a shows https://s22.postimg.cc/n4dk6hlb5/IMG_20 … 155010.jpg which I have no idea of what to make out of.

Last edited by quirico (2018-07-19 13:53:40)

#10 2018-07-19 14:13:58

Re: [SOLVED] Error: you need to load the kernel first

You mounted sda1 and sda4 both into /mnt …

Please do not paste pictures of text — paste the text.

#11 2018-07-19 14:52:46

Re: [SOLVED] Error: you need to load the kernel first

Boot a live system (the install iso will do) and inspect the boot partition. You’re probably short on space and windows created some BOFH style…
Chroot into the installed system, ensure to mount the boot partition and re-install linux, see https://wiki.archlinux.org/index.php/Pa … _rebooting

Of course, you may have to free some space on the boot partition first.

I’m back to square one. First off, I actually managed to ensure it is not a space issue, somehow I got df to show the right output. Then I followed the instructions in the wiki word for word, and managed to perform a full update with pacman, with a seemingly successful rebuild of the Linux kernel. However upon reboot nothing seemed to chance. While pacman was doing its thing I glanced at a message saying «/boot is not mounted», maybe I messed up something in the process. I’d really appreciate a step to step guide right now.

#12 2018-07-19 14:58:05

Re: [SOLVED] Error: you need to load the kernel first

You mounted sda1 and sda4 both into /mnt …

Please do not paste pictures of text — paste the text.

I am afraid something went over my head. am I not supposed to do it that way. Sorry if it is incredibly stupid but it is probably the frustration and confusion getting the best of me, I suck at staying concentrated when troubleshooting

#13 2018-07-19 15:10:38

Re: [SOLVED] Error: you need to load the kernel first

You mounted sda1 and sda4 both into /mnt …

Please do not paste pictures of text — paste the text.

I am afraid something went over my head. am I not supposed to do it that way. Sorry if it is incredibly stupid but it is probably the frustration and confusion getting the best of me, I suck at staying concentrated when troubleshooting

You want to mount the root partition on /mnt. Then, inside of that partition (/mnt) there is to be a directory called /boot. Initially, you create that. You use that directory /mnt/boot to mount your boot partition.
Then you perform the installation. Then you unmount /mnt/boot, then /mnt. You set your bootloader to tell the kernel to use the root partition. You should have (during the installation) built your /etc/fstab file to mount the boot partition on /boot. If you have not done that already, do it now.

Читайте также:  Как обновиться windows с usb

Last edited by ewaller (2018-07-19 15:12:28)

Nothing is too wonderful to be true, if it be consistent with the laws of nature — Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. — Alan Turing

How to Ask Questions the Smart Way

Источник

I can’t get out of grub + you need to load the kernel first

I started upgrading to ubuntu 17.10 from 17.04 and then for some reason I shut off the computer. When I turned it back on, it showed «GNU GRUB version 2.02

beta3-4ubuntu7″. When I type in boot it says «you need to load the kernel first». «Exit» brings me to the bios and «normal» don’t bring me anywhere. When I try to boot from bios i come to grub. (I boot from «ubuntu (P1: Kingston SUV400S37240G)». The other boot option is only the name of my SSD which brings me to the «boot properly blah blah»

  • mobo: Gigabyte AB350M-HD3
  • CPU: Ryzen 3 1200
  • GPU: GeForce gtx 1050 ti

2 Answers 2

Try the following steps:

Then ls root directory of each, to find the one linux installed on. e.g:

Hopefully! in linux:

If, for any reason, you couldn’t make grub work. Install Boot-Repair: https://help.ubuntu.com/community/Boot-Repair

Your situation almost certainly indicates that the upgrade process was only partly completed, and your operating system is damaged in a way that can’t be booted. The only practical solution to this is to do a full install (of 17.10, back to 17.04, or even of 16.04 LTS).

Done with the proper choices during installation, this need not damage data stored in /home, though it certainly can — if you have the ability to do so (say, by booting a Live media OS) you should back up any data you want to keep before proceeding.

Not the answer you’re looking for? Browse other questions tagged grub2 17.10 or ask your own question.

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.10.8.40416

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

Debian User Forums

[SOLVED] Error: you need to load the kernel first (Wheezy)

[SOLVED] Error: you need to load the kernel first (Wheezy)

#1 Post by Delectable » 2015-06-20 14:49

I have a Raid 5 arry of 4 disks running debian Wheezy. I ran the weekly update cycle (apt-get update && apt-get upgrade) but after the recommended reboot I cannot load Debian. The error i’m getting is the following:

after that I searched the headers with:

Re: Can’t boot after kernel upgrade (Wheezy)

#2 Post by Head_on_a_Stick » 2015-06-20 17:49

Please explain this in (much) more detail.

According to the «Bootinfo» script, you only have a single root («/») partition on /dev/sda3 (and swap).

Have you tried re-installing and reconfiguring GRUB after using `chroot`?

Black Lives Matter

Re: Can’t boot after kernel upgrade (Wheezy)

#3 Post by milomak » 2015-06-20 19:18

Re: Can’t boot after kernel upgrade (Wheezy)

#4 Post by Delectable » 2015-06-21 08:51

Please explain this in (much) more detail.

According to the «Bootinfo» script, you only have a single root («/») partition on /dev/sda3 (and swap).

Have you tried re-installing and reconfiguring GRUB after using `chroot`?

I mis typed the word virtual drives. Because of the RAID array I have one 5,5T virtual drive (consisting of 4 physical drivers controlled by a Dell PERC 6/i) which has 3 partitions: /boot, /swap and /

Читайте также:  Драйвер для принтера hp deskjet f4213 для windows 10

These partitions were created during installation and always worked well. I specifically choose a manual partition lay-out to not have a /home. I wanted one big partition for this server and choose debian for is stability. I used CentOS before and had quite some trouble keeping it running stable (one update changed eth interface names causing the server to lose internet connectivity.) I haven’t had any problems with wheezy so far so this situation is quite surprising. I hope there is a solution here, I discussed it with some friends yesterday and perhaps a option could be to remove the kernel and headers and completely reinstall everything. This whole kernel situation is new to me so that’s why I turned to the forum.

I read your link but not of that applies to my situation so far. I haven’t changed any of the parts described in your link and for the same reasons described there I haven’t upgraded to jessie.

Источник

Arch Linux

You are not logged in.

#1 2019-11-21 10:43:40

[SOLVED]Grub says i need to load kernel first

I updated my arch yesterday and since then im not able to boot anymore. After selecting arch from grub menu i get the following message

«Loading Linux linux .
error: file ‘vmlinuz-linux’ not found.
Loading initial ramdisk .
error: you need to load the kernel first.

Press any key to continue»

Same happens when trying to boot with fallback initramfs.

I can only use grub command line and from there i can see my /boot/ is empty but that’s probably due to partition not being mounted?

Anything i can do from a grub command line that u guys need i will post the output in screenshots .

Last edited by gokus (2019-11-21 15:40:04)

#2 2019-11-21 10:47:22

Re: [SOLVED]Grub says i need to load kernel first

Well if you didn’t have your /boot mounted when you did the update that’s normal and unsurprising. Chroot in from a livedisk with properly mounted partitions and run

#3 2019-11-21 10:51:52

Re: [SOLVED]Grub says i need to load kernel first

Well if you didn’t have your /boot mounted when you did the update that’s normal and unsurprising. Chroot in from a livedisk with properly mounted partitions and run

Thanks for your fast answer sir.
There is no way for me to get my pc to boot without chrooting in my system? Since i only have one pc at my disposal at the moment and its this one

#4 2019-11-21 11:33:31

Re: [SOLVED]Grub says i need to load kernel first

You can «arch-chroot» with one system and a boot disk. Boot-up using the boot disk (install cd) and instead of doing a install — chroot, and then run pacman.

Last edited by EndUserOnly (2019-11-21 11:35:49)

#5 2019-11-21 11:37:16

Re: [SOLVED]Grub says i need to load kernel first

You can «arch-chroot» with one system and a boot disk. Boot-up using the boot disk (install cd) and instead of doing a install — chroot, and then run pacman.

I mean, I don’t have a way of making an arch bootable usb or cd since this is the only pc i have

#6 2019-11-21 12:30:06

Re: [SOLVED]Grub says i need to load kernel first

You could identify the exact path and boot the image from the actual partition with GRUB, I haven’t had much of a need to do that, so you’d have to do some reading on how to access your / and chainload from GRUBs console, on a random googler, this might help

#7 2019-11-21 15:39:43

Re: [SOLVED]Grub says i need to load kernel first

Solved. I did exactly what V1del said.

Well if you didn’t have your /boot mounted when you did the update that’s normal and unsurprising. Chroot in from a livedisk with properly mounted partitions and run

Booted from a live media, (rooted android in my case) mounted partitions with

Arch-chrooted in my system and did

Unmounted partitions and rebooted.

Thanks everyone, lock o/

*Pro tip: always have arch live cd or usb with u *

Источник

Оцените статью