[solved] Boot hang (3 / 4 minutes)

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mamba76
Level 1
Level 1
Posts: 25
Joined: Thu Apr 22, 2021 8:57 pm

[solved] Boot hang (3 / 4 minutes)

Post by mamba76 »

Hi all. I have Mint 20 installed along with Win10 as dual boot on SSD. I have pure UEFI and GPT file systems. When first installed Mint booted really fast. Later I had to re-partition as ran out of space. Long story short I used CloneZilla to successfully restore my system from image after resizing. When starting Mint is getting stuck on
boot: clean, xxx/xxxx file, xxxx/xxxx blocks
Here is FDISK -l

Device Start End Sectors Size Type
/dev/sda1 63 192779 192717 94.1M Microsoft basic data
/dev/sda2 192780 424980114 424787335 202.6G Microsoft basic data
/dev/sda3 424980480 425185279 204800 100M EFI System
/dev/sda4 425185280 711905279 286720000 136.7G Linux filesystem
/dev/sda5 711905280 937185279 225280000 107.4G Microsoft basic data
/dev/sda6 937185280 976773119 39587840 18.9G Linux filesystem

Notice the 366 sector gap between sda2 and sda3. Is concurrency here important?
Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8175
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Boot hang (3 / 4 minutes)

Post by kc1di »

Lets see if we can pinpoint in the boot process where things are hanging up. It may confirm what you suspect
in a terminal type this command and post the output here.

Code: Select all

systemd-analyze blame
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
mamba76
Level 1
Level 1
Posts: 25
Joined: Thu Apr 22, 2021 8:57 pm

Re: Boot hang (3 / 4 minutes)

Post by mamba76 »

Hi, thanks

Code: Select all

1.333s dev-sda4.device                                      
 685ms lm-sensors.service                                   
 553ms systemd-logind.service                               
 423ms systemd-udev-trigger.service                         
 415ms upower.service                                       
 408ms lightdm.service                                      
 404ms plymouth-quit-wait.service                           
 399ms systemd-journald.service                             
 383ms systemd-rfkill.service                               
 342ms networkd-dispatcher.service                          
 317ms systemd-modules-load.service                         
 314ms udisks2.service                                      
 290ms systemd-backlight@backlight:intel_backlight.service  
 239ms user@1000.service                                    
 221ms accounts-daemon.service                              
 201ms grub-common.service                                  
 199ms systemd-udevd.service                                
 194ms systemd-sysusers.service                             
 188ms e2scrub_reap.service                                 
 184ms ubuntu-system-adjustments.service                    
 175ms systemd-fsck@dev-disk-by\x2duuid-5CA8\x2d8C13.service
 173ms systemd-random-seed.service                          
 166ms hddtemp.service                                      
 162ms systemd-timesyncd.service                            
 156ms systemd-resolved.service                             
 145ms systemd-remount-fs.service                           
 144ms polkit.service                                       
 140ms NetworkManager.service                               
 138ms apparmor.service                                     
 136ms systemd-journal-flush.service                        
 135ms bluetooth.service                                    
 135ms avahi-daemon.service                                 
 128ms iio-sensor-proxy.service                             
 124ms systemd-sysctl.service                               
 108ms ModemManager.service                                 
 108ms systemd-tmpfiles-setup-dev.service                   
 102ms thermald.service                                     
 100ms systemd-user-sessions.service                        
  89ms lvm2-monitor.service                                 
lines 2-39

Nothing seems unusual here ?
Ill reboot and try this again
Last edited by mamba76 on Sun May 09, 2021 9:12 am, edited 1 time in total.
User avatar
spamegg
Level 14
Level 14
Posts: 5046
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Boot hang (3 / 4 minutes)

Post by spamegg »

While you're at it, do the same for

Code: Select all

inxi -Fxpmrz

Code: Select all

systemd-analyze

Code: Select all

cat /var/log/boot.log

Code: Select all

dmesg --level=err
Click </> from the mini toolbar above the textbox where you type your reply
and then place your cursor between the code markers and paste the results of the
command between the code markers like this: [code]Results[/code].
mamba76
Level 1
Level 1
Posts: 25
Joined: Thu Apr 22, 2021 8:57 pm

