You are not logged in.

#1 2018-08-22 22:43

BrJPedro
Member
From: BR
Registered: 2018-03-20
Posts: 75
Website

Could you help to find the reason of my boot issue?

I am trying to find the reason of my boot problem.

It started after I was "playing" with the partitions on GParted (deleted swap, moved some partitions, etc)

I spent several weeks using Q4OS even with the 90 second delay on each boot (the system was trying to find the swap but in the fstab file it did not have its entry).

A few weeks ago I fixed the fstab file, put the right swap UUID, and the 90 second delay was gone. But now the system shows a message saying it can not find the Swap partition and the UEFI, and goes straight into the emergency mode; just before the emergency mode message appears, the message appears saying that the system found the partitions correctly, so if I press Ctrl + D it continues the process normally.

Here is a part of $ sudo journalctl -b:

ago 22 18:31:00 q4os-desktop systemd[1]: Started Set the console keyboard layout.
ago 22 18:31:00 q4os-desktop systemd[1]: Reached target Local File Systems (Pre).
ago 22 18:31:03 q4os-desktop systemd[1]: dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device: Job dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x
ago 22 18:31:03 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device.
ago 22 18:31:03 q4os-desktop systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae.
ago 22 18:31:03 q4os-desktop systemd[1]: Dependency failed for /home.
ago 22 18:31:03 q4os-desktop systemd[1]: Dependency failed for Local File Systems.
ago 22 18:31:03 q4os-desktop systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
ago 22 18:31:03 q4os-desktop systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
ago 22 18:31:03 q4os-desktop systemd[1]: home.mount: Job home.mount/start failed with result 'dependency'.
ago 22 18:31:03 q4os-desktop systemd[1]: systemd-fsck@dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.service: Job systemd-fsck@dev-disk-by\x2duuid
ago 22 18:31:03 q4os-desktop systemd[1]: dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device: Job dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x
ago 22 18:31:03 q4os-desktop systemd[1]: dev-sda5.device: Job dev-sda5.device/start timed out.
ago 22 18:31:03 q4os-desktop systemd[1]: Timed out waiting for device dev-sda5.device.
ago 22 18:31:03 q4os-desktop systemd[1]: Dependency failed for Swap Partition.
ago 22 18:31:03 q4os-desktop systemd[1]: dev-sda5.swap: Job dev-sda5.swap/start failed with result 'dependency'.
ago 22 18:31:03 q4os-desktop systemd[1]: dev-sda5.device: Job dev-sda5.device/start failed with result 'timeout'.
ago 22 18:31:03 q4os-desktop systemd[1]: dev-disk-by\x2duuid-54CE\x2dDB5F.device: Job dev-disk-by\x2duuid-54CE\x2dDB5F.device/start timed out.
ago 22 18:31:03 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-54CE\x2dDB5F.device.
ago 22 18:31:03 q4os-desktop systemd[1]: Dependency failed for /boot/efi.
ago 22 18:31:03 q4os-desktop systemd[1]: boot-efi.mount: Job boot-efi.mount/start failed with result 'dependency'.
ago 22 18:31:03 q4os-desktop systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/54CE-DB5F.
ago 22 18:31:03 q4os-desktop systemd[1]: systemd-fsck@dev-disk-by\x2duuid-54CE\x2dDB5F.service: Job systemd-fsck@dev-disk-by\x2duuid-54CE\x2dDB5F.service/start failed w
ago 22 18:31:03 q4os-desktop systemd[1]: dev-disk-by\x2duuid-54CE\x2dDB5F.device: Job dev-disk-by\x2duuid-54CE\x2dDB5F.device/start failed with result 'timeout'.
ago 22 18:31:03 q4os-desktop systemd[1]: Starting Preprocess NFS configuration...
ago 22 18:31:03 q4os-desktop systemd[1]: Starting Set console font and keymap...
ago 22 18:31:03 q4os-desktop systemd[1]: Closed Syslog Socket.
ago 22 18:31:03 q4os-desktop systemd[1]: Reached target Login Prompts.
ago 22 18:31:03 q4os-desktop systemd[1]: Reached target Timers.
ago 22 18:31:03 q4os-desktop systemd[1]: Reached target Sockets.
ago 22 18:31:03 q4os-desktop systemd[1]: Starting Create Volatile Files and Directories...
ago 22 18:31:04 q4os-desktop systemd[1]: Starting Raise network interfaces...
ago 22 18:31:04 q4os-desktop systemd[1]: Reached target Swap.
ago 22 18:31:04 q4os-desktop systemd[1]: Started Emergency Shell.
ago 22 18:31:04 q4os-desktop systemd[1]: Started Emergency Shell.
ago 22 18:31:04 q4os-desktop systemd[1]: Starting udev Kernel Device Manager...
ago 22 18:31:04 q4os-desktop systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
ago 22 18:31:04 q4os-desktop systemd[1]: Reached target Emergency Mode.
ago 22 18:31:04 q4os-desktop systemd[1]: Started Set console font and keymap.
ago 22 18:31:04 q4os-desktop systemd[1]: Reached target NFS client services.
ago 22 18:31:04 q4os-desktop systemd[1]: Started Create Volatile Files and Directories.
ago 22 18:31:04 q4os-desktop systemd[1]: Starting Update UTMP about System Boot/Shutdown...
ago 22 18:31:04 q4os-desktop systemd[1]: Starting Network Time Synchronization...
ago 22 18:31:05 q4os-desktop systemd[1]: Started Network Time Synchronization.
ago 22 18:31:05 q4os-desktop systemd[1]: Started udev Kernel Device Manager.
ago 22 18:31:05 q4os-desktop systemd[1]: Started Raise network interfaces.
ago 22 18:31:05 q4os-desktop systemd[1]: Reached target Network.
ago 22 18:31:05 q4os-desktop systemd[1]: Reached target Network is Online.
ago 22 18:31:05 q4os-desktop systemd[1]: Startup finished in 7.208s (kernel) + 9.047s (userspace) = 22.090s.

# the logs continues bla bla bla then it starts file check and find correctly the partitions

ago 22 18:31:07 q4os-desktop systemd[1]: Starting File System Check on /dev/disk/by-uuid/54CE-DB5F...
ago 22 18:31:07 q4os-desktop systemd[1]: Activating swap Swap Partition...
ago 22 18:31:08 q4os-desktop kernel: iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
ago 22 18:31:08 q4os-desktop systemd[1]: Started Load/Save RF Kill Switch Status.
ago 22 18:31:08 q4os-desktop kernel: Adding 3906556k swap on /dev/sda5.  Priority:-1 extents:1 across:3906556k FS
ago 22 18:31:08 q4os-desktop systemd[1]: Activated swap Swap Partition.
ago 22 18:31:08 q4os-desktop systemd[1]: Started File System Check Daemon to report status.
ago 22 18:31:08 q4os-desktop systemd[1]: Reached target Sound Card.
ago 22 18:31:08 q4os-desktop systemd[1]: Reached target Bluetooth.
ago 22 18:31:08 q4os-desktop systemd-fsck[464]: fsck.fat 4.1 (2017-01-24)
ago 22 18:31:08 q4os-desktop systemd-fsck[464]: /dev/sda1: 16 files, 1218/130812 clusters
ago 22 18:31:08 q4os-desktop systemd[1]: Started File System Check on /dev/disk/by-uuid/54CE-DB5F.
ago 22 18:31:08 q4os-desktop systemd[1]: Mounting /boot/efi...
ago 22 18:31:08 q4os-desktop systemd[1]: Mounted /boot/efi.
ago 22 18:31:09 q4os-desktop systemd[1]: Found device ST500LM030-2E717D 3.
ago 22 18:31:09 q4os-desktop systemd[1]: Starting File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae...
ago 22 18:31:09 q4os-desktop systemd-fsck[490]: /dev/sda3: clean, 70529/21774336 files, 5868604/87068416 blocks
ago 22 18:31:09 q4os-desktop systemd[1]: Started File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae.
ago 22 18:31:09 q4os-desktop systemd[1]: Mounting /home...
ago 22 18:31:09 q4os-desktop kernel: EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
ago 22 18:31:09 q4os-desktop systemd[1]: Mounted /home.

