0

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.

4
  • Don't do these lines randomly you can use command ls /dev/sda{1,2..} and verfify which one is root.
    – Prvt_Yadav
    Apr 30, 2018 at 12:58
  • I'm sorry I didn't get you @Debian_yadav. How do I verify my root again? Typing exactly ls /dev/sda{1,2..} gives an invalid file name error. I'm sorry for asking such a naive question :/ Apr 30, 2018 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.
    – Prvt_Yadav
    Apr 30, 2018 at 13:12
  • Please provide the output of typing ls.
    – ApolloLV
    May 2, 2018 at 15:13

0

You must log in to answer this question.

Browse other questions tagged .