slow boot end no swap partition

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
betalabs
Level 1
Level 1
Posts: 15
Joined: Sat Sep 09, 2017 2:53 am

slow boot end no swap partition

Post by betalabs »

hi i have linux mint 19.1 mate 64bit.The problem is i have slow boot times over 1.55min.i dont know why my laptop boot too slow.i attach the fstab, blame,critical-chain file ,this maybe to help .in blkid not show me eny swap partition .in fstab say "swap was on /dev/sda3 during installation
UUID=46520acb-801a-4e6f-a4c5-30fa870ae2d0 none swap sw 0 0" .
in gparted not show me any swap partition.
how to make one swap partition???.
Attachments
Fstab.txt
(1.02 KiB) Downloaded 12 times
blame.txt
(4.7 KiB) Downloaded 6 times
critical-chain.txt
(1.41 KiB) Downloaded 11 times
User avatar
Flemur
Level 18
Level 18
Posts: 8622
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: slow boot end no swap partition

Post by Flemur »

betalabs wrote:
Fri May 03, 2019 11:42 am
hi i have linux mint 19.1 mate 64bit.The problem is i have slow boot times over 1.55min.i dont know why my laptop boot too slow.i attach the fstab, blame,critical-chain file ,this maybe to help .in blkid not show me eny swap partition .in fstab say "swap was on /dev/sda3 during installation
UUID=46520acb-801a-4e6f-a4c5-30fa870ae2d0 none swap sw 0 0" .
in gparted not show me any swap partition.
how to make one swap partition???.
Edit: the OS waits 1:30min if it can't find the swap file: that's probably most or all of your slow boot.

In gparted, make the swap partition like any other partition, just make it type = "linux swap".
gparted -> rt-click free space -> new -> (window comes up) : "File system: (select "linux swap" from menu).
But I think Mint 19.1 uses a swap file, not a partition, but your fstab file doesn't show that.
If you make a new swap partition, make sure the UUID matches the one in fstab.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
betalabs
Level 1
Level 1
Posts: 15
Joined: Sat Sep 09, 2017 2:53 am

Re: slow boot end no swap partition

Post by betalabs »

i have 1.02mb free space in disk.i try to boot with gparted boot cd end resize main partition.after make swap file how to change the fstab file ???.
User avatar
Hendrick
Level 3
Level 3
Posts: 130
Joined: Sun Feb 16, 2014 4:01 pm
Location: Amsterdam

Re: slow boot end no swap partition

Post by Hendrick »

According to the FSTAB, you already have a swap partition. It could be that the UUID does not reflect
the actual swap partition. This can (and will) cause delay.
Use Gparted to get information about the current UUID. After that you can use this info to modify the
FSTAB file via a text program. You will have to be Root in order to do that.

Another showstopper might be the file "rc.local" in the "etc" folder. I think it's safe to empty that file,
because most of the commands are now extecuted via SystemD.

Hendrick / Amsterdam
Last edited by Hendrick on Mon May 06, 2019 6:00 am, edited 2 times in total.
Mint 19.3 Xfce - Win10 Pro
pbear
Level 14
Level 14
Posts: 5388
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: slow boot end no swap partition

Post by pbear »

Flemur wrote:
Fri May 03, 2019 12:04 pm
I think Mint 19.1 uses a swap file, not a partition ...
FYI, that's true by default, but a swap partition is supported also. Indeed, it's semi-automatic. If a swap partition is present, the installer will use it and set up fstab accordingly.
User avatar
Flemur
Level 18
Level 18
Posts: 8622
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: slow boot end no swap partition

Post by Flemur »

betalabs wrote:
Fri May 03, 2019 12:21 pm
i have 1.02mb free space in disk.i try to boot with gparted boot cd end resize main partition.after make swap file how to change the fstab file ???.
Swap file or swap partition?
If you made a partition, just change your original line so the UUID (46520,,,e2d0) matches:

Code: Select all

UUID=46520acb-801a-4e6f-a4c5-30fa870ae2d0 none swap sw 0 0
Get the partition UUID with:

Code: Select all

sudo blkid
Make a backup of /etc/fstab, then edit it sudo your-text-editor /etc/fstab
and change
46520acb-801a-4e6f-a4c5-30fa870ae2d0
to the new UUID from blkid.

If it's a swap file, then mine looks like:

Code: Select all

/etc/100MB.swap swap swap defaults  0 0
IIRC, you have to make the file some special, but simple, way...
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Post Reply

Return to “Installation & Boot”