Grub Rescue - Complete Re-install of GRUB 2 from Live USB
HTML-код
- Опубликовано: 21 сен 2011
- Seeing nothing but the grub rescue prompt? Did Windows mess up your Master Boot Record? Using Ubuntu, GRUB 2 got you down? Who needs Live CDs? This video tutorial will show you how you can use an Ubuntu Live USB drive to reinstall GRUB, even when your boot device is inaccessible.
Commands used in this video:
sudo mount /dev/sda5 /mnt *****Using the linux installation on your hard drive instead of /dev/sda5
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda *****Using your boot device instead of /dev/sda
CTRL-D
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /mnt
This video was produced on Linux and edited entirely using open source programs!
My USB is a Mimobot, found here bit.ly/pSU2Wt
Intro made in Linux by Yazlanka: #!/yazlanka
Outtro thanks to Wayne Tedder : / deathguppie Fight for the users in our Discord: discordapp.com/invite/CKYwgxA Наука
Nixie - You're an angel!!! Nicely presented and gave me the confidence to try it. This enabled me to move my server from a failing 1.8T hard drive to a newer but crucially, smaller drive by copying files etc rather than DD. One problem though, my /boot is on it's own partition so also had to mount it to /mnt before the chroot. Without that the system rebooted to Grub prompt - probably obvious to those at your level but left me scratching my head for a while :-)) Many thanks.
Cant believe this holds 11 years after, thank you so much it helped me a lot!
Clear instructions, straightforward, to the point, all the steps were explained, including commands and done in less than 4 minutes. You're great = sub
Very helpful. I once had a corrupted usb hard drive that had my only copy of a lot of files and I couldn't access it so I held on to it and one day I learned about gpart and I was able to recover the master boot record and access my files long enough to back it up. There is a lot that you can do with a Ubuntu live CD and a Ubuntu live USB. Keep up the good work.
You saved my Linux install! :) Your directions were perfect!
Many Thanks!
Much appreciation for the brevity & clarity! I watched a bunch of other videos that were not of much help. This one worked for me. The only thing that I had to do differently is mount my EFI partition to /mnt/boot/efi before I could successfully re-install grub.
Hy Adam, I'll try that for now.
Great tutorial! The last time I installed Windows 7 on a separate partition I ran Boot-Repair on a Live USB drive and it made the repair much quicker.
Nixie still today is a real beauty (and a real techie) We love you! Thanks for the tutorial
Hour of searching for a answer, and fixed my boot issue. Many thanks .
After using an Ubuntu 13.04 disc to update from 12.10 I was getting the grub rescue screen. I figured maybe something didn't install right so I even tried re-installing but still got the rescue screen. I followed every step exactly and it worked. I don't know how this stuff works, but I'm sure glad that someone does. Thanks a ton!
Good video! This helped me fixed my dual boot issue (Manjaro + Ubuntu). Really appreciate it!
Thanks a lot for this tutorial, Nixie. I installed Ubuntu 12.04 on my father's PC (which was running on XP btw) and after a few days he ran into some problems while booting. So after a few hours, trying to solve the issues myself, I decided to look on the Internet for a solution. Luckily this video popped up and helped me solve the problem. Thanks!
8 years later and this video still useful, you just won a suscriber
same 12 years later
Decade later and it still holds up. Thank you
Thank u. Years a go and still work. From Brazil!
Thank you. I just about broke GRUB trying to upgrade Ubuntu. Very useful.
two things i LOVE , the ASMR and repair my PC , subs now! i love your yt chanel !
Brilliant this works! Loved the tutorial!
Thanks for this - very kind of you - nice and clear - MUCH appreciated.
Absolute lifesaver - can't thank you enough!
Specially singed in to say it helped me two times.Thank you .
You probably get this all the time, but thank you enormously! Saved my life!
Thanks Nixel Pixel my multiboot laptop went crazy and wouldnt boot, I just followed your instructions and now all 9 os's are back :D
You have saved me countless times from pulling my hair out. I had to give in and install a windows partition for a few programs and it took over grub and I couldn't boot Ubuntu. Thanks so much! This fixed it
you are orsm Nixie, this got my OMV server back up and running again... very clear intructions.. Cheers!!
I wish I found this video before I spent hours derping around with online forums and so on. Thank you for getting my Ubuntu back online.
Thanks so much , this method still working after all this time :)
Short and to the point woah ... Ty 😊
Wow! That's really work for me. Complete and perfect solution. Thanks a lot. Liked and subscribed.
Yessssss! It works for me (Ubuntu 14.04). Thank you very much!
How amazing!! A video from 9 years ago saved my computer, and all of these "I use arch btw" nerds in 2020 couldn't put one single helpful video. Thank you
You saved my butt from heck a lot of things , thanks!
watched it yesterday and after messing around with partition changing programs in win7 this morning my grub menu was gone, now it's working again thanks to this tutorial. tnx
Thanks alot. Finally your method worked after trying alot.
Couldn't believe a 12 year old video helped me tho ..great
Very nice tutorial I've never done this such quickly :) Today I would have really needed it but got a few errors while trying to fix Grub manually so I had to use boot-repair PPA instead. It did the trick. Probably the mistake was that I tried to mount /dev/sda first and failed to mount /sys. I was in a hurry :/
You saved me, I was forgetting binds before chroot!
Thanks Nixie, good video keep them coming!
Where ever you are, you are a legend...
excellent video. good job. Thank you!!
nice new intro :) and usbdrive
YOU ARE THE BEST! Thank you for this
This was actually informative.. thanks Nixie
Merry Christmas and Happy Holidays Nixie
Mi hai salvato la vita. Ti amo!!
You're my HERO
This worked great for me!!! Thanks a lot!!!
People need this to avoid the massive frustration GRUB and multiple reboots can cause. Do it right once, the first time. Well done, everyone's time is better spent that looking up all this stuff themselves. This is important stuff to know, always great to have it one place, one bookmark!
It make sense! But i don't actually understand how she has separate "root" and "home" partitions... What "root" does she mean - "/" or "/root"? Could you explain me, please?
@@user-sq4ff4zp9b All of the above. the root user has a home folder at /root, and also has a user folder like everyone else. It's all on the same partition where linux is installed.
If you gain access to the /root folder you can change root's password. and you become root. cheers!
You helped me so many times... Thank you for the video...
I like it, this guide looks quite helpful. A minor comment is that bind mounts are not hard links; hard links (made with ln) don't work on directories (for structural reasons) and only within one filesystem. The steps shown work nicely. Keep it up! (:
The best and easiest fix! You have saved my life!! :D Thanks a lot!!!
ahhh, tech instructions in bedroom voice. thank you very much Nixie (in bedroom voice also)
Thanks alot!!!! Finally got the perfect solution....
Thank you so much. This is very useful.
Thank you from my heart. I've solved the problems😥
Keep up the great advice Nix!
i must kindly ask for assistance.
I'm trying to install Lubuntu and it keeps coming up with "Bootloader install failed" and a grub error. It could possibly be something I'd doing wrong, how would I tell?
Gaming Palooza Empire mine too but it happened when i upgraded to 16.10,I have Debian installed on the same drive with equal partitions for both operating systems
Gaming Palooza Empire many others have this problem its the installer
love you video works like a charm...
I like watching your videos Nixie, your voice is soothing :D
A tip for those who like backups:
dd if=/dev/sdX of=/some/path/grub-backup.bin bs=512 count=1
Saves your boot loader to a file 512 bytes small, put it in dropbox or somewhere you can get to it online for later convenience.
To restore, boot your live USB and just reverse the if/of parameters:
dd if=/some/path/grub-backup.bin of=/dev/sdX bs=512 count=1
No mounting necessary, you can backup while the system is running too :)
Great Tutorial Nixie - Thanks
Thanks a million you saved me from big headache i was suffering to fix this f..... Grub
This vedio was very much helpful
Thankyou so much
Thanks you.
This video is very useful.
thanks very much...
I tried so many times to install grub, and with your help it took 5 min.
:))
Thanks! A million times thanks! Very, very useful.
Great tutorial, thanks!
Your content is 🔥...
Nixie is the best there is. You just saved me a lot.
Hey it's very useful for me I checked out lot of videos to overcome this problem but I can't
After watching your video I just solved the problem thanks a lotttttttt....
so thank you so much!! Nixie Pixel!!
you are my life saver. THANK YOU for this GREAT Video
thank you so much!!!! you saved me alot of time
Thanks dear you probably saved a day of mine :)
Damnnnnn!!!! It really works. Thanks.
Thx Nixie...I think I found the solution to my daughters laptop...
it is very helpful. Thank you so much.
I like it, thank you :)
TYVM
No more reinstalling linux when I only need to refresh windows
I know I could probably find this out easily on google but the personal touch is much nicer than google
looking good babez!
Awesome video thank you.
used this for a round about way to install ReMix android OS. ty
8 years later, and you explained something many nights of forum searching hasn't:
You don't install-grub to a partition. Wherever you're at, I hope you're nerding well!
thanks nixie you very very amazing... :)
Hooray for GRUB2
Después de toda clases de forma de intentar recuperar grub fracasadas, esta a dado con la solución.
Gracias
Many many reslly many thanks!
I love you. Thanks!!
It won't let me use the --bind command bc it says the directory doesn't exist. Plus I can't mount the proper hdd bc its encrypted. Please help
I never thought you would use the words"archaic" and "crap" in the same sentence
Thank you, beautiful linux girl, you saved me couple of hours! 3 min and good to go!
BTW: Works in a same way for Linux Mint
Great tutorial. If your system is still not booting, you can try after the "chroot /mnt" the following:
update-grub
grub-install /dev/*device*
This worked for me, but only grub-install (without update-grub) didn't.
sooooooo amazing thank you sooo much you saved my bricked laptop. lmao thank you!!! wish i could buy ya coffee for the fix!!
you saved my day, thank you
Beautiful.
> oh my! im in love w/u !! :D nice tutorial :) cheers from México :3
love u :)))
u are great & very helpful
You are a savior 🙏 thanks a loooooooooooooot
I love you
Cheers Mate!
Thank you!!! Ahhhhh it works!!!