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) Messing up with partitions- slow booting

pcfan5

Wed Feb 13, 2019 4:19:32 pm

Hello!, I have this issue:

I have deleted my "swap" partition , enlarged my "/home" partition and shorten my " / " partition in order to create a bigger swap (the truth is this swap partition isn't the double size of my RAM but this is another history), right now the computer shows a very slow booting and the wi fi conexion is always turned off , I have to enable it by pressin fn+F11.

I must be honest. I did this as an experiment, I want to install linux zorin or linux mx-16 in the laptop (right now I am under linux mint) , but I don't want to touch the "/home" partition (although I have a backup of it) , I was thinking in this two options in order to have a littler "/" since my hard disk isn't quite big (only 320 gb) and most of it has to be destined for (8gb swap - I have 4 gb RAM) and 25 gb for W7 (in virtual machine)-.

I wonder if there is anyway to edit any file where I can say to the system "ok this are your new partitions forget the installation ones" .. so that it boots faster. (more thatn a minute is taken now)

Here is some information for you :

Code:
/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=4df40035-50ee-4d2d-896d-bfaeb1b39a00 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda4 during installation
UUID=544418e7-155a-486f-8a27-cb9761eb87e3 /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
[b]UUID=167f58d2-d081-4cfb-bcf8-bd6737a95e05 none            swap    sw   [/b]           0       0



Code:
sil@sil-MOV ~ $ lsblk -f
NAME   FSTYPE LABEL UUID                                 MOUNTPOINT
sr0                                                     
sda                                                     
├─sda4 ext4         544418e7-155a-486f-8a27-cb9761eb87e3 /home
├─sda2 ext4         4df40035-50ee-4d2d-896d-bfaeb1b39a00 /
├─sda3 swap         [b]c5e32fab-4ab7-48da-97e2-ffe73406a746 [SWAP][/b]
└─sda1                   


Code:
sudo blkid
[sudo] password for sil:
/dev/sda2: UUID="4df40035-50ee-4d2d-896d-bfaeb1b39a00" TYPE="ext4" PARTUUID="f56f548e-4b80-4f46-8110-e24924e56b76"
[b]/dev/sda3: UUID="c5e32fab-4ab7-48da-97e2-ffe73406a746" TYPE="swap" PARTUUID="10e52764-b1ee-45a7-898e-32b2dad7e6e7"[/b]
/dev/sda4: UUID="544418e7-155a-486f-8a27-cb9761eb87e3" TYPE="ext4" PARTUUID="a4b23499-48df-438b-b216-d462af83c47c"
/dev/sda1: PARTUUID="d01b1fac-b84d-49c4-8a87-12aa46198f62"



Thanks in Advanced

Swarfendor437

Wed Feb 13, 2019 6:13:37 pm

I wouldn't personally want to risk it but for resizing successfully you should have LVM enabled on the original install? ;) :D

pcfan5

Wed Feb 13, 2019 8:07:48 pm

Yeah! you have mentioned that before. I am sorry for asking the same question again. I remember now about this conversation. LVM , I don't know how to manage it .... anyway is there a way to fix this booting issue?

Swarfendor437

Wed Feb 13, 2019 9:22:22 pm

pcfan5

Thu Feb 14, 2019 12:25:22 pm

Hello. Yesterday I though I have answered you, just in case here goes again.

Thank you for the link, I will take a look right now. It is very interesting!!!


The partial solution is editing fstab. Which keeps the orinial swap UUID, but after touching the partition it is changed. So ..
You have to open gparted, go to information (over the swap partition) copy the number given there. Then open as root (I do it with GUI -right click options- in Thunar) /etc/fstab and paste the number in the line refered to swap, replacing the old one. Save and reboot.

pcfan5

Fri Feb 22, 2019 3:40:20 am

Swarfendor437 wrote:I wouldn't personally want to risk it but for resizing successfully you should have LVM enabled on the original install? ;) :D

Hi swarf ! I would like to learn more about LVM , I would like to ask you if you can send me a link, I would like an easy explanation over this..please rember my disk is only GB-

Regards.

Swarfendor437

Fri Feb 22, 2019 5:33:11 pm

pcfan5

Sat Feb 23, 2019 10:56:29 pm

thank you , I will be reading this links... why don't youuse LVM?

Swarfendor437

Sun Feb 24, 2019 9:28:13 am

If it ain't broke don't fix it. Whilst I can see it could be very useful for a number of scenarios including some things I was not even aware of the 'caveats' mentioned in one of those links has nade me stick to the tried and tested method. :) :D

pcfan5

Sun Feb 24, 2019 2:59:37 pm

I wasn't able to read it fully, I had invitated people at home, so I will read it now... I am wondering if it is recomended for small disks (my HDD is 320 GB)

That is my concern to save the major space in my HDD to store files, that is why I also left Windows for Linux, but I don't see a great advantage If I have to create a swap double sized my ram (so LM would run better - which is what started all this issue in first place), and I also need to have a 25 GB virtual disk for my work (which is under windows envirioment), that is why I was also thinking in moving to other distro. My HDD is small and I want to make the most of it.

zorinantwerp

Sun Feb 24, 2019 6:27:29 pm

Hi

in the coming major release you will see under 'installation type' a radio button for making use of LVM when setting up Zorin

:)

pcfan5

Sun Feb 24, 2019 7:21:21 pm

zorinantwerp wrote:Hi

in the coming major release you will see under 'installation type' a radio button for making use of LVM when setting up Zorin

:)



Good to know, that would be like in Linux Minux instalation,. In MX-16 there isn't this option.

UPDATE Zorin 12.4 already has LVM option in install

Swarfendor437

Sun Feb 24, 2019 11:08:29 pm

pcfan5 wrote:I wasn't able to read it fully, I had invitated people at home, so I will read it now... I am wondering if it is recomended for small disks (my HDD is 320 GB)

That is my concern to save the major space in my HDD to store files, that is why I also left Windows for Linux, but I don't see a great advantage If I have to create a swap double sized my ram (so LM would run better - which is what started all this issue in first place), and I also need to have a 25 GB virtual disk for my work (which is under windows envirioment), that is why I was also thinking in moving to other distro. My HDD is small and I want to make the most of it.


In respect of swap, if you have the time, do an auto install and see what the auto install produces in terms of swap size - then use that figure for the 'something else' method. From previous experience of doing a test auto install I noticed that it puts the swap area at the end of the drive. If we were to be very pedantic, we would have separate partitions for var, bin, sbin etc which PCLOS2007 did automatically based on the space it read available on the hard drive it was going to be installed to - I loved the industrial boot splash with glowing blue orbs! :D