You would need approx. 2 gb of RAM for /usr
You really need a translucency/overlay filesystem for what you want to to. But these where not usable with Knoppic in a stable way yet last time I checked.
I love knoppix. I use it "live" (uninstalled) in a variety of situations. I'm looking for an easy workaround that allows apt-get to use the ramdisks for its operations.
The earliest I've seen this mentioned is July 2003. Having looked at the newest cheatcodes, here's my proposal:
Add to the "toram" option, allowing /usr/local and /var to be individually specified. This would allow a machine of modest means to be reconfigurable/extendable without HD installation.
You would need approx. 2 gb of RAM for /usr
You really need a translucency/overlay filesystem for what you want to to. But these where not usable with Knoppic in a stable way yet last time I checked.
>You would need approx. 2 gb of RAM for /usr
Right.
Allow me to restate my proposal.
I plan to mount /usr/local separately.
Honestly, a "fresh" linux instillation *should* have an empty /usr/local.
Similarly, /var and /etc are primarily "dynamic" & site-specific
Why not mount these dynamic "local" filesystems into RAM whenever possible?
I agree with this concept.
It would be ideal to be able to use TORAM with only certain directories or filesystems, rather than the way it is, which is "all or nothing", because who has enough ram for the entire CD?
Indeed. Maybe in 2-4 years...Originally Posted by airplays
I realize that the problem is designing a sane mount table. It seems that "mounting over" gives the most obvious solution.
Let's try the following simple hack as root on command line:
Code:# cp -rp /var /ramdisk/my_var # cp -rp /usr/local /ramdisk/my_local # mount /ramdisk/my_var /var # mount /ramdisk/my_local /usr/local
Hahahah. That was funny. If only it were so easy...Originally Posted by helmingstay
Here is what (sortof) works (with >256M RAM, pref 512M):
[code]
dd if=/dev/zero of=/ramdisk/tmpfile \
bs=1k count=200000
losetup /dev/loop0 /ramdisk/tmpfile
mkfs -t ext2 /dev/loop0
mount /dev/loop0 /mnt
cp -rp /KNOPPIX/var/* /mnt
umount /mnt
mount /dev/loop0 /var
----------
Note: If you don't have a HD partition, but you do have room on a rw HD partition, you can mount that and substiture
/yourHDpart/yourKnoppixDir for /ramdisk/tmpfile. Then, next boot, you just use the "losetup" and "mount var" commands.
You almost had it .Originally Posted by helmingstay
Working:
No need to hassle ...Code:# cp -rp /var /ramdisk/my_var # cp -rp /usr/local /ramdisk/my_local # mount --bind /ramdisk/my_var /var # mount --bind /ramdisk/my_local /usr/local
cu
Fabian
How about:
cp -pRH /usr/local /ramdisk
ln -sf /usr /ramdisk/local
Ah, but you can't write to /usr, can you? :)Originally Posted by TyphoonMentat
Originally Posted by FabianxAwesome! Ah, sweet commandline...Originally Posted by man mount
Now if only Debian would create a politically stable mechanism whereby apt-get can download packages for manual install into someplace like /usr/local <big pet peeve; i can't find the relevant flamewar link just now...>
CSE-118 Supermicro 1U 3x GPU Server 2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails
$454.03
CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU
$580.03
Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS
$2749.99
Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU
$399.04
Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU
$44.99
Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H
$27.99
Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7
$17.99
Intel Xeon e5-2698v3 2.30Ghz 16 Core 32 Thread CPU SR1XE
$20.99
Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia
$85.50
Lenovo Thinkstation P720 Gaming Edition (Intel Xeon Gold 6128,96GB RAM,RTX 2080)
$491.77