Arch linux stuff under Manjaro

remove the graphical start, yes show that text mode which is slower and doesn't show anything at all cause its too fast to read, however as a reward you can see the computer shutdown text which is nice because this notebook does not have any visible message led's.

 to change the graphical boot into text mode, its required to remove quiet from GRUB, the documentation can be found here : link .

 launch terminal, type:

$ sudo nano /etc/default/grub


 go to the line containing : "GRUB_CMDLINE_LINUX_DEFAULT="quiet  (...)"
  remove the quiet part

for me it went from this :
RUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3"

 to this :
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor udev.log_priority=3"

save the file with Control + O, then Control + X to exit

then save the GRUB configuration with the command:

$ sudo grub-mkconfig -o /boot/grub/grub.cfg

Grub2 allows for temporary changes, so when computer is starting, press SHIFT, you will boot into GRUB2, and you can edit by pressing E, each boot option, the following screen shows the options available:


Manjaro is growing in disk usage, time to clean it up.

Remove old installation files of the applications installed:

you can do that using :

sudo pacman -Scc

or if you want to do it manually:

go to : /var/cache/pacman/pkg/ and delete all files

I had 1,3Gb of files, byebye!

Remove cache on the home directory (/home/thisguy/.cache/):

check what is the folder size:

sudo du -sh ~/.cache/

270Mb, so in my case it doesn't grow as much as the pkg folder

to get rid of it:

rm -rf ~/.cache/*

Check the post about BleachBit, its an GUI application that does all of the above.

Time to install another version of Manjaro, I've downloaded it in another machine, and its in a USB pen, so time to verify if all went well by verifying the checksum, open Konsole (Terminal) and navigate to the drive:

list all connected devices :

lsblk -f

then travel to folder






WORK IN PROGRESS

to check :
you can for example add  fsck.mode=force and fsck.repair=preen to boot options to force a fsck



add fschk to boot

edit grub config file
add

for the above commands to work, you need to add rw to the fstab file

for that use:
sudo nano /etc/fstab


for 1 single fsck run, you just do:

sudo tune2fs -c 1 /dev/sda1

that above command run a fdck every time the system boots, you can later schedule it for something like 30

you can check if the boot counts is active if you run:

# tune2fs -l /dev/sda1 | grep Max

how many times has the system booted :
tune2fs -l /dev/sda1 | grep Mount


see when was last time the system was checked :

# tune2fs -l /dev/sda1 | grep Last\ c

requires time invested in :


Comments