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
  •  


ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3 picture

***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3

$29.77



Asus TUF B365M-PLUS GAMING Motherboard LGA 1151 Intel B365 DDR4 M.2 Micro ATX picture

Asus TUF B365M-PLUS GAMING Motherboard LGA 1151 Intel B365 DDR4 M.2 Micro ATX

$65.00



GIGABYTE B560M DS3H AC LGA1200 Intel B560 SATA 6Gb/s Micro ATX Intel Motherboard picture

GIGABYTE B560M DS3H AC LGA1200 Intel B560 SATA 6Gb/s Micro ATX Intel Motherboard

$64.99



ASRock Rack EP2C612 WS LGA 2011-R3 server motherboard *FREE SHIPPING* picture

ASRock Rack EP2C612 WS LGA 2011-R3 server motherboard *FREE SHIPPING*

$150.00



Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD picture

Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD

$89.99



Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151 picture

Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151

$31.95



Asus Prime B250M-C Motherboard Supports DDR4 Intel 7th Gen picture

Asus Prime B250M-C Motherboard Supports DDR4 Intel 7th Gen

$39.99



GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box picture

GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box

$112.00



BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled picture

BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled

$59.99