[Solved] Cannot start Linuxmint after upgrade?

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
kayeng
Level 2
Level 2
Posts: 55
Joined: Wed Jan 04, 2017 6:42 am

[Solved] Cannot start Linuxmint after upgrade?

Post by kayeng » Sun Jun 10, 2018 9:56 pm

Hi guys.

I was going to install vivaldi browser and I followed the instructions here:

https://www.addictivetips.com/ubuntu-li ... -on-linux/

As the tutorial suggests, I did the following first:

sudo apt update
sudo apt upgrade -y

...then I was able to successfully install vivaldi browser. (previous vivaldi installation attempts, without executing the above two commads first, were failures)

However, when I tried to log in Linuxmint the next day, I could not get past the log in screen, and it had a window that says,

Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem.
View details (~/.xsession-errors file)
initctl: Unable to connect to Upstart: Failed to connect to ....(sorry the rest of the text was out of screen)

If it matters, this laptop is triple boot: Windows 7, Linuxmint, and Lubuntu. I can boot and start Windows 7 and Lubuntu with no problems, only Linuxmint.

Also, I believe that during the process "sudo apt upgrade -y" , I chose not to update the grub (?).

Help please.
Thank you!
Last edited by kayeng on Mon Jun 25, 2018 6:24 am, edited 1 time in total.

User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1137
Joined: Tue Apr 26, 2016 3:28 pm

Re: Cannot start Linuxmint after upgrade?

Post by Arch_Enemy » Sun Jun 10, 2018 11:04 pm

Can you log into the failsafe session? If you do, do you get a GUI desktop or command-line only?

Does it say anything about not being able to start the X server?

Most of the time I have had this issue it's because I updated the kernel without checking the video driver (in my case, nVidia) was updated as well.
I have travelled 35629424162.9 miles in my lifetime

One thing I would suggest, create a partition a ~28G partition as /. Partition the rest as /Home.
When the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.

kayeng
Level 2
Level 2
Posts: 55
Joined: Wed Jan 04, 2017 6:42 am

Re: Cannot start Linuxmint after upgrade?

Post by kayeng » Mon Jun 11, 2018 3:36 am

Thank you for responding. I don't know what a failsafe session is and how to log into it, but if it's the same as Recovery Mode, it doesn't work. I get the GUI desktop (somewhat distorted appearance, like wrong resolution), but the same error message appears. (see my original post).

I don't think it says anything about an X server.

How should I proceed? Any ideas?

Thank you.

User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1137
Joined: Tue Apr 26, 2016 3:28 pm

Re: Cannot start Linuxmint after upgrade?

Post by Arch_Enemy » Tue Jun 12, 2018 6:52 pm

kayeng wrote:
Mon Jun 11, 2018 3:36 am
Thank you for responding. I don't know what a failsafe session is and how to log into it, but if it's the same as Recovery Mode, it doesn't work. I get the GUI desktop (somewhat distorted appearance, like wrong resolution), but the same error message appears. (see my original post).

I don't think it says anything about an X server.

How should I proceed? Any ideas?

Thank you.
Did you load any proprietary video driver, or load the driver first and then install a new kernel?

If you installed a new kernel, I think (from feeble memory) you want to wait until you see GRUB loading and hold down the left shift key, and grub will present you with a menu. From that select the lowest numbered kernel and see if it starts normally.
I have travelled 35629424162.9 miles in my lifetime

One thing I would suggest, create a partition a ~28G partition as /. Partition the rest as /Home.
When the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.

kayeng
Level 2
Level 2
Posts: 55
Joined: Wed Jan 04, 2017 6:42 am

Re: Cannot start Linuxmint after upgrade?

Post by kayeng » Wed Jun 13, 2018 5:27 am

Arch_Enemy wrote:
Tue Jun 12, 2018 6:52 pm
kayeng wrote:
Mon Jun 11, 2018 3:36 am
Thank you for responding. I don't know what a failsafe session is and how to log into it, but if it's the same as Recovery Mode, it doesn't work. I get the GUI desktop (somewhat distorted appearance, like wrong resolution), but the same error message appears. (see my original post).