Re: Boot hang (3 / 4 minutes)

Post by mamba76 »

I rebooted. Its seems tempromental. This time is was hanging on boot EFI.mount

Code: Select all

1.350s dev-sda4.device                                      
 683ms lm-sensors.service                                   
 565ms systemd-logind.service                               
 425ms systemd-journald.service                             
 419ms systemd-udev-trigger.service                         
 418ms lightdm.service                                      
 413ms plymouth-quit-wait.service                           
 397ms udisks2.service                                      
 390ms systemd-rfkill.service                               
 383ms networkd-dispatcher.service                          
 373ms upower.service                                       
 326ms systemd-modules-load.service                         
 313ms accounts-daemon.service                              
 309ms systemd-backlight@backlight:intel_backlight.service  
 246ms user@1000.service                                    
 226ms systemd-resolved.service                             
 206ms NetworkManager.service                               
 206ms systemd-udevd.service                                
 194ms systemd-sysusers.service                             
 189ms grub-common.service                                  
 185ms systemd-random-seed.service                          
 177ms avahi-daemon.service                                 
 176ms systemd-fsck@dev-disk-by\x2duuid-5CA8\x2d8C13.service
lines 1-23...skipping...
1.350s dev-sda4.device                                      
 683ms lm-sensors.service                                   
 565ms systemd-logind.service                               
 425ms systemd-journald.service                             
 419ms systemd-udev-trigger.service                         
 418ms lightdm.service                                      
 413ms plymouth-quit-wait.service                           
 397ms udisks2.service                                      
 390ms systemd-rfkill.service                               
 383ms networkd-dispatcher.service                          
 373ms upower.service                                       
 326ms systemd-modules-load.service                         
 313ms accounts-daemon.service                              
 309ms systemd-backlight@backlight:intel_backlight.service  
 246ms user@1000.service                                    
 226ms systemd-resolved.service                             
 206ms NetworkManager.service                               
 206ms systemd-udevd.service                                
 194ms systemd-sysusers.service                             
 189ms grub-common.service                                  
 185ms systemd-random-seed.service                          
 177ms avahi-daemon.service                                 
 176ms systemd-fsck@dev-disk-by\x2duuid-5CA8\x2d8C13.service
 167ms bluetooth.service                                    
 156ms e2scrub_reap.service                                 
 153ms ubuntu-system-adjustments.service                    
 152ms iio-sensor-proxy.service                             
 149ms polkit.service                                       
 147ms systemd-remount-fs.service                           
 144ms ModemManager.service                                 
 132ms systemd-timesyncd.service                            
 130ms systemd-journal-flush.service                        
 129ms hddtemp.service                                      
 128ms apparmor.service                                     
 112ms wpa_supplicant.service                               
 110ms thermald.service                                     
 109ms systemd-sysctl.service                               
  99ms swapfile.swap                                        
lines 1-38
Last edited by mamba76 on Sun May 09, 2021 9:12 am, edited 1 time in total.
mamba76
Level 1
Level 1
Posts: 25
Joined: Thu Apr 22, 2021 8:57 pm

Re: Boot hang (3 / 4 minutes)

Post by mamba76 »

OK

Code: Select all

~$ inxi -Fxpmrz
System:
  Kernel: 5.4.0-72-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.8.6 Distro: Linux Mint 20.1 Ulyssa 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: Hewlett-Packard product: HP ProBook 4540s v: A1009D11 
  serial: <filter> 
  Mobo: Hewlett-Packard model: 17F6 v: KBC Version 58.21 serial: <filter> 
  UEFI: Hewlett-Packard v: 68IRR Ver. F.67 date: 05/30/2018 
Battery:
  ID-1: BAT0 charge: 0% condition: 34.8/34.8 Wh (100%) 
  model: Hewlett-Packard Primary status: Discharging 
