How to Restore Missing Grub Bootloader | Manjaro Linux Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everybody Chris here and in this video I'm gonna be showing you guys how you can recover your grub bootloader and manage our Linux after it disappears you can't boot up into Linux anymore even though you know Linux is installed one instance of where this can happen is if you install Windows after you install Linux it might play around with your boot loaders and cause this issue so what we're going to be needing for this tutorial is a live boot medium basically a USB Drive that has Manjaro installed so you can go download Manjaro if you have an already burn it to a USB Drive using a tool like Rufus I'll include a link to Rufus in the description below and then you just burn Manjaro on to that thumb drive and you pop that into your computer and you boot into that device so in many cases it's the same process of actually installing Manjaro where if you installed it using a USB Drive it's the same idea you just need it installed on something you can boot into and then you pop that into your computer and launch that device so once you've done that you should get a screen pretty similar to this the live boot screen for Manjaro go ahead and select boot Manjaro down here and that's going to be taking a second just to launch the operating system but instead of launching the copy that's on your hard drive it's just loading it into your ram ok so once you have booted into manchala we're going to need to run a few commands in the terminal so you can just go ahead and close out this manager oh hello thing go to the Start menu in the bottom left and launch the terminal emulator so from here the first command we're going to need is OS blk space dash F which is going to list of the partitions installed to our computer system so here you can see on this VirtualBox version of Linux I actually only have one installed partition and then a swap file so usually Manjaro is going to be installed on a ext4 type partition and generally the partitions are going to be numbered kind of in the order they were installed so if you installed Linux first and then you installed Windows later on Windows is going to be SD a 3 4 5 and then Manjaro is probably going to be s da one so hopefully just by looking at this you'll be able to figure out which one is actually where you installed Manjaro or another linux onto so we're going to need to mount that partition so we're going to need to mount that partition doing sudo mount slash dev slash SDA and then the number of the partition so in this case that would be SDA one because that's where Manjaro was installed and then space and we put that on to slash mount directory and that will allow us to work on the Manjaro installation without actually being booted into it but in order to not run into any issues we're going to want to do CH root before we actually enter that directory and start doing grub commands so the simplest version of CH root for you to use on Manjaro is going to be m HW d CH root which is actually on the pac-man package manager so we need to download that first and even though in the live CD we can still run commands like sudo pac-man sy to synchronize the database this will only take a couple megabytes of data so it takes seconds in order to do that though you will have to actually connect into the Wi-Fi in the bottom right hand corner if you haven't done so already and next we're going to do sudo pac-man - s MH WD chroot to install it which is a really tiny file but a useful tool for us to have and what's it once it's installed we can go ahead and do sudo m HW d CH root which is going to launch a new shell where we can run these grub install and update grub commands without running into any issues so next we want to change into the mount directory so CD / mount and then we want to install grub here so in my case I'm installing onto a BIOS based system there's also UEFI based systems where the command is a little bit different but at least for a system that's running on BIOS booting you're going to be doing grub install space slash dev slash SD not a number but SDA it's referring to the hard drive not the partition and then double - root directory equals slash mount slash boot which is generally where the boot files of your Linux installation are going to be put into so because SD a one or mentor our Linux is mounted on Tim / mount /boot directory is going to be located in that so that's why it's slash mount slash boot and not slash dev slash SDA 1 slash boot so we go ahead and run that ok so it's actually important you spell right so I missed the s there so make sure grub install and I'm gonna go ahead and rerun that command there so you should see installing without any errors give it a few seconds and it should be complete ideally what you want to see is a message here is installation finished no area reported and then what we can do is update grub so within the mount directory which is going to look on your computer and find all of the operating systems installed on it and compile those into your new grub boot file so if you have Windows 10 and Manjaro Linux you should see some reference to those so like Linux image and then something about Windows and assuming you didn't run into any errors everything should be done so if you run into any issues in this tutorial possibly you're running on a UEFI system or something like that I'll hop in the description the link to the official manager documentation on correcting the bootloader after group goes haywire so check that out if you need I've been Chris thanks for watching and I'll see you guys in my future video content
Info
Channel: Chris' Tutorials
Views: 122,632
Rating: undefined out of 5
Keywords: Tutorial, Tips, Intro, Introduction, How-to, Chris Tutorials, Getting Started, English, Tutorial for Beginners, Grub, Restore Grub, Dual Boot, Installed Windows, Cannot See Grub, Cannot Load Linux, Manjaro Linux, Cannot load manjaro, cannot enter grub, grub deleted, grub mising, linux tutorial, install grub, reinstall grub, bootloader, grub bootloader, booting, linux, grub, repair, boot loader, fix, lite, xfce, lubuntu, manjaro, manjaro linux, best linux distro, command line, software
Id: sVMgZ9YW6i8
Channel Id: undefined
Length: 6min 8sec (368 seconds)
Published: Fri Apr 13 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.