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: (3) </ 1 [2] 3 >/

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

reply to topic new topic new poll
Topic: Assistance in setting up CF card, Setting up CF for embedded pc< Next Oldest | Next Newest >
Onyx^ Offline





Group: Members
Posts: 5
Joined: May 2004
Posted: May 31 2004,12:29 QUOTE

Thanks for the responses all ...

cbagger01: I do not have a floppy to boot from in my target system. However I can boot from the CF slot (on primary slave). Therefore can I copy the KNOPPIX folder across then extract the boot floppy image to the compact flash as well and have it boot straight from the CF?

colinbes: you must be doing a very similar project to me :) I have four days to get a demo together...

Quote
Unfortunately it appears that frugal script only works with primary master so I can't go this route (my embedded pc only has one ide and I am unable to hook up a CD to it as well as CF - and in any case CF would be secondary master


Was your modification of the frugal script you mentioned the solution to this problem ?

My CF card is formatted to EXT2 with no (apparent) problem.

I will let you know how I get on...
Back to top
Profile PM 
colinbes Offline





Group: Members
Posts: 41
Joined: May 2004
Posted: May 31 2004,14:18 QUOTE

Onyx, modification of the frugal script worked for me. Maybe due to lack of knowledge I was braver than I should have been, but looking at the script I couldn't see why it shouldn't work with necessary tweaking - To make the script for all combinations - well that would be another story. I don't have my script with me (else I would pass it on).

In my setup, I booted livecd from my desktop with a usb-cf reader. I changed frugal script to allow reference to sda as opposed to hda.

Then further down the script where is sets up lilo etc. I changed the two refences to original hda and hda1 to hdc and hdc1 (as my CF card is seen as secondary master on Embedded system. If this is not done, the system will be configured to expect sda and sda1. Not to specific I know, but hope it helps.

cbagger01, I have formatted several different manufacturers cards with ext2 and so far okay, but of course this is no gaurantee. Personally I would prefer to have kept dos partition as it makes it easier for work in the field (I have never gotten linux to work on my tablet pc - DSL neither). But as mentioned, it didn't appear that vfat was avail on live cd (I need to look again). One problem I have picked up is that one of my embedded pc's won't recognize the ext2 formatted CF cards.
Back to top
Profile PM 
Onyx^ Offline





Group: Members
Posts: 5
Joined: May 2004
Posted: May 31 2004,14:30 QUOTE

Colinbes, that's fine, I get the gist thanks for the help.

Having never seen frugal script, does work using a similar method to this....?

Knoppix Compact Flash guide

the problem I have is in running lilo with the lilo.conf that I have edited so that it looks for hdb (primary slave, the drive where my CF card is on my *target* embedded system).
Back to top
Profile PM 
TyphoonMentat Offline





Group: Members
Posts: 183
Joined: Oct. 2003
Posted: May 31 2004,19:57 QUOTE

Yes, the frugal script is based upon that document.
Back to top
Profile PM 
Onyx^ Offline





Group: Members
Posts: 5
Joined: May 2004
Posted: June 01 2004,12:05 QUOTE

There is also this useful post at the feather linux forums which is a perl version of the script. I have had some luck getting my flash card to boot now.

Perl Poor Man's Install Script

Colinbes, if you have it handy it would be useful to see the lilo.conf that was created by your edited frugal_instal script... ?
Back to top
Profile PM 
13 replies since May 22 2004,22:37 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Assistance in setting up 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