Answer the question
In order to leave comments, you need to log in
How to use the free memory left on the flash drive after installing Kali linux?
I installed it on a 16GB flash drive, Kali (not live), for personal purposes, and the bottom line is, the OS weighs no more than 1-2 gigabytes, that is, there should be at least 11-12 GB left, but now, when installing the update through the terminal (apt-get update && apt-get dist-upgrade), the "read" process starts, and then writes that I do not have enough memory, more precisely, that I have only 300-500MiB free, as I understand it, when installing linux to a flash drive, it hides the rest of the memory. Is it possible to somehow use these 12GB as a "hard drive" for Linux installed on it?
Ps this memory is only useful to me for installing scripts, and for learning the programming language.
Answer the question
In order to leave comments, you need to log in
Oh sure. The simplest option is to create a partition on the remaining free space (for example, via gparted
), format it in ext4 and mount it somewhere after booting. Where to mount - depends on the typical use. If you can’t update (although this is a temporary situation and should be fixed), you can move /var there. Example
sequence:
Mounted a new partition into /tmp/new_var
Transferred ( did not copy ) the contents /var/*
there Unmounted new_var and mounted it already in /var
If everything is correct, added it to fstab
The procedure makes sense when loading in persistence mode.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question