Then the message "You are in emergency mode" appears. So I press Ctrl+D or log into root and enter exit command, and then the boot continues.

- - - - - - - - - - -

I tried to comment the swap line in /etc/fstab, then I run update-initramfs -u and rebooted. But the error to find partitions appeared again, and then File check find swap and others partitions successfully even without swap line on /etc/fstab.

Also, in emergency mode, if I run free command, it shows swap is active.

-------------------

Here is my UUIDs:

karina@q4os-desktop:~$ sudo blkid
[sudo] senha para karina: 
/dev/sda1: UUID="54CE-DB5F" TYPE="vfat" PARTLABEL="PartiM-CM-'M-CM-#o EFI do sistema" PARTUUID="c0b20b1d-ef60-4098-a48a-88fc425d7111"
/dev/sda2: UUID="4371f46f-74e7-4053-b073-8f0c1c755790" TYPE="ext4" PARTLABEL="Debian Stretch" PARTUUID="50341056-4935-45e9-a0a2-98f5d9ba7d11"
/dev/sda3: UUID="3cde98bd-1af5-4414-bca1-8eb36b7d44ae" TYPE="ext4" PARTUUID="79ac4c28-598f-4dec-9641-dd0ae3b984ad"
/dev/sda5: UUID="738b93f6-8a33-492c-b89e-d3cf78493ae5" TYPE="swap" PARTUUID="2e706a83-4961-4e96-9c6e-d29257716ec7"
/dev/sda7: UUID="4c00e0ad-748c-4251-8401-0f252d3dbbd6" TYPE="ext4" PARTUUID="d6ed0a29-7470-459a-9b02-48e372483fcf"

I noticed that the first "not found partition" is sda3, my /home partition.

Last edited by BrJPedro (2018-08-22 23:06)


João Pedro -o- @12h01

Offline

#2 2018-08-22 23:06

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Could you help to find the reason of my boot issue?

If you have changed the fstab file to correctly identify your swap partition then it should mount without the 90 second delay, although I'm sure you can simply remove the swap file mounting information from fstab and it should be automatically mounted regardless.

As for the remaining boot issues, I would recommend running

sudo update-grub

to make sure everything is correctly updated and if you still have issues could you post the output of

sudo blkid

and also the relevant parts of journalctl (like in the previous post)

Offline

#3 2018-08-22 23:17

BrJPedro
Member
From: BR
Registered: 2018-03-20
Posts: 75
Website

Re: Could you help to find the reason of my boot issue?

I did sudo update-initramfs -u && sudo update-grub and then rebooted, but the issue persists.

blkid output is in the first post, here is my fstab content:

karina@q4os-desktop:~$ 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=4371f46f-74e7-4053-b073-8f0c1c755790 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=54CE-DB5F  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda4 during installation
# UUID=738b93f6-8a33-492c-b89e-d3cf78493ae5 none            swap    sw              0       0

# (identifier)  (location, eg sda5)   (format, eg ext3 or ext4)      (some settings) 
UUID=3cde98bd-1af5-4414-bca1-8eb36b7d44ae   /home    ext4          defaults       0       2 
karina@q4os-desktop:~$ 

And here is the last journalctl -b relevant output parts:

Lines 660-703:

ago 22 19:10:13 q4os-desktop systemd[1]: Started Load Kernel Modules.
ago 22 19:10:13 q4os-desktop systemd[1]: Starting Apply Kernel Variables...
ago 22 19:10:13 q4os-desktop systemd[1]: Started LVM2 metadata daemon.
ago 22 19:10:13 q4os-desktop systemd[1]: Started Apply Kernel Variables.
ago 22 19:10:14 q4os-desktop systemd[1]: Started Create Static Device Nodes in /dev.
ago 22 19:10:14 q4os-desktop systemd[1]: Started Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
ago 22 19:10:14 q4os-desktop systemd[1]: Started Set the console keyboard layout.
ago 22 19:10:14 q4os-desktop systemd[1]: Reached target Local File Systems (Pre).
ago 22 19:10:18 q4os-desktop systemd[1]: dev-sda5.device: Job dev-sda5.device/start timed out.
ago 22 19:10:18 q4os-desktop systemd[1]: Timed out waiting for device dev-sda5.device.
ago 22 19:10:18 q4os-desktop systemd[1]: Dependency failed for Swap Partition.
ago 22 19:10:18 q4os-desktop systemd[1]: dev-sda5.swap: Job dev-sda5.swap/start failed with result 'dependency'.
ago 22 19:10:18 q4os-desktop systemd[1]: dev-sda5.device: Job dev-sda5.device/start failed with result 'timeout'.
ago 22 19:10:18 q4os-desktop systemd[1]: dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device: Job dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x
ago 22 19:10:18 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device.
ago 22 19:10:18 q4os-desktop systemd[1]: Dependency failed for /home.
ago 22 19:10:18 q4os-desktop systemd[1]: Dependency failed for Local File Systems.
ago 22 19:10:18 q4os-desktop systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
ago 22 19:10:18 q4os-desktop systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
ago 22 19:10:18 q4os-desktop systemd[1]: home.mount: Job home.mount/start failed with result 'dependency'.
ago 22 19:10:18 q4os-desktop systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae.
ago 22 19:10:18 q4os-desktop systemd[1]: systemd-fsck@dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.service: Job systemd-fsck@dev-disk-by\x2duuid
ago 22 19:10:18 q4os-desktop systemd[1]: dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device: Job dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x
ago 22 19:10:18 q4os-desktop systemd[1]: dev-disk-by\x2duuid-54CE\x2dDB5F.device: Job dev-disk-by\x2duuid-54CE\x2dDB5F.device/start timed out.
ago 22 19:10:18 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-54CE\x2dDB5F.device.
ago 22 19:10:18 q4os-desktop systemd[1]: Dependency failed for /boot/efi.
ago 22 19:10:18 q4os-desktop systemd[1]: boot-efi.mount: Job boot-efi.mount/start failed with result 'dependency'.
ago 22 19:10:18 q4os-desktop systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/54CE-DB5F.
ago 22 19:10:18 q4os-desktop systemd[1]: systemd-fsck@dev-disk-by\x2duuid-54CE\x2dDB5F.service: Job systemd-fsck@dev-disk-by\x2duuid-54CE\x2dDB5F.service/start failed w
ago 22 19:10:18 q4os-desktop systemd[1]: dev-disk-by\x2duuid-54CE\x2dDB5F.device: Job dev-disk-by\x2duuid-54CE\x2dDB5F.device/start failed with result 'timeout'.
ago 22 19:10:18 q4os-desktop systemd[1]: Starting Preprocess NFS configuration...
ago 22 19:10:18 q4os-desktop systemd[1]: Starting Set console font and keymap...
ago 22 19:10:18 q4os-desktop systemd[1]: Closed Syslog Socket.
ago 22 19:10:18 q4os-desktop systemd[1]: Reached target Timers.
ago 22 19:10:18 q4os-desktop systemd[1]: Reached target Login Prompts.
ago 22 19:10:18 q4os-desktop systemd[1]: Reached target Sockets.
ago 22 19:10:18 q4os-desktop systemd[1]: Starting Create Volatile Files and Directories...
ago 22 19:10:18 q4os-desktop systemd[1]: Starting Raise network interfaces...
ago 22 19:10:18 q4os-desktop systemd[1]: Starting udev Kernel Device Manager...
ago 22 19:10:18 q4os-desktop systemd[1]: Started Emergency Shell.
ago 22 19:10:18 q4os-desktop systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
ago 22 19:10:18 q4os-desktop systemd[1]: Reached target Emergency Mode.
ago 22 19:10:18 q4os-desktop systemd[1]: Reached target Swap.


