HOW: CF Card installation (IDE adaptor)?


Forum: DSL Tips and Tricks
Topic: HOW: CF Card installation (IDE adaptor)?
started by: x-ray

Posted by x-ray on Feb. 12 2006,09:46
Hello Linux Fans!

I am trying to install DSL 2.2b on a CF card (IDE adaptor).
First I made a CD-ROM form the dedicated image. With success, it is running good. Now I would like to do the next step - CF card installation. I await it should be nearly the same like a HD installation!?!

I copied (like I read in this forum here) the whole folder "Knoppix" onto the CF card (64 MB) with my Win2000 system.

Unfortunately I am now at the end. It can't run - I know - but what can I do to use the CF card as boot medium?

Thanks for your time,
Jens

Posted by struppi on Feb. 12 2006,12:21
you have to install it from a running dsl system.

boot dsl and choose frugal install from the menu.

Posted by x-ray on Feb. 12 2006,12:50
That's it!
Thank you very much. Its running now.

=> Apps/Tools/Install to Hard Drive

Posted by struppi on Feb. 12 2006,16:16
i wouldn't do a traditional hard drive install, but a frugal install. read the forums about the advantages of a frugal install.
Posted by roberts on Feb. 12 2006,16:44
The way I do this is as follows:

I prefer lilo for CF type installs. It makes it work more like an appliance, but that's my opinion.
Anyway, place CF and IDE adaptor in a PC as device hda
boot PC from DSL cdrom as follows:

boot: install

DSL Install Options  
|                                               Net Access Req'd
| 1. Make Standard Boot Floppy                  yes        
| 2. Make USB Boot Floppy                         yes      
|                                                                          
| 3. Install to Hard Drive                             no        
| 4. Frugal Grub Hard Drive Install               no        
| 5. Frugal Lilo Compact Flash Install           no        
|                                                                          
| 6. USB Pendrive ZIP boot Install               no        
| 7. USB Pendrive HDD boot Install             no        
|                                                                        
| 8. Reboot                                                          
| 9. Shutdown                                                      
|                                                                        
| 0. quit                                                                                


Choose option 5

Posted by dtf on Feb. 13 2006,00:42
Roberts -

I did create a CF install card as you mentioned and it works fine but I did run into one issue I never could resolve.  

When I have loaded DSL on other systems I usually create three partitions hda1 - swap, hda2 - boot and hda3 for home opt etc. using grub  However using option five I could not seem to get my home and opt directories to properly mount on hda3.  After a bit I gave up and just put everthing hda2 leaving hda1 as the swap partition.  I used a 1GB CF card and was trying to set the partition to hda1 - 125M, hda2 - 100M boot and the rest for hda3.  Is there a trick to this or did I make some silly mistake?  Thanks.

Posted by roberts on Feb. 13 2006,04:57
It is not designed for that particular setup.
With CF I would not place a swap partition on it.
With CF I would not place persistent home and opt on it.

CF has limited number of writes.
Swap on CF will clearly shorten the life of the CF.
Persistent home and and opt will also clearly place an undue strain on CF, especially with cache type files.

Therefore the simple lilo setup and use backup/restore. The backup/restore is much less strain on CF. Also, it is the reason that I would never suggest to put extensions mixed in with backup. Extensions are large static apps that should be written only once to either the /cdrom, the boot device on the CF, or to a second partition of the CF and then use the mydsl boot option to specify.

Hope this helps explain  the design concept that I used to make this.

I know we need documentation to explain why certain things are setup the way that they are.

Posted by x-ray on Feb. 13 2006,06:03
Oh oh much new info.
Thank you very very much.
In the moment I have my new Mini-ITX system I will try to check this new setups.
(MOREX 3688 EPIA ME6000 LVDS, Mini-ITX, without fan)

Anyway, DSL impressed me! :)

Posted by dtf on Feb. 13 2006,11:30
Roberts - Yes x-ray is right, great information and OS. Things I did not think aobut. Thanks.
Posted by x-ray on Feb. 18 2006,10:55
Today is a good day :-) I got my:
MOREX 3688 EPIA ME6000 LVDS, Mini-ITX, without fan

But now I unfortunately have the next (little) problem.
For me it is clear - I should use "Frugal Install".

I booted with CD-ROM and used in the Menu: Apps/Tools/Frugal Install

Then I was asked to put in the "target partition" for example hda1. Therefor I mounted hda1 (window right lower side).

After puting in "hda1" I got the message:
"Sorry system has not detected a linux partition.
You may need ...cfisk..."

How can I go on here?
What do I have to do?

Thanks.

Posted by x-ray on Feb. 18 2006,12:55
I am now one step forward.

We have to use (for example):

sudo cfdisk /dev/hda1

Then I get in a ascii communication.

But when I have done all and the PC is starting from CF card
I get now the message:

Kernal panic: No init found. Try passing init= option to kernal

What does this mean?

Is the problem the boot option?
Possible: toram ssh nfs syslog lpd monkey ftp
????
What is this???

I startet the installation again and used "toram" whatever it is!?!
It is running NOW !

Posted by cbagger01 on Feb. 19 2006,03:59
Don't mount hda1

Instead, open a terminal window and type:

sudo su
cfdisk /dev/hda

And then create a Linux partition type for partition number 1 and save and exit cfdisk.  Then type:

mkfs -t ext2 /dev/hda1

and then do your frugal install.

If you have a "real" hard drive and not a flash memory device, I also suggest that you use cfdisk to create a Linux swap partition type for partition number 2.  Then format it with:

mkswap /dev/hda2

and activate it with:

swapon

or just reboot and it will be automatically activated.

Posted by x-ray on Feb. 19 2006,07:26
Thank you cbagger01 !

I have done it again (like you wrote) - it is running very good with 64 MB CF card!

Posted by x-ray on Feb. 19 2006,07:27
Can someone help me regarding this:

After successful Frugal Instalation I don't want to put in at every start:
- Xvesa: xserver
- USB mouse: NO
- IMPS/2 mouse: YES
- screen resolution: 1024 x 768 pixel
- color depth: 32 bit
- own dpi ?: no
- Keyboard: de

It would be great to safe it on the cf card as default setting.

Is this possible?

What can I do to use default settings or something else?

Thanks.

Posted by struppi on Feb. 19 2006,19:16
use "Backup/Restore".

--
die standard einstellungen werden so gespeichert. du kannst über die datei filetool.lst kontrolieren, welche dateien gespeichert werden sollen.

ps: was hast du für deine neue maschine bezahlt? ich überlege auch, mir so ein nettes ding zuzulegen, habe aber wenig ahnung von den verschiedenen varianten und vor allem den preisen.

Posted by x-ray on Feb. 20 2006,16:50
272,40 EURO incl.
- VIA EPIA ME6000
- MOREX 3866 mit Kabeln + Netzteil
- 512MB RAM

! Nur Gehäuselüfter vorhanden !

Posted by hs7sv on Feb. 21 2006,01:52
Quote (AwPhuch @ Jan. 05 2006,03:52)
Double posting is considered rude bud...no offense   :;):

< http://damnsmalllinux.org/cgi-bin....t=11585 >

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.