Tiny Core Linux

General TC => General TC Talk => Topic started by: halma on March 17, 2018, 03:20:03 AM

Title: Running Tinycore / Mircrocore completely in RAM
Post by: halma on March 17, 2018, 03:20:03 AM
Hi , is it possible to run Tinycore / Microcore completely in RAM (rootfs, kernel, libs, etc.), i mean if i boot from an usb storeage device (which cotains one partion and and on it the whole microcore system) a microcore system, first read MBR(masterboot record), copy content from usb storage into RAM,  and then boot the microcore system... is that possible?

Thanks
Halma
Title: Re: Running Tinycore / Mircrocore completely in RAM
Post by: polikuo on March 17, 2018, 04:24:26 AM
I believe you're refering to copy2fs.flg

Code: [Select]
touch /etc/sysconfig/tcedir/copy2fs.flg
Title: Re: Running Tinycore / Mircrocore completely in RAM
Post by: Rich on March 17, 2018, 10:18:11 AM
Hi halma
As polikuo pointed out, creating a  copy2fs.flg  file will do what you want. In addition, make sure you do not have persistent
/home  or  /opt  directories on the drive. You should then be able to use the  umount  command on the drive and unplug it
if you wish.