#black screen after logging in (happening after update)

210 messages · Page 1 of 1 (latest)

faint oak
#

tested mint and it was running completely fine. installed it and it was still running well, but i got this problem after installing updates through update manager. i tried reinstalling several times and also changing the compositor throughout every installation but the problem persists. as soon as i update, mint will boot and the login screen will show up, but as soon as i type my password in and press enter, it'll either turn black or start flickering then turn black.

i tried updating my drivers through driver manager to install nvidia or amd drivers but i get a "your device has no driver updates" message. i'm using a small laptop that doesn't have a dedicated gpu so that may be why. again, this all happens only after updating and rebooting to install the update.

solid berry
#

Can you post a recording or a picture or something?

faint oak
faint oak
faint oak
#

this is me logging in. it just stays on the black screen and the laptop restarts after about 30-40 seconds

#

i can't move the cursor around either. it just disappears

bronze lichen
#

When you boot and there is black screen try pressing CTRL+ALT+F1 or CTRL+ALT+F6 or CTRL+ALT+F7

#

See if you can open Terminal

faint oak
bronze lichen
#

/var/log

#

Enter it and send it

#

cat /var/log/syslog

#

grep "error" /var/log/syslog

solid berry
#

cat /var/log/syslog | grep error

faint oak
bronze lichen
#

I don’t think that causes problem

#

Try downgrading kernel

#

Use earlier version

#

That might fix problem

faint oak
#

my laptop boots past the grub menu and so i don't get the option to boot into another kernel

bronze lichen
#

When booting select Advanced option and choose version that's older and not recovery mode

#

@faint oak

#

See if it will work with older Kernel

faint oak
#

i'm not on a dual boot so this is how my system starts up

#

that's why i was asking how i can get to the grub menu

bronze lichen
#

Ok

#

Enter /etc/default/grub and edit from:

#

GRUB_TIMEOUT=0

to

GRUB_TIMEOUT=10

faint oak
#

it didn't work for some reason. does everything else look okay?

bronze lichen
#

When you boot try pressing Esc key or Shift

#

It will open GRUB Menu

faint oak
#

this it?

bronze lichen
#

Try folowing commands

#

insmod normal

#

normal

faint oak
#

it booted me straight into mint and i restarted to end up at the grub again

bronze lichen
#

It should've opened grub

#

Try looking online and see how to downgrade kernel

#

I'm pretty sure it's Kernel problem

solid berry
#

Do you have a live environment?

#

Like, do you have a LM USB?

solid berry
faint oak
faint oak
solid berry
faint oak
#

my main drive isn't mounted yet it's still telling me that it's in use

#

this is a small laptop so i don't think it has a full sized hard-drive. i think it's about 60gb

solid berry
#

You're on a USB, right?

faint oak
#

yes, this is on a live usb

#

hence the mint@mint username

#

this is the list of drives

solid berry
#

What's the output of dmsetup table?

faint oak
solid berry
#

Also, try running fsck /dev/mmcblk02

#

Notice the extra '2'

faint oak
solid berry
#

Can you send an imagd?

faint oak
solid berry
#

What's the output of lsblk?

faint oak
solid berry
#

Oh wait, my bad, it's fsck /dev/mmcblk0p2

faint oak
solid berry
#

Run fsck -pvcf /dev/mmcblk0p2

faint oak
faint oak
#

i guess i should probably press enter or something

solid berry
#

This might take some time

faint oak
#

what's it doing?

solid berry
#

No, it's just a long process

solid berry
#

The command that came clean was a skim through, this is more of a proper scan

faint oak
#

ah, right

#

off-topic but i love the site you have in your description

#

gave me a good laugh

solid berry
#

Try restarting into your normal system and logging in now.

faint oak
#

unfortunately that didn't fix it

#

maybe it is a kernel problem

solid berry
#

What's the output of journalctl?

faint oak
#

should i boot back into the live environment?

solid berry
#

No

faint oak
#

well..there's a lot to take in here

solid berry
#

What about journalctl - r?

#

Press q to get out of journalctl, btw

faint oak
#

don't really know what's going on here

solid berry
#

Can you press enter to scroll down a bit?

solid berry
faint oak
solid berry
#

Ngl, im stumped. Let's see if anyone else has any idea.

faint oak
#

sure

#

how can i downgrade kernel versions?

#

that might fix it

faint oak
#

should i completely remove 89 or keep it and boot into 76?

bronze lichen
#

First try with older kernel and see if it works

