Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Installing DSL on a CF card, Do I really need a swap file?< Next Oldest | Next Newest >
bsparks Offline





Group: Members
Posts: 9
Joined: July 2005
Posted: July 31 2005,17:58 QUOTE

To make a long story short, I'm trying to make a digital picture frame, because I'm too cheap to go out and buy one. I have an extra laptop sitting around that has a dead hard drive, so here's the plan: I'm trying to make this project as simple as possible so points of failure are reduced. To that end, and since the machine has a bad hard drive, I have ordered a IDE to CF adapter and a 512mb CF card. I know that CF cards have a limited life expectancy, so I'm planning to just use the card like the DSL CD--boot off of it, and run applications. All of the pictures will be downloaded through my wired/wireless network for display as they are needed (map the drive to a share on another computer). The computer that I'm planning on using as the frame has 192 meg of RAM, so this prompts the question: Do I really need a swap file? I don't have a place to put it, even though the CF card has a lifetime warranty (from Kingston), I'd rather not test that theory and put undue wear on it, and I certainly (if at all possible) do not want a hard drive running.

How can I install to the CF card so that the system is bootable without a swap file? Do I just follow the hard drive install procedures on the site but not create hda1 as a swap partition?


Thanks in advance for your help.

--Branson
Back to top
Profile PM 
kopsis Offline





Group: Members
Posts: 65
Joined: July 2005
Posted: July 31 2005,18:54 QUOTE

It's highly unlikely that you'll actually need swap for what you're trying to do. Just skip any instructions about creating a swap partition. DSL will boot just fine without one.
Back to top
Profile PM WEB YIM 
bsparks Offline





Group: Members
Posts: 9
Joined: July 2005
Posted: July 31 2005,18:58 QUOTE

Awesome... Thanks for your quick reply. So basically the CF card will have one ext2 partition--the one for the OS?

I'll keep everyone posted about the status of the project if you are interested... I will start on it this within a week or two, as I am currently out of town and planning ahead. It's great to be out of town because you don't have to wait for all of your parts to show up in the mail--by the time you get home, everything is there ready for you to start!
Back to top
Profile PM 
mgmont Offline





Group: Members
Posts: 77
Joined: April 2005
Posted: Aug. 01 2005,01:27 QUOTE

I have been running two computers using a cf with no hard drive and no swap for a couple of months now.  Both work great.  The only problems you might have is if you try to load a program that requires a lot of ram memory.  This is where a swap file is necessary as it acts as an extension of ram memory.  Naturally you would not want a swap file on your cf as would put cause extra wear on your cf.  My two computers have 256 meg of ram which has worked fine for nearly all the things that I want to do.  I configured my cf with two partitions one (hda1) with about 60 megs where I did a frugal install and the rest for hda2 which I designated for mydsl and backup/restore.  I also created a /optional directory on hda2.  Running this way is extremely fast.  Much better than from a hard drive.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Aug. 01 2005,02:53 QUOTE

Just do a normal "Frugal install" on your compact flash "hard drive".

Frugal install is perfect for flash memory devices because it keeps the filesystem as read-only and all caching is done in the ramdisk.  This virtually eliminates flash memory failure due to too many writes. You can still save some of your settings files to the CF device using the normal Backup/Restore process.  This creates a backup.tar.gz file on your CF device that contains your chosen files.

The backup is done during shutdowns and it is restored automatically at bootup.

FYI, there are some similar projects that have been explained here on the forums.

Try searching for keyword:

picture AND frame

and search ALL FORUMS and FROM THE BEGINNING or NEWER.
Back to top
Profile PM 
5 replies since July 31 2005,17:58 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Installing DSL on a CF card

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code