Results 1 to 3 of 3

Thread: Set "toram" To Default Boot Option? Config File Change on USB install or Remaster?

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    2

    Set "toram" To Default Boot Option? Config File Change on USB install or Remaster?

    I'm not sure if remastering is actually required or not, but my question definitely falls under "customizing" so I hope I have the right forum. To give some background... What I am trying to do is repurpose an Intel Atom-based system as a low-power NAS. The thing is it doesn't have a lot of SATA ports - only 2 in fact - and I'd rather leave them both open for drives that I can use purely for storage and move easily. So I pick up my Knoppix CD and install on USB, because USB doesn't require a SATA port. Then I start installing the software I'm going to want for reading my filesystems and giving file transfer access and all is going well, and thanks to persistence (yay USB!) my changes to the base image are saved across reboots. But then I think to myself - what if the USB drive fails? Consumer USB drives aren't exactly made of tough stuff, and even if I only write a scratch file every day, re-writing to the same location might just wear it out in a few months, then I'd lose everything and have to start over. Luckily Knoppix has a solution for that too - I can use the "knoppix toram" cheat and simply load the whole thing to RAM, and should it ever fail (eg. a few bit flip in the RAM disc) all I need to do is restart the box, because the USB won't have been used at all... I can even take it out if I want to. This all lead me to my present question: Once I get my USB image set up with all the packages I want and no longer see a reason to change it, is there a file I can edit somewhere that will ensure that every time that USB drive is used the "knoppix toram" cheat is applied? Do I have to remaster, or can I simply edit a file to achieve what I want? If I must remaster, can someone point me at what I need to remaster exactly? I can't seem to find any documentation on how that "boot" prompt is handled as relates to default. If anyone can help me I would greatly appreciate it.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I think you should edit the configuration file syslinux.cfg on your USB device and add the cheat codes you need. You can read more about this file in the wiki at syslinux.org.

  3. #3
    Junior Member
    Join Date
    Nov 2012
    Posts
    2
    Ah, I see. I had looked at that file but as it did not contain any arguments to commands I (for no good reason) decided that I wouldn't be able to simply add them in under the default. That works great for me, thanks!

Posting Permissions

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


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD picture

HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD

$249.99



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



Supermicro 5018A-FTN4 Rack Server - Black picture

Supermicro 5018A-FTN4 Rack Server - Black

$125.00



HP ProLiant Microserver Micro Server HSTNS-5151 untested NO DRIVE CADDIES picture

HP ProLiant Microserver Micro Server HSTNS-5151 untested NO DRIVE CADDIES

$60.75



SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00