Memory:
  RAM: total: 7.66 GiB used: 1.17 GiB (15.3%) 
  RAM Report: 
  permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Topology: Quad Core model: Intel Core i7-3630QM bits: 64 type: MT MCP 
  arch: Ivy Bridge rev: 9 L2 cache: 6144 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38312 
  Speed: 1198 MHz min/max: 1200/3400 MHz Core speeds (MHz): 1: 1197 2: 1197 
  3: 1197 4: 1197 5: 1197 6: 1199 7: 1197 8: 1197 
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Hewlett-Packard 
  driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) 
  v: 4.2 Mesa 20.2.6 direct render: Yes 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.4.0-72-generic 
Network:
  Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter 
  vendor: Hewlett-Packard driver: ath9k v: kernel port: 3040 bus ID: 03:00.0 
  IF: wlo1 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 2000 bus ID: 04:00.0 
  IF: enp4s0 state: down mac: <filter> 
  Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 2-1.6:5 
Drives:
  Local Storage: total: 465.76 GiB used: 27.67 GiB (5.9%) 
  ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB 
Partition:
  ID-1: / size: 133.57 GiB used: 27.63 GiB (20.7%) fs: ext4 dev: /dev/sda4 
  ID-2: /boot/efi size: 96.0 MiB used: 32.7 MiB (34.1%) fs: vfat 
  dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 49.0 C mobo: 0.0 C 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/gezakovacs-ppa-focal.list 
  1: deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyssa main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
  Processes: 342 Uptime: 6m Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 
  Shell: bash v: 5.0.17 inxi: 3.0.38 
  

Code: Select all

~$ systemd-analyze
Startup finished in 10.311s (firmware) + 4.675s (loader) + 6.317s (kernel) + 1min 32.660s (userspace) = 1min 53.965s 
graphical.target reached after 1min 32.614s in userspace

Code: Select all

