You are not logged in.

#1 2021-12-31 15:13

linux_user93
Member
Registered: 2021-12-08
Posts: 26

How to make Q4OS boot faster?

Hello,

my laptop takes 3 minutes to boot. Is it possible to make it faster to boot?

It is a:
Acer Aspire1690, more than 10years old
32Bit
Intel (R) Pentium(R) M processor 1.73GHz

Q4OS version is: Linux q4os-desktop 5.10.0-10-686-pae #1 SMP Debian 5.10.84-1 (2021-12-08) i686 G NU/Linux

And other question I have is, is it possible to skip all the information, I mean all the code lines that show up at the beginning of the booting process? Is this normal?

edit: I have run the command systemd-analyze blame, check screenshot, the first things take up the most time...possible to fix that?



thank you for your support!

Last edited by linux_user93 (2021-12-31 16:17)

Offline

#2 2021-12-31 18:24

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: How to make Q4OS boot faster?

linux_user93 wrote:

Hello,

my laptop takes 3 minutes to boot. Is it possible to make it faster to boot?

It is a:
Acer Aspire1690, more than 10years old
32Bit
Intel (R) Pentium(R) M processor 1.73GHz

Q4OS version is: Linux q4os-desktop 5.10.0-10-686-pae #1 SMP Debian 5.10.84-1 (2021-12-08) i686 G NU/Linux

And other question I have is, is it possible to skip all the information, I mean all the code lines that show up at the beginning of the booting process? Is this normal?

edit: I have run the command systemd-analyze blame, check screenshot, the first things take up the most time...possible to fix that?



thank you for your support!

No screenshot here. Copy/paste the output from

systemd-analyze blame

and when you do use code blocks, please:
[ code ] command_output_here [ / code ] No spaces between brackets, I just did it that way so you could see them, otherwise you'll see this:

command_output_here

Offline

#3 2021-12-31 21:09

linux_user93
Member
Registered: 2021-12-08
Posts: 26

Re: How to make Q4OS boot faster?

I am going to post only the first ones because they take up the most time...check the foto...

I also saw a comment under a yt video(the video was about making linux boot faster) where one said that you should update your bios too...

is that safe to do? would it work on this old laptop?

Last edited by linux_user93 (2021-12-31 21:09)


Attachments:
png boottimee.PNG, Size: 183.44 KiB, Downloads: 273

Offline

#4 2021-12-31 22:28

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: How to make Q4OS boot faster?

Not sure how much difference could it make, but you can disable ModemManager.service with

sudo systemctl stop ModemManager.service

then

sudo systemctl disable ModemManager.service

and you can mask the service, so it doesn't get enable in an upgrade or something

sudo systemctl mask ModemManager.service

As for logrotate.service, you can check in /etc/logrotate.conf and try commenting these lines:

# see "man logrotate" for details
# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 4

In konsole run

sudo nano /etc/logrotate.conf

and edit those lines so they look like this:

# see "man logrotate" for details
# rotate log files weekly
#weekly

# keep 4 weeks worth of backlogs
#rotate 4

Save the file, reboot and check if boot time is(slightly)faster. And I'm not entirely sure, but you can try too

sudo systemctl disable logrotate.service

Offline

#5 2022-01-01 11:26

linux_user93
Member
Registered: 2021-12-08
Posts: 26

Re: How to make Q4OS boot faster?

I dont understand the second tip.  I am new to linux and the second tip just doesnt make sense to me. Or am I overseeing something? I have opened the /etc/logrotate.conf file but what am I supposed to change? I think you have posted the same thing twice.

Offline

#6 2022-01-01 11:30

linux_user93
Member
Registered: 2021-12-08
Posts: 26

Re: How to make Q4OS boot faster?

hey and the first tip worked, it boots a few seconds faster now! thank you for your support!

Offline

#7 2022-01-01 13:16

linux_user93
Member
Registered: 2021-12-08
Posts: 26

Re: How to make Q4OS boot faster?

oh wow! I cant believe it! the # !!! its the # ! I overlooked that one! I am gonna try that now

Offline

#8 2022-01-01 13:27

linux_user93
Member
Registered: 2021-12-08
Posts: 26

Re: How to make Q4OS boot faster?

I tried that, but I cant edit anything. Its not possible to put a hashtag! the system gives me no pop up what so ever that tells me that I am not allowed to edit. when I try to write it doesnt write anything

Offline

#9 2022-01-01 16:21

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: How to make Q4OS boot faster?

linux_user93 wrote:

I tried that, but I cant edit anything. Its not possible to put a hashtag! the system gives me no pop up what so ever that tells me that I am not allowed to edit. when I try to write it doesnt write anything

You need to edit the file with administrative rights, so in the terminal(konsole)type

sudo nano /etc/logrotate.conf

Type in your password when asked, and hit enter. Once the file is open in nano, make the changes, to save hit Ctrl + o hit enter, then press Ctrl + x to close nano.

Offline

#10 2022-01-01 20:47

linux_user93
Member
Registered: 2021-12-08
Posts: 26

Re: How to make Q4OS boot faster?

ok thank you, that worked. I am now down at 2min and 25s...

Offline

#11 2022-01-09 00:22

joey_linux
Member
Registered: 2021-06-26
Posts: 10

Re: How to make Q4OS boot faster?

Hi linux_user93

It sounds like you have a mechanical hard drive in this laptop, have you considered upgrading to an SSD. I had the same problem with my daily driver computer (an upgraded Dell Vistro 200, about 14 years old) and my secondary computer (an upgraded Dell dimension 8300, about 18 years old). With a mechanical hard drive my  daily driver took about a good 2 or 3 minutes, with an SSD it boots in 10 ~ 20 seconds. I got my secondary computer from 2 minute boot time down to 30 ~ 35 seconds with an SSD.
Also, as mechanical hard drives age they slow down (because there sector times increase), this could also increase your boot time.
You can get a good 250GB PNY SSD for about $30 on amazon, a slightly used 150GB Intel SSD on Ebay for about $10 and a slightly used 80GB SSD for about $5 on Ebay
With this, the tips above and Q4OS you should be able to boot in under 30 seconds and have a very fast computer

Hope this helps,
Joey

Offline

Board footer

Powered by FluxBB