GRUB Rescue | Repairing GRUB

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 285

  • @rogueyun9613
    @rogueyun9613 Год назад +36

    "Only takes 30 seconds to a minute..." I'm on day two...

  • @PS_Tube
    @PS_Tube 5 лет назад +190

    Tip :: Every Linux user, especially new users should keep a live usb with them.

    • @NilamDevi-fy6ps
      @NilamDevi-fy6ps 4 года назад +7

      True words ❤️...I have done many times this

    • @soulninjadev
      @soulninjadev 3 года назад +11

      not only new users tbh everyone needs to hv one

    • @clayhudson8892
      @clayhudson8892 3 года назад +3

      I keep 6😂

    • @deezz244
      @deezz244 3 года назад +7

      I got that lesson today

    • @soulninjadev
      @soulninjadev 3 года назад

      @@deezz244 lol

  • @nicolasbrinkhus7437
    @nicolasbrinkhus7437 2 года назад +15

    For those with UEFI system:
    also have to mount the efi, in my case I did:
    mount /dev/sda3 /mnt
    mount /dev/sda1 /mnt/boot/efi (if you don't have the folder, create one)
    arch-chroot /mnt
    ...
    if your command grub-mkconfig does not found a linux kernel img (my case):
    mkinitcpio -p linux (should create one, if still don't find it, update your packages: pacman -Syyu
    grub-install --target=x86_64-efi --efi-directory=/boot/efi
    grub-mkconfig -o /boot/grub/grub.cfg
    reboot and good luck.

    • @User-m6l8t
      @User-m6l8t Месяц назад

      Hey I have a problem in grub reinstall in my fedora 😢

  • @kencole4850
    @kencole4850 2 года назад +2

    I started using Linux one month ago. This is way above my head. I don't know what you are talking about.

  • @vydave
    @vydave 4 года назад +19

    6:12 notice the excitement when he is about to mess up the grub real bad

    • @samratpandey5131
      @samratpandey5131 3 года назад

      Bro 4:07
      In mine it says
      Unknown command 'linux'

    • @sethadkins546
      @sethadkins546 3 года назад +1

      @@samratpandey5131 Are you in Rescue? If not try replacing the command with "load"

    • @-BlueAzure-
      @-BlueAzure- 4 месяца назад

      😮

  • @s9209122222
    @s9209122222 5 лет назад +17

    update-grub is available on Manjaro by default, too.
    After your explanation, it becomes so easy, it was a nightmare to me.

  • @kellingc
    @kellingc 5 лет назад +3

    I just had one of my systems boot to Grub Rescue. You could not have posted this a better time. Thank you.

  • @lukaradisavljevic5791
    @lukaradisavljevic5791 2 года назад +3

    thank god someone who isnt having a harsh indian accent

    • @ksl927
      @ksl927 3 месяца назад

      I agree but they speak 8 to 15 languages, if you try to speak their language you will sound even harsher.

    • @lukaradisavljevic5791
      @lukaradisavljevic5791 3 месяца назад +1

      @@ksl927 damn this was a bad comment i left 2 years ago, how times have changed

  • @russghound
    @russghound 5 лет назад +36

    Man, that was an awesome video on restoring Grub. You sure make stuff look easy. Will definitely want to keep this video bookmarked for future reference.

  • @JemilMarcosTyC
    @JemilMarcosTyC Год назад

    Damn... I went trough this hell over the weekend and took me serveral hours to figure it out and fix it... If I only had this video before... anyhow, Thanks a lot for the video mate!

  • @theodoros_1234
    @theodoros_1234 2 года назад +2

    This video has saved me multiple times from destruction caused by my shenanigans, thanks Chris!

  • @nickoct7472
    @nickoct7472 5 лет назад +2

    In case your viewers have the same problems as me also add these commands before you chroot sudo mount -t proc proc /mnt/proc and sudo mount --rbind /dev /mnt/dev plus also sudo mount --rbind /sys /mnt/sys this will help your devices be recognized when chrooted. I always use those commands every time grub won't recognise devices within a live distro. I had the grub issue a lot when using UEFI within Virtualbox. Its ok as long as the ISO is installed once you extract it there is no grub menu. Maybe you could do a video about solutios to that. I think that is normally if I manually create the EFI partition. Great video.

  • @protoyeen
    @protoyeen Год назад

    Thank you! I was having an issue getting AntiX to install grub and thanx to it's chroot tool and your tutorial, I got grub working again!

  • @victornetto4024
    @victornetto4024 2 года назад +1

    This is awesome, i spent like 4 hours trying every possible solution, and only this one worked! Thank you very much!

  • @jamesschaefer9554
    @jamesschaefer9554 10 месяцев назад

    I checked a few resources, this is the process that finally worked for me. Thanks Chris

  • @spaceiswater6539
    @spaceiswater6539 5 лет назад +16

    You're so helpful Chris with all your videos, thank you so much for all the effort you put into them.

  • @mercuriete
    @mercuriete 5 лет назад +2

    Thanks! Great video. I've never been able to understand grub command line. I always use the live cd approach.
    Now I switch from grub to boot directly from UEFI. It is faster and is easier to do dual boot if your BIOS have UEFI OS selector.
    If I mess up UEFI variables I probably only need efibootmgr from a liveCD to restore my boot configuration.
    Another unsual configuration in my boot process is having all drivers (and firmware) built-in in kernel. This allows you to avoid use initramfs image.
    Avoiding initramfs speeds up disk reading from SSD or HD because you have everything you need inside the kernel.
    The fastest you bring up your devices the fastest init/systemd starts. The fastest you start init/systemd the fastest you get to login prompt.
    You can archive very fast boot times (3 seconds) if you do that.

  • @Macleod1617
    @Macleod1617 Год назад

    Well, today the second part of the video saved my main arch computer after an update. Thanks Chris!

  • @lemler3337
    @lemler3337 5 лет назад +15

    for people on arch, there is a "update-grub" package in the aur if your lazy like me

    • @ALPHONSO_NANOOK
      @ALPHONSO_NANOOK 5 лет назад

      and can you please explain how to use it!?

    • @lemler3337
      @lemler3337 5 лет назад +1

      @@ALPHONSO_NANOOK install the package and you can run "sudo update-grub" on arch

    • @kdbama4
      @kdbama4 4 года назад

      @@lemler3337 Not from the live CD

    • @lemler3337
      @lemler3337 4 года назад +1

      @@kdbama4 well like I said, from the AUR, and since you cant use yay or makepkg as root you'll have to type it out the old fashioned way "grub-mkconfig -o /boot/grub/grub.cfg"

    • @kdbama4
      @kdbama4 4 года назад

      lemler 3 yes that’s what I ended up doing

  • @mrcrackerist
    @mrcrackerist 5 лет назад +3

    to know what disk you have just type,
    #sudo fdisk -l
    if you are using a hardware raid it will be something like
    "md126p" or similar
    For Raid0, you need to reload
    #GRUB_PRELOAD_MODULES="... mdraid09 mdraid1x"
    UEFI
    #grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB
    *the UEFI portion need to be in fat file format.
    Recommended
    when shutting down, will make the system power off faster
    #sudo umount -a
    All this information can be found here, you should read it.
    wiki.archlinux.org/index.php/GRUB
    well it always help to have some visual conformation also =P
    thx Chris ^^

  • @linuxpcinstalls4313
    @linuxpcinstalls4313 5 лет назад +16

    I need to watch this a few hundred times more so that it becomes hard-wired into my brain and I can get to do it in my sleep. Thanks. I copied and saved the notes on your website to a pdf file tucked away safely on my Google Drive ...and also backed up on my tablet. I'm ALMOST looking forward to seeing either of those two Grub errors ...ALMOST! :D

    • @mTrader1
      @mTrader1 2 года назад

      😆😆

    • @Sakuraigi
      @Sakuraigi Год назад

      @@mTrader1 what is your rating

    • @mTrader1
      @mTrader1 Год назад

      @@Sakuraigi 2050

    • @devooko
      @devooko Год назад

      ​@@Sakuraigi what color is your buggati

  • @MushishiYoki
    @MushishiYoki 4 года назад +1

    My os is linux mint
    set boot=(hd0,msdos3)
    set prefix=(hd0,msdos3)/boot/grub
    insmod normal
    normal
    Ok my linux starting up..
    Reboot
    Grub rescue again.. what? So i should type the command every boot?
    if i type 'set' the display partition is (hd0,msdos2) boot and prefix, but actually this is incorrect, my system and boot and prefix actually in (hd0,msdos3) partition. What i can do this? Every boot, grub rescue again and i should type the command again too..
    Sorry if my english is bad :(, i hope your answer..

  • @teddraper1746
    @teddraper1746 5 лет назад +3

    Great, informative video. I normally end up reinstalling or deleting my install because I don't know how to fix the problem. This video is getting book-marked!

  • @Incommensurate
    @Incommensurate 4 года назад

    thank you so much for this video, i screwed up grub trying to make a dual boot system, been trying for over an hour to fix it and this is the only solution that worked. wish I'd found it sooner...

    • @userfour-cy1bu
      @userfour-cy1bu 4 года назад

      aye i think i have the same problem tried installing kali linux as dual boot on windows and everytime kali finishes installing it doesnt restart on the kali menu

  • @tonyfreehauf4463
    @tonyfreehauf4463 5 лет назад +3

    great job including your notes. this is very helpful. hope you do this on all your great videos - thanks old tony

  • @rubencristobalgarcia185
    @rubencristobalgarcia185 4 года назад +1

    THANKS A LOT, GOD FINALLY A TUTORIAL ACTUALLY USEFUL

  • @marjaireplay8730
    @marjaireplay8730 4 года назад +4

    Great work CT! This is by far the farthest I've gotten with grub cl.
    Question:
    What about adding extra things to this boot covered in the first portion so as to add things like noacpi or things like that?
    How would I type that and where?
    Thanks so much for your encouragements and insights CT

  • @KeepItTechie
    @KeepItTechie 5 лет назад +4

    Great video. I had to do this awhile back to my server. Thanks!

  • @davemckewan4450
    @davemckewan4450 5 лет назад

    This was going to be a life saver. I had moved part of a partition, from my W7 install, and I received the dreaded Grub Rescue. I learnt that I should have just used GParted... Sadly, this video didn't work for me, even after booting up with a Mint install DVD and using GParted there to complete the partition job.
    So, in the end, I took a slightly different route and just installed Solus Linux into the 100GB partition I had created for it and let the installer take care of Grub. I'm now triple booted...

  • @magetaaaaaa
    @magetaaaaaa 10 месяцев назад

    Yes! This is probably what I need! I re-installed Windows today, unplugged all my other drives so there could be no mistake... But it overwrote NVRAM and removed my Linux. I can still see the Drive from Windows and can see the EFI partition so I know it is still there, I just need to find a way to get GRUB to put the entry back in NVRAM again.

  • @allenshaw1720
    @allenshaw1720 10 месяцев назад

    Great video, still working like a charm in 2024.

  • @kenmurphy4259
    @kenmurphy4259 5 лет назад

    Nice walk through Chris, great channel

  • @aaronvond
    @aaronvond 3 года назад +1

    I watched this while I used Garuda's live DVD to fix Grub (I installed an old version of Ubuntu, for reasons, onto another partition and it reinstalled old Grub and didn't recognize Garuda). I feel like I should do this stuff in the video for practice...

  • @goldmaster369
    @goldmaster369 3 года назад +2

    4:17 I got error: file '/boot/vmlinuz-linux' not found
    Help quickly plz!

  • @Hey-Yaz
    @Hey-Yaz 5 лет назад +7

    I need to destroy my Grub now just to use this very useful information. Thanks :)

  • @ahmedal-modaifea4457
    @ahmedal-modaifea4457 2 года назад +1

    Actually, I managed to fix mine from grub rescue.
    First as you did you need to find which msdos contains your OS.
    ls (hd0,msdos6)\ for example, if it shows your root file directory then that's the one.
    set boot=(hd0,msdos6)
    set prefix=(hd0,msdos6)/boot/grub
    insmod normal
    normal
    Then you are back on grub, boot to linux and run from the terminal
    update-grub
    grub-install /dev/sda
    Edit: i keep mixing up update-grub

    • @hwris
      @hwris Год назад

      You saved my life bro

  • @eddieoconnor4466
    @eddieoconnor4466 5 лет назад

    Thanks for this!.....I've always wanted to have a better understanding of the whole "grub" thing!

  • @Mistrons
    @Mistrons 4 года назад +1

    At 4.15 you say you'll tell us how to figure out which drive to enter sda1 sda2 etc - soooo is there going to be a follow up video for that?

    • @andrewstafford1143
      @andrewstafford1143 3 года назад

      If you found out the answer to this, could you please share a link or something with me? I need to figure out which one, but im stuck figuring out how.

  • @luigiprovencher
    @luigiprovencher 6 месяцев назад +1

    How do you do this on Debian with a separate boot partition,though?

  • @computethisinfo
    @computethisinfo 4 года назад +1

    Oh man thank you so much. Saving this video for sure since it saved me. I was very close to eiping the drive and just using it as extra storage space after linux just stopped booting. But I'm back in again. Well sort of.
    For some reason it keeps doing this after rebooting but repeating the same commands at the end of the simple one to mount the kernal works fine each time without problem. But I don't want to have to keep doing those commands every time I boot my pc. And I still can't get the normal grub selection screen to show up. I have to switch to windows on a seperate drive by changing the bios boot order. Windows boots fine and normally. I have linux mint on an external ssd which is what's having issues.

  • @peterjansen4826
    @peterjansen4826 5 лет назад +4

    Questions.
    When big brother Microsoft overwrites the bootloader with their bootloader (allegedly that happens occasionally with W10 after an update when you dual boot from the same SSD), what is the best way to fix Grub then? You don't get that Grub recovery tool when that happens. Could you boot up with a live-USB and then install the bootloader again?
    I once bricked my Linux system by installing certain AMD proprietary software for my graphics card which apparently is not supported by those drivers. The same question, I guess. How would you install the proper software when you access your partition via a live-USB? Reinstalling Linux (ideally with some backup-utility) is the easiest solution but that isn't fun. ;)

    • @ChrisTitusTech
      @ChrisTitusTech  5 лет назад +3

      Great Question, and yes, you use live installation media and simply do the chroot, update-grub, install-grub and done.

    • @dylanstoesz1324
      @dylanstoesz1324 5 лет назад +2

      one thing you could try is using easyBCD from windows, and just use the MS bootloader to boot your linux partition. Not quite as nice as just grub, but it works.

    • @peterjansen4826
      @peterjansen4826 5 лет назад

      ​@@dylanstoesz1324
      Not for me. I like my nice picture, the ability to configure GRUB (timer and sequence of items) and the ability to load the distro with another kernel. If it happens to my system in the future then I will try out two SSD's with two bootloaders but then it is a bit more clumsy because you have to load the bootmenu first when you start the bootloader for Windows. Or possibly run Windows with PCIe-passthrough with the downside to have a higher power draw and the advantage of Windows not being able to take your system hostage when it updates again..

    • @Catinthehackmatrix
      @Catinthehackmatrix 2 года назад

      @@dylanstoesz1324 I'll have to try that again, not sure if it will work though, now you have to purchase it. My m.2 nvme seems to have complicated things, or my mb bios, even updated bios. I have to go into bios settings change things around, then it will see the grub, where ever it is now, but wont linux wont even see windows to list it in grub, spent days once trying to fix this!

  • @ronaldhuetter7548
    @ronaldhuetter7548 Год назад

    The boot loader on my PC got corrupted when installing Ubuntu on a second disk. I just wanted each disk to be self-contained in terms of booting. Means, when I change the boot drive in BIOS, it should boot the other disk. Of course, due to the OS auto-detection, in the Grub-menu you can still select the other installation, but when removing the one or the other disk, it should still boot. However, even if I specified the one or the other disk as a boot-loader drive, I end up not being able to boot from both disks. I don't understand what is going on. I has happened several times.
    So your video was really helpful. Didn't want to follow procedures that mess with chroot etc. I understand, that no EFI or DOS partition is needed, because its all in MBR. But maybe, you could elaborate on how a good system looks like, and what partition/size should be in place to make it future-proof.
    Thanks anyway.

  • @tainmenok8352
    @tainmenok8352 2 года назад

    Thank you, i can go back to my Linux after windows update

  • @vasiledan3141
    @vasiledan3141 5 лет назад +2

    On non-Arch systems it might not be enough just to mount root and chroot into it in order to reinstall grub from a live medium. Before chrooting you may also have to `mount --bind ` /dev, /sys and /proc from the live medium to their correspondents in the local root directory (in this case to /mnt/dev, etc.).

  • @ricardo072
    @ricardo072 Год назад +1

    What if I don't remember the label of my disks?
    You did it easy and fast because you knew the path of your drive, how can I find that out from the GRUB console?

  • @justinaskelmelis6346
    @justinaskelmelis6346 3 года назад

    Wow finnally got that ancient grub was pretty hard but the cloak helped me.

  • @soundsandambientvideos380
    @soundsandambientvideos380 7 месяцев назад

    How can you build a custom .iso for installing OS and apps
    what partition has grub
    what apps are good to have on a usb to use for a rescue USB

  • @Letmefixyourswagg
    @Letmefixyourswagg 3 года назад +1

    Im stuck on linux /boot/linuz-linux root=/dev/sda1 it says file not found someone help

  • @admonito
    @admonito Год назад

    Wish i had this video when i started to use arch

  • @zaubermaus8190
    @zaubermaus8190 5 лет назад +7

    THANK YOU THANK YOU THAAANK YOU!!!111 srsly, BUT.... i needed that info YESTERDAY ^^
    i spent my whole day to figure out why the hell my ubuntu grub bootloader resets to the grub-recovery "shell" everytime i rebooted... the TAB "help" was not helping at all, so i just used trial&error to find out which command could help... after a few failures because i was supposed to give that specific command a file/folder or that i needed to load a kernel first, my first success came when i used the fwsetup command, which reset my pc and opened the UEFI bios, there i didn't do anything, just hit F10 and the pink ubuntu grub menu magicially appeared... BUT, when choosing the normal ubuntu boot, it froze during boot, so i tried the recovery kernel, ended up in a recovery menu. there i selected grub repair, got a msg that several files couldn't be found, they were recreated, after that i could hit resume and ubuntu would boot normally... until the next reboot ^^
    at one point i just typed "exit" from the grub rescue and that saved me from going through the bios and instead the grub bootloader appeared immediately, but i still had to recover, repair, resume.... FYI: i installed the ubuntu distro on top of 2 windows 10 installations (one RTM, one skip-ahead-insider-preview) and these had no problems booting after getting to the ubuntu grub menu...
    for my ubuntu i intentionally didn't use the SSD i used for my Win10 setups, but shrunk an old 2 TB HDD and formatted the unused space with ext4. mainly because i didn't want to stress my SSD with all the read/writes that i knew would happen in ubuntu (i installed bionic beaver, updated, upgraded, dist-upgraded and then did a do-release-upgrade to ubuntu cosmic, alongside with a bunch of other software packages, beginning with aptitude, then other essential stuff and after that lutris, wine, etc. because my goal was to test if i could get my favourite games (mainly Overwatch, which seems to be a troublemaker on linux) to work and how good the experience was when compared to gaming on win10.
    this is btw the second time you uploaded information i did need the day before about linux problems, can't remember what it was, but omg i like your content anyway, keep going dude :*

  • @JamesWilson-pq9qp
    @JamesWilson-pq9qp 5 лет назад

    I had a hell of a time figuring out a newer system on a solid state drive, Can't use sda, need to use mmcblk. I tried installing three times over what I thought was a corrupt Windows 10 but realized later it was a lack of scandisk in 10 (another headache). And a simple: fsck -y mmcblk0p2 , solved the new install in Grub 2.

  • @trungnguyenhoang1139
    @trungnguyenhoang1139 4 года назад

    Verry helpful. Thank you! Chris

  • @adityamahakali7703
    @adityamahakali7703 4 года назад

    i messed my debian installation and was landed to grub page. Thank u very much

  • @nicolal.1171
    @nicolal.1171 2 года назад

    Best video on youtube

  • @neoneos2914
    @neoneos2914 4 года назад

    You are the best my friend. Thanks a lot.

  • @newstuffnsf5265
    @newstuffnsf5265 3 года назад

    If you get a kernel panic after fixing grub DO NOT PANIC sometimes the filesystem partition changes of hd value so reboot the machine and press "c" on the grub menu and execute the "ls" command again and verify if the name has change if it has change redo the tutorial and it will fix it

  • @howtoeveryday14
    @howtoeveryday14 3 года назад

    Thank you sir it really help me to fix my grub menu

  • @Berntisso
    @Berntisso 4 года назад +2

    Doesn't work :(
    error: '/boot/vmlinuz-linux' not found.

    • @ahmadshorsh7994
      @ahmadshorsh7994 4 года назад

      Same here. Did you fix yours?!

    • @Berntisso
      @Berntisso 4 года назад +1

      @@ahmadshorsh7994 Yeah, found out I probably hadn't installed the Linux kernel or something, fixed it with pacman -S linux linux-firmware. For Arch that is, for others I don't know.
      However it didn't fix the problem completely since I had another error after that as well, can't remember what it was or how I fixed it.

    • @ahmadshorsh7994
      @ahmadshorsh7994 4 года назад

      Jonas f thank you so much 🙏

  • @shankhanilsaha8858
    @shankhanilsaha8858 3 года назад +1

    I installed windows 10in a spearate partitions but it doesnt work grub boot lader is not even opening and linux boots automatically how to fix it?

  • @theempresshasnoclothes
    @theempresshasnoclothes 4 года назад +2

    UPDATE: I thought he pressed an init cmd at 4:24. Actually, he was just tab binding. Oh well, at least this info will help somebody out there... I'm sure 😂👌🕜
    I get "error: init command not found" at 4:24.
    On Manjaro installation...

  • @KutWrite
    @KutWrite 4 года назад

    I had to check. First you said "grub-update" then later you said "update-grub." It appears to be "update-grub" which must be run with "sudo."

  • @AJ_real
    @AJ_real Год назад

    Chris, why do you run grub-mkconfig before grub-install? Are there ever scenarios where grub-mkconfig should be run **after** grub-install ?

  • @catsartpics
    @catsartpics 11 месяцев назад

    Very helpful Chris Titus Tech, thank you so much! Somehow during a LMDE install Grub got hosed and when I repaired Grub with a Live Debian USB it still booted to grub rescue. Found out in the BIOS the distros somehow got switched around.When I put the devices back in order sda, sdb and sdc and rebooted from the BIOS I had Grub again. Any idea how the /etc/default/grub got mis-configured?

  • @nnaaaaaa
    @nnaaaaaa 5 лет назад +2

    someone somewhere will stumble across this video after their first ubuntu install goes ary.

    • @javabeanz8549
      @javabeanz8549 5 лет назад

      I have never had Ubuntu go South on me unless there was a hardware issue, or I screwed it up myself. I was trying to fix a video issue once and made my Ubuntu unbootable, but about 5 minutes with the Live Image and it was good to go again. To expand a little on what I mean by hardware issue, I have had drives fail, main boards fail, RAM modules fail, firmware updates needed to be compatible with newer OS installs, and even in a VMWare image I have had VMWare NIC drivers fail with a kernel update, making the network unreachable. But just Ubuntu itself failing, I haven't run into. Even if I overfill the boot partition, I have been able to fix them, it just took a little clean up.

    • @jessicajessica3190
      @jessicajessica3190 4 года назад

      Bro it's literally me rn

  • @izuukyandrey2235
    @izuukyandrey2235 2 года назад

    damn bro, i have watched so many videos, but ty so much for help me

  • @SleepyAdam
    @SleepyAdam 3 года назад

    "Cuz that's what most people do, they go and install grub and just don't pay attention"
    You don't gotta call me out like that man.

  • @damianpodgorski6977
    @damianpodgorski6977 2 года назад

    Good idea to get hands-on with messing and reparing grub is to mess it on virtual machine

  • @vinvvinv7460
    @vinvvinv7460 Год назад

    Hi, I installed Rocky Linux 8.5 on VMware after installation I am not able to boot into the OS as when I select the kernel from the grub menu I get a kernel panic error it reads "Kernel panic - not syncing: Fatal exception" it also does not boot into the rescue in the grub menu. I used an iso to boot into the rescue mode & tried to fix/repair the initramfs file using Dracut but that did not fix the issue. I tried the above steps you showed but in my case tab completion does not work properly sometimes it works & sometimes it does not. It's something related to vmlinuz which is causing it but I am not sure what to do or configure in the grub to fix it. can you kindly help.
    I don't think its an issue with the initramfs because one of my colleagues had fixed this issue using the grub rescue/CLI by passing some parameters like you did

  • @andreas_aqua
    @andreas_aqua 3 года назад

    I can do it on every linux version? I can't install linux mint and Lubuntu after a dumb thing I did

  • @DonEdward
    @DonEdward 4 года назад

    Im trying to install arch on a usb stick. Its x86 architecture and a uefi bios. If all i need to do is setup the configuration for x86/uefi from i386, van that be done from grub-rescue?

  • @stevelloyd3
    @stevelloyd3 4 года назад

    Hi Chris,
    Not sure you'll be able to help, but I'm desperate and I'm throwing a hail Mary in your direction.
    Will try to keep it short:
    1) I installed Manjaro 20.0 KDE a few days ago and have been LOVING it. I had one complete screen freeze the first day (and learned to switch off the power saving settings). Couple days problem free and configured it to my liking.
    2) Today I was simply watching a youtube video (one of yours with CLI suggestions) and put it on hold for one minute. When I came back, my screen was completely frozen again and the only way I could reboot was using a hard reset (turning off the machine).
    From that point onwards, any attempt to reboot has given me END KERNEL PANIC.
    I've spent the past 5 hours attempting to reboot using the iso pendrive in order to get into terminal (from live) and restore grub.
    I ran across your video about this subject as was able to proceed all the way through your commands right up to the point where you enter "grub> boot" (minute 4:56 of the video above).
    But instead of booting, I get another ---[ END KERNEL PANIC not syncing: Fatal exception in interrupt ]---
    Any chance I can recover, or any suggestions ?
    I could send you an image of the screen code that might help you identify the issue (can't upload it here...)
    Hope you see this and can help.
    Kind regards,
    Steve (from Italy and going on month number 3 of lockdown)

    • @arcanethink
      @arcanethink Год назад +1

      Just curious but Did you ever fix it man ?

  • @jessicajessica3190
    @jessicajessica3190 4 года назад +1

    How do I do the second option but on Mint?

  • @JessicaFEREM
    @JessicaFEREM 5 лет назад +1

    nice, thanks chris

  • @arashkmahshidfar7780
    @arashkmahshidfar7780 5 лет назад

    Ummm I have dual booted windows and kali linux and my problem is that windows is not showing in my grub. And os-prober command will only detect my FreeDOS which was my initial os when I bought my laptop. What should I do?

  • @Klinoklaz
    @Klinoklaz 8 месяцев назад

    I experieced a weird situation with ubuntu 22.04. I had my os installed in a usb stick, which already came with an efi partition, but after a system update the bootloader somehow started to use another efi partition on the cmputer ssd. Not sure these two thing are related. I set ubuntu as the first entry of uefi boot list, so when I boot my computer without ubuntu usb pluged, it loads ubuntu efi file but can't find the os, then ends up getting into grub. Solved this by copying everything under efi partition of ssd into that of the usb, then configuring it mannually with efibootmgr

  • @rcktrvs
    @rcktrvs Год назад

    So I just installed linux on a hp laptop, and the install seems to have completed. However now it won't boot, and it goes strait to a menu with two options ( Linux mint 21.1 cinnamon, with linux 5.15.0-56 generic) and Linux mint 21.1 cinnamon, with linux 5.15.0-56 generic (recovery mode) if I select either it goes to loading linux 5.15.0-56 generic ... then directly under it, it says error: bad shim signature, then below that loading initial Ramdisk ....then below that error: you need to load the kernel first. what do I do? I am lost. Thank you in advance for your help.

  • @EM-ml8jq
    @EM-ml8jq Месяц назад

    It’s been a long time since I had to do a grub recovery. But took no problem, I’ve seen a command short cut you can type into grub and it will automatically point to where the file is your recovering..do u know what that is? Gracias

  • @mrcvry
    @mrcvry 12 дней назад

    Looks like the btrfs module is missing. „Unknown filesystem“

  • @timeforchange9514
    @timeforchange9514 4 года назад

    My boot screen only has the word grub nothing more nor will it boot a live USB. Any thoughts? Need help.

  • @marcel3979
    @marcel3979 17 дней назад

    Thank you so much, worked great!!!

  • @chris-ui2nt
    @chris-ui2nt 9 месяцев назад

    Hi all, when I type Linu and press tab there are so many choices, and the newest one says incorrect magic number... or something like that. Any suggestions?

  • @Douglas-hw8is
    @Douglas-hw8is Год назад

    Thanks - great vid BUT, when executing (in Ubuntu 22.04 terminal) "sudo chroot /mnt" I get the following response: "chroot: failed to run command '/bin/bash' : No such file or directory.
    Any suggestions from anyone would be greatly appreciated.

  • @suttle_writeups
    @suttle_writeups 3 года назад

    Hey bro i have a linux distro and somehow that partition is corrupt and i wont able to load grub and wont able to access bios and bootmenu. It stucks on lenovo logo and after black screen .how to solve it

  • @rickbaker475
    @rickbaker475 5 лет назад

    I downloaded a grub rescue iso for Debian and Ubuntu. It says Ubuntu 17.04 or something like that and it boots up like an xfce desktop os and you run grub repair and it works.

  • @primakovch8332
    @primakovch8332 4 года назад

    Thank you so much..... I found it really helpful

  • @paulb9769
    @paulb9769 2 года назад

    Thanks I had the Grub crash all UEFI systems had and managed to fix it but I get a black screen the shows the enter decryption password. My LUKS password still works but there is no prompt what could the cause be?

  • @byjacobc1880
    @byjacobc1880 3 года назад

    i am in this grub i got dual boot windows and linux mint. i need help. can someone help me im stuck i dont know how i find my driver but i found mine on gpt 3 but dont now were to get it

  • @learnsomethingnew9058
    @learnsomethingnew9058 4 года назад +1

    Hi have a problem with linux /boot/vmlinuz-linux root=/dev/sda
    The output error :file /boot/vmlinuz-linux
    Plz any idea

    • @ShreyaSingh-vr9qi
      @ShreyaSingh-vr9qi 4 года назад

      I also stuck on same

    • @DrNash101
      @DrNash101 4 года назад

      File names might be different, i mean i use Ubuntu and it has different file names...
      You should type ls boot/
      To check files in boot dir
      Or the files might be just in root dir then just type ls.
      I don't know this might help

    • @pikachu4857
      @pikachu4857 4 года назад

      I also stucked in same

  • @asepramdan2640
    @asepramdan2640 3 года назад

    Helo, i have some problem, ls result only shown (proc) and (hd0), i cant found ubuntu partition wich contain boot loader. Cant you help me

  • @TilTheBreakADawn
    @TilTheBreakADawn 3 года назад

    I seem to have an unsolvable issue no one else has. Nothing is in my (hd0, msdos1) or (hd0, msdos2) partitions. When I list the contents I get the message, "filesystem is unknown". The 3rd partition is (proc) and when I list the contents I just get "Filesystem is procfs". And the road ends there. I can not set this as the root directory.
    BACKGROUND: I had a dual boot Windows 10 and Manjaro. The Windows 10 update knocked out Manjaro and I was in the midst of successfully installing from the Manjaro .iso. But I noticed that Manjaro had taken over all but some 400MB of my hard drive space (regular hard drive and not a SSD) and I only later learned about how to manually extend the Windows partition space. Bottom line: Now Windows 10 doesn't have enough space to boot and Manjaro has gone to Grub Rescue and will not recognize the .iso from the USB. I'm on a Dell Lattitude and FINE with reformatting the hard drive if I could access an OS. Any sound suggestions would be appreciated!

  • @brunorcabral
    @brunorcabral 2 года назад

    This video helped me, thank you

  • @MUKESHSINGH-ou1ou
    @MUKESHSINGH-ou1ou 3 года назад

    Hello,
    It saying that init command not found.
    Can tell what I am doing wrong?

  • @BinarySmurf
    @BinarySmurf 2 года назад

    Hi Chris... When I get to the point of entering 'grub-install' and 'grub-mkconfig' in the grub console (prompt is 'grub>') I get told that both commands cannot be found, despite the fact that I have verified that grub is installed and that both commands run in a 'normal' terminal. What am I doing wrong? Distro is XeroLinux (arch based). Thanks.

  • @Catinthehackmatrix
    @Catinthehackmatrix 2 года назад

    i got so tired of changing bios options to see my grub to get into Linux mint, I finally just stopped even using Linux, but this time I cant blame windows!

  • @kirkd1502
    @kirkd1502 4 года назад

    I installed Lubuntu 18.04 and it crashed on the final portion which is installing grub. I tried another distro....FreeSpire 6.0, but same issue. I reboot and get to the grub prompt. I'm not sure why the sudo update-grub is not repairing the files in my case.

  • @dennisdevine9563
    @dennisdevine9563 3 года назад

    How do I move my boot partition from sdb to sda?

  • @HK-sw3vi
    @HK-sw3vi 2 года назад

    great content man

  • @johngalt8708
    @johngalt8708 3 года назад

    Thank you! I hope this fixes it. Thanks

  • @Talchaताल्चा97
    @Talchaताल्चा97 Год назад

    How do I reset parrot os back to fresh install or like in windows as I am new and some of my frn got access to my os and messing with me ... Pls aid me

  • @myself_pk7378
    @myself_pk7378 4 года назад

    I accidentally deleted my /boot folder for kali linux...... It is showing the same error '/boot/grub/i386-pc/normal.mod' not found. Can you help me? PLEASE ASAP