GNU GRUB terminal screen when upgraded to Ubuntu 18.04
up vote
0
down vote
favorite
I tried to upgrade my Ubuntu to the recently released 18.04 LTS from the 16.04 version. After the install when I powered it off and then on, I was taken to the GRUB screen instead of the normal booting. I tried to follow the steps in the this answer here: GNU GRUB Terminal - Instead of Ubuntu login screen
Here's a run down of what I have typed:
set pager=1
set root=(hd0, 1)
linux /boot/vmlinuz-4.15.0-20-generic root=/dev/sda1
initrd /boot/initrd.img-4.13.0-32-generic
boot
That showed me some error in initramfs
shell like
ALERT /dev/sda1 does not exit dropping to shell
I realised that my root system location might not be in sda1. So, I tried the steps again with different sda
's. When I am doing that I now get this error:
error: disk `(hd0, ' not found.
Please help.
boot grub2 18.04
add a comment |Â
up vote
0
down vote
favorite
I tried to upgrade my Ubuntu to the recently released 18.04 LTS from the 16.04 version. After the install when I powered it off and then on, I was taken to the GRUB screen instead of the normal booting. I tried to follow the steps in the this answer here: GNU GRUB Terminal - Instead of Ubuntu login screen
Here's a run down of what I have typed:
set pager=1
set root=(hd0, 1)
linux /boot/vmlinuz-4.15.0-20-generic root=/dev/sda1
initrd /boot/initrd.img-4.13.0-32-generic
boot
That showed me some error in initramfs
shell like
ALERT /dev/sda1 does not exit dropping to shell
I realised that my root system location might not be in sda1. So, I tried the steps again with different sda
's. When I am doing that I now get this error:
error: disk `(hd0, ' not found.
Please help.
boot grub2 18.04
Don't do these lines randomly you can use commandls /dev/sda1,2..
and verfify which one is root.
â Debian_yadav
Apr 30 at 12:58
I'm sorry I didn't get you @Debian_yadav. How do I verify my root again? Typing exactlyls /dev/sda1,2..
gives an invalid file name error. I'm sorry for asking such a naive question :/
â Nityesh Agarwal
Apr 30 at 13:06
By 1,2... I meant try/dev/sda1
then/dev/sda2
that is a variable entry. And it not solution it is to improve your method of searching.
â Debian_yadav
Apr 30 at 13:12
Please provide the output of typingls
.
â ApolloLV
May 2 at 15:13
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I tried to upgrade my Ubuntu to the recently released 18.04 LTS from the 16.04 version. After the install when I powered it off and then on, I was taken to the GRUB screen instead of the normal booting. I tried to follow the steps in the this answer here: GNU GRUB Terminal - Instead of Ubuntu login screen
Here's a run down of what I have typed:
set pager=1
set root=(hd0, 1)
linux /boot/vmlinuz-4.15.0-20-generic root=/dev/sda1
initrd /boot/initrd.img-4.13.0-32-generic
boot
That showed me some error in initramfs
shell like
ALERT /dev/sda1 does not exit dropping to shell
I realised that my root system location might not be in sda1. So, I tried the steps again with different sda
's. When I am doing that I now get this error:
error: disk `(hd0, ' not found.
Please help.
boot grub2 18.04
I tried to upgrade my Ubuntu to the recently released 18.04 LTS from the 16.04 version. After the install when I powered it off and then on, I was taken to the GRUB screen instead of the normal booting. I tried to follow the steps in the this answer here: GNU GRUB Terminal - Instead of Ubuntu login screen
Here's a run down of what I have typed:
set pager=1
set root=(hd0, 1)
linux /boot/vmlinuz-4.15.0-20-generic root=/dev/sda1
initrd /boot/initrd.img-4.13.0-32-generic
boot
That showed me some error in initramfs
shell like
ALERT /dev/sda1 does not exit dropping to shell
I realised that my root system location might not be in sda1. So, I tried the steps again with different sda
's. When I am doing that I now get this error:
error: disk `(hd0, ' not found.
Please help.
boot grub2 18.04
asked Apr 30 at 12:53
Nityesh Agarwal
13
13
Don't do these lines randomly you can use commandls /dev/sda1,2..
and verfify which one is root.
â Debian_yadav
Apr 30 at 12:58
I'm sorry I didn't get you @Debian_yadav. How do I verify my root again? Typing exactlyls /dev/sda1,2..
gives an invalid file name error. I'm sorry for asking such a naive question :/
â Nityesh Agarwal
Apr 30 at 13:06
By 1,2... I meant try/dev/sda1
then/dev/sda2
that is a variable entry. And it not solution it is to improve your method of searching.
â Debian_yadav
Apr 30 at 13:12
Please provide the output of typingls
.
â ApolloLV
May 2 at 15:13
add a comment |Â
Don't do these lines randomly you can use commandls /dev/sda1,2..
and verfify which one is root.
â Debian_yadav
Apr 30 at 12:58
I'm sorry I didn't get you @Debian_yadav. How do I verify my root again? Typing exactlyls /dev/sda1,2..
gives an invalid file name error. I'm sorry for asking such a naive question :/
â Nityesh Agarwal
Apr 30 at 13:06
By 1,2... I meant try/dev/sda1
then/dev/sda2
that is a variable entry. And it not solution it is to improve your method of searching.
â Debian_yadav
Apr 30 at 13:12
Please provide the output of typingls
.
â ApolloLV
May 2 at 15:13
Don't do these lines randomly you can use command
ls /dev/sda1,2..
and verfify which one is root.â Debian_yadav
Apr 30 at 12:58
Don't do these lines randomly you can use command
ls /dev/sda1,2..
and verfify which one is root.â Debian_yadav
Apr 30 at 12:58
I'm sorry I didn't get you @Debian_yadav. How do I verify my root again? Typing exactly
ls /dev/sda1,2..
gives an invalid file name error. I'm sorry for asking such a naive question :/â Nityesh Agarwal
Apr 30 at 13:06
I'm sorry I didn't get you @Debian_yadav. How do I verify my root again? Typing exactly
ls /dev/sda1,2..
gives an invalid file name error. I'm sorry for asking such a naive question :/â Nityesh Agarwal
Apr 30 at 13:06
By 1,2... I meant try
/dev/sda1
then /dev/sda2
that is a variable entry. And it not solution it is to improve your method of searching.â Debian_yadav
Apr 30 at 13:12
By 1,2... I meant try
/dev/sda1
then /dev/sda2
that is a variable entry. And it not solution it is to improve your method of searching.â Debian_yadav
Apr 30 at 13:12
Please provide the output of typing
ls
.â ApolloLV
May 2 at 15:13
Please provide the output of typing
ls
.â ApolloLV
May 2 at 15:13
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1030108%2fgnu-grub-terminal-screen-when-upgraded-to-ubuntu-18-04%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
Don't do these lines randomly you can use command
ls /dev/sda1,2..
and verfify which one is root.â Debian_yadav
Apr 30 at 12:58
I'm sorry I didn't get you @Debian_yadav. How do I verify my root again? Typing exactly
ls /dev/sda1,2..
gives an invalid file name error. I'm sorry for asking such a naive question :/â Nityesh Agarwal
Apr 30 at 13:06
By 1,2... I meant try
/dev/sda1
then/dev/sda2
that is a variable entry. And it not solution it is to improve your method of searching.â Debian_yadav
Apr 30 at 13:12
Please provide the output of typing
ls
.â ApolloLV
May 2 at 15:13