I don't think it says anything about an X server.

How should I proceed? Any ideas?

Thank you.
Did you load any proprietary video driver, or load the driver first and then install a new kernel?

If you installed a new kernel, I think (from feeble memory) you want to wait until you see GRUB loading and hold down the left shift key, and grub will present you with a menu. From that select the lowest numbered kernel and see if it starts normally.
I've never done anything like loading a proprietary video driver. I'll come back here if I find a solution. Thank you.

kayeng
Level 2
Level 2
Posts: 55
Joined: Wed Jan 04, 2017 6:42 am

Re: Cannot start Linuxmint after upgrade?

Post by kayeng » Thu Jun 21, 2018 11:37 pm

Holding down the left shift key on the grub screen did not work. The countdown kept going. Am I doing it wrong?

User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1137
Joined: Tue Apr 26, 2016 3:28 pm

Re: Cannot start Linuxmint after upgrade?

Post by Arch_Enemy » Sun Jun 24, 2018 2:19 am

kayeng wrote:
Thu Jun 21, 2018 11:37 pm
Holding down the left shift key on the grub screen did not work. The countdown kept going. Am I doing it wrong?
As soon as your BIOS clears, quite rapidly, hgold the left shift key. It should bring up the GRUB menu.
I have travelled 35629424162.9 miles in my lifetime

One thing I would suggest, create a partition a ~28G partition as /. Partition the rest as /Home.
When the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.

kayeng
Level 2
Level 2
Posts: 55
Joined: Wed Jan 04, 2017 6:42 am

Re: Cannot start Linuxmint after upgrade?

Post by kayeng » Mon Jun 25, 2018 6:20 am

Arch_Enemy wrote:
Sun Jun 24, 2018 2:19 am
kayeng wrote:
Thu Jun 21, 2018 11:37 pm
Holding down the left shift key on the grub screen did not work. The countdown kept going. Am I doing it wrong?
As soon as your BIOS clears, quite rapidly, hgold the left shift key. It should bring up the GRUB menu.
Sorry if I was unclear. There's no problem reaching the GRUB menu. The problem starts after I have entered my linuxmint username and password; instead of showing the desktop screen, an error message appears (see original post).

ANYWAY, THE PROBLEM HAS BEEN SOLVED. Here's what I did:

Upon getting the error message, I opened terminal by pressing Ctrl Alt F1. I entered my username and password, then executed the following commands:

Code: Select all

sudo apt remove virtualbox-guest*

Code: Select all

shutdown -r now
Thanks very much guys.

User avatar
Arch_Enemy
Level 6
Level 6
Posts: 1137
Joined: Tue Apr 26, 2016 3:28 pm

Re: Cannot start Linuxmint after upgrade?

Post by Arch_Enemy » Sat Jun 30, 2018 12:25 pm

kayeng wrote:
Mon Jun 25, 2018 6:20 am
Arch_Enemy wrote:
Sun Jun 24, 2018 2:19 am
kayeng wrote:
Thu Jun 21, 2018 11:37 pm
Holding down the left shift key on the grub screen did not work. The countdown kept going. Am I doing it wrong?
As soon as your BIOS clears, quite rapidly, hgold the left shift key. It should bring up the GRUB menu.
Sorry if I was unclear. There's no problem reaching the GRUB menu. The problem starts after I have entered my linuxmint username and password; instead of showing the desktop screen, an error message appears (see original post).

ANYWAY, THE PROBLEM HAS BEEN SOLVED. Here's what I did:

Upon getting the error message, I opened terminal by pressing Ctrl Alt F1. I entered my username and password, then executed the following commands:

Code: Select all

sudo apt remove virtualbox-guest*

Code: Select all

shutdown -r now
Thanks very much guys.
Ah. Yes. Sorry, since I do not run VB on my machines, I keep forgetting about this. It has been well documented, and apparently VB doesn't play well with the Meltdown and Spectre fixes.

Glad you were able to resolve it, however!
I have travelled 35629424162.9 miles in my lifetime

One thing I would suggest, create a partition a ~28G partition as /. Partition the rest as /Home.
When the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.

Post Reply

Return to “Other topics”