'GNU Grub 2.04' or 'you need to load the kernel first' error solved. [ Check Description ]

'GNU Grub 2.04' or 'you need to load the kernel first' error solved. [ Check Description ]

gp_sec

2 года назад

43,897 Просмотров

GNU Grub 2.04
Ubuntu/ Linux Distros
In case video is not clear, follow the commands below

Since angled brackets are not allowed follow it as (-)

-------------------------------------------------------------------------------------------------
If you get to a grub prompt, it means that grub can't find the boot files that it expects. The sequence of commands to load the files and boot when grub doesn't do that for you goes something like this. First, find all partitions that grub sees:

grub- ls
(hd0) (hd0,gpt2) (hd0,gpt1) (proc)

This lists disks and partitions on the disks. One of these partitions holds your Linux system. Say it is (hd0,gpt2). Then do:

grub- set root=(hd0,gpt2)
grub- linux /boot/vmlinuz-5.15.0-46-generic root=/dev/sda2

Replace (hd0,gpt2), the version number and the partition (/dev/sda2) by what is valid for your system. In the case of vmlinuz you can just type vmlinuz- and press Tab.

grub- initrd /boot/initrd.img-5.15.0-46-generic
grub- boot

should now boot up your system.

After your system boot up, open terminal and update you grub, not to face same issue again.
For updating Grub

sudo update-grub
This should solve all the issues
Thankyou,
gp_sec
Ссылки и html тэги не поддерживаются


Комментарии:

@evinr3231
@evinr3231 - 26.09.2023 20:04

What should I do if set root=(hd0,gpt2) returns "command failed"?

Ответить
@user-gd4pm8py8k
@user-gd4pm8py8k - 25.09.2023 06:02

After restart the system I'm getting save grub error

Ответить
@user-gd4pm8py8k
@user-gd4pm8py8k - 25.09.2023 06:02

After restart the system I'm getting save grub error

Ответить
@andreidasilva6255
@andreidasilva6255 - 14.09.2023 22:54

You is the best brow... thanks

Ответить
@cynthoniashewprashad3280
@cynthoniashewprashad3280 - 08.09.2023 02:50

Nah y’all lying😂 Ho can y’all see them letters…

Ответить
@konteezy203
@konteezy203 - 25.08.2023 08:55

My problem is im trying to boot from a usb and its not working

Ответить
@grumbles2302
@grumbles2302 - 01.04.2023 12:30

vmlinuz not found?

Ответить
@Kyller2ndTV
@Kyller2ndTV - 29.03.2023 08:13

Cannot find Linux command

Ответить
@psfgtech
@psfgtech - 16.03.2023 06:17

you with a good camera would be great

Ответить
@mytunes111
@mytunes111 - 15.03.2023 04:25

Didnt work for me. Said I needed To load the kernel first

Ответить
@The_Adrian666
@The_Adrian666 - 09.02.2023 13:11

Idk what my vmlinuz and now i cant use my laptop

Ответить
@nizarudinhelmy3016
@nizarudinhelmy3016 - 21.01.2023 01:48

can i use this setting to dual boot prime os? i have a same problem

Ответить
@LilianRamosCouto
@LilianRamosCouto - 03.01.2023 20:06

Sem áudio e sem conseguir enxergar é problema.

Ответить
@Georgiesworkshop99
@Georgiesworkshop99 - 02.01.2023 09:11

I can't even read the screen

Ответить
@MCBarracudo
@MCBarracudo - 30.12.2022 21:00

Thank you !

Ответить
@sujatakumari1525
@sujatakumari1525 - 10.09.2022 10:39

Video me na sound aa rha h na screen saf dikh rha h

Ответить
@poornachandra9156
@poornachandra9156 - 06.09.2022 05:11

Thank you so much it worked for me

Ответить
@MilesxDev
@MilesxDev - 29.08.2022 15:28

It keeps on asking me to run kernel I need help please help me I’ve even tried to hd0,gpt2) can’t find it

