Choose style:

Author Topic: Excessively slow startup in Peppermint 7(SOLVED)  (Read 5927 times)

0 Members and 1 Guest are viewing this topic.

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1149
  • Karma: 83
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Excessively slow startup in Peppermint 7(SOLVED)
« on: August 11, 2016, 08:38:11 pm »
Hello Peppermint people. I just switched from Peppermint 6 to Peppermint 7 in this, my niece's computer, and this thing is taking forever to start up. I'm confident the bios is set okay because I had this board in my computer with Peppermint 6 and it was doing fine after a little tuning. This machine does have it's own older hard drive though. I was reading posts about slow boots in Peppermint 7 and most of them appeared to be unit related or in other more general posts you guys were talking way over my head. Any help would be greatly appreciated. Thanks guys
« Last Edit: August 22, 2016, 12:24:10 pm by alynur »
What was I thinking?

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4893
  • Karma: 1053
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Excessively slow startup in Peppermint 7
« Reply #1 on: August 11, 2016, 09:11:20 pm »
Hi alynur, has Peppermint 7 been fully installed to the your niece's computer?  Or are you running it Live from a USB/DVD?  Either way, run the following command in a terminal window and post back the output:
Code: [Select]
inxi -F
This will let us know the specs of your niece's computer  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1149
  • Karma: 83
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Excessively slow startup in Peppermint 7
« Reply #2 on: August 12, 2016, 10:52:17 am »
Hi alynur, has Peppermint 7 been fully installed to the your niece's computer?  Or are you running it Live from a USB/DVD?  Either way, run the following command in a terminal window and post back the output:
Code: [Select]
inxi -F
This will let us know the specs of your niece's computer  ;).

Hi AndyinMokum, is my memory getting bad or what! Anyway this is a full install and here is the info:

Code: [Select]
laura@laura-desktop ~ $ inxi -F
System:    Host: laura-desktop Kernel: 4.4.0-34-generic i686 (32 bit)
           Desktop: N/A Distro: Peppermint Seven
Machine:   Mobo: Intel model: DG41RQ v: AAE54511-205
           Bios: Intel v: RQG4110H.86A.0013.2009.1223.1136 date: 12/23/2009
CPU:       Dual core Intel Core2 Duo E7400 (-MCP-) cache: 3072 KB
           clock speeds: max: 2793 MHz 1: 1596 MHz 2: 2793 MHz
Graphics:  Card: Intel 4 Series Integrated Graphics Controller
           Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 800x600@60.32hz
           GLX Renderer: Mesa DRI Intel G41 x86/MMX/SSE2
           GLX Version: 2.1 Mesa 11.2.0
Audio:     Card Intel NM10/ICH7 Family High Definition Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.4.0-34-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: enp3s0 state: up speed: 100 Mbps duplex: full
           mac: 00:27:0e:39:37:1b
Drives:    HDD Total Size: 160.0GB (6.2% used)
           ID-1: /dev/sda model: Maxtor_6V160E0 size: 160.0GB
Partition: ID-1: / size: 143G used: 5.3G (4%) fs: ext4 dev: /dev/dm-0
           ID-2: /boot size: 472M used: 111M (25%) fs: ext2 dev: /dev/sda1
           ID-3: swap-1 size: 4.25GB used: 0.00GB (0%) fs: swap dev: /dev/dm-1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 37.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 187 Uptime: 1 min Memory: 211.6/4003.9MB
           Client: Shell (bash) inxi: 2.2.35

Thanks
What was I thinking?

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1149
  • Karma: 83
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Excessively slow startup in Peppermint 7
« Reply #3 on: August 15, 2016, 11:05:38 pm »
Okay, I remember reading about delay times between when the no cable signal light goes out to when peppermint starts it's process, but I didn't understand by looking at the terminal outputs they were listing, where the time or seconds were being listed. Plus now if I try to find that post, I can't. And I understand that removing the btrf tools is okay because this computer is all linux(Peppermint 7). And I think removing bluetooth controllers and packages will also help. But the biggest lag is at the beginning and I would really appreciate some help with that.
What was I thinking?

