#Failed to unmount

49 messages · Page 1 of 1 (latest)

hardy elbow
#

Hello all 👋

I get the following message someteimes when i shut down my pc.
Not every time. But sometimes. And if so the pc don't reacht to anything.
Then i have to hold the power switch for several seconds until it turns completely off.

I've searched it already and found some people suggest to uninstall old kernels or others say that the Nvidia driver is the problem.

I mean... The Nvidia driver i need. Because i have an Nvidia card. Old kernels i have installed because i switched to the newest 6.x
So i have two old from 5.x Don't know why two. But there are two of them installed.
Not sure what will happen if i uninstall the older kernels.

Can you help me what i can do?

hazy junco
#

that oldroot folder is probably from some chroot thing you did at some point. Use a root file manager to view your filesystem from the top folder (/) and see what's in oldroot or if it's even there.

hardy elbow
#

How do i do this?

hazy junco
#

sudo nemo

hardy elbow
#

I can't find any oldroot folder

hazy junco
#

ok.

#

well that's a good start

hardy elbow
#

And now? What can i do?

hazy junco
#

🤷

hardy elbow
#

Ok. Maybe someone other has an idea.
Thank you!

silver heron
#

You can try sudo apt autoremove to get rid of orphaned packages. Other than that, lsof can be used to list open files (literally what the command means) for a given target, so you get an idea what is keeping it opened.

hardy elbow
#

I let run the first command and it uninstall some things.
The second command gives me a long list of things.

silver heron
hardy elbow
#

And which target i should take with lsof?
Sorry. I'm relatively new to Linux 😅

silver heron
#

I thought that was obvious: /oldroot

hardy elbow
silver heron
#

You will first have to figure out where it lives.

hazy junco
silver heron
#

Might be virtual, like /proc

hazy junco
#

yet at shutdown, that first pic message appears

#

brb

hardy elbow
#

I typed it in with /proc. No oldroot there.

silver heron
#

No, I was just giving an example for a virtual directory. The /proc one is literally the CPU registers and stuff.

hardy elbow
#

Is it possible that this only happens if i do something specific with my pc? Maybe a game or software that can sause this?

silver heron
#

I think, and I may be wrong here, that /oldroot is created during a kernel change or some other system operation. Which probably failed and did not clean up after itself.

hardy elbow
#

And what can i do to locate it and solve it? Do you have an idea?

hazy junco
#

is there an SD card plugged in?

hardy elbow
#

No

#

Only when i connect one if i copy photos to my hdd.
But yesterday as i got this message i never connected an sd-card

hazy junco
#

and you say once in a while it lockup the system. how often out of every 10 shutdowns will it freeze?

hardy elbow
#

Yes. Or maybe less often. Most of the time it shut down normally.

hazy junco
#

check you Timeshift schedule.

#

might have been Timeshift doing a backup at that moment you chose to shutdown

hardy elbow
#

What if i say i haven't activated timeshift 😅

hazy junco
#

oj

hardy elbow
#

oj?

hazy junco
#

nothing

hardy elbow
#

Should i activate it?

hazy junco
#

u can if u want to have a backup

#

set for once a week perhaps

#

the oldroot thing really sounds like some kind of change-root (chroot) operation is happening, which is why I presumed it may have been a Timeshift sync in progress

hardy elbow
#

Only thing i have found that i also have in my system are 2 kernels.
Now there is 5.15.0-113 & 6.5.0-41 installed.
But not sure what happens if i uninstall 5.15

hazy junco
#

u can keep 2 that is fine (for rollback purposes)

silver heron
# hazy junco u can if u want to have a backup

We interrupt this support ticket to tell you that Timeshift makes snapshots only, and a snapshot is not a backup. Do make backups unless your data is not important to you.
Sorry, that one triggered me.

hazy junco
#

true. I meant it as system backup

hazy junco
hardy elbow
# hazy junco Hello. did you resolve this issue?i

Until now the PC shuts down normally. But ktmcan be this way forma week and then come back. I had the problem before also not every day.

I will tell you in a while if it's gone or not. Hopefully it's gone now 👍

hardy elbow
#

It's not away. Yesterday i had this problem again 😦

hardy elbow
#

And yesterday again...

Maybe i should reinstall Linux Mint.
But i don't have the effort now for this 🙈