PDA

View Full Version : [ubuntu] 14.04 LiveCD environment splits the ram in half



mullinsjason
July 23rd, 2015, 12:08 PM
We have a HP Z820 with 256GB of ram that we would like to use as a Air Gapper to transfer files from one media to another. Problem is when it boots it takes half the ram leaving us with 128GB ramdisk. Tried creating a custom environment using ramastersys changing the FStab file but when the iso is created the FStab goes back to default. Please help, any advice?

v3.xx
July 23rd, 2015, 12:39 PM
Thats the way ram is set up by default, half of your ram is available for ram disk. You need to find some more ram for your box.

sudodus
July 23rd, 2015, 12:50 PM
Is there really 256 Gigabyte RAM? (On the other hand, 256 Megabyte RAM is not at all enough.)

I think it will manage the memory differently, if you install the system, and run it as an installed system, which can be portable, if that is what you want; just avoid proprietary drivers).

v3.xx
July 23rd, 2015, 01:01 PM
Did not catch that :)

buzzingrobot
July 23rd, 2015, 01:22 PM
Seems it can digest up to 512GB: http://www8.hp.com/us/en/campaigns/workstations/z820.html.

Could they edit the installer script(s) to change the "use half of available RAM" bit to some reasonable number for their purposes?

v3.xx
July 23rd, 2015, 01:38 PM
Yet another good catch by buzzingrobot :)

https://wiki.archlinux.org/index.php/Tmpfs#Examples

mullinsjason
July 23rd, 2015, 02:51 PM
We have edited the /etc/fstab file. After we used remastersys to create a customized livecd, however the problem we keep encountering is that the fstab file removes the line which dictates the size. We used gedit to change this line

none /run/shm tmpfs nosuid,nodev,size=268435456000 0 0

sudodus
July 23rd, 2015, 04:13 PM
Have you tried to port an (already) installed system?