Shutdown:Failed to unmount /oldroot
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Shutdown:Failed to unmount /oldroot
Hi,
my first post here. My system is a desktop PC, dual boot with three hard drives, a SSD (sda) with Windows 10, an HD data disk (sdb) and another SSD (sdc) with Mint 20 Cinnamon. When shutting down a message pops up for about a second, 4-5 lines saying "Shutdown:Failed to unmount /oldroot: Device or Resource busy" and then a single line "Failed to finalize file systems, Ignoring", and the system shuts down without further problems. Is this something I should worry about ? What is /oldroot ?
my first post here. My system is a desktop PC, dual boot with three hard drives, a SSD (sda) with Windows 10, an HD data disk (sdb) and another SSD (sdc) with Mint 20 Cinnamon. When shutting down a message pops up for about a second, 4-5 lines saying "Shutdown:Failed to unmount /oldroot: Device or Resource busy" and then a single line "Failed to finalize file systems, Ignoring", and the system shuts down without further problems. Is this something I should worry about ? What is /oldroot ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 16
- Posts: 6054
- Joined: Mon Aug 27, 2012 10:17 pm
Re: Shutdown:Failed to unmount /oldroot
Post the output ofstovdal wrote: ⤴Fri Jul 03, 2020 3:28 amCode: Select all
"Shutdown:Failed to unmount /oldroot: Device or Resource busy" and then a single line "Failed to finalize file systems, Ignoring"
inxi -Fxz
from a terminal and wrap it in code tags when you reply. You'll see the code tags icon </> when you reply.Re: Shutdown:Failed to unmount /oldroot
Ok, thanks
Code: Select all
Network:
Device-1: Intel Ethernet I217-V vendor: Gigabyte driver: e1000e v: 3.2.6-k
port: f080 bus ID: 00:19.0
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 2.16 TiB used: 154.79 GiB (7.0%)
ID-1: /dev/sda vendor: Samsung model: SSD 840 EVO 120GB size: 111.79 GiB
ID-2: /dev/sdb vendor: Western Digital model: WD20EZRX-00D8PB0
size: 1.82 TiB
ID-3: /dev/sdc vendor: Western Digital model: WDS250G2B0A-00SM50
size: 232.89 GiB
Partition:
ID-1: / size: 36.42 GiB used: 11.29 GiB (31.0%) fs: ext4 dev: /dev/sdc2
ID-2: /boot size: 1.07 GiB used: 204.3 MiB (18.7%) fs: ext4 dev: /dev/sdc1
ID-3: /home size: 182.34 GiB used: 97.87 GiB (53.7%) fs: ext4
dev: /dev/sdc3
Sensors:
System Temperatures: cpu: 33.0 C mobo: N/A gpu: nvidia temp: 30 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 29%
Info:
Processes: 241 Uptime: 13h 55m Memory: 15.53 GiB used: 1.98 GiB (12.7%)
Init: systemd runlevel
-
- Level 16
- Posts: 6054
- Joined: Mon Aug 27, 2012 10:17 pm
Re: Shutdown:Failed to unmount /oldroot
Sorry, I try again (not sure I'm getting that code wrapping wright either but)
Code: Select all
arild@arild-DesktopPC:~$ inxi -Fxz
System:
Kernel: 5.4.0-40-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 4.6.6 Distro: Linux Mint 20 Ulyana
base: Ubuntu 20.04 focal
Machine:
Type: Desktop System: Gigabyte product: Z87X-D3H v: N/A serial: <filter>
Mobo: Gigabyte model: Z87X-D3H-CF v: x.x serial: <filter>
BIOS: American Megatrends v: F7 date: 08/02/2013
CPU:
Topology: Quad Core model: Intel Core i5-4670K bits: 64 type: MCP
arch: Haswell rev: 3 L2 cache: 6144 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 27139
Speed: 998 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 955 2: 955
3: 919 4: 918
Graphics:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
vendor: Gigabyte driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA GP107 [GeForce GTX 1050] vendor: ASUSTeK driver: nvidia
v: 440.100 bus ID: 01:00.0
Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia
unloaded: fbdev,nouveau,vesa resolution: 1920x1200~60Hz
OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100
direct render: Yes
Audio:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
driver: snd_hda_intel v: kernel bus ID: 00:03.0
Device-2: Intel 8 Series/C220 Series High Definition Audio
vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 00:1b.0
Device-3: NVIDIA GP107GL High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k5.4.0-40-generic
Network:
Device-1: Intel Ethernet I217-V vendor: Gigabyte driver: e1000e v: 3.2.6-k
port: f080 bus ID: 00:19.0
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 2.16 TiB used: 154.78 GiB (7.0%)
ID-1: /dev/sda vendor: Samsung model: SSD 840 EVO 120GB size: 111.79 GiB
ID-2: /dev/sdb vendor: Western Digital model: WD20EZRX-00D8PB0
size: 1.82 TiB
ID-3: /dev/sdc vendor: Western Digital model: WDS250G2B0A-00SM50
size: 232.89 GiB
Partition:
ID-1: / size: 36.42 GiB used: 11.29 GiB (31.0%) fs: ext4 dev: /dev/sdc2
ID-2: /boot size: 1.07 GiB used: 204.3 MiB (18.7%) fs: ext4 dev: /dev/sdc1
ID-3: /home size: 182.34 GiB used: 97.86 GiB (53.7%) fs: ext4
dev: /dev/sdc3
Sensors:
System Temperatures: cpu: 34.0 C mobo: N/A gpu: nvidia temp: 36 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 29%
Info:
Processes: 242 Uptime: 14h 04m Memory: 15.53 GiB used: 2.02 GiB (13.0%)
Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.16
inxi: 3.0.38
arild@arild-DesktopPC:~$
-
- Level 1
- Posts: 4
- Joined: Thu Jul 02, 2020 2:11 pm
Re: Shutdown:Failed to unmount /oldroot
Same problem here.
Code: Select all
~$ inxi -Fxz
System:
Kernel: 5.4.0-40-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 4.6.6 Distro: Linux Mint 20 Ulyana
base: Ubuntu 20.04 focal
Machine:
Type: Desktop Mobo: MSI model: H55M-ED55 (MS-7635) v: 1.0 serial: <filter>
BIOS: American Megatrends v: 1.3 date: 02/02/2010
CPU:
Topology: Dual Core model: Intel Core i3 530 bits: 64 type: MT MCP
arch: Nehalem rev: 2 L2 cache: 4096 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23527
Speed: 1476 MHz min/max: 1200/2933 MHz Core speeds (MHz): 1: 1460 2: 1380
3: 1436 4: 1434
Graphics:
Device-1: NVIDIA GF104 [GeForce GTX 460]
vendor: Micro-Star MSI N460GTX Cyclone 1GD5/OC driver: nvidia v: 390.138
bus ID: 01:00.0
Display: x11 server: X.Org 1.20.8 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 460/PCIe/SSE2 v: 4.6.0 NVIDIA 390.138
direct render: Yes
Audio:
Device-1: Intel 5 Series/3400 Series High Definition Audio
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1b.0
Device-2: NVIDIA GF104 High Definition Audio
vendor: Micro-Star MSI N460GTX Cyclone 1GD5/OC driver: snd_hda_intel
v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k5.4.0-40-generic
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel port: e800 bus ID: 04:00.0
IF: enp4s0 state: down mac: <filter>
Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter type: USB
driver: r8188eu bus ID: 1-1.6:6
IF: wlx8416f90ae8a6 state: up mac: <filter>
Drives:
Local Storage: total: 1.16 TiB used: 321.41 GiB (27.2%)
ID-1: /dev/sda model: SSDPR-CL100-240-G3 size: 223.57 GiB
ID-2: /dev/sdb vendor: Samsung model: HD103SJ size: 931.51 GiB
ID-3: /dev/sdc type: USB vendor: SanDisk model: Cruzer Fit size: 28.65 GiB
Partition:
ID-1: / size: 62.32 GiB used: 12.40 GiB (19.9%) fs: ext4 dev: /dev/sda3
Sensors:
System Temperatures: cpu: 36.0 C mobo: N/A gpu: nvidia temp: 40 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 49%
Info:
Processes: 227 Uptime: 1h 10m Memory: 7.64 GiB used: 1.56 GiB (20.4%)
Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.16
inxi: 3.0.38
Re: Shutdown:Failed to unmount /oldroot
Glad to see I'm not the only one. Some further googling points to a systemd issue. I do not know whether this (hoUPblDA/jY0) is related but according to Synaptic my systemd package is version 245.4-4ubuntu3.1. Crossing fingers for the next systemd update.
- Goro Daimon
- Level 2
- Posts: 73
- Joined: Sat Apr 28, 2012 10:30 pm
Re: Shutdown:Failed to unmount /oldroot
Do you also have an Nvidia driver?
Check out this thread Failed to unmount /oldroot:... During Shutdown.
A woman typing on a laptop with LM20.3 Cinnamon.
- Goro Daimon
- Level 2
- Posts: 73
- Joined: Sat Apr 28, 2012 10:30 pm
Re: Shutdown:Failed to unmount /oldroot
No. My processor is AMD A4 4000 without offboard graphics card.SMG wrote: ⤴Fri Feb 19, 2021 7:35 pmDo you also have an Nvidia driver?
Check out this thread Failed to unmount /oldroot:... During Shutdown.
My distro is Mint Ulyssa.
Last edited by Goro Daimon on Sat Feb 20, 2021 3:12 pm, edited 1 time in total.
- ricardogroetaers
- Level 6
- Posts: 1374
- Joined: Sat Oct 27, 2018 3:06 am
- Location: Rio de Janeiro, Brasil
Re: Shutdown:Failed to unmount /oldroot
I don't have Linux Mint 20 <=> Ubuntu 20.04.
The problem is that "systemd_245.4-4ubuntu3" is the version of the repository.
But the version "systemd_245.4-4ubuntu3.4" is now available for update.
If it corrects the error, I don't know.
The problem is that "systemd_245.4-4ubuntu3" is the version of the repository.
But the version "systemd_245.4-4ubuntu3.4" is now available for update.
If it corrects the error, I don't know.
-
- Level 1
- Posts: 4
- Joined: Mon Aug 16, 2021 12:57 am
Re: (SOLVED)Shutdown:Failed to unmount /oldroot
I change my grub code in /etc/default/grub:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=noirq"
GRUB_CMDLINE_LINUX="acpi=force"
GRUB_CMDLINE_LINUX="apm=power_off"
GRUB_CMDLINE_LINUX="console=ttyS0"
after: sudo update-grub in terminal
shutdown close without error
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=noirq"
GRUB_CMDLINE_LINUX="acpi=force"
GRUB_CMDLINE_LINUX="apm=power_off"
GRUB_CMDLINE_LINUX="console=ttyS0"
after: sudo update-grub in terminal
shutdown close without error
Re: Shutdown:Failed to unmount /oldroot
I just ran into this problem, thanks bratislav61.
That procedure worked.
UPDATE: Well it stopped working ... error is back, after about four reboots.
I am not familar with 'oldroot'. Why is it there, how did it get there, can it be deleted???
UPDATE: The procedure works for rebooting, not shutdown.
That procedure worked.
UPDATE: Well it stopped working ... error is back, after about four reboots.
I am not familar with 'oldroot'. Why is it there, how did it get there, can it be deleted???
UPDATE: The procedure works for rebooting, not shutdown.
-
- Level 1
- Posts: 4
- Joined: Mon Aug 16, 2021 12:57 am
Re: Shutdown:Failed to unmount /oldroot
Hi Mintmann,
make sure it after updating grub not changed.
The line in grub
GRUB_CMDLINE_LINUX = "apm = power_off"
it should turn off the power when the computer shutdown.
make sure it after updating grub not changed.
The line in grub
GRUB_CMDLINE_LINUX = "apm = power_off"
it should turn off the power when the computer shutdown.
Re: Shutdown:Failed to unmount /oldroot
With the system up and running what output do you get from command
That should tell us more about this strange /oldroot mount and give more clues as to what it is.
Let's a.so see the output of to see if you have an unnecessary line in that which can be removed.
Code: Select all
mount
Let's a.so see the output of
Code: Select all
cat /etc/fstab
Re: Shutdown:Failed to unmount /oldroot
Code: Select all
ugluy@uglste:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=b95a9957-786b-47fe-8e3e-be71cd8497b1 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=ACAA-87D4 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
#UUID=ACAA-87D4 /boot/efi vfat defaults 0 1
UUID=ACAA-87D4 /boot/efi vfat defaults 0 1
Re: Shutdown:Failed to unmount /oldroot
Code: Select all
ugluy@uglste:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=8123752k,nr_inodes=2030938,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1634132k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=255)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1634128k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
ugluy@uglste:~$
Re: Shutdown:Failed to unmount /oldroot
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"
GRUB_CMDLINE_LINUX="apm=power_off"
#GRUB_CMDLINE_LINUX="console=ttyS0"
#GRUB_CMDLINE_LINUX=""
#GRUB_SAVEDEFAULT="true"
#GRUB_SAVED="saved"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Re: Shutdown:Failed to unmount /oldroot
bratislav61 wrote: ⤴Tue Sep 21, 2021 5:08 am Hi Mintmann,
make sure it after updating grub not changed.
The line in grub
GRUB_CMDLINE_LINUX = "apm = power_off"
it should turn off the power when the computer shutdown.
That command seems to have no affect.
I don't understand why this problem showed up yesterday, all has been fine for quite some time.
My Kernel version is: 5.4.0-84-generic
I give up ... I'll have to re-install!
Last edited by Mintmann on Thu Sep 23, 2021 7:33 am, edited 1 time in total.