Suffering occasional system freezes - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20) +--- Thread: Suffering occasional system freezes (/showthread.php?tid=4737) |
Re: Suffering occasional system freezes - trinidad - 01-12-2018 Yep swap is wrong. I'll get back to you with the fix. TC Re: Suffering occasional system freezes - ian_r_h - 01-12-2018 Thanks again. Also, is there any way I can avoid this problem during the actual build process as well? For example, when upgrading to v3.8 I plan to build from fresh, rather than update from v3.6. And I'm shortly to receive a new laptop which I plan to put LL on and would like to get the build right from the outset. I guess this would be useful to anyone else who installs by following the prompts and opts to encrypt the hard disk. (For example, family and friends which are expressing an interest in moving from Windows to LL!) And if it is any help in this instance, the fdisk -l command returns as below:- Code: Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors Re: Suffering occasional system freezes - trinidad - 01-12-2018 What you are trying to do must be done via command line, as configuring an installer for this many instructions and using MBR would be too big and unusual of an undertaking. A litte research on LUKS should make this obvious to you. To start with given you decided on whole disk encryption you would use fdsik to configure the LVMs and install afterwords with your fingers crossed. TC Re: Suffering occasional system freezes - ian_r_h - 01-13-2018 Firstly, the terminal command is actually sudo fdisk -l in my previous post. Sorry for missing the sudo part out. Secondly, both my other LL laptops (my alternate and my test unit), still running kernel 4.4.0-generic 98 without serious issues, report the same under sudo fdisk -l. This suggests the configuration was set up at installation ("build time"). This means that anyone (especially a fellow newbie) who follows the prompts from the 64-bit LL 3.6 live-DVD during installation, but checks "encrypt entire hard disk" (and the wipe disk) option may get the same configuration as I have. Using the terminal commands suggested at https://www.cyberciti.biz/faq/linux-check-swap-usage-command/ I get the following:- Code: ian@linux02:~$ cat /proc/swaps However, one of these three units (I am not sure which), has shown swap being used when I was running task manager previously; complete with noticeable disk activity. This suggests that at some point in ..98, ..101 and/or ..102 kernels swap had been working. Also, I have tended to use very large, scripted spreadsheets in a project in recent past in LibreOffice, without any issues. Again, I hope this helps. It looks to me like swap is (or had been) working, even if it is not configured as expected(?) Though I am certainly concerned by the red error message under sudo fdisk -l in my previous post (which is present on all three machines). Is there any safe way to test the swap file operation? I.e., to run a test use of the swap space, which will not cause any harm but will report the success or failure of the use of the swap space? Re: Suffering occasional system freezes - trinidad - 01-13-2018 Again to use LUKS the way you want to use it requires learning the neccessary commands. There are many ways to set it up (though you have chosen one with some difficulty). If you are intent on the configuration you have described, and intent on encrypting the whole disk before installation, it is best to install the system without swap and without any other partitions, and configure swap afterwards which will require a knowledge of LUKS. You probably already have misalligned partitions on all three of your machines. Read up on LUKS first and be sure you understand what you are trying to accomplish, and read the LL help manual before reinstalling. TC |