Lines 804-847:

ago 22 19:10:21 q4os-desktop systemd[1]: Started Load/Save RF Kill Switch Status.
ago 22 19:10:21 q4os-desktop systemd[1]: Reached target Sound Card.
ago 22 19:10:21 q4os-desktop systemd[1]: Reached target Bluetooth.
ago 22 19:10:22 q4os-desktop systemd[1]: Found device ST500LM030-2E717D 5.
ago 22 19:10:22 q4os-desktop systemd[1]: Activating swap Swap Partition...
ago 22 19:10:22 q4os-desktop systemd[1]: Found device ST500LM030-2E717D Partição\x20EFI\x20do\x20sistema.
ago 22 19:10:22 q4os-desktop systemd[1]: Starting File System Check on /dev/disk/by-uuid/54CE-DB5F...
ago 22 19:10:22 q4os-desktop kernel: Adding 3906556k swap on /dev/sda5.  Priority:-1 extents:1 across:3906556k FS
ago 22 19:10:22 q4os-desktop systemd[1]: Activated swap Swap Partition.
ago 22 19:10:22 q4os-desktop systemd[1]: Started File System Check Daemon to report status.
ago 22 19:10:22 q4os-desktop systemd[1]: Found device ST500LM030-2E717D 3.
ago 22 19:10:22 q4os-desktop systemd[1]: Starting File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae...
ago 22 19:10:22 q4os-desktop systemd[1]: Stopped Emergency Shell.
ago 22 19:10:22 q4os-desktop systemd[1]: Stopped target Bluetooth.
ago 22 19:10:22 q4os-desktop systemd[1]: Stopping Load/Save Screen Backlight Brightness of backlight:intel_backlight...
ago 22 19:10:22 q4os-desktop systemd[1]: Starting Show Plymouth Boot Screen...
ago 22 19:10:22 q4os-desktop systemd[1]: Stopped target Emergency Mode.
ago 22 19:10:22 q4os-desktop lvmetad[254]: Failed to accept connection errno 11.
ago 22 19:10:22 q4os-desktop systemd[1]: Stopping File System Check Daemon to report status...
ago 22 19:10:22 q4os-desktop systemd[1]: Stopping Load/Save RF Kill Switch Status...
ago 22 19:10:22 q4os-desktop systemd[1]: Listening on Syslog Socket.
ago 22 19:10:22 q4os-desktop systemd[1]: Stopping LVM2 metadata daemon...
ago 22 19:10:22 q4os-desktop systemd[1]: Stopped target Sound Card.
ago 22 19:10:22 q4os-desktop systemd[1]: Stopped LVM2 metadata daemon.
ago 22 19:10:22 q4os-desktop systemd[1]: Stopped Load/Save RF Kill Switch Status.
ago 22 19:10:22 q4os-desktop systemd[1]: Stopped File System Check Daemon to report status.
ago 22 19:10:22 q4os-desktop systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
ago 22 19:10:22 q4os-desktop systemd[1]: Stopped Load/Save Screen Backlight Brightness of backlight:intel_backlight.
ago 22 19:10:23 q4os-desktop systemd[1]: Started Show Plymouth Boot Screen.
ago 22 19:10:23 q4os-desktop systemd-fsck[493]: fsck.fat 4.1 (2017-01-24)
ago 22 19:10:23 q4os-desktop systemd-fsck[493]: /dev/sda1: 16 files, 1218/130812 clusters
ago 22 19:10:23 q4os-desktop systemd[1]: Started File System Check on /dev/disk/by-uuid/54CE-DB5F.
ago 22 19:10:23 q4os-desktop systemd[1]: Mounting /boot/efi...
ago 22 19:10:23 q4os-desktop systemd-fsck[499]: /dev/sda3: clean, 70739/21774336 files, 5870512/87068416 blocks
ago 22 19:10:23 q4os-desktop systemd[1]: Started File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae.
ago 22 19:10:23 q4os-desktop systemd[1]: Mounted /boot/efi.
ago 22 19:10:23 q4os-desktop systemd[1]: Mounting /home...
ago 22 19:10:23 q4os-desktop systemd[1]: Received SIGRTMIN+20 from PID 511 (plymouthd).
ago 22 19:10:23 q4os-desktop systemd[1]: Mounted /home.
ago 22 19:10:23 q4os-desktop systemd[1]: Reached target Local File Systems.
ago 22 19:10:23 q4os-desktop kernel: EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
ago 22 19:10:23 q4os-desktop systemd[1]: Starting Preprocess NFS configuration...

--------------------

Here is free output showing my swap active.

karina@q4os-desktop:~$ free
              total        used        free      shared  buff/cache   available
Mem:        3836380      886576     2216588      129308      733216     2594316
Swap:       3906556           0     3906556
karina@q4os-desktop:~$ 

Last edited by BrJPedro (2018-08-22 23:21)


João Pedro -o- @12h01

Offline

#4 2018-08-23 00:17

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Could you help to find the reason of my boot issue?

A couple of things I noticed that are different in your fstab to my UEFI laptop, mine is below: (and yes I usually remove all the superfluous text from that file smile )

proc						/proc			proc	defaults		0	0
UUID=DAAC-7F84					/boot/efi		vfat	defaults		0	0
UUID=27a5826d-62ac-43cd-936b-46e26fbece33	swap			swap	sw			0	0
UUID=b2463b0e-2fa0-48f3-9a91-b4ab424fc72e	/			ext4	rw,errors=remount-ro	0	1
UUID=756ab33a-969c-490c-b1f8-f0dd9b72e238	/media/dai/DATA		ext4	defaults		0	2

1. You have no proc mount
2 .Yours specifies umask=0077 for efi partition mine is set to defaults
3. You have different fsck instruction for efi partition, (yours 0 1, mine 0 0)

I also noticed your swap is commented but still mounted so that line could be safely removed if you prefer.

I am not sure if your /home partition is correctly defined as I do not use separate partitions for this (it looks ok for a normal mount though) but maybe somebody else who uses their system this way could confirm this for you.

If it were me I would try adjusting your fstab (points 1,2 and 3) to reflect the lines of mine to see if it will make a difference.

One other thing I might do if these do not work would be to change the fstab line for your /home to be the same as your root to make it like this:-

UUID=3cde98bd-1af5-4414-bca1-8eb36b7d44ae   /home    ext4          rw,errors=remount-ro       0       1

The only other thing I would research would be LVM as I can see it is being loaded in your journalctl output, I do not use this so again it would be something that might need clarification form another user...

Offline

#5 2018-08-23 01:56

BrJPedro
Member
From: BR
Registered: 2018-03-20
Posts: 75
Website

