Linux - NewbieThis 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
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.
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.
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.
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
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
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.