Ответить
@wowsnowball7218
@wowsnowball7218 - 05.07.2022 14:16

I was trying to install Chrome OS and then fydeos both faced the same problem .... but how would i cope with it please help me ... it would be awesome it you will help me figure out i will eliminate distractions ... and will be able to study windows and ubuntu are crap....... ughhhhhhhhh

Ответить
@quebecforce111
@quebecforce111 - 04.07.2022 02:10

its very complicated. a program who repair that free and automatiquely exist ?

Ответить
@QuantumByt3s
@QuantumByt3s - 30.06.2022 08:53

Thanks. It worked for me

Ответить
@luisfelipe2942
@luisfelipe2942 - 29.06.2022 03:31

I get hd0,msdos5 - hd0,msdos6 - hd0,msdos7 and hd0,msdos1 partition how to know what is the correct one? and how to know what's the correct number to replace /dev/sda2? I mean how to know what's my root partition using grub prompt?

Ответить
@faza5349
@faza5349 - 24.06.2022 16:51

Tried mine and get boot/vmlinuz-5.13.0-44-generic has invalid signature, please help😢

Ответить
@cryptomasterdummy3581
@cryptomasterdummy3581 - 24.06.2022 13:15

Thanks so much mate. I'm in debt to you.

Ответить
@AhmedApdulRasool
@AhmedApdulRasool - 24.06.2022 02:33

How did you learn this things?

Ответить
@derlenni2600
@derlenni2600 - 17.06.2022 14:06

When I enter "linux /boot/vm" and then press tab nothing happens

Ответить
@danieledinatale2051
@danieledinatale2051 - 11.06.2022 09:37

correct method

Ответить
@Blackstarr-ye9fp
@Blackstarr-ye9fp - 15.05.2022 07:24

How did you get "5.15.0-46" what command?

Ответить
@crazyformyself196
@crazyformyself196 - 23.04.2022 21:51

I've got (hd0, gpt1) to (hdo, gpt7) when "ls" Command is given.
When I tried to open each by "ls (hd0, gpt1) /", I got No known file system for 3 of gpt 2-4 and got file system type NTFS for gpt 5-7. And file system FAT for gpt 1

Can you please me choose which of the gpt is linux Ubuntu in? Please...

Ответить
@janiceserioso8691
@janiceserioso8691 - 16.04.2022 06:59

it doesn't work with me, the time i entered linux /boot/vm it always error

Ответить
@LiquidAirEntertainment
@LiquidAirEntertainment - 12.04.2022 19:31

HELP not real tech savvy..... trying to install "trails" on my PC, getting the need to load kernel message in grub. I tried to follow your prompts didn't work. after I simply type linux/boot/vmlinuz then hot tab key nothing happens. HP pavillain slim window 10

Ответить
@jotinha7500
@jotinha7500 - 15.03.2022 03:04

YEEEES I FUCKING LOVE YOU

Ответить
@05_akshatakarakalli73
@05_akshatakarakalli73 - 28.02.2022 09:34

When i type linux /boot/vm it shows unknown solution..can anyone tell me what's the solution for this

Ответить
@Reese2500
@Reese2500 - 26.02.2022 06:10

dosent work

Ответить
@aircloud1795
@aircloud1795 - 23.02.2022 13:34

I cannot see the line, is it linux /boot/va or smth?

Ответить
@ashwathykarakan2384
@ashwathykarakan2384 - 22.02.2022 16:44

Won't it work for windows kernal load?

Ответить
@sahoosahilsahil164
@sahoosahilsahil164 - 22.02.2022 14:23

TQ bro. You saved me

Ответить
@feet_fan_1232
@feet_fan_1232 - 21.02.2022 19:20

Nice

Ответить
@ansonbenny1638
@ansonbenny1638 - 15.02.2022 20:22

Thanks bro you helped me

Ответить
@mumtazafridi673
@mumtazafridi673 - 31.01.2022 12:21

What is dev/sda2 here

Ответить