Re: Could you help to find the reason of my boot issue?

I don't care what is /proc mount, but I will add it anyway.

I also don't care what LVM2 package does, so I removed it.

Now my fstab is:

karina@q4os-desktop:~$ cat /etc/fstab
# proc mount
proc						/proc			proc	defaults		0	0

# efi mount
UUID=54CE-DB5F  /boot/efi       vfat    defaults      0       0

# root mount
UUID=4371f46f-74e7-4053-b073-8f0c1c755790 /               ext4    errors=remount-ro 0       1

# 300gb partition home data 
UUID=3cde98bd-1af5-4414-bca1-8eb36b7d44ae   /home               ext4    errors=remount-ro 0       1
karina@q4os-desktop:~$ 

I will do $ sudo update-initramfs -u && sudo update-grub and then reboot.

---------------------

♪ Nothing has changed... hmm

Here is journalctl -b output:

Lines 668-737

ago 22 22:00:51 q4os-desktop systemd[1]: Mounted RPC Pipe File System.
ago 22 22:00:51 q4os-desktop systemd[1]: Started udev Coldplug all Devices.
ago 22 22:00:51 q4os-desktop systemd[1]: Started Set the console keyboard layout.
ago 22 22:00:51 q4os-desktop systemd[1]: Started Create Static Device Nodes in /dev.
ago 22 22:00:51 q4os-desktop systemd[1]: Reached target Local File Systems (Pre).
ago 22 22:00:55 q4os-desktop systemd[1]: dev-sda5.device: Job dev-sda5.device/start timed out.
ago 22 22:00:55 q4os-desktop systemd[1]: Timed out waiting for device dev-sda5.device.
ago 22 22:00:55 q4os-desktop systemd[1]: Dependency failed for Swap Partition.
ago 22 22:00:55 q4os-desktop systemd[1]: dev-sda5.swap: Job dev-sda5.swap/start failed with result 'dependency'.
ago 22 22:00:55 q4os-desktop systemd[1]: dev-sda5.device: Job dev-sda5.device/start failed with result 'timeout'.
ago 22 22:00:55 q4os-desktop systemd[1]: dev-sda4.device: Job dev-sda4.device/start timed out.
ago 22 22:00:55 q4os-desktop systemd[1]: Timed out waiting for device dev-sda4.device.
ago 22 22:00:55 q4os-desktop systemd[1]: Dependency failed for Swap Partition.
ago 22 22:00:55 q4os-desktop systemd[1]: dev-sda4.swap: Job dev-sda4.swap/start failed with result 'dependency'.
ago 22 22:00:55 q4os-desktop systemd[1]: dev-sda4.device: Job dev-sda4.device/start failed with result 'timeout'.
ago 22 22:00:55 q4os-desktop systemd[1]: dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device: Job dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x
ago 22 22:00:55 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device.
ago 22 22:00:55 q4os-desktop systemd[1]: Dependency failed for /home.
ago 22 22:00:55 q4os-desktop systemd[1]: Dependency failed for Local File Systems.
ago 22 22:00:55 q4os-desktop systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
ago 22 22:00:55 q4os-desktop systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
ago 22 22:00:55 q4os-desktop systemd[1]: home.mount: Job home.mount/start failed with result 'dependency'.
ago 22 22:00:55 q4os-desktop systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae.
ago 22 22:00:55 q4os-desktop systemd[1]: systemd-fsck@dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.service: Job systemd-fsck@dev-disk-by\x2duuid
ago 22 22:00:55 q4os-desktop systemd[1]: dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device: Job dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x
ago 22 22:00:55 q4os-desktop systemd[1]: dev-disk-by\x2duuid-54CE\x2dDB5F.device: Job dev-disk-by\x2duuid-54CE\x2dDB5F.device/start timed out.
ago 22 22:00:55 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-54CE\x2dDB5F.device.
ago 22 22:00:55 q4os-desktop systemd[1]: Dependency failed for /boot/efi.
ago 22 22:00:55 q4os-desktop systemd[1]: boot-efi.mount: Job boot-efi.mount/start failed with result 'dependency'.
ago 22 22:00:55 q4os-desktop systemd[1]: dev-disk-by\x2duuid-54CE\x2dDB5F.device: Job dev-disk-by\x2duuid-54CE\x2dDB5F.device/start failed with result 'timeout'.
ago 22 22:00:55 q4os-desktop systemd[1]: Starting Set console font and keymap...
ago 22 22:00:55 q4os-desktop systemd[1]: Starting Preprocess NFS configuration...
ago 22 22:00:55 q4os-desktop systemd[1]: Closed Syslog Socket.
ago 22 22:00:55 q4os-desktop systemd[1]: Reached target Login Prompts.
ago 22 22:00:55 q4os-desktop systemd[1]: Reached target Timers.
ago 22 22:00:55 q4os-desktop systemd[1]: Starting Create Volatile Files and Directories...
ago 22 22:00:55 q4os-desktop systemd[1]: Starting udev Kernel Device Manager...
ago 22 22:00:55 q4os-desktop systemd[1]: Starting Raise network interfaces...
ago 22 22:00:55 q4os-desktop systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
ago 22 22:00:55 q4os-desktop systemd[1]: Started Emergency Shell.
ago 22 22:00:55 q4os-desktop systemd[1]: Reached target Emergency Mode.
ago 22 22:00:55 q4os-desktop systemd[1]: Reached target Sockets.
ago 22 22:00:55 q4os-desktop systemd[1]: Reached target Swap.
ago 22 22:00:56 q4os-desktop systemd[1]: Started Create Volatile Files and Directories.
ago 22 22:00:56 q4os-desktop systemd[1]: Starting RPC bind portmap service...
ago 22 22:00:56 q4os-desktop systemd[1]: Starting Network Time Synchronization...
ago 22 22:00:56 q4os-desktop systemd[1]: Starting Update UTMP about System Boot/Shutdown...
ago 22 22:00:56 q4os-desktop systemd[1]: Started Tell Plymouth To Write Out Runtime Data.
ago 22 22:00:56 q4os-desktop systemd[1]: Started Update UTMP about System Boot/Shutdown.
ago 22 22:00:56 q4os-desktop systemd[1]: Starting Update UTMP about System Runlevel Changes...
ago 22 22:00:56 q4os-desktop systemd[1]: Started Set console font and keymap.
ago 22 22:00:56 q4os-desktop systemd[1]: Started Preprocess NFS configuration.
ago 22 22:00:56 q4os-desktop systemd[1]: Reached target NFS client services.
ago 22 22:00:56 q4os-desktop systemd[1]: Started Update UTMP about System Runlevel Changes.
ago 22 22:00:56 q4os-desktop systemd[1]: Started Network Time Synchronization.
ago 22 22:00:56 q4os-desktop systemd[1]: Reached target System Time Synchronized.
ago 22 22:00:56 q4os-desktop systemd[1]: Started RPC bind portmap service.
ago 22 22:00:56 q4os-desktop systemd[1]: Reached target Remote File Systems (Pre).
ago 22 22:00:56 q4os-desktop systemd[1]: Reached target Remote File Systems.
ago 22 22:00:56 q4os-desktop systemd[1]: Reached target RPC Port Mapper.
ago 22 22:00:57 q4os-desktop systemd[1]: Started udev Kernel Device Manager.
ago 22 22:00:57 q4os-desktop systemd[1]: Starting Show Plymouth Boot Screen...
ago 22 22:00:57 q4os-desktop systemd[1]: Started Show Plymouth Boot Screen.
ago 22 22:00:57 q4os-desktop systemd[1]: Reached target Paths.
ago 22 22:00:57 q4os-desktop systemd[1]: Reached target Encrypted Volumes.
ago 22 22:00:57 q4os-desktop systemd[1]: Started Forward Password Requests to Plymouth Directory Watch.
ago 22 22:00:57 q4os-desktop systemd[1]: Started Raise network interfaces.
ago 22 22:00:57 q4os-desktop systemd[1]: Reached target Network.
ago 22 22:00:57 q4os-desktop systemd[1]: Reached target Network is Online.
ago 22 22:00:57 q4os-desktop systemd[1]: Startup finished in 7.111s (kernel) + 9.010s (userspace) = 22.347s.