faint oak
bronze lichen
#

Save them and after that write in terminal

#

sudo update-grub

#

After that reboot and see if it will enter in GRUB

#

Advanced and choose older Kernel that is not recovery mode

faint oak
bronze lichen
#

Try by pressing ESC or Shift or Tab

#

See if it will work

#

@faint oak

faint oak
#

nvm, it finally worked with tab

bronze lichen
#

Nice

#

Does it work with older kernel?

faint oak
#

loaded up the older kernel and everything works

bronze lichen
#

Ok so next thing what you'll need to do is to delete new one

#

And use older one

faint oak
# faint oak

so how can i delete it after identifying it through this command?

#

also, what's that last option? i didn't see it in grub

bronze lichen
#

Are you booted now?

#

@faint oak

faint oak
#

yes

bronze lichen
#

Wait

#

uname -r

#

Send it

faint oak
#

i'm on version 5.15.0-76-generic

#

basically, the older version

bronze lichen
#

You didn't boot in recovery mode?

faint oak
#

no

bronze lichen
#

Ok nice

#

dpkg --list | grep linux-image

#

Send the output

faint oak
#

what's the third one?

bronze lichen
#

The third one updates to the latest kernel

#

Dw

#

sudo apt-get remove linux-image-5.15.0-89-generic

#

sudo update-grub

#

sudo apt-get autoremove --purge linux-image-5.15.0-89-generic
sudo apt-get autoremove --purge linux-headers-5.15.0-89-generic
sudo apt-get autoremove --purge linux-modules-5.15.0-89-generic

Run this if you want to remove the other files that are used for newer kernel

faint oak
#

is this meant to get installed?

bronze lichen
#

Did you run sudo apt update && sudo apt upgrade?

faint oak
#

i'll run it now

bronze lichen
#

Don't

#

It will install new one, we need to put it on hold

#

Just make sure you delete the new kernel

faint oak
#

sure

faint oak
# faint oak

i deleted the new one but this is installed now

bronze lichen
#

sudo apt-mark hold linux-image-5.15.0-76-generic linux-headers-5.15.0-76-generic

#

This won't allow it to install new kernel version that doesn't work

faint oak
#

so should i run this then uninstall the unsigned version?

bronze lichen
#

You should first remove the newer kernel

faint oak
#

i have

bronze lichen
#

After you do you should update grub and after remove other stuff that you don't need for newer kernel

faint oak
#

sure

faint oak
#

but wouldn't the unsigned version already be installed if that's the last command?

bronze lichen
#

sudo apt-mark unhold linux-image-5.15.0-76-generic linux-headers-5.15.0-76-generic

Make sure to save this command in case you want to install new Kernel! This command will unhold Kernel

faint oak
#

you said it'd put the installation on hold

bronze lichen
#

It won't allow it to install new kernel

bronze lichen
#

When you put it on hold

faint oak
#

but should i uninstall the unsigned version?

faint oak
bronze lichen
#

Do you have secure boot enabled?

faint oak
#

no

bronze lichen
#

dpkg -l | grep linux-image

#

Send the output

#

@faint oak

faint oak
bronze lichen
#

Nice

faint oak
#

thanks a lot. you guys are wizards haha

bronze lichen
#

Is it working now?

#

Did you do every command I sent?

faint oak
#

yeah, i've done them all. just restarted my laptop and everything's working

#

though i think i might reset the grub timeout to 0 because it's taking a little longer to boot and it doesn't automatically direct me to grub anyways (or that may be placebo)

bronze lichen
#

Sure

#

Do the sudo apt update && sudo apt upgrade

faint oak
#

yup, just did

bronze lichen
#

dpkg --list | grep linux-image

faint oak
#

this kinda stuff really makes me want to learn more about linux. didn't know a lot of the commands you mentioned

faint oak
bronze lichen
#

And did you get the new kernel?

faint oak
#

no, just 76-generic

bronze lichen
#

Nice we fixed it! :)

faint oak
#

awesome :)

bronze lichen
faint oak
#

well, it was mostly you lol

faint oak
bronze lichen
#

This is how I do it

faint oak
#

maybe i should start using chatgpt. been neglecting it as a tool so far

bronze lichen
#

And don't forget to do your own research

#

ChatGPT is going to make you lazy

#

What you should do for example is the following, if you can't understand the command you found on the internet paste in GPT and tell him to explain it to you

faint oak
#

thank you, maybe i'll test it out

#

thanks for the help. don't think i could've done it without your help