This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

[SOLVED}SLOOOOOOOW Boot

gerj52

Fri Oct 25, 2019 3:30:04 pm

Am really enjoying using Zorin OS15. Migrated (mostly) from Windows about 3 months ago. Am now faced with 2 problems ... 1) It is taking a good 2 -3 minutes to boot up Zorin, very frustrating. 2) Am trying to use Zorin with a computer that only has VGA output. The thing is, Zorin doesn't allow me to go any higher than 1024x768 resolution; how can I increase this (windows allows 1920x1080). Haven't been using Linux but for about 4 months so am novice about making adjustments. Any help would be greatly received.

Swarfendor437

Sat Oct 26, 2019 11:44:58 am

Hi, can you please provide us with: viewtopic.php?f=5&t=5449

Thanks. ;) :D

gerj52

Sun Oct 27, 2019 3:52:48 pm

Thanks for getting back to me. There is a lot of information here, so I hope it helps.

This is my current machine which takes a long time to boot Zorin. Will have to do other (VGA only) machine probably around January time frame.
My copy of Zorin is run from a portable HD as is my copy of Windows, so I only boot one OS at a time.

Anyway, here's the info you asked for ...

1 - Machine:

Fierce PC Tower (pretty generic actually)
AMD® A8-7650k radeon r7, 10 compute cores 4c+6g × 4

2 - Memory
total used free shared buff/cache available
Mem: 14974 1471 12384 81 1118 13145
Swap: 2047 0 2047

3 - OS: Zorin OS15

4 - Hard Drive:

Model: TOSHIBA External USB 3.0 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 1000GB 1000GB ext4

5 - Graphics:

Monitor - Samsung HD
Display: VGA compatible controller
product: Kaveri [Radeon R7 Graphics]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 1
bus info: pci@0000:00:01.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:33 memory:c0000000-cfffffff memory:d0000000-d07fffff ioport:f000(size=256) memory:feb00000-feb3ffff memory:c0000-dffff

6 - Audio:

*-multimedia:0
description: Audio device
product: Kaveri HDMI/DP Audio Controller
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 1.1
bus info: pci@0000:00:01.1
version: 00
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:35 memory:feb64000-feb67fff
*-multimedia:1
description: Audio device
product: FCH Azalia Controller
vendor: Advanced Micro Devices, Inc. [AMD]
physical id: 14.2
bus info: pci@0000:00:14.2
version: 01
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:16 memory:feb60000-feb63fff

7 - Wireless Chipset:

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 007: ID 1307:0310 Transcend Information, Inc. SD/MicroSD CardReader [hama]
Bus 002 Device 005: ID 12bd:a02f Gembird
Bus 002 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 004: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 004 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 004 Device 007: ID 0d8c:0014 C-Media Electronics, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 0480:0210 Toshiba America Inc
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri HDMI/DP Audio Controller
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Root Port
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Root Port
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Root Port
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Root Port
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 09)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [IDE mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 16)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 5
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

8 - Have been running Zorin for several months, it runs fine once it's up and running, just takes FOREVER to boot.

Aravisian

Sun Oct 27, 2019 6:05:07 pm

I could be wrong, but in my experience a slow boot usually means there is conflict or an error during boot.
In a terminal, you may try:
Code:
systemd-analyze critical-chain
to see what the loading time is. Look for any large pauses between two entries.
You can also check this navigating to /var/log/syslog
or /var/log/boot.log
This may help you pinpoint what is giving you trouble during boot.

Swarfendor437

Sun Oct 27, 2019 9:45:41 pm

I'm guessing the graphics issue is down to onboard graphics - would advise you purchase an nvidia dedicated card:

https://askubuntu.com/questions/1034660 ... n-1024x768

Are boot times just relating to getting to login prompt or to desktop? For the latter, check what applications are running at startup in 'startup applications'. ;) :D

gerj52

Mon Oct 28, 2019 4:13:24 pm

Thanks guys, not sure I know what I'm doing but will play around with your suggestions and hopefully speed things up.

Aravisian

Mon Oct 28, 2019 9:12:06 pm

gerj52 wrote:Thanks guys, not sure I know what I'm doing but will play around with your suggestions and hopefully speed things up.

I think most of us spend 90% of our time not sure that we know what we are doing. Especially in parenting... Playing around with the system is often a great way to learn. But...
Back up Everything! When playing in Root, I have learned a little slung mug goes a long way.

If you feel uncertain, remember that You Are Not Annoying. This forum is not here for Swarfendor or Zorins health, it is here for yours.
Ask, clarify, seek out more information.
For example, in my post above, I suggested you use a terminal command. You might say, "Ok but what exactly am I looking for?"
A: Any process that shows a longer time than the rest.
Trying it out on my machine, I enter "systemd-analyze" and my output looks like:
Code:
Aspire-V3-551:~$ systemd-analyze
Startup finished in 6.542s (kernel) + 44.504s (userspace) = 51.047s
graphical.target reached after 44.491s in userspace

Not horrible
Code:
systemd-analyze critical-chain

Code:
Aspire-V3-551:~$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @44.491s
└─multi-user.target @44.491s
  └─kerneloops.service @43.804s +686ms
    └─network-online.target @43.523s
      └─NetworkManager-wait-online.service @32.793s +10.729s
        └─NetworkManager.service @26.357s +6.428s
          └─dbus.service @21.332s
            └─basic.target @21.294s
              └─sockets.target @21.294s
                └─snapd.socket @21.292s +1ms
                  └─sysinit.target @21.182s
                    └─systemd-timesyncd.service @20.794s +387ms
                      └─systemd-tmpfiles-setup.service @20.313s +435ms
                        └─systemd-journal-flush.service @4.784s +14.706s
                          └─systemd-journald.service @4.011s +770ms
                            └─systemd-journald-dev-log.socket @4.008s
                              └─system.slice @3.886s
                                └─-.slice @3.792s

For the line NetworkManager-wait-online.service, we see a loading time of about 32.8 seconds.
systemd-timesyncd.service took about 20.8 seconds to load. And network-online.target took 43.5 seconds. Now, what if you see an entry in there that shows a loading time of Over 60 seconds? That would be Slow and suggests that it is waiting for something else. Often, what it is waiting for is no longer installed or has not yet been installed and it waits until that times out and then starts the next loading process.
That would be the clue to look for, if it is there. If everything looks normal, we would need to try something else to look for clues.

The next suggestion was to look in var/log/boot (I found nothing in mine, the log was empty) and var/log/syslog. From your home folder, navigate to "other places" or "File system" depending on which file manager you are using- but simply put, you are moving Upward. If you look at the Toolbar in your file manager and see an Up Arrow (Enable the toolbar under 'view' from the menubar if you do not see a toolbar) hit that up arrow until nothing happens anymore, you have reached the top.
You will see your system folders: bin, boot, dev, home, lib, etc., uhhhh... etc...
In that grouping is also the 'var' folder. Open that. Then open the folder titled 'log.' Scroll down to 'boot.log' and to 'syslog' and open them.
In the syslog, you are looking for anything that tried to initialize but failed. It sounds and looks harder than it is; you will see it noted that the service failed or was unavailable- so you are really scanning as you read over it for those kinds of keywords. No heavy handed interpretation necessary.