[SOLVED] Loading screen too slow

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
radeon

[SOLVED] Loading screen too slow

Post by radeon »

HI. I m Dual booting Linux Mint 18 (64 bit Cinnamon) and window 10 . When i boot Linux the loading screen took about 1 minute or more. I mean the screen with the Linux logo and dots below. After this slow load i get the login screen and everything is fine. This happened after i formated my window 10 D drive to ext4 and upload linux on it. Before this linux was runing on 20 GB space , now its running on 400 GB. Can you tell me how to check what is causing the slow boot?
Only thing i know is that there are 33 bad sectors
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Loading screen too slow

Post by austin.texas »

To fix your bad sectors, boot your live Mint DVD or USB.
Open a terminal.
List your partitions with the command:

Code: Select all

lsblk
If your 400 GB partition is /dev/sda3 (for example), run this command to repair the filesystem:
Click on SELECT ALL here →
Then copy the selection.

Code: Select all

sudo e2fsck -f -y -v -C 0 /dev/sda3
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
radeon

Re: Loading screen too slow

Post by radeon »

I got all that

Code: Select all

mint@mint ~ $ sudo e2fsck -f -y -v -C 0 /dev/sda3
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure                                           
Pass 3: Checking directory connectivity                                        
Pass 4: Checking reference counts                                              
Pass 5: Checking group summary information                                     
                                                                               
      249609 inodes used (0.98%, out of 25411584)
         387 non-contiguous files (0.2%)
         255 non-contiguous directories (0.1%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 210552/155
     9602534 blocks used (9.45%, out of 101616128)
           0 bad blocks
           2 large files

      187267 regular files
       22349 directories
          56 character device files
          25 block device files
           1 fifo
           1 link
       39901 symbolic links (38811 fast symbolic links)
           1 socket
------------
      249601 files
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Loading screen too slow

Post by austin.texas »

That looks good - no errors reported. Do you have any more information about those 33 bad sectors? Maybe they are on the Windows partition - which would be repaired using Windows utilities, not linux.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
deepakdeshp
Level 20
Level 20
Posts: 12337
Joined: Sun Aug 09, 2015 10:00 am

Re: Loading screen too slow

Post by deepakdeshp »

austin.texas wrote:That looks good - no errors reported. Do you have any more information about those 33 bad sectors? Maybe they are on the Windows partition - which would be repaired using Windows utilities, not linux.
You can test the full disk for bad blocks by booting from dvd or USB stick ,

Code: Select all

sudo badblocks -svn /dev/sda
to have the hard disk controller replace bad blocks by spare blocks.

Read more details here: http://askubuntu.com/a/490549/299014
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
radeon

Re: Loading screen too slow

Post by radeon »

OK. Since this bad sectors are not causing the problem with the slow loading screen what else can it be ?
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Loading screen too slow

Post by austin.texas »

More than once, I have seen big delays caused by the OS trying to load a swap partition or other partion that does not exist.
In a terminal, run the command:

Code: Select all

dmesg > ~/Desktop/dmesg.txt
That will put a text document on your Desktop listing the boot steps. The first column in the list is time in seconds.
Here is part of mine, where it shows a 5 second delay when loading the root partition, sdb2

[ 3.294976] random: nonblocking pool is initialized
[ 4.749087] floppy0: no floppy controllers found
[ 10.155880] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[ 10.333560] init: ureadahead main process (322) terminated with status 5
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
radeon

Re: [SOLVED] Loading screen too slow

Post by radeon »

Thank you! You were right. It was the swap space . I was using the flash drive for my swap space by mistake, and when its not plugged in its taking very long time to load.
Ivasan

Re: [SOLVED] Loading screen too slow

Post by Ivasan »

I am not sure but for me it seems that the loading screen stalls because of waiting for eth0 IPv6 configuration. I am on wifi and connacting at home IPv6 is turned off. I am a bit hesitant what to do?

Code: Select all

[   24.874637] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   24.874640] Bluetooth: BNEP filters: protocol multicast
[   24.874644] Bluetooth: BNEP socket layer initialized
[   29.107223] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   29.110389] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  327.777242] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  335.816325] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
mrmajik45

Re: [SOLVED] Loading screen too slow

Post by mrmajik45 »

Please don't hijack a forum.
Locked

Return to “Cinnamon”