Offline Bigoeuf

  • Member
  • ***
  • Posts: 175
  • Karma: 26
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 & 7 (64bit)
Re: Excessively slow startup in Peppermint 7
« Reply #4 on: August 17, 2016, 06:20:26 am »
Hi alynur
Heres a post (edited for clarity purposes) I made in a similar topic that has since been closed that may be of some assistance to you - please note that I most certainly not technically linux proficient & all the modifications have been provided from those who are i.e. PCNetSpec (Mark), Slim.Fatz, VinDSL etc.

 
I too have a 'Slow Boot' - its about 60 secs, & that is with Samba removed as posted by Slim earlier in this topic:
Code: [Select]
sudo service smbd stop
sudo apt-get remove samba-common --purge
(it was about 77secs before removal).

Also its highly likely that my original boot time was even longer than 77 secs as I had earlier removed & purged  btrfs-tools, as suggested to me by Mark, as I am not & will not be using  btrfs:
Code: [Select]
sudo apt-get remove --purge btrfs-tools

I also tried the Apparmor disable mod as posted by VinDSL in this topic:

BTW, here's my /etc/default/grub file ...

Code: [Select]
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="elevator=deadline apparmor=0 quiet splash init=/lib/systemd/systemd-bootchart"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

I didn't remove AppArmor.  I just disabled it on the kernel boot command line.   ;)

I did this because my 'dmesg.' output showed that apparmor was taking about 15 secs & indeed my boot time dropped by 15 secs on re-boot. I felt comfortable doing this as Mark had posted:

...............maybe try unistalling apparmor .. which IMHO isn't necessary anyway............

So the quickest boot time I can achieve is about 45 secs. I have looked through my 'dmesg.' output & with my untrained eye I cannot see anything obvious (other than apparmor & perhaps to a lesser extent IPv6).

...................

It may be also relevant that I have created a DATA partition  as per this post by Slim.Fatz:
https://forum.peppermintos.com/index.php/topic,1835.0.html
Which is set up to auto-mount at startup so this may have an effect on bootup time though looking through my 'dmesg.' output it doesn't appear to me that it does.
Anyway alynur hope this is of some use to you  ;)

Also for Mark (PCNetSpec):
1. Re:
...............maybe try unistalling apparmor .. which IMHO isn't necessary anyway............
Could you elaborate a bit please because if it isnt necessary then I will remove it

2. I am fairly sure (but not certain) I am not using IPv6 so how can I test if that is the case & if so is it ok to disable or remove it too?

Thanks in anticipation  :)
« Last Edit: August 17, 2016, 07:24:57 am by AndyInMokum, Reason: Removing unnecessary spoiler »

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1149
  • Karma: 83
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Excessively slow startup in Peppermint 7
« Reply #5 on: August 17, 2016, 01:53:35 pm »
Hi Bigouef, thanks for the reply. Well it looks like it was your post that I was reading and couldn't find again. I'm okay with the samba removal and the btrf tools removal. I'm even confident I can remove anything bluetooth I can find in Synaptic Package Manager as long as I LEAVE NETWORK CONTROLLER ALONE. That's what got me into a bunch of trouble and I had to reinstall Peppermint. It's the Apparmor that looks the most interesting and that I understand the least. I don't want to start deleting stuff or changing scrips without knowing what I'm changing and possible consequences. If it is something I can disable, how would I disable it? Also what's all the grub stuf about and are there things in there that can be changed and how?
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Excessively slow startup in Peppermint 7
« Reply #6 on: August 17, 2016, 04:25:32 pm »
Removing apparmor should be as simple as:
Code: [Select]
sudo apt-get remove apparmor
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1149
  • Karma: 83
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Excessively slow startup in Peppermint 7
« Reply #7 on: August 17, 2016, 04:54:47 pm »
Removing apparmor should be as simple as:
Code: [Select]
sudo apt-get remove apparmor

Hi PCNetSpec, looks simple enough but what use is it in Peppermint? According to Ubuntu, it's a security system that prevents malicious activity of monitored programs, so without it no problems, security wise?
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Excessively slow startup in Peppermint 7
« Reply #8 on: August 17, 2016, 05:05:14 pm »
As with everything else it's all about paranoia levels .. me personally, I removed it because I kept getting error messages in the kern.log which was throwing up popups.

There is a way to stop it reporting the errors via popups, but I figured what the hell, Linux is secure enough for me anyway.

