Results 1 to 5 of 5

Thread: "toram" and my persistence parition (7.2)

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    4

    "toram" and my persistence parition (7.2)

    Hi guys,

    I have been searching for additional info on the on how exactly the "toram" cheatcode modifies knoppix in the case of a flash disk install, but I cannot find anything.

    What I would like is to load my modified knoppix and all my programs into ram at start, i.e. the union between sda1 and sda2 (my persistence drive). What I guess is actually happening is that knoppix is only loading sda1 to ram, and any changes I make have to be loaded from disk as/when needed.

    Can anybody confirm how this actually functions, and advise how I can achieve my goal?


    ##optional read##

    Whilst I'm here have a few additional queries:

    1. Can I resize sda1 and sda2 partitions after they are made?
    2. Is there perhaps a better distro more suited to my goals:

    a. run inside portable virtualbox on sdcard
    b. all personal data and files other than basic clean OS are encrypted with a good encryption, preferably prompting for password on boot.
    c. no size limit on persistence
    d. capable of all running from ram to negate the speed and durability issues of sd card.
    e. small enough to run in VM with 4GB of ram


    im fairly new to linux so please forgive ignorance

    thanks,

    Andy

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    You can find all the info how does Knoppix use the cheatcode "toram" within the init-script of minirt.gz
    extract-from_init.txt

  3. #3
    Junior Member
    Join Date
    Jan 2014
    Posts
    4
    Thank you Werner, I will take a look.

  4. #4
    Junior Member
    Join Date
    Jan 2014
    Posts
    4
    I read through that thanks, though not sure how well I understood it.

    I figure that since the mounting to ram takes place before I decrypt the persistence drive then it is impossible that any files within it would make it to ram. This is a shame.

  5. #5
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by linuxthail View Post
    I read through that thanks, though not sure how well I understood it.

    I figure that since the mounting to ram takes place before I decrypt the persistence drive then it is impossible that any files within it would make it to ram. This is a shame.
    I suggest you experiment with ordinary Knoppix and encrypted persistence before you work with the toram option. Might get a better concept of Knoppix shame from that. And "mounting to ram" and a few other things too.

    The ramdisk approach is quite viable nowadays: You could keep both the compressed DVD (cloop) image and 4GB persistent store in RAM and still have ca 8GB free on a 16GB system. Main obstacle is loading and saving time. Re media wear, reading isn't that hard on the card, so the cloop image could also be left on the card. Speed penalty is very much dependent on type of application.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$16.29



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



32GB (4X8GB) DDR3 PC3-12800 1600 NON ECC LOW DENSITY MEMORY F3-12800CL10Q-32GBXL picture

32GB (4X8GB) DDR3 PC3-12800 1600 NON ECC LOW DENSITY MEMORY F3-12800CL10Q-32GBXL

$32.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM

$87.96