GRUB Rescue and Repair on Linux | Rescue and Repair your Bootloader! (Ubuntu)
HTML-код
- Опубликовано: 29 дек 2020
- Use the GRUB Rescue and Repair tool on Linux to Rescue and Repair the bootloader or other system issues. Figure out how to use GRUB Rescue to boot into a system without having to reinstall or look for a different method of repair. GRUB Rescue is a great utility once you know how to use it on Linux and we'll be using Ubuntu to demo how to use GRUB Rescue today. Fix unknown file system errors or no such partition on Linux.
When you get the GRUB Rescue screen it can be intimidating to try and fix the system from the Command Line Interface that GRUB Rescue offers on Linux/Ubuntu. We'll walk through step-by-step how to use this utility/interface and fix our system and then repair the bootloader on the current disk that we are using. This tutorial is intended for Linux users who've ran into the GRUB Rescue screen on their Linux distro. The process is the same whether you are using Ubuntu, Debian, Arch, Linux Mint, Pop OS, Kali, or any other Linux distro.
My Linux Cheat Sheet and 25 Page Checklist here:
📚 learn.savvynik.com
Share this free tool and support Small RUclipsrs
editbulk.com
(I made this tool to help creators)
Want more info/content?
savvynik.com
Useful Links/Commands:
Ubuntu: ubuntu.com/
Discord Link: / discord
#linux #ubuntu #grub
Credits:
Tux Logo By gg3po, Iwan Gabovitch - Tux Flat SVG, based on File:NewTux.svg by gg3po which is based on File:Tux.png by Larry Ewing, GPL, commons.wikimedia.org/w/index...
Penguin Photo by Ian Parker - unsplash.com/@evanescentlight Наука
Of all the numerous videos I tried watching all day. You saved me in less than 7minutes. Thank you man
You're welcome! Glad things worked out.
Bro😢 I have installed Ubuntu multiple times and then removed it due to its freeze issue and now I am again installing it but it is not loading the GUI, my friend say that it's old bash file is remain there that is preventing from installing new bash file that prevent Ubuntu from installing?😢. Please reply and help me!🙏and I am trying to delete the old bash file but I don't know how to do that
I’m definitely feeling waaaaay less intimidated by Grub. This sits better than just blindly following stack overflow commands. Thanks!
Glad to hear it, no problem
@@SavvyNik I just installed Ubuntu 24.04 LTS and I have this problem. This is a 3 years old video, that gave me an idea what is going on. I tried what you say but I have a problem when listing the partitions at the Grub Rescue (version 2.12) terminal prompt.
Ok, I have 2 SSDS both 2 TB.
hd0 = Windows 11
hd1 = Ubuntu 24.04 LTS
grub> ls (hd1,gpt1)/
efi. System Volume Information
grub> ls (hd1,gpt2)/
error unknown filesystem
I assume my root is on (hd1,gpt2)/ but I can't list it.
Perhaps you know how to solve this for the new Ubuntu; thanks if you can.
ps: It is a shame after I installed Ubuntu 24.04 it seemed to work good just when I rebooted I get this grub rescue screen. I took notes on your old video, but there is probably changes and no longer works.
I wasted a lot of time in watching different videos that didn't help me
But this one saved me
Thanks bro for your efforts 😘
This is amazing, I messed up some ubuntu install too and I was just messing around (I had badly identified the partition until I found this video). Thanks for this mate! :D
I thought that boot would end my life in my studies because I didn't know how to fix it. But because of you Brother, I was able to fix that boot on Ubuntu on my laptop and the files I was making for my studies were not lost. Thank you very much brother for this video, my tasks and files that need to be submitted can now be submitted.
Glad to hear this epic fix ;)
Bro😢 I have installed Ubuntu multiple times and then removed it due to its freeze issue and now I am again installing it but it is not loading the GUI, my friend say that it's old bash file is remain there that is preventing from installing new bash file that prevent Ubuntu from installing?😢. Please reply and help me!🙏
The right video, I've been doing this for past 2 days now and this is the only video that worked. He explained everything ❤️ thank you sir
You're welcome! Glad you liked the video :)
Me too! Glad I found this video!
Holy moly, last time I had to fix GRUB, I had to do reinstall of GRUB and it took nearly a whole day (and a lost previous install of linux) to get it working! You brought that time down to 20 mins here! THANK YOU so much!
It would have been faster but I was too goofy to write down the correct partition the first time >~
Don't forget to use timeshift, it will save you hours of fixing it the next time it happens
I have watched so many videos and strained to understand the procedure let alone the language. You kind sir are a teaching genius. This was the BEST, most followable, most understanding and concise. I applaud you. Thank you so much for this, it helped me like you would not believe. Thumbs up!
You are most welcome :) glad it helped!
Bro😢 I have installed Ubuntu multiple times and then removed it due to its freeze issue and now I am again installing it but it is not loading the GUI, my friend say that it's old bash file is remain there that is preventing from installing new bash file that prevent Ubuntu from installing?😢. Please reply and help me!🙏
I want to say THANKS! without you I never would have gotten the system loaded
Glad things worked out
im not experienced in computers at all and got so scared when it wouldnt turn but this fixed it and i genuinely feel proud😭thank you
Great job, no problem
Its not work in my lap 🥺🥺🥺🥺🥺
Actually my laptop got shut down suddenly due to power failure…
I have dual booting for my hp laptop… where half partition is given to windows and half to ubuntu..
I cant find my partition name…
I tried grub>ls
(proc) (hd0) (cd0) error: failure reading sector 0*0 from ‘hd0’ .
error:failure reading sector 0*0 from ‘hd0’.
How to resolve this issue?
Took a while to get to the point, but you know what? It stretched my brain fibers and I learned something! Now I know what to do in the future. Thank you so much.
Love to hear it! Glad you learned something new
Holy moly it works!!! man i've been following your tutorials since 2021 and you always have the answer. Thanks!!
Great job!! A big thanks from a braziliam guy living on Portugal!!
It worked saved my day
Thanks man great work keep it up
I want to cry 😢. you saved my life's work. I had EVERYTHING on this ubuntu machine that was kept away for a year cuz I used my work laptop and had no use for mine. took it out tonight to revise my old work and lo and behold, did not load to Ubuntu, rather a grub that I've never seen before and the least bit familiar. went through 4 videos which were garbage without explanations about why they were running the commands they were. your video helped. I cannot thank you enough. 🙇♀️
I’m happy to hear you were able to recover :) and that the video helped!
It's nice you got your system fixed! I store things in the cloud that are important to me but yeah that costs money. Of course something could happen to backup media at home such as theft, failure of device, or fire. I have one VM I store in the cloud that has an application I wrote and want to use.
Having good disaster recovery is important for people like us that love our computer more than almost anything! 👍
bahahah, im here AGAIN!! why does this keep happening to me! ALWAYS come to this video for the rescue!
Awesome video, couldn't get a clear answer from online forums and within 10 min I'm no longer intimidated by grub shell :)))
Glad it helped!
Thank you very much! Everything went very well, and in the end I did it
You are the best. I had to use translate subtitles to understand. IT is a universal thing. Thank you very much tor sharing. You save me a lot of ressources
You're welcome!
Hey SavvyNik, Thank you for helping me fix my dual boot for kali linux after upgrading to Windows 11. i tried to fix this for a few days till i came across your video and first try it worked. THANK YOU SO MUCH BROTHER. I have liked the video and subscribed and will direct people to you that i know are having this issue. Your the man.
Awesome to hear Anthony! Glad you got things fixed, and thanks for supporting the channel.
So easy to understand really thank you very much ❤
set prefix=(hd0,gtp2)/boot/grub
set root=(hd0,gtp2)
insmod normal
normal
i demonstrated these steps for the wrong partition that belongs to windows. and windows got stuck in "preparing windows..." screen as i tried logging in. however i fixed the grub later. and windows seems like doing fine. do you think i damaged anything on this partition of windows by using these commands? (it did redirect me to freedos screen as i hit enter after all these 4 steps btw)
Thanks man! This got me out of a bad situation.
Glad I could help! Think about subbing for more Linux and Programming content :D
After watching so many videos and reading articles
Finally this Worked for me
Thank you soo much ❤️✨
Glad you finally got things settled
Quick solution, worked great for me. Thank you very much
I got this problem today when I installed Mint on my desktop PC with three different drives. I previously had Debian installed on my larger SSD, but installed Mint on my smaller one. So I did that and formatted both my other large disks and mounted them, and GRUB freaked out sending me to rescue on boot. Managed to start it, but got tired of having to do it each time. The part I missed to do was the last one, grub-install, so thanks for that! Now everything works
Glad you got things fixed
hi after the grub rescue step when I type “insmod normal” i got this
error: symbol ‘grub_file_filters’ not found
And then nothing happens, any thoughts?
I'll never understand why developers don't just document their own work. Thank you very much.
Thank you. I had been putting this off. You made this easy.
Glad to hear it no problem
This is a good video, thanks. I just wanted to install Linux which I did successfully, and I had some trouble booting my system. I believe it was a problem with a video file I attempted to create to fix graphics stuttering. I did a reinstall. It was fine, but knowing some grub might help in my recovery next time I fubar my whole system. I don't want to reinstall every time I screw up. A simpler fix is far preferred.
I learned from your video about having multiple bootable partitions. I never considered it. Having windows or some other Linux would be nice but for now I stick with one Linux right now.
I still have a lot to learn.
Proper saving the day, mate. Thanks!!
thanks man helped me.. better than reinstalling the whole OS
Glad it helped
I'm facing the problem while installing prime os (An Android os) first time via bootable usb flash drive...
What to do?
Kindly help me
Hello great video by the way but when I try to do anything my keyboard is not detected how do I fix this issue?
It was a great help! thanks for the video!
You're welcome!
thanks for the video bro, btw can i go to the grub rescue screen intentionally
Bro you're a life Saver! Thank you very much. Really you helped me a lot 💐💐💐💐
No problem, glad you found the video helpful!
You are the best. Thank you for uploading this video, you saved my day.
Glad things worked out. No problem.
Thank you so much! This was brilliant!
No problem.
Hey savynick, please tell me what to do if it says , failure reading sector 0x2 on fd0, after ls (fd0)/. Please tell me.
Thank you man. I love you. You actually saved me. Thanks.
People seem to love you for this video, and rightly so. TIL: Making simple-to-understand videos about how to recover with grub is the way to build a cult following. 😆
Haha. I’m glad there’s people being helped out by this still
May I ask you a question... When trying to make a USB live with ubuntu or lubuntu, the mbr from my computer send me to the grub from the usb with ubuntu, so when I dont have my usb with the os, it appears on the screen the problem you are trying to solve. So... how may I proceed with this issue?
@SavvyNik
After i do > insmod normal
It says '/boot/grub/x86_64-efi/normal.mod' not found
@Savy
Very helpful! Thank you.
You are a life saver. Thank you so much!!
You're welcome!
Thank you for the Help, you just earned another sub!! 🥰
Glad to have you following
Thank you very much!!!
This video safe more time for me!!!
Thanks a lot.. brother for making a wonderful video.
You are most welcome
Thank you so much! This saved my computer.
You're welcome! Glad it helped.
Fantastic worked so well thank you very much 👍
This video helped me to come out from grub , thank you 😊
Glad things worked out
Hey after typing « normal » command why does it take me back to the GNU GRUB version 2.06-13+kali1 ?
@pewdiepie9500 sadly not and it sucks it’s like my laptop is bricked now
Normal no fond
Thanks a lot man, It really saved my day!
Glad to hear that!
Thank you my friend, you helped me!
hey uh, do you have one for zorin os? i cant figure out how to load the kernel, or find it
hi, thanks for the video, not sure if its what I am looking for. here;s the issue I deleted linux because of a problem, and now want to install it again and am getting this message, can you give me any advice? thanks
Hello, this is the best guide for this problem so far!! Mega Super explained in the terminal. Nothing found in German yet. English is important, especially for Linux. Ok, as a Winjunky I will have to do more Linux, too much comfort makes you dependent! The future belongs to Linux for everyone who wants it!! Thanks for the input, greetings from Western Germany Loddar near Nato Airfiled Ramstein
Glad you enjoyed the vid!
Saved my day. Much appriciated, thnx
You're welcome! Glad you liked it.
thanks you so much for the tutorial
God damn after doing this for a whole day researching you helped thank you !
You're welcome
Thanks for the great video buddy....I followed all the steps initial steps and when I clicked on Ubuntu...instead of booting it gave list of Red Failed lines... with last written as [FAILED] Failed to mount FUSE control file system....and I have bunch of other failed miunts as well....Could you please help me resolving this....I' ll be very grateful to you....Thanks in Advance
Thx mate helps A LOT!!!!
Many thanks for the video will try tomorrow as I have struggled all day trying to fix this 2 new installs win10 and Linux Mint on 2 sata hdd’s worked straight away. Then that dreaded grub appeared spent hours just trying to fix it. Trying to learn Linux not to familiar with Windows either too old memory not as good as it used to be your vid will hopefully solve the problem, thanks again for an excellent presentation.
No problem, good luck
Help me. I did all of that but as soon as I do that second to last part (insmod normal) and hit enter it gives me the same error message in the beginning
Thank you this, it has really helped me
So I followed your steps and typed “normal” and hit Enter. Instead of booting, I got the error “can’t read CTR while initializing 18042”. Then after that went away, I got a “failed to start Network Name Resolution.” And Ubuntu still won’t start. Any suggestions what to do next?
THANK YOU !!!!! This was perfect. I added URL to my source list and it asked me if I wanted to update a file or leave it as default, I said yes thinking it was leaving it as default. TWO DAYS LATER >>>
I m running Kali-Linux on my Windows Laptop, on the D drive partitioned with ParrotOS and also storage from Windows on the D-Drive.
Use G-Parted to back up your image to a spare external HDD.
Glad it helped!
When I reboot I still get the grub error, but if I change the booting order in the bios to ParrotOS, then it will load its own GRUB boot loader and I then can see my Kali image there, I can click on it and I can get into Kali from ParrotOS grub. I'm afraid to uninstall grub in case it does something to ParrotOS.
I will load to ParrotOS boot screen with the options, then I will pick Kali, two more steps but I can work it.
Thank you very much! It was a great help, and very well explained.
Just one question: is it possible to format a partition from GRUB ?
I will check other videos, since I am subscribed. Once more, thank you !
You're welcome! Happy to have you subbed. It's not possible as far as I'm aware. I would suggest a live linux disk at that point and then you can reformat or partition disks.
Great video. Thank You.
Thank you so much brother..... really appreciate it❤️❤️❤️
No problem
Right Video at the right time !!!
Awesome to hear! Make sure to smash that like button for me if you haven't already =)
Ahh perfect, thanks I knew rescue, but not how to fix
Sort of new to ubuntu. Noticed you have the tuff gaming mobo. I have come across a common interrupt error irq I think and I cant find away to fix it.
i cant use this method sir
it says that i need to load a kernel or something like that do you know how to deal with this?
Worked nice one🎉
BTW, I'm trying to run a linux distro called ANTIX linux completely off of the USB
Should I install it on the flash drive or should I just use persistence??
What are the pros& cons of each& which is more better in your opinion???
IMO the best is installing on the USB directly. This takes away any mistakes a 3rd part program can make while creating persistence. Also then you don't have to deal with the fact that the persistent USB might have been meant as an installation image. The benefit of a persistent USB? Maybe that it's just easier to setup.
@@SavvyNik MXlinux& ANTIX has their own built in imagewriter
Thanks man you just saved me.
After the insmod normal command it goes back to the first statement 'error failure reading sector...from hd0, any help?
I followed along but after typing "normal" nothing is happening
Is it because before doing this fix I was trying to get out of the GNU Grub 2.0 so I accidently chose the residual boot file as my boot file of my previously installed windows OS?
Does anyone know how to repair your Linux Mint operating system files? The way you would do on 'Windows'? Are there 'terminal' commands that can be used etc.?
thank you so much brother ❤
As a not so savvy man, running multiple OS side by side, fwsetup saved my life.
Thank you holy moly this saved me, I thought I had to install my Linux Mint again.
Thankyou sir its work at last
Hi SavvyNik thanks for the great tutorials. I followed your instructions in the video up to the 6: 15 when I pressed enter I get another error message. Do you have a video for this one? "end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)"
Sadly I don't, looks like you might have to do some googling. You can also use a USB live image so that you can mount into your failed system.
Hey Gunther, Did you fix the problem?
@@rangersmyth sorted thanks for coming back to me
@@guntherwallendorf1940 😁
Thanks , it worked for me
Mine had a corrupted file system because I fully remember my partition number and it says "unknown filesystem"
What do I do
When I type normal it just erases everything before and gives me a line to type my command. When I type boot it says I need to load kernel first
Thanks for your helping! 😉😍
You're welcome! Glad you found it helpful. Make sure to smash the like button for me if you haven't already.
Thank you!! Brilliant!!
When i run comment "set prefix=()/boot/grub
My screen get stuck &can't follow the next step.
What should i do?
You saved my life buddy love you so much
Thank you, thank you, thank you!! You’re a genius Sir!!🙏
I've been struggling with this for three days now. Thank U so Much. I only have one problem, I have to do this every time I want to boot to LMDE6. Is there a way to fix this?
Sounds like the bootloader is broken. Make sure you reinstall whatever bootloader you're using.
I installed Ubuntu 22 dual boot with windows11 on main ssd, Ubuntu on an external HDD plugged via usb. All went well till I rebooted and got the Grub screen. I'll follow these steps and hope it fixes. I don't get why Grub gets confused when its an external drive :( . Sadly this doesn't work with external drive Ubuntu as the drive gpt of usb drive doesn't show in the list at all
Did you solve it?
You're genius man!
I have a problem with Linux; the computer lost power while the kernel was being updated. Every time I tried booting to Linux afterward, I got an error: file '/boot/vmlinuz-6.0-x86_64' not found. You need to load the kernel first.
I thought this video would help me, and I followed it up tp 6:04. However, after typing "normal" and hitting enter, I still see the same error.
Can you please advise me on how to restore the kernel, or at least boot back into Linux so I can download a new kernel via the package manager?
Im having the same problem, did you manage to solve it?
Hi mate really clear explanation. If not logging after hitting normal, what does that mean?
That typically means you have a bigger issue like the drive is bad, can’t find sector, or file system is corrupt
What if when installing grub, there is two sda?
When I do the ls I see the HDD’s but then it shows errors after words. After trying the hd0 gtp1 etc nothing comes up. I see Linus on my mac Home Screen, but nothing is inside that drive.
When I did the exact same thing as you did in grub , it shows an error saying too many huffman values(The problem was I tried customizing it😅)