Tiny Core Linux
General TC => Tiny Core on Virtual Machines => Topic started by: BioYakor on March 10, 2021, 12:42:00 PM
-
Hello
My question is simple
When im done install tiny on disk (8gb) (from CorePlus 11.iso), i get the following:
(https://i.ibb.co/RDP2DFh/Screenshot-2021-03-10-233920.png) (https://imgbb.com/)
And my question is: how i can install it with full use size of disk (8gb) root directory?
Im need this, because im need then execute linux-kernel-sources, and this thing fully load this 1.7GB.
Sorry for my bad English. And thanks for responses.
-
If you are speaking of the linux-kernel-sources-env extension, I believe it installs the kernel source to /usr/src, which is in ram.
You can manually prepare the kernel source on a hard disk or usb stick.
-
My Image mark as nonactive(
1.7 Gb root directory is some static dimention
On my VM i set 1/2/4/8 GB Ram, and this size not cahnge
Btw, primary disk have size 8GB, and stay mount on /mnt/sda1.
I don't understand why it's happend.
-
It would have been good to mention you were using tinycore on a vm
-
Today install tiny on USB 32Gb from VM.
Size of root directory was 2.7 gb. But after 3-4 starts, size was set on 1.9 GB.
Continue my experiments..
-
Hi BioYakor
What is it you are trying to achieve?
The root directory is in RAM. This is by design.
bin, dev, etc, home, lib, mnt, opt, proc, root, run, sbin, sys, tmp, usr, and var are all in RAM and get rebuilt every time you boot.
You can only make the home and opt directories reside on your disk so they are persistent.
... Btw, primary disk have size 8GB, and stay mount on /mnt/sda1. ...
Yes. Your extensions are stored in /mnt/sda1/tce/optional. When those extensions get loaded, they are first loop mounted
under /tmp/tcloop. Then their contents are linked into the file system (/usr/local/bin, /usr/local/bin, ....).
-
Thanks
I figured it out tonight)
So, my task run linux-kernel-sources.sh
All ok, and "make" start, but before he end his work, memory of rootfs being full (1.7GB)
and i can't resume build my driver same reason
And i dont know wat to do next to solve this..