~$ sudo cat /var/log/boot.log
------------ Sat May 08 19:36:14 BST 2021 ------------
boot: clean, 484682/8962048 files, 8046805/35840000 blocks
[ TIME ] Timed out waiting for device /dev/disk/by-uuid/488D81A6686E6AC5.
[DEPEND] Dependency failed for /media/storage.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Clean up any mess left by 0dns-up.
[  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Load AppArmor profiles.
         Starting Raise network interfaces...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started ACPI Events Check.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Paths.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Online Metadata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Refresh fwupd metadata regularly.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Message of the Day.
[  OK  ] Reached target Timers.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Accounts Service...
[  OK  ] Started ACPI event daemon.
         Starting Save/Restore Sound Card State...
[  OK  ] Started Run anacron jobs.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Bluetooth service...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Online ext4 Metadata Check Snapshots...
         Starting Detect the available GPUs and deal with any system changes...
         Starting LSB: Record successful boot for GRUB...
         Starting LSB: disk temperature monitoring daemon...
         Starting IIO Sensor Proxy service...
[  OK  ] Started irqbalance daemon.
         Starting Initialize hardware monitoring sensors...
[  OK  ] Started mintsystem.service.
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Authorization Manager...
         Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down...
         Starting System Logging Service...
         Starting Login Service...
         Starting Thermal Daemon Service...
         Starting Ubuntu system adjustments...
         Starting Disk Manager...
         Starting WPA supplicant...
[  OK  ] Started Network Name Resolution.
[  OK  ] Finished Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting Tool to automatically collect and submit kernel crash signatures...
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[  OK  ] Started System Logging Service.
[  OK  ] Started Tool to automatically collect and submit kernel crash signatures.
[  OK  ] Finished Detect the available GPUs and deal with any system changes.
[  OK  ] Finished Remove Stale Online ext4 Metadata Check Snapshots.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Make remote CUPS printers available locally.
[  OK  ] Started Bluetooth service.
[  OK  ] Started Thermal Daemon Service.
[  OK  ] Started Network Manager.
[  OK  ] Started IIO Sensor Proxy service.
[  OK  ] Reached target Bluetooth.
[  OK  ] Reached target Network.
         Starting OpenVPN service...
         Starting Permit User Sessions...
[  OK  ] Finished OpenVPN service.
[  OK  ] Started Authorization Manager.
         Starting Modem Manager...
         Starting Hostname Service...
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started Accounts Service.
[  OK  ] Started LSB: Record successful boot for GRUB.
         Starting GRUB failed boot detection...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Finished GRUB failed boot detection.
         Starting Light Display Manager...
         Starting Hold until boot process finishes up...
[  OK  ] Finished Ubuntu system adjustments.
[  OK  ] Started Modem Manager.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started Hostname Service.
[  OK  ] Started Disk Manager.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Login Service.
[  OK  ] Finished Initialize hardware monitoring sensors.
------------ Sun May 09 11:55:10 BST 2021 ------------
boot: recovering journal
boot: Clearing orphaned inode 278244 (uid=1000, gid=1000, mode=0100664, size=8358)
boot: Clearing orphaned inode 2339 (uid=1000, gid=1000, mode=0100600, size=0)
boot: Clearing orphaned inode 5194 (uid=1000, gid=1000, mode=0100600, size=133463)
boot: Clearing orphaned inode 203 (uid=1000, gid=1000, mode=0100600, size=250289)
boot: Clearing orphaned inode 20734 (uid=1000, gid=1000, mode=0100600, size=844043)
boot: Clearing orphaned inode 5182 (uid=1000, gid=1000, mode=0100600, size=399084)
boot: Clearing orphaned inode 1297 (uid=1000, gid=1000, mode=0100600, size=112734)
boot: Clearing orphaned inode 228 (uid=1000, gid=1000, mode=0100600, size=278312)
boot: Clearing orphaned inode 278229 (uid=1000, gid=1000, mode=0100664, size=32768)
boot: Clearing orphaned inode 278063 (uid=1000, gid=1000, mode=0100600, size=2448)
boot: Clearing orphaned inode 2228901 (uid=1000, gid=1000, mode=040700, size=4096)
boot: Clearing orphaned inode 660689 (uid=1000, gid=1000, mode=0100600, size=4194304)
boot: clean, 485777/8962048 files, 8060458/35840000 blocks
[ TIME ] Timed out waiting for device /dev/disk/by-uuid/488D81A6686E6AC5.
[DEPEND] Dependency failed for /media/storage.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Clean up any mess left by 0dns-up.
[  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Load AppArmor profiles.
         Starting Raise network interfaces...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started ACPI Events Check.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Paths.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Online Metadata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Refresh fwupd metadata regularly.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Message of the Day.
[  OK  ] Reached target Timers.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Accounts Service...
[  OK  ] Started ACPI event daemon.
         Starting Save/Restore Sound Card State...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Bluetooth service...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Online ext4 Metadata Check Snapshots...
         Starting Detect the available GPUs and deal with any system changes...
         Starting LSB: Record successful boot for GRUB...
         Starting LSB: disk temperature monitoring daemon...
         Starting IIO Sensor Proxy service...
[  OK  ] Started irqbalance daemon.
         Starting Initialize hardware monitoring sensors...
[  OK  ] Started mintsystem.service.
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Authorization Manager...
         Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down...
         Starting System Logging Service...
         Starting Login Service...
         Starting Thermal Daemon Service...
         Starting Ubuntu system adjustments...
         Starting Disk Manager...
         Starting WPA supplicant...
[  OK  ] Started Network Name Resolution.
[  OK  ] Finished Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target Sound Card.
         Starting Tool to automatically collect and submit kernel crash signatures...
[  OK  ] Started System Logging Service.
[  OK  ] Finished Detect the available GPUs and deal with any system changes.
[  OK  ] Started Tool to automatically collect and submit kernel crash signatures.
[  OK  ] Finished Remove Stale Online ext4 Metadata Check Snapshots.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Bluetooth service.
[  OK  ] Started IIO Sensor Proxy service.
[  OK  ] Started Network Manager.
[  OK  ] Started Thermal Daemon Service.
[  OK  ] Reached target Bluetooth.
[  OK  ] Reached target Network.
[  OK  ] Started Make remote CUPS printers available locally.
         Starting OpenVPN service...
         Starting Permit User Sessions...
[  OK  ] Finished OpenVPN service.
[  OK  ] Started Authorization Manager.
         Starting Modem Manager...
         Starting Hostname Service...
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: Record successful boot for GRUB.
         Starting GRUB failed boot detection...
[  OK  ] Finished GRUB failed boot detection.
[  OK  ] Finished Permit User Sessions.
         Starting Light Display Manager...
         Starting Hold until boot process finishes up...
[  OK  ] Started Accounts Service.
[  OK  ] Started Modem Manager.
[  OK  ] Finished Ubuntu system adjustments.
[  OK  ] Started Hostname Service.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started Disk Manager.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Login Service.
------------ Sun May 09 13:27:24 BST 2021 ------------
boot: clean, 487607/8962048 files, 8065979/35840000 blocks
[ TIME ] Timed out waiting for device /dev/disk/by-uuid/488D81A6686E6AC5.
[DEPEND] Dependency failed for /media/storage.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Clean up any mess left by 0dns-up.
[  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Load AppArmor profiles.
         Starting Raise network interfaces...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started ACPI Events Check.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Paths.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Online Metadata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Refresh fwupd metadata regularly.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Message of the Day.
[  OK  ] Reached target Timers.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Accounts Service...
[  OK  ] Started ACPI event daemon.
         Starting Save/Restore Sound Card State...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Bluetooth service...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Online ext4 Metadata Check Snapshots...
         Starting Detect the available GPUs and deal with any system changes...
         Starting LSB: Record successful boot for GRUB...
         Starting LSB: disk temperature monitoring daemon...
         Starting IIO Sensor Proxy service...
[  OK  ] Started irqbalance daemon.
         Starting Tool to automatically collect and submit kernel crash signatures...
         Starting Initialize hardware monitoring sensors...
[  OK  ] Started mintsystem.service.
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Authorization Manager...
         Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down...
         Starting System Logging Service...
         Starting Login Service...
         Starting Thermal Daemon Service...
         Starting Ubuntu system adjustments...
         Starting Disk Manager...
         Starting WPA supplicant...
[  OK  ] Finished Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[  OK  ] Started System Logging Service.
[  OK  ] Started Tool to automatically collect and submit kernel crash signatures.
[  OK  ] Finished Detect the available GPUs and deal with any system changes.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Make remote CUPS printers available locally.
[  OK  ] Started Bluetooth service.
[  OK  ] Reached target Bluetooth.
[  OK  ] Started Thermal Daemon Service.
[  OK  ] Started IIO Sensor Proxy service.
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting OpenVPN service...
         Starting Permit User Sessions...
[  OK  ] Finished OpenVPN service.
[  OK  ] Started Authorization Manager.
[  OK  ] Started LSB: disk temperature monitoring daemon.
         Starting Modem Manager...
         Starting Hostname Service...
[  OK  ] Finished Remove Stale Online ext4 Metadata Check Snapshots.
[  OK  ] Started Accounts Service.
[  OK  ] Started LSB: Record successful boot for GRUB.
         Starting GRUB failed boot detection...
[  OK  ] Finished Ubuntu system adjustments.
[  OK  ] Finished GRUB failed boot detection.
[  OK  ] Finished Permit User Sessions.
         Starting Light Display Manager...
         Starting Hold until boot process finishes up...
[  OK  ] Started Modem Manager.
[  OK  ] Started Disk Manager.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started Hostname Service.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Login Service.
------------ Sun May 09 14:08:43 BST 2021 ------------
boot: clean, 488365/8962048 files, 8065877/35840000 blocks
[ TIME ] Timed out waiting for device /dev/disk/by-uuid/488D81A6686E6AC5.
[DEPEND] Dependency failed for /media/storage.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Clean up any mess left by 0dns-up.
[  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Load AppArmor profiles.
         Starting Raise network interfaces...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started ACPI Events Check.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Paths.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Online Metadata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Refresh fwupd metadata regularly.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Message of the Day.
[  OK  ] Reached target Timers.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Accounts Service...
[  OK  ] Started ACPI event daemon.
         Starting Save/Restore Sound Card State...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Bluetooth service...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Online ext4 Metadata Check Snapshots...
         Starting Detect the available GPUs and deal with any system changes...
         Starting LSB: Record successful boot for GRUB...
         Starting LSB: disk temperature monitoring daemon...
         Starting IIO Sensor Proxy service...
[  OK  ] Started irqbalance daemon.
         Starting Initialize hardware monitoring sensors...
[  OK  ] Started mintsystem.service.
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Authorization Manager...
         Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down...
         Starting System Logging Service...
         Starting Login Service...
         Starting Thermal Daemon Service...
         Starting Ubuntu system adjustments...
         Starting Disk Manager...
         Starting WPA supplicant...
[  OK  ] Started Network Name Resolution.
[  OK  ] Finished Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting Tool to automatically collect and submit kernel crash signatures...
[  OK  ] Started System Logging Service.
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[  OK  ] Started Tool to automatically collect and submit kernel crash signatures.
[  OK  ] Finished Detect the available GPUs and deal with any system changes.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started Bluetooth service.
[  OK  ] Reached target Bluetooth.
[  OK  ] Started Thermal Daemon Service.
[  OK  ] Finished Remove Stale Online ext4 Metadata Check Snapshots.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Make remote CUPS printers available locally.
[  OK  ] Started IIO Sensor Proxy service.
[  OK  ] Started Authorization Manager.
         Starting Modem Manager...
         Starting Hostname Service...
[  OK  ] Started LSB: Record successful boot for GRUB.
[  OK  ] Finished Ubuntu system adjustments.
         Starting GRUB failed boot detection...
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting OpenVPN service...
         Starting Permit User Sessions...
[  OK  ] Finished OpenVPN service.
[  OK  ] Finished GRUB failed boot detection.
[  OK  ] Finished Permit User Sessions.
         Starting Light Display Manager...
         Starting Hold until boot process finishes up...
[  OK  ] Started Accounts Service.
[  OK  ] Started Hostname Service.
[  OK  ] Started Modem Manager.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Disk Manager.
[  OK  ] Started Login Service.

Code: Select all

dmesg --level=err
Just returns in terminal - no output

The start delay is more like 1 / 2 minutes but this is a new system and feel I should sort these issues out before I start installing my IDEs / Android stuff as its definitely not quite right bit at least it always boots.
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Boot hang (3 / 4 minutes)

Post by Larry78723 »

From your boot.log:
[ TIME ] Timed out waiting for device /dev/disk/by-uuid/488D81A6686E6AC5.
Please post the results of the following commands:

Code: Select all

blkid

Code: Select all

cat /etc/fstab
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
mamba76
Level 1
Level 1
Posts: 25
Joined: Thu Apr 22, 2021 8:57 pm

Re: Boot hang (3 / 4 minutes)

Post by mamba76 »

Code: Select all

paul@paul-HP-ProBook-4540s:~$ blkid
/dev/sda1: LABEL="System Reserved" UUID="742A45562A451710" TYPE="ntfs" PARTUUID="01324a82-a2ff-11eb-affb-b4b52f755349"
/dev/sda2: UUID="7A6649E36649A0AD" TYPE="ntfs" PARTUUID="01324a83-a2ff-11eb-affb-b4b52f755349"
/dev/sda3: UUID="5CA8-8C13" TYPE="vfat" PARTLABEL="EFI" PARTUUID="01324a84-a2ff-11eb-affb-b4b52f755349"
/dev/sda4: LABEL="boot" UUID="36698764-6d9f-44d7-8d25-4620eb48b8a1" TYPE="ext4" PARTLABEL="Linux_System" PARTUUID="24ed1fcc-1834-4a2e-bf35-29e7cd9e340c"
/dev/sda5: LABEL="Common" UUID="74EBED622FC8FD2C" TYPE="ntfs" PTTYPE="dos" PARTLABEL="Common" PARTUUID="ee127bfd-3814-4ed3-82d4-1d98435cbab2"
/dev/sda6: LABEL="Linux_Swap" UUID="8fbfd561-609d-41d9-ae43-4350dfee446f" TYPE="ext4" PARTLABEL="Linux_Swap" PARTUUID="028c6827-9e2b-4dc1-abdd-e10f77ccb50b"

Code: Select all

paul@paul-HP-ProBook-4540s:~$ 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/sda4 during installation
UUID=36698764-6d9f-44d7-8d25-4620eb48b8a1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda3 during installation
UUID=5CA8-8C13  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

# storage mount
UUID=488D81A6686E6AC5 /media/storage/    ntfs-3g        auto,user,rw 0 0
** I did try turning off disk checking by changing last column from 1 to 0 but no change
Looking at the info suggested it seems the hold up is in user space
User avatar
sdibaja
Level 5
Level 5
Posts: 899
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Boot hang (3 / 4 minutes)

Post by sdibaja »

Note the fine print:

[ TIME ] Timed out waiting for device /dev/disk/by-uuid/488D81A6686E6AC5.

===

# storage mount
UUID=488D81A6686E6AC5 /media/storage/ ntfs-3g auto,user,rw 0 0

===================
you moved things, perhaps in the process you "changed" the UUID of that "storage" partition (or changed the Permissions to only root)
perhaps you can edit fstab to point to the correct UUID ... if it is correct check the ownership
Peter
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
mamba76
Level 1
Level 1
Posts: 25
Joined: Thu Apr 22, 2021 8:57 pm

Re: Boot hang (3 / 4 minutes)

Post by mamba76 »

Ah, actually I did move something. I was going to move my 'home folder' on system part to a separate partition (this was the point of most popular setups) but got stuck when I heard its better to keep just the config files in original 'home folder' and move everything else to the dedicated 'home partition'. I just cut pasted everything to 'home partition' then cut / pasted it back when realised Id rather move things manually when needed. I did set downloads default to 'home partition' (ATM can't remember what file that was). So what could boot be looking for that's causing the hang?

ps. I have nothing on 'home partition' so can delete it if needed.
bodge99

Re: Boot hang (3 / 4 minutes)

Post by bodge99 »

Hi,

Yes, the UUID of the NTFS filesystem is incorrect in the 'fstab'. It should be 7A6649E36649A0AD .

Bodge99
mamba76
Level 1
Level 1
Posts: 25
Joined: Thu Apr 22, 2021 8:57 pm

[solved] Re: Boot hang (3 / 4 minutes)

Post by mamba76 »

FIXED!
Updated fstab (file system table) as Bodge99 suggested, now takes about 3 seconds to boot!
Thanks for your help guys, really good support for Mint distro for people getting started with Linux. Couldn't have got here as quick without.
I will go back over this later to work out how you solved it but with the tools (commands) provided here it should help me and others in the future.
Cheers!
Last edited by mamba76 on Sun May 09, 2021 4:16 pm, edited 1 time in total.
bodge99

Re: Boot hang (3 / 4 minutes)

Post by bodge99 »

Hi,

FYI, For this sort of thing look at the output of 'cat /etc/fstab' and 'blkid' first. If everything is O.K. here (i.e. the UUIDs match and the mountpoints exist) then look at using the SystemD tools..

Don't forget, every time you format a partition, you change the filesystem UUID.

If you need it, see post #10 of viewtopic.php?f=46&t=348777 for some info on UUID's and how they are used.

Bodge99
Last edited by bodge99 on Sun May 09, 2021 2:50 pm, edited 1 time in total.
User avatar
spamegg
Level 14
Level 14
Posts: 5046
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Boot hang (3 / 4 minutes)

Post by spamegg »

Cheers Mamba! This is what the Mint community is all about, helping each other.
Mark your topic as [SOLVED], thank you!
mamba76
Level 1
Level 1
Posts: 25
Joined: Thu Apr 22, 2021 8:57 pm

Re: [solved] Boot hang (3 / 4 minutes)

Post by mamba76 »

ps.
Should I be concerned about the 366 sector gap between sda2 and sda3 ?
I guess this would involve more re partitioning but since it works ... !
Actually this must have been done during the window install as Iv not touched them partitions from Linux.
All is well :D
bodge99

Re: [solved] Boot hang (3 / 4 minutes)

Post by bodge99 »

Hi,

You can use Gparted to slightly enlarge one of the existing partitions.. You'll probably need to boot from an external device unless the partition in question can be or is unmounted. It's no problem to leave it alone if you so wish. It's not causing (or will cause) any problems at all.

Bodge99
mamba76
Level 1
Level 1
Posts: 25
Joined: Thu Apr 22, 2021 8:57 pm

Re: [solved] Boot hang (3 / 4 minutes)

Post by mamba76 »

Next time I need to I will change it :D thanks
Locked

Return to “Installation & Boot”