Lines 813-856
ago 22 22:00:59 q4os-desktop systemd[1]: Reached target Sound Card.
ago 22 22:01:00 q4os-desktop systemd[1]: lvm2-monitor.service: Cannot add dependency job, ignoring: Cannot send after transport endpoint shutdown
ago 22 22:01:00 q4os-desktop systemd[1]: lvm2-lvmetad.socket: Cannot add dependency job, ignoring: Cannot send after transport endpoint shutdown
ago 22 22:01:00 q4os-desktop systemd[1]: lvm2-lvmpolld.socket: Cannot add dependency job, ignoring: Cannot send after transport endpoint shutdown
ago 22 22:01:00 q4os-desktop systemd[1]: Mounted /boot/efi.
ago 22 22:01:00 q4os-desktop systemd[1]: Started Load/Save RF Kill Switch Status.
ago 22 22:01:00 q4os-desktop systemd[1]: Found device ST500LM030-2E717D 5.
ago 22 22:01:00 q4os-desktop systemd[1]: Found device ST500LM030-2E717D 4.
ago 22 22:01:00 q4os-desktop systemd[1]: Activating swap Swap Partition...
ago 22 22:01:00 q4os-desktop systemd[1]: Reached target Bluetooth.
ago 22 22:01:00 q4os-desktop systemd[1]: Activating swap Swap Partition...
ago 22 22:01:00 q4os-desktop systemd[1]: Found device ST500LM030-2E717D 3.
ago 22 22:01:00 q4os-desktop systemd[1]: Starting File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae...
ago 22 22:01:00 q4os-desktop kernel: Adding 3906556k swap on /dev/sda5.  Priority:-1 extents:1 across:3906556k FS
ago 22 22:01:00 q4os-desktop systemd[1]: Activated swap Swap Partition.
ago 22 22:01:00 q4os-desktop kernel: Adding 4095996k swap on /dev/sda4.  Priority:-2 extents:1 across:4095996k FS
ago 22 22:01:00 q4os-desktop systemd[1]: Activated swap Swap Partition.
ago 22 22:01:00 q4os-desktop systemd[1]: Started File System Check Daemon to report status.
ago 22 22:01:01 q4os-desktop systemd-fsck[478]: /dev/sda3: clean, 71196/21774336 files, 5875201/87068416 blocks
ago 22 22:01:01 q4os-desktop systemd[1]: Started File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae.
ago 22 22:01:01 q4os-desktop systemd[1]: Mounting /home...
ago 22 22:01:01 q4os-desktop kernel: EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: errors=remount-ro
ago 22 22:01:01 q4os-desktop systemd[1]: Mounted /home.
ago 22 22:01:02 q4os-desktop systemd[1]: lvm2-monitor.service: Cannot add dependency job, ignoring: Unit lvm2-monitor.service is masked.
ago 22 22:01:02 q4os-desktop systemd[1]: lvm2-lvmetad.socket: Cannot add dependency job, ignoring: Unit lvm2-lvmetad.socket is masked.
ago 22 22:01:02 q4os-desktop systemd[1]: lvm2-lvmpolld.socket: Cannot add dependency job, ignoring: Unit lvm2-lvmpolld.socket is masked.
ago 22 22:01:02 q4os-desktop systemd[1]: Stopped target Emergency Mode.
ago 22 22:01:02 q4os-desktop systemd[1]: Starting Show Plymouth Boot Screen...
ago 22 22:01:02 q4os-desktop systemd[1]: Stopping File System Check Daemon to report status...
ago 22 22:01:02 q4os-desktop systemd[1]: Listening on Syslog Socket.
ago 22 22:01:02 q4os-desktop systemd[1]: Stopped target Bluetooth.
ago 22 22:01:02 q4os-desktop systemd[1]: Stopped target Sound Card.
ago 22 22:01:02 q4os-desktop systemd[1]: Stopping Emergency Shell...
ago 22 22:01:02 q4os-desktop systemd[1]: Stopping Load/Save Screen Backlight Brightness of backlight:intel_backlight...
ago 22 22:01:02 q4os-desktop systemd[1]: Reached target Local File Systems.
ago 22 22:01:02 q4os-desktop systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
ago 22 22:01:02 q4os-desktop systemd[1]: Starting Preprocess NFS configuration...
ago 22 22:01:02 q4os-desktop systemd[1]: Stopping Load/Save RF Kill Switch Status...
ago 22 22:01:02 q4os-desktop systemd[1]: Stopped Emergency Shell.
ago 22 22:01:02 q4os-desktop systemd[1]: Stopped Load/Save RF Kill Switch Status.
ago 22 22:01:02 q4os-desktop systemd[1]: Stopped File System Check Daemon to report status.
ago 22 22:01:02 q4os-desktop systemd[1]: Stopped Load/Save Screen Backlight Brightness of backlight:intel_backlight.
ago 22 22:01:02 q4os-desktop systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
ago 22 22:01:02 q4os-desktop systemd[1]: Started Tell Plymouth To Write Out Runtime Data.

I think I should not removed LVM2... :v

------------------------

Before doing this, I created a new /swap partition, 'cause I read here https://askubuntu.com/questions/956042/ … -device-7s that 2 OS installed using same swap may cause issues... so as I have Ubuntu in dual-boot here, I created a new swap (now /dev/sda4) and added it to fstab (before I did the changes you suggested). Not worked, but now I have 8Gb of swap memory, the two partitions are now mounted even without being inserted on /etc/fstab.

karina@q4os-desktop:~$ free
              total        used        free      shared  buff/cache   available
Mem:        3836380      808372     2202908       89704      825100     2706472
Swap:       8002552           0     8002552
karina@q4os-desktop:~$ 

--------------------------

A few months ago, when I changed partitions, deleted old swap partition, and the 90 seconds delay started, the new swap partition was not being used. I remember that sometimes the system used to hang or to be slow, especially when I was using KDE Plasma alongside Trinity (That was the reason for I install Ubuntu and "abandon" Q4OS for a while).

So, why in that time the new swap partition was being not used, but here the two swap partitions, including the newly created, is being used without any changes?

--------------------------

Here are just "red lines" in $ sudo journalctl -b output:

ago 22 22:00:55 q4os-desktop systemd[1]: Timed out waiting for device dev-sda5.device.
ago 22 22:00:55 q4os-desktop systemd[1]: Timed out waiting for device dev-sda4.device.
ago 22 22:00:55 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device.
ago 22 22:00:55 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-54CE\x2dDB5F.device.

Last edited by BrJPedro (2018-08-23 02:23)


João Pedro -o- @12h01

Offline

#6 2018-08-23 02:36

BrJPedro
Member
From: BR
Registered: 2018-03-20
Posts: 75
Website

Re: Could you help to find the reason of my boot issue?

Here is journalctl -xb output, I boot into Recovery mode this time:

-- The start-up result is done.
ago 22 22:29:30 q4os-desktop systemd[1]: Starting Load/Save RF Kill Switch Status...
-- Subject: Unidade systemd-rfkill.service sendo iniciado
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade systemd-rfkill.service está sendo iniciada.
ago 22 22:29:31 q4os-desktop kernel: uvcvideo: Found UVC 1.00 device VGA WebCam (04f2:b58d)
ago 22 22:29:31 q4os-desktop kernel: uvcvideo 1-3:1.0: Entity type for entity Extension 4 was not initialized!
ago 22 22:29:31 q4os-desktop kernel: uvcvideo 1-3:1.0: Entity type for entity Processing 2 was not initialized!
ago 22 22:29:31 q4os-desktop kernel: uvcvideo 1-3:1.0: Entity type for entity Camera 1 was not initialized!
ago 22 22:29:31 q4os-desktop kernel: input: VGA WebCam as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/input/input13
ago 22 22:29:31 q4os-desktop kernel: usbcore: registered new interface driver uvcvideo
ago 22 22:29:31 q4os-desktop kernel: USB Video Class driver (1.1.1)
ago 22 22:29:31 q4os-desktop systemd[1]: dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device: Job dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x
ago 22 22:29:31 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device.
-- Subject: A unidade dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device falhou
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device falhou.
-- 
-- O resultado é timeout.
ago 22 22:29:31 q4os-desktop systemd[1]: Dependency failed for /home.
-- Subject: A unidade home.mount falhou
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade home.mount falhou.
-- 
-- O resultado é dependency.
ago 22 22:29:31 q4os-desktop systemd[1]: Dependency failed for Local File Systems.
-- Subject: A unidade local-fs.target falhou
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade local-fs.target falhou.
-- 
-- O resultado é dependency.

ago 22 22:29:31 q4os-desktop systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
ago 22 22:29:31 q4os-desktop systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
ago 22 22:29:31 q4os-desktop systemd[1]: home.mount: Job home.mount/start failed with result 'dependency'.
ago 22 22:29:31 q4os-desktop systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae.
-- Subject: A unidade systemd-fsck@dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.service falhou
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade systemd-fsck@dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.service falhou.
-- 
-- O resultado é dependency.
ago 22 22:29:31 q4os-desktop systemd[1]: systemd-fsck@dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.service: Job systemd-fsck@dev-disk-by\x2duuid
ago 22 22:29:31 q4os-desktop systemd[1]: dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device: Job dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x
ago 22 22:29:31 q4os-desktop systemd[1]: Starting Create Volatile Files and Directories...
-- Subject: Unidade systemd-tmpfiles-setup.service sendo iniciado
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade systemd-tmpfiles-setup.service está sendo iniciada.
ago 22 22:29:31 q4os-desktop systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
-- Subject: Unidade plymouth-read-write.service sendo iniciado
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade plymouth-read-write.service está sendo iniciada.
ago 22 22:29:31 q4os-desktop systemd[1]: Started Emergency Shell.
-- Subject: Unidade emergency.service concluiu a inicialização
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade emergency.service concluiu a inicialização.
-- 
-- The start-up result is done.
ago 22 22:29:31 q4os-desktop systemd[1]: Reached target Emergency Mode.
-- Subject: Unidade emergency.target concluiu a inicialização
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade emergency.target concluiu a inicialização.
-- 
-- The start-up result is done.

ago 22 22:29:31 q4os-desktop kernel: Adding 4095996k swap on /dev/sda4.  Priority:-2 extents:1 across:4095996k FS
ago 22 22:29:31 q4os-desktop systemd[1]: Activated swap Swap Partition.
-- Subject: Unidade dev-sda4.swap concluiu a inicialização
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade dev-sda4.swap concluiu a inicialização.
-- 
-- The start-up result is done.
ago 22 22:29:31 q4os-desktop systemd[1]: Reached target Swap.
-- Subject: Unidade swap.target concluiu a inicialização
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade swap.target concluiu a inicialização.
-- 
-- The start-up result is done.
ago 22 22:29:31 q4os-desktop systemd[1]: Starting File System Check on /dev/disk/by-uuid/3cde98bd-1af5-4414-bca1-8eb36b7d44ae...
-- Subject: Unidade systemd-fsck@dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.service sendo iniciado
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade systemd-fsck@dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.service está sendo iniciada.
ago 22 22:29:31 q4os-desktop systemd[1]: Started Load/Save RF Kill Switch Status.
-- Subject: Unidade systemd-rfkill.service concluiu a inicialização
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade systemd-rfkill.service concluiu a inicialização.
-- 
-- The start-up result is done.
ago 22 22:29:31 q4os-desktop systemd[1]: Started Tell Plymouth To Write Out Runtime Data.
-- Subject: Unidade plymouth-read-write.service concluiu a inicialização
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A unidade plymouth-read-write.service concluiu a inicialização.
-- 
-- The start-up result is done.

Here, the first "partition error" is /dev/sda3, where is actually the Ubuntu partition.
I don't remember where the 'ancient original swap' partition of Q4OS was.

May Q4OS be searching for the old swap, then giving the errors, and then the kernel finds the correct swap partition and 'fix' the boot process?

Last edited by BrJPedro (2018-08-23 02:41)


João Pedro -o- @12h01

Offline

#7 2018-08-23 08:54

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Could you help to find the reason of my boot issue?

LVM should have been left installed until you found if you were in fact using it or not... re-installing it would be advised.  (maybe moot if you go with my final recommendation at the end of the post)

Issues with swap partition were caused by having it defined wrong in your fstab file which is what directly caused your 90 second delay, if you simply remove the "bad" entry in fstab the swap partition will be automagically mounted and used. This is a common problem especially when multi-booting (each OS wants to format swap during installation) and is likely a big consideration for putting measures in place to auto mount swap without fstab being required.

This is puzzling, and might hold a clue to the original problem maybe???

From Post #1

BrJPedro wrote:

I noticed that the first "not found partition" is sda3, my /home partition.

From Post #6

BrJPedro wrote:

Here, the first "partition error" is /dev/sda3, where is actually the Ubuntu partition.

Which one is right?

I do think at this stage it would be a lot easier to perform a fresh install rather than trying to recover this one, but that's just what I would do (installation +/- 30 mins Vs troubleshoot and repair possibly days???). As this system is being multi-booted you should have access the partitions from your Ubuntu installation to recover any data that you require and then re-installation of Q4OS would be quite painless (choosing the same partitions that you are currently using if they are correct!) and as the home partition would be set-up during the install you would be able to see afterwards what the correct fstab entries should be (more for future reference and maybe post it here for any other readers with similar isuses)

Offline

#8 2018-08-23 16:41

BrJPedro
Member
From: BR
Registered: 2018-03-20
Posts: 75
Website

Re: Could you help to find the reason of my boot issue?

Dai_trying wrote:

Which one is right?

Sorry, I made a mistake.

Here is fdisk output:

karina@q4os-desktop:~$ sudo fdisk -l
[sudo] senha para karina: 
Disco /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 setores
Unidades: setor de 1 * 512 = 512 bytes
Tamanho de setor (lógico/físico): 512 bytes / 4096 bytes
Tamanho E/S (mínimo/ótimo): 4096 bytes / 4096 bytes
Tipo de rótulo do disco: gpt
Identificador do disco: 16F23531-D6B4-4E49-B6A7-65CFF84E84D1

Dispositivo    Início       Fim   Setores Tamanho Tipo
/dev/sda1        2048   1050623   1048576    512M Sistema EFI
/dev/sda2     1050624  63965183  62914560     30G Linux sistema de arquivos
/dev/sda3   280225792 976773119 696547328  332,1G Linux sistema de arquivos
/dev/sda4    71778304  79970303   8192000    3,9G Linux swap
/dev/sda5    63965184  71778303   7813120    3,7G Linux swap
/dev/sda7    79970304 280225791 200255488   95,5G Linux sistema de arquivos

Partições lógicas fora da ordem do disco.
karina@q4os-desktop:~$ 

According to this:
sda1 is UEFI
sda2 is Q4OS partition
sda3 is home partition
sda4 is the "second" swap partition, that I created yesterday
sda5 is the swap partition that I was using
sda7 is Ubuntu partition

Sorry, I was sleepy and I ended up confusing things... :v
The Ubuntu partition has nothing to do with the problem, I think

-----------------------------

About reinstall Q4OS, I don't want to consider it for now.

I have a physical problem on my laptop USB ports (there has no relation with boot issue).
So I am unable to use USB to perform a clean install of Q4OS.

When this problem occurred, just Q4OS was installed here on my machine. After the problem started, I installed Ubuntu from hard disk (created a partition, extracted ISO to that partition and then booted via GRUB smile Ubuntu is working fine ).

When the 90s delay started on Q4OS, I was so lazy and tried to perform a clean Q4OSinstall in the same way (extracting ISO to a partition and booting with GRUB) instead of fix the problem. The live ISO booted successfully but the installer could not install Q4OS.

