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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$299.99



Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays

$1849.00



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$39.99



Intel Xeon E5-2699v4 SR2JS 2.2GHz 22-Core 55MB 145W Server Processor CPU picture

Intel Xeon E5-2699v4 SR2JS 2.2GHz 22-Core 55MB 145W Server Processor CPU

$144.95



SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor picture

SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor

$5.09



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



Lenovo Thinkstation P510 E5-1620 V4 16GB RAM 512GB SSD DVD Quadro M2000 W10 Pro picture

Lenovo Thinkstation P510 E5-1620 V4 16GB RAM 512GB SSD DVD Quadro M2000 W10 Pro

$164.95