My linux has got stuck in grub rescue mode
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
What all .mod files do I need?
I found normal.mod, but now it's asking for terminal.mod
So, instead of booting up a thousand times a getting a screen staring blankly at my face, asking for a new file every time, I thought it would be better to download all the .mod files needed in one go.
Please help.
16.04 dual-boot
add a comment |Â
up vote
0
down vote
favorite
What all .mod files do I need?
I found normal.mod, but now it's asking for terminal.mod
So, instead of booting up a thousand times a getting a screen staring blankly at my face, asking for a new file every time, I thought it would be better to download all the .mod files needed in one go.
Please help.
16.04 dual-boot
1
What are the results of the commandapt policy grub-efi-amd64-bin
? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.
â karel
Feb 24 at 11:06
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
What all .mod files do I need?
I found normal.mod, but now it's asking for terminal.mod
So, instead of booting up a thousand times a getting a screen staring blankly at my face, asking for a new file every time, I thought it would be better to download all the .mod files needed in one go.
Please help.
16.04 dual-boot
What all .mod files do I need?
I found normal.mod, but now it's asking for terminal.mod
So, instead of booting up a thousand times a getting a screen staring blankly at my face, asking for a new file every time, I thought it would be better to download all the .mod files needed in one go.
Please help.
16.04 dual-boot
16.04 dual-boot
asked Feb 24 at 11:00
kesarling
1
1
1
What are the results of the commandapt policy grub-efi-amd64-bin
? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.
â karel
Feb 24 at 11:06
add a comment |Â
1
What are the results of the commandapt policy grub-efi-amd64-bin
? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.
â karel
Feb 24 at 11:06
1
1
What are the results of the command
apt policy grub-efi-amd64-bin
? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.â karel
Feb 24 at 11:06
What are the results of the command
apt policy grub-efi-amd64-bin
? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.â karel
Feb 24 at 11:06
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
- Switch on the laptop, wait till you get the Grub Rescue Screen
- Type the following commands
- ls
- It will show you a list of partions you have made
You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)
You need to find which drive is your Ubuntu root for which type the following: - set prefix= (hd0,msdos1)/boot/grub
If itâÂÂs not the root drive you will get an error message "unknown filesystem".
In that case try the same command with the next partion, ex: - set prefix=(hd0,msdos2)/boot/grub
If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:- set prefix=(hd0,msdos1)/boot/grub
- insmod normal
- normal
- Your PC will now boot successfully. Now select Ubuntu & login.
- Open Terminal( Ctr+Alt+T or use the search)
- sudo update-grub
- sudo grub-install /dev/sda
Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.
Note: If sudo update-grub didn't work, type sudo grub-update
Once In my case, grub-update didn't happen same day but few days alter alongwith sudo apt dist-upgrade
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
- Switch on the laptop, wait till you get the Grub Rescue Screen
- Type the following commands
- ls
- It will show you a list of partions you have made
You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)
You need to find which drive is your Ubuntu root for which type the following: - set prefix= (hd0,msdos1)/boot/grub
If itâÂÂs not the root drive you will get an error message "unknown filesystem".
In that case try the same command with the next partion, ex: - set prefix=(hd0,msdos2)/boot/grub
If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:- set prefix=(hd0,msdos1)/boot/grub
- insmod normal
- normal
- Your PC will now boot successfully. Now select Ubuntu & login.
- Open Terminal( Ctr+Alt+T or use the search)
- sudo update-grub
- sudo grub-install /dev/sda
Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.
Note: If sudo update-grub didn't work, type sudo grub-update
Once In my case, grub-update didn't happen same day but few days alter alongwith sudo apt dist-upgrade
add a comment |Â
up vote
0
down vote
- Switch on the laptop, wait till you get the Grub Rescue Screen
- Type the following commands
- ls
- It will show you a list of partions you have made
You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)
You need to find which drive is your Ubuntu root for which type the following: - set prefix= (hd0,msdos1)/boot/grub
If itâÂÂs not the root drive you will get an error message "unknown filesystem".
In that case try the same command with the next partion, ex: - set prefix=(hd0,msdos2)/boot/grub
If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:- set prefix=(hd0,msdos1)/boot/grub
- insmod normal
- normal
- Your PC will now boot successfully. Now select Ubuntu & login.
- Open Terminal( Ctr+Alt+T or use the search)
- sudo update-grub
- sudo grub-install /dev/sda
Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.
Note: If sudo update-grub didn't work, type sudo grub-update
Once In my case, grub-update didn't happen same day but few days alter alongwith sudo apt dist-upgrade
add a comment |Â
up vote
0
down vote
up vote
0
down vote
- Switch on the laptop, wait till you get the Grub Rescue Screen
- Type the following commands
- ls
- It will show you a list of partions you have made
You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)
You need to find which drive is your Ubuntu root for which type the following: - set prefix= (hd0,msdos1)/boot/grub
If itâÂÂs not the root drive you will get an error message "unknown filesystem".
In that case try the same command with the next partion, ex: - set prefix=(hd0,msdos2)/boot/grub
If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:- set prefix=(hd0,msdos1)/boot/grub
- insmod normal
- normal
- Your PC will now boot successfully. Now select Ubuntu & login.
- Open Terminal( Ctr+Alt+T or use the search)
- sudo update-grub
- sudo grub-install /dev/sda
Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.
Note: If sudo update-grub didn't work, type sudo grub-update
Once In my case, grub-update didn't happen same day but few days alter alongwith sudo apt dist-upgrade
- Switch on the laptop, wait till you get the Grub Rescue Screen
- Type the following commands
- ls
- It will show you a list of partions you have made
You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)
You need to find which drive is your Ubuntu root for which type the following: - set prefix= (hd0,msdos1)/boot/grub
If itâÂÂs not the root drive you will get an error message "unknown filesystem".
In that case try the same command with the next partion, ex: - set prefix=(hd0,msdos2)/boot/grub
If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:- set prefix=(hd0,msdos1)/boot/grub
- insmod normal
- normal
- Your PC will now boot successfully. Now select Ubuntu & login.
- Open Terminal( Ctr+Alt+T or use the search)
- sudo update-grub
- sudo grub-install /dev/sda
Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.
Note: If sudo update-grub didn't work, type sudo grub-update
Once In my case, grub-update didn't happen same day but few days alter alongwith sudo apt dist-upgrade
answered Feb 24 at 13:05
Manasvee Kumar
155
155
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1009294%2fmy-linux-has-got-stuck-in-grub-rescue-mode%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
What are the results of the command
apt policy grub-efi-amd64-bin
? Unless your computer has an ARM processor one of the files in grub-efi-* where the * is a wildcard has all the .mod files that you need.â karel
Feb 24 at 11:06