LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2019, 04:17 PM   #1
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Rep: Reputation: Disabled
unable to mount root fs on unknown block


hi guys, I have a laptop (Asus ZenBook UX305) running ubuntu 14.04. Everything was absolutely fine up until this evening when I was asked to run some updates (the usual update manager) i did that and towards the end I had a boot password window coming up asking me to choose a password which I did. The I rebooted the machine and now it's essentially unusable. I get the grub menu - which I didn't get before with 3 options: Ubuntu, Advanced options for Ubuntu and System setup.
If I choose the first one I get the below https://i.postimg.cc/dtkywZ84/IMG-20190708-220728.jpg
The second option is more interesting.
There are a umber of recoveries there: if I select the first one in the list - which doesn't have RECOVERY written next to it, i get the same option, if I then skip the first labelled as recovery and move to the next one with no recovery label i actually do manage to log in and everything seems to be working OK, but when I reboot I get into the same thing again, grub menu and 3 options to choose from.
So I have no idea how I managed to get into this mess, absolutely no clue, does anybody know how I can get back to "normal" and have a fully functional version of ubuntu without loosing all the data?
The third option seems to be taking me to the BIOS.
 
Old 07-08-2019, 06:52 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,140

Rep: Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935
Nice kit - we had one (or similar) for a while. That's a pretty old Ubuntu - even the LTS should be newer by now.
That screenshot is, as it says, a kernel panic. Things don't get a lot worse than that. When you say " i actually do manage to log in and everything seems to be working OK" - does that mean you get a fully functioning GUI ?.
Post /boot/grub/grub.cfg when you are logged in - it's full of junk, so just attach it.
 
Old 07-09-2019, 03:01 AM   #3
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
Thanks. Yes I managed to get a fully functioning GUI.
That's realy frustrating as I absolutely need the laptop this week, I'm glad I managed to get it to a position where it works, lol, I don't think I will be switching it off for a little while!
Anyway, here is a pastebin of the file https://pastebin.com/UsKPKuDs. The grub menu also wasn't there, it only appeared last night together with the problem
 
Old 07-09-2019, 04:16 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,140

Rep: Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935
Looking at that, it seems the update screwed up - the cfg isn't built properly. If it were me, I'd simply rebuild it (it'll ask for your password)
Code:
sudo update-grub
 
Old 07-09-2019, 04:23 AM   #5
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
Thanks for getting back to me.
Can i ask you (i know it's a tricky question) would the rebuild cause any issue at all? Considering that at the moment i only have one laptop and that i need it to do some important work this week and probably the next as well, would you recommend I wait till I'm done with the work or you think i can go ahead an do it? A backup this time won't help anyway i don't think
Ah and one more thing, would the grub option disappear on boot or would it still be there?
Cheers
 
Old 07-09-2019, 04:51 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,140

Rep: Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935
Excellent questions.
I did toy with telling you to backup the cfg, but you'd need to recover it before a reboot would work if the update-grub failed. Do it anyway
Code:
sudo cp /boot/grub/grub.cfg /boot/grub/grub.cfg.bkp
Stick with the work-around you have - it is exactly what you "should" be booting if everything had worked. You are missing nothing, and would gain nothing except satisfaction by running the update. Soon a update manager update will run it for you anyway.
 
Old 07-09-2019, 06:17 AM   #7
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
ah Ok, it's just that everytime I need to switch the laptop on i have to go through all that, which I'd like to avoid. In any case, yes, for now I will stick to the workaround I have as you suggested and create a backup of the cfc (which I will save on a usb stick as well). A few things:


Quote:
Soon a update manager update will run it for you anyway.
Sorry, just so I'm sure I understand, does it mean that the next update is likely to fix everything - well, the grub issue and remove the grub menu too?
Quote:
Stick with the work-around you have...You are missing nothing, and would gain nothing except satisfaction by running the update
So you reckon that even if I run the grub update things won't chance and won't be fixed? IS that what you mean?



I was also thinking to upgrade to 16.04 at some point soon, but I'd imagine that everything has to be in fully working order before I do it.
 
Old 07-09-2019, 06:42 AM   #8
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 3,389
Blog Entries: 9

Rep: Reputation: 1894Reputation: 1894Reputation: 1894Reputation: 1894Reputation: 1894Reputation: 1894Reputation: 1894Reputation: 1894Reputation: 1894Reputation: 1894Reputation: 1894
No, what he means is that some updates run the update-grub script even if you don't ever run it yourself explicitly.

Normally this is a completely safe script to run, but even so, you should back things up first. That's just good policy; it doesn't mean that things are expected to go wrong. However, if you have time constraints (as you do) and have found a safe workaround (as you clearly have), inaction might be the best policy for the time being. You can run update-grub when you don't any longer have a deadline to meet.

Last edited by hazel; 07-09-2019 at 06:43 AM.
 
Old 07-09-2019, 02:08 PM   #9
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
OK, thanks a lot guys for the help. I will probably come back to this thread later on then, when I run the update if I get stuck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic: VFS: Unable to mount root fs on unknown-block(3,65) kpaske Linux - Newbie 1 08-07-2004 12:03 AM
Kernel Panic:VFS:Unable to mount root fs on Unknown block dinesha Linux - Software 2 02-27-2004 12:37 PM
unable to mount root fs on unknown-block(0,0) rickenbacherus Debian 1 02-26-2004 05:12 PM
kernel panic VFS: unable to mount root fs on unknown-block (0,0) demmylls Linux - General 2 02-08-2004 10:18 AM
VFS: unable to mount root fs on unknown-block(3,3) urzumph Linux - Software 2 01-25-2004 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration