Mint 19.3 (Cinnamon): Boot time!
Guys, I have a Samsung Series 3 Notebook, model NP300E5a-A05US and I recently upgraded from Mint 18.3 (Cinnamon) to Mint 19.3 (Cinnamon). Once booted, my laptop seems to run fine; in fact, I love the enhancements made since my previous installation of Mint 18.3 (Cinnamon).
My issue is boot time (see logs below): Code:
$ systemd-analyze time Is 2+ minutes boot time typical for my setup, or can I do better? Thanks in advance, guys. |
Get rid of the boot eye-candy (temporarily) and watch the messages. No doubt waiting for device (90 sec timeout), and I'll have a small wager it's a UUID mismatch on swap.
|
Quote:
|
Quote:
Unneeded services to disable, among several others, probably include:
Code:
sudo parted -l |
Quote:
~$ sudo parted -l Code:
[sudo] password for ray: ~$ sudo cat /etc/fstab Code:
# /etc/fstab: static file system information. ~$ sudo blkid Code:
/dev/sda1: UUID="04dd8594-1c70-4f0f-b767-126f3d8c160b" TYPE="ext4" PARTUUID="0419b197-01" ~$ sudo journalctl -b | grep ailed Code:
Mar 18 15:12:44 Samsung kernel: acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM |
Whenever you are asked to provide command output, please use the code icon [#] found above the reply input window. https://forums.opensuse.org/showthre...und-Your-Paste provides an explanation how this is done.
You have a quite uncommon configuration that may well play a part in the problem. Most machines use multiple partitions, usually at least two, often more, but you only have one. Thus Mint is using a swap file instead of a partition, and all user data is on the same partition as the operating system. I wouldn't expect this to play a part, but that's not to say it couldn't. I don't have much experience with Mint, and none at all with your partitioning. Among the failed messages there is only one I recognize as having significant likelihood of material or primary contribution to the delay: mdraid. Why there would be any reference to mdraid on a laptop with only one disk and one partition on that disk I cannot imagine. It may well have a connection to the dev-sda1.device time, but I don't know how to find out. It's possible a perusal of the messages before and after that journal message could provide a clue. Here's a quick way to scan just that portion of the journal: Code:
sudo journalctl -b | grep -B8 -A24 dev-sda1.device Code:
sudo journalctl -b -e Code:
sudo journalctl -b | pastebinit Code:
sudo apt install pastebinit Code:
sudo systemd-analyze blame | pastebinit |
Quote:
|
OK, you need to get to a boot menu - if it's dual boot, you already see it. If not, on reboot, right after POST (you may see a message from the PC maker), immediately hit the <Esc> key. Should get the boot menu - if not, keep repeating (faster) till it does.
The first entry should be your Mint option - if not use the cursor keys to highlight it. Hit <Enter>, and cursor down to the linux line, and delete the quiet splash options. Then hit <Ctrl>-x to continue the boot (don't hit <Enter>). This is a one-off change just for that boot. |
Quote:
syg00 describes in another manner what I suggested in the first part of comment #4. What he describes enables a way to observe the boot process which could unveil clues to the problem not yet spotted in journal or elsewhere. |
In the boot menu, I changed the boot option from BIOS to UEFI; the change decreased my boot time from +2 minutes to +/- 30 seconds!
Thanks, guys. |
All times are GMT -5. The time now is 04:05 PM. |