As for what's **right** for you .. well that's not my call, I just showed how, I make no calls on whether you should or not that's your decision to make ;)
« Last Edit: August 17, 2016, 05:09:51 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1149
  • Karma: 83
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Excessively slow startup in Peppermint 7
« Reply #9 on: August 17, 2016, 08:14:08 pm »
As with everything else it's all about paranoia levels .. me personally, I removed it because I kept getting error messages in the kern.log which was throwing up popups.

There is a way to stop it reporting the errors via popups, but I figured what the hell, Linux is secure enough for me anyway.

As for what's **right** for you .. well that's not my call, I just showed how, I make no calls on whether you should or not that's your decision to make ;)

Hi PCNetSpec, I'm not very paranoid so I'll give removing apparmor a whirl and see how much that helps out with the boot up time. So I should be timing it from when the last no signal light goes out till Peppermint is up on screen correct? If so I'm at about 1 minute ten seconds and my niece's computer is at about 1 minute forty seconds.
« Last Edit: August 17, 2016, 08:18:08 pm by alynur »
What was I thinking?

Offline Bloch

  • Member
  • ***
  • Posts: 112
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Excessively slow startup in Peppermint 7
« Reply #10 on: August 17, 2016, 09:04:21 pm »
Hi, Alynur.
Apparmor is safe to remove.
On Fedora you have SElinux (almost the same thing)
PCNetSpec have knowledge of linux.
Don't worry.  ;)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Excessively slow startup in Peppermint 7
« Reply #11 on: August 18, 2016, 06:52:43 am »
So I should be timing it from when the last no signal light goes out till Peppermint is up on screen correct? If so I'm at about 1 minute ten seconds and my niece's computer is at about 1 minute forty seconds.

I'd normally time it from the GRUB screen disappearance to the login screen (or desktop if you set auto login) .. one minute plus does seem a little excessive, but then I'm using SSD's everywhere and boot in about 6 seconds (I can't for the life of me even remember how long an average Linux distro boots from a HDD).

different hardware will be different depending on what drivers need to load (and obviously HDD and CPU speed).

Would be nice if others said roughly how long their systems take to boot (and whether SSD or HDD) for comparison .. please be truthful, this is NOT a boot speed competition, more a check to see if something is amiss in Peppermint or if alynur just has slow booting hardware.
« Last Edit: August 18, 2016, 06:55:06 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline hofy

  • Jr. Member
  • **
  • Posts: 86
  • Karma: 6
    • View Profile
  • Peppermint version(s): 8, 10
Re: Excessively slow startup in Peppermint 7
« Reply #12 on: August 20, 2016, 03:56:24 pm »
I was trying to solve this non-issue in two threads already. My boot time is around 55s, I'm on hdd, AMD A6 dual core, 8GB RAM.

I deleted the "quiet splash" boot options, and there doesn't seem to be any hanging at no particular point. It just all in all takes goddang long to boot. I suspect I might have a failing hdd. Even puppy takes 35s to boot and that's an eternity! (I remember booting puppy on ancient hw in 30s).

So yeah, I'm about to upgrade to ssd :) should make a world of difference.


Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4893
  • Karma: 1053
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Excessively slow startup in Peppermint 7
« Reply #13 on: August 20, 2016, 04:11:23 pm »
I was trying to solve this non-issue in two threads already. My boot time is around 55s, I'm on hdd, AMD A6 dual core, 8GB RAM.

I deleted the "quiet splash" boot options, and there doesn't seem to be any hanging at no particular point. It just all in all takes goddang long to boot. I suspect I might have a failing hdd. Even puppy takes 35s to boot and that's an eternity! (I remember booting puppy on ancient hw in 30s).

So yeah, I'm about to upgrade to ssd :) should make a world of difference.
It'll make a huge difference.  After you've used an SSD.  You'll only use a HDD for data storage, or in a server.  There'll be no turning back  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline VinDSL

  • Administrator
  • Hero
  • *****
  • Posts: 5597
  • Karma: 1012
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Excessively slow startup in Peppermint 7
« Reply #14 on: August 20, 2016, 04:28:02 pm »
It'll make a huge difference.  After you've used an SSD.  You'll only use a HDD for data storage, or in a server.  There'll be no turning back  ;).

True !

My Dell ATG D630 laptop (Intel Dual Core) boots Peppermint OS in 9 seconds with a SSD.

Same thing on my Dell 7010 SFF desktop machine (Intel Core  i5).  It boots Peppermint in 3 seconds.

I'll never go back -- and you can take that to the bank !   ;D