I think the only way that I can perform now a clean install of Q4OS or any distro is using this way (or booting my HD on another machine, but I can't do this for now).

I really want to recover this system. I love Q4OS and don't wanna give up sad

-----------------------------

Anyway, I am downloading now Q4OS Plasma ISO, and will try to perform a clean install via Hard disk.
If it installs successfully (like Ubuntu), then I give up trying to fix the problem here and I'll be using the new Q4OS installation. But I really want to try to fix this problem.

Last edited by BrJPedro (2018-08-23 17:19)


João Pedro -o- @12h01

Offline

#9 2018-08-23 16:57

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Could you help to find the reason of my boot issue?

Ok, I'm just installing into a VM with separate home partition to see how it mounts and I will use LVM and then see what settings are used by the installer. I will post back when it is done. smile

Offline

#10 2018-08-23 17:19

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Could you help to find the reason of my boot issue?

Ok, here is the fstab contents for a fresh UEFI installation

proc						/proc		proc	defaults		0	0
UUID=99DB-F0D5					/boot/efi	vfat	defaults		0	0
UUID=90d88daf-89b2-4abf-b460-7e404f8d82a9	swap		swap	sw			0	0
UUID=c3de238c-eb30-481c-8105-123370083247	/		ext4	rw,errors=remount-ro	0	1
UUID=d403b6bd-e852-4790-ab2b-02702523c1e0	/home		ext4	rw,errors=remount-ro	0	0

You could copy this (replacing UUID's) to your machine and see if that gets us any closer, obviously you can ignore (remove) the swap partition as both of yours will be mounted automatically.

One thing to note would be that I did not use LVM (I forgot to specify it when installing) but if that is the only problem then you should be able to install using a chroot environment. Let me know how you get on with this first. smile

Offline

#11 2018-08-23 18:14

BrJPedro
Member
From: BR
Registered: 2018-03-20
Posts: 75
Website

Re: Could you help to find the reason of my boot issue?

I could not install Q4OS Plasma, after setting the user settings, the timezone, and select partitions and mount points, the installer says that I need to burn my ISO using another program, because the one that I used is not compatible with Q4OS.

-------------

I edited my /etc/fstab to look like yours.

karina@q4os-desktop:~$ cat /etc/fstab
proc						/proc		proc	defaults0	0
UUID=54CE-DB5F					/boot/efi	vfat	defaults0	0
UUID=4371f46f-74e7-4053-b073-8f0c1c755790	/		ext4	rw,errors=remount-ro	0	1
UUID=3cde98bd-1af5-4414-bca1-8eb36b7d44ae	/home		ext4	rw,errors=remount-ro	0	0
karina@q4os-desktop:~$ 

Now I will reboot and see if changed anything.

- Nothing has changed. I decided to delete the swap, and rebooted without any swap partition to see if it was the swap that was giving trouble. I found out it was not.

Here is my journalctl -b:

ago 23 14:23:03 q4os-desktop systemd[1]: Started Load Kernel Modules.
ago 23 14:23:03 q4os-desktop systemd[1]: Starting Apply Kernel Variables...
ago 23 14:23:03 q4os-desktop systemd-journald[402]: Runtime journal (/run/log/journal/66fbe6b9ff0340d4bbcf2030bb49966e) is 4.6M, max 37.4M, 32.7M free.
ago 23 14:23:03 q4os-desktop systemd[1]: Started Flush Journal to Persistent Storage.
ago 23 14:23:03 q4os-desktop systemd[1]: Started Apply Kernel Variables.
ago 23 14:23:03 q4os-desktop systemd[1]: Started LVM2 metadata daemon.
ago 23 14:23:03 q4os-desktop systemd[1]: Started Set the console keyboard layout.
ago 23 14:23:03 q4os-desktop systemd[1]: Started Create Static Device Nodes in /dev.
ago 23 14:23:03 q4os-desktop systemd[1]: Started Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
ago 23 14:23:03 q4os-desktop systemd[1]: Reached target Local File Systems (Pre).
ago 23 14:23:04 q4os-desktop systemd[1]: Received SIGRTMIN+20 from PID 136 (plymouthd).
ago 23 14:23:07 q4os-desktop systemd[1]: dev-disk-by\x2duuid-54CE\x2dDB5F.device: Job dev-disk-by\x2duuid-54CE\x2dDB5F.device/start timed out.
ago 23 14:23:07 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-54CE\x2dDB5F.device.
ago 23 14:23:07 q4os-desktop systemd[1]: Dependency failed for /boot/efi.
ago 23 14:23:07 q4os-desktop systemd[1]: Dependency failed for Local File Systems.
ago 23 14:23:07 q4os-desktop systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
ago 23 14:23:07 q4os-desktop systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
ago 23 14:23:07 q4os-desktop systemd[1]: boot-efi.mount: Job boot-efi.mount/start failed with result 'dependency'.
ago 23 14:23:07 q4os-desktop systemd[1]: dev-disk-by\x2duuid-54CE\x2dDB5F.device: Job dev-disk-by\x2duuid-54CE\x2dDB5F.device/start failed with result 'timeout'.
ago 23 14:23:07 q4os-desktop systemd[1]: dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device: Job dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x
ago 23 14:23:07 q4os-desktop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device.
ago 23 14:23:07 q4os-desktop systemd[1]: Dependency failed for /home.
ago 23 14:23:07 q4os-desktop systemd[1]: home.mount: Job home.mount/start failed with result 'dependency'.
ago 23 14:23:07 q4os-desktop systemd[1]: dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x2dbca1\x2d8eb36b7d44ae.device: Job dev-disk-by\x2duuid-3cde98bd\x2d1af5\x2d4414\x
ago 23 14:23:07 q4os-desktop systemd[1]: Starting Set console font and keymap...
ago 23 14:23:07 q4os-desktop systemd[1]: Reached target Login Prompts.
ago 23 14:23:07 q4os-desktop systemd[1]: Closed Syslog Socket.
ago 23 14:23:07 q4os-desktop systemd[1]: Reached target Timers.
ago 23 14:23:07 q4os-desktop systemd[1]: Reached target Sockets.
ago 23 14:23:07 q4os-desktop systemd[1]: Starting Raise network interfaces...
ago 23 14:23:07 q4os-desktop systemd[1]: Started Emergency Shell.
ago 23 14:23:07 q4os-desktop systemd[1]: Reached target Emergency Mode.
ago 23 14:23:07 q4os-desktop systemd[1]: Starting Create Volatile Files and Directories...
ago 23 14:23:07 q4os-desktop systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
ago 23 14:23:07 q4os-desktop systemd[1]: Starting udev Kernel Device Manager...
ago 23 14:23:07 q4os-desktop systemd[1]: Started Tell Plymouth To Write Out Runtime Data.
ago 23 14:23:07 q4os-desktop systemd[1]: Started Set console font and keymap.
ago 23 14:23:08 q4os-desktop systemd[1]: Started Create Volatile Files and Directories.
ago 23 14:23:08 q4os-desktop systemd[1]: Starting Update UTMP about System Boot/Shutdown...
ago 23 14:23:08 q4os-desktop systemd[1]: Starting Network Time Synchronization...
ago 23 14:23:08 q4os-desktop systemd[1]: Started Update UTMP about System Boot/Shutdown.
ago 23 14:23:08 q4os-desktop systemd[1]: Starting Update UTMP about System Runlevel Changes...

bla bla bla

ago 23 14:23:10 q4os-desktop kernel: usbcore: registered new interface driver uvcvideo
ago 23 14:23:10 q4os-desktop kernel: USB Video Class driver (1.1.1)
ago 23 14:23:10 q4os-desktop systemd[1]: Reached target Sound Card.
ago 23 14:23:11 q4os-desktop systemd[1]: Mounting /boot/efi...
ago 23 14:23:11 q4os-desktop kernel: iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
ago 23 14:23:11 q4os-desktop systemd[1]: Mounted /boot/efi.
ago 23 14:23:11 q4os-desktop systemd[1]: Started Load/Save RF Kill Switch Status.
ago 23 14:23:11 q4os-desktop systemd[1]: Reached target Bluetooth.
ago 23 14:23:12 q4os-desktop systemd[1]: Found device ST500LM030-2E717D 3.
ago 23 14:23:12 q4os-desktop systemd[1]: Mounting /home...
ago 23 14:23:12 q4os-desktop systemd[1]: Mounted /home.
ago 23 14:23:12 q4os-desktop kernel: EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: errors=remount-ro
ago 23 14:23:24 q4os-desktop systemd[1]: avahi-daemon.socket: Cannot add dependency job, ignoring: Unit avahi-daemon.socket is masked.
ago 23 14:23:24 q4os-desktop systemd[1]: rpcbind.socket: Cannot add dependency job, ignoring: Unit rpcbind.socket is masked.
ago 23 14:23:24 q4os-desktop systemd[1]: avahi-daemon.service: Cannot add dependency job, ignoring: Unit avahi-daemon.service is masked.
ago 23 14:23:24 q4os-desktop systemd[1]: avahi-daemon.service: Cannot add dependency job, ignoring: Unit avahi-daemon.service is masked.
ago 23 14:23:24 q4os-desktop systemd[1]: nfs-client.target: Cannot add dependency job, ignoring: Unit nfs-client.target is masked.
ago 23 14:23:24 q4os-desktop systemd[1]: nfs-client.target: Cannot add dependency job, ignoring: Unit nfs-client.target is masked.
ago 23 14:23:24 q4os-desktop systemd[1]: rpcbind.service: Cannot add dependency job, ignoring: Unit rpcbind.service is masked.
ago 23 14:23:24 q4os-desktop systemd[1]: Listening on Syslog Socket.
ago 23 14:23:24 q4os-desktop systemd[1]: Stopped target Sound Card.
ago 23 14:23:24 q4os-desktop systemd[1]: Stopped target Bluetooth.
ago 23 14:23:24 q4os-desktop lvmetad[436]: Failed to accept connection errno 11.
ago 23 14:23:24 q4os-desktop systemd[1]: Stopping LVM2 metadata daemon...
ago 23 14:23:24 q4os-desktop systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
ago 23 14:23:24 q4os-desktop systemd[1]: Starting Show Plymouth Boot Screen...
ago 23 14:23:24 q4os-desktop systemd[1]: Stopped target Emergency Mode.
ago 23 14:23:24 q4os-desktop systemd[1]: Stopping Emergency Shell...
ago 23 14:23:24 q4os-desktop systemd[1]: Reached target Local File Systems.
ago 23 14:23:24 q4os-desktop systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
ago 23 14:23:24 q4os-desktop systemd[1]: Stopping Load/Save Screen Backlight Brightness of backlight:intel_backlight...
ago 23 14:23:24 q4os-desktop systemd[1]: Stopped LVM2 metadata daemon.
ago 23 14:23:24 q4os-desktop systemd[1]: Stopped Emergency Shell.
ago 23 14:23:24 q4os-desktop systemd[1]: Stopped Load/Save Screen Backlight Brightness of backlight:intel_backlight.
ago 23 14:23:24 q4os-desktop systemd[1]: Started Tell Plymouth To Write Out Runtime Data.
ago 23 14:23:24 q4os-desktop systemd[1]: Reached target System Initialization.
ago 23 14:23:24 q4os-desktop systemd[1]: Listening on CUPS Scheduler.
ago 23 14:23:24 q4os-desktop systemd[1]: Started Clean PHP session files every 30 mins.
ago 23 14:23:24 q4os-desktop systemd[1]: Started Daily Cleanup of Temporary Directories.

Note: avahi and npcbind was packages that I removed last night (I removed after removing LVM2...)

I will install them again.

Last edited by BrJPedro (2018-08-23 18:30)


João Pedro -o- @12h01

Offline

#12 2018-08-25 21:02

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Could you help to find the reason of my boot issue?

BrJPedro wrote:

Note: avahi and npcbind was packages that I removed last night (I removed after removing LVM2...)

I will install them again.

Did that work?

Offline

#13 2018-08-26 21:32

BrJPedro
Member
From: BR
Registered: 2018-03-20
Posts: 75
Website

Re: Could you help to find the reason of my boot issue?

Dai_trying wrote:

Did that work?

They have no relation with the problem.
The error occurs with and/or without them.


João Pedro -o- @12h01

Offline

#14 2018-08-26 22:45

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Could you help to find the reason of my boot issue?

Have you re-installed LVM2?

Offline

#15 2018-08-30 14:34

BrJPedro
Member
From: BR
Registered: 2018-03-20
Posts: 75
Website

Re: Could you help to find the reason of my boot issue?

Yes.

I think that my problem have no solution. :'(


João Pedro -o- @12h01

Offline

#16 2018-08-30 14:49

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Could you help to find the reason of my boot issue?

BrJPedro wrote:

Yes.

I think that my problem have no solution. :'(

You could be right, I think the problem stems from the fact that you used LVM when installing and then changed/moved partitions and from what little I know of LVM it doesn't seem to like (allow) that. If you could manage to re-install the same way you managed before then I would recommend not to use LVM unless you really need to, I personally don't use it as I am constantly installing/re-installing/changing Os's on my systems as I try different features and options. I always keep one partition as my "main Os" which doesn't get too much installed (only what I deem essential for my needs) and then install other partitions for testing/playing/breaking.

Offline

Board footer

Powered by FluxBB