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 R730XD Server 2x E5-2697v4 2.3GHz =36 Cores 64GB H730 4xRJ45 picture

DELL PowerEdge R730XD Server 2x E5-2697v4 2.3GHz =36 Cores 64GB H730 4xRJ45

$407.00



Dell PowerEdge R630 Server 2x E5-2680 V3 =24 Cores | 128GB | H730 | 2x 600GB SAS picture

Dell PowerEdge R630 Server 2x E5-2680 V3 =24 Cores | 128GB | H730 | 2x 600GB SAS

$464.99



DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45

$230.00



Dell PowerEdge R710 2.5

Dell PowerEdge R710 2.5" 2U Server 2x X5670 2.93GHZ 12-Core 128gb 2x 1TB SAS

$114.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD picture

Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD

$139.99



Cisco UCS C220 M3 1U 2x 6-Core Xeon E5-2620 2.0GHz / 64GB RAM / No HDD picture

Cisco UCS C220 M3 1U 2x 6-Core Xeon E5-2620 2.0GHz / 64GB RAM / No HDD

$89.99



HP Proliant DL360 G9 2x3.4GHz Intel Hexa Core Xeon E5-2643v3, 24GB RAM, NO HDD  picture

HP Proliant DL360 G9 2x3.4GHz Intel Hexa Core Xeon E5-2643v3, 24GB RAM, NO HDD

$124.99



DELL PowerEdge R730 Server 2x E5-2690v4 2.6GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v4 2.6GHz =28 Cores 32GB H730 4xRJ45

$333.00



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00