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 EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller picture

Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller

$84.99



Yottamaster 2 Bay RAID Hard Drive Enclosure USB 3.1 For 2.5

Yottamaster 2 Bay RAID Hard Drive Enclosure USB 3.1 For 2.5" SATA HDD SSD UASP

$56.25



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$55.45



Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile picture

Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile

$15.99



LSI 8 Port 6Gbps PCIe 3.0 External SAS RAID Card w/ 1GB CacheVault & Low Profile picture

LSI 8 Port 6Gbps PCIe 3.0 External SAS RAID Card w/ 1GB CacheVault & Low Profile

$26.10



Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT picture

Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT

$15.98



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



9207-8i PCIE3.0 6Gbps HBA LSI FW:P20 IT Mode ZFS FreeNAS unRAID 2* SFF-8087 US picture

9207-8i PCIE3.0 6Gbps HBA LSI FW:P20 IT Mode ZFS FreeNAS unRAID 2* SFF-8087 US

$32.88



CompUSA Internal 2 Bay Removable Rack for 3 SATA Hard Drives Raid Configurations picture

CompUSA Internal 2 Bay Removable Rack for 3 SATA Hard Drives Raid Configurations

$25.00



Yottamaster 5 Bay RAID Hard Drive Enclosure Type-C B For 2.5

Yottamaster 5 Bay RAID Hard Drive Enclosure Type-C B For 2.5" 3.5" SATA HDD SSDs

$131.59