Need help, i keep getting a grub error after OS install - debian 10.4 buster.
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need help, i keep getting a grub error after OS install - debian 10.4 buster.
I keep getting a grub error after installing & rebooting the OS on a 3-TB Hdd but no error while installing. How can i fix this grub error ? I thought i heard of a fix using a usb thumb drive anyone know anything about this ?
Obviously there was a glitch in installing grub. But you will have to provide more information about your system for anyone to help you. At least we know what partition system your machine is using. You have a 3-TB drive so it must be partitioned with gpt. Now we need to know:
1) Are you booting from a UEFI or a traditional BIOS?
2) What kind of error prompt does GRUB give you? Does it just say grub or grub rescue?
What distribution are you installing? Sorry, missed the Debain in the title. Where did you get the installation system, from Debian or from a third party?
Obviously there was a glitch in installing grub. But you will have to provide more information about your system for anyone to help you. At least we know what partition system your machine is using. You have a 3-TB drive so it must be partitioned with gpt. Now we need to know:
1) Are you booting from a UEFI or a traditional BIOS? ( I tried both with same result )
2) What kind of error prompt does GRUB give you? Does it just say grub or grub rescue?
" Grub rescue mode " "No boot-able device found pres F1 to boot again etc."
What i neglected to mention is i`m trying to boot from a USB docking station ** Also installed fron the same usb and all went well until reboot to finalize the installation ** - 2 different types but should be no problem.
What distribution are you installing? Sorry, missed the Debain in the title. Where did you get the installation system, from Debian or from a third party?
The debian site so from official site. How do i reinstall GRUB might be the answer.
By default, the uefi/bios will try to boot from the hard drive. If you want it to boot from usb, you may have to press a special key to get a boot menu. But my guess is that grub is installed on the hard drive and that may be the cause of the problem.
Grub rescue usually means that second-stage grub is running but hasn't been able to make contact with the place where its modules are stored. This is usually the /boot/grub directory on your Linux root partition. In your case, that will be on the usb drive, which complicates things.
By default, the uefi/bios will try to boot from the hard drive. If you want it to boot from usb, you may have to press a special key to get a boot menu. But my guess is that grub is installed on the hard drive and that may be the cause of the problem.
Grub rescue usually means that second-stage grub is running but hasn't been able to make contact with the place where its modules are stored. This is usually the /boot/grub directory on your Linux root partition. In your case, that will be on the usb drive, which complicates things.
Ah! Then the GRUB that you see must be the one on your usb drive. So the uefi is behaving correctly. The problem, I think, is that GRUB cannot find its modules. They should be on the usb drive in /boot/grub. Normally the first module that is loaded is the GRUB shell and that enables GRUB to parse its config file and put up a menu. If it can't do that, it gives the grub> prompt. But you have grub rescue>, not grub>, so it hasn't found the modules yet.
You can use your default OS to mount and examine your root partition on the usb drive and see if the GRUB files are where they should be.
The link I gave you shows how to boot by hand from the rescue prompt so that you can reinstall GRUB.
Ah! Then the GRUB that you see must be the one on your usb drive. So the uefi is behaving correctly. The problem, I think, is that GRUB cannot find its modules. They should be on the usb drive in /boot/grub. Normally the first module that is loaded is the GRUB shell and that enables GRUB to parse its config file and put up a menu. If it can't do that, it gives the grub> prompt. But you have grub rescue>, not grub>, so it hasn't found the modules yet.
You can use your default OS to mount and examine your root partition on the usb drive and see if the GRUB files are where they should be.
The link I gave you shows how to boot by hand from the rescue prompt so that you can reinstall GRUB.
Got it but i`m going to try the boot disk mentioned above and see what happens,but thank`s.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.