vk2emq
Group: Members
Posts: 5
Joined: Mar. 2004 |
|
Posted: Mar. 03 2004,07:22 |
|
I have successfully run DSL on a variety of "Attic Ware" and/or low powered platforms via boots from HD or Flashcard with FAT partition.
What I would like to do is run DSL using the TORAM option from a DSL image on FLASH / HD on machines having 64 MB RAM or more - eg low end 486/Pentium 1 with small harddisk to enhance the speed of operation, or on low powered machines eg 12 VDC battery powered VIA EPIA board with Flashcard and RAM to keep power usage to a minimum.
When using the toram option with the standard distribution install, the knoppix files are transfered to RAM but the filesystem is not recognised and the system jumps to a minimal linux .... The key to loading from HD/Flash to RAM would seem to be by appropriate modification of the linurc script in the miniroot.gz .By referring to the site which has a modified linuxrc script for booting from USB I have been able to load DSL, gunzip miniroot.gz, mount the miniroot.img file system, access and edit and save the linuxrc script, unmount the miniroot.img, gzip to miniroot.gz, reboot the system and see some minor textual changes I have incorporated into the script ..... however I am no bash script programmer and after several days of fiddling with the script and multiple crashing of systems I am no nearer to the goal ....
Could any programmer type out there provide any suggestions on what changes could be made to the linuxrc script for ideally implementing the following requirements
1. establish size of knoppix cloop file ( 49 MB for DSL) on Harddisk/Flash card and available RAM and if sufficient RAM is available suggest to user that TORAM option may be used ;
2. if TORAM option selected create RAMDISK of appropriate size and copy knoppix cloop file from HD/Flash to RAM and run DSL knoppix from RAM ;
3. invoke mkdosswapfile script to automatically generate swapfile on HD/( not Flash ) ;
4. invoke persistant home directory script to automatically generate home directory on harddisk/Flash ;
5. invoke save config script to automatically save DSL configuration to HD/Flash when rebooting
Any suggestions gratefully received,
vk2emq John
|