LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo
User Name
Password
Amigo This forum is for the discussion of Amigo Linux.

Notices


Reply
  Search this Thread
Old 02-19-2005, 04:45 AM   #1
tucan
LQ Newbie
 
Registered: Feb 2005
Location: London
Posts: 1

Rep: Reputation: 0
Amigo 2 on CF IDE Boot drive


Hi everybody just looking for some advice...

I have Amigo2 on a FAT32 HD partition on an old laptop dual booting fine with Win2k. I have added python to it with pkgtool and successfully run my python program.

What I now need to do is the same thing but on a Mini-ITX board 'embedded device' (no monitor keyboard mouse) with a Compact Flash card, so FAT32 on CF card which will be the bootable drive, booting into Amigo2 via DOS and loadlin and running my python program.

I am happy that I can do this but I am concerned about the life of the CF card, how can I make sure that it is mounted as read only, and does not use a swap file, so that there is no write activity to the card? My program does not need to store anything, just to run from powerup.

I do not want to change away from the FAT32 filesystem, as this enables me to easily make config changes to how my program runs (by editing its text .ini file) by simply putting the CF card into a PCMCIA adaptor on my Main XP Pro laptop and editing the file directly (obviosly taking care with the 8.3 filenames).

I am not too worried about the size of the CF card required (I currently have a 512Mb Sandisk to experiment with), and the end system is 500Hhz &128Mb of RAM.

I am a Linux novice and Amigo2 gives me everything I need and most importantly can be easily extended and reduced. Great Work.

Any advice welcome.
 
Old 02-19-2005, 02:28 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
You can't mount umsdos read-only any way at all.
To disable swapping comment out the line for swap in /etc/fstab by placing a '#' at the front of the line. Also turn off syslog by doing:
chmod 644 /etc/rc.d/rc.syslog.
That will help some -in theory that's all that should be writing in the background. Still don't expect this card to last too long this way...

After releasing Amigo-XP I'm going to be working on a distro to do what you want: safely run long-term from a FLASH device, and without performance losses from USB. Amigo-XP runs fine over USB, and should run on your device easily and without any performance loss since it doesn't use the umsdos file system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot winxp/ubuntu on raid array and ide drive buildintechie Linux - General 1 10-25-2005 12:35 AM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 10:50 PM
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 10:01 PM
Difference between IDE drive and IDE to CF adaptor? 2kman Linux - General 0 12-21-2004 06:45 PM
FD2 boots from Sata, add a new ide drive and ssyeme won't boot Hube Linux - Hardware 4 07-07-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration