From: Dirk S. <d.s...@ju...> - 2003-12-14 22:03:51
|
Hi guys, tt0005 wrote: > Heiko Zuerker wrote: > >> Hi, >> >> Dirk Schaare wrote: >> >>> i've tried to install DL on a VIA Mini-ITX device >>> (http://www.lex.com.tw/case-light.htm) >>> >> They have some really interesting stuff, but no pricing information. >> :-(( >> I'm still hoping that somebody donates a system like this.... ;-) >> We bought this from www.bebensee.de (german shop) for 319 ,-EUR, but a friend has found a cheaper offer. If you like to have further information, drop me a mail. >>> My goal is to have disk- and fanless, reliable Firewall/Router. OS >>> should be started from internal CF-Card, without the need for rw >>> access. So DL seems to be the best choice at all :) >>> >> Yes it should fit the requirements. >> >>> I have managed to install DL on CF-Card (dev/hdc) and read/write >>> config files to an USB-Pendrive with the "install_to_usb" script. So >>> far it seems that all hardware of my device is supported and >>> recognized through DL. The main Problem is, that DL tries to find >>> the CD-ROM and exits the boot-process. Next idea was to alter the >>> linuxrc / mount_cdrom script in initrd, but I couldn't make any >>> changes in the initrd. Everytime i try to edit a script in the newly >>> mounted, i wasn't able to save the altered file. Same happens when i >>> mount the initrd on another Machine. >>> >>> Is there a way to make DL boot from the CF-Card without searching >>> for the CD-ROM? >>> >>> >> It should work.... >> I'm a bit confused, did you copy the stuff via install_to_usb to the >> CF card ? >> Are all the files which on the CD are on the CF card, too ? >> >> Oh wait a minute..... the mount_cdrom script only checks for SCSI >> "harddisk" devices and IDE or SCSI CD-ROMs. > Yep, here's the point. The Lex-Board has an IDE-Interface for the CF-Card. It was presented as /dev/hdc to the OS. >> >> Can you try it with the latest testing release in >> ftp://ftp.devil-linux.org/pub/devel/testing/ ? >> I did some changes to the initrd which should solve your problem. > Ok, I'll test the new release tomorrow at work. >> With a bit luck, I'm also uploading a brand new testing release tonight. >> >>> Thanks in advance and kudos for the good work on DL. >>> >>> >> Thanks >> >> Heiko > > > Yes, I just went through this. You have to gunzip the /boot/initrd.gz > file, then mount it on /initrd, then 'copy -a' the files to somewhere > else. The initrd itself is a CramFS file, and is a read-only fs. Once > you fix the cdrom and linux rc scripts to your liking, do a > 'mkfs.cramfs' on the new directory, then gzip it and copy over the old > initrd.gz on flash deice. Ouch - didn't notice that it was cramfs. Sorry and thanks for advice. > > Does this board use the CF card as an IDE device? I had to rearrange > the search lists in a couple of scripts to allow it to use the > etc.tar.bz2 off the hda device. Also the save-config script didn't > support hda. Also had a few problems with it as a USB device. It's hdc in this device, but don't get me wrong. I don't want to save the config on the CF-Card. They have very limited write capabilities, so I'll only want to substitute the CD-ROM through the CF-Card. And that is mainly for design reasons (a normal CD-ROM is as big as the whole device ;) Reading and Saving the config from USB-Pendrive works just fine. The capability to read the config into the RAM-Disk and pull the stick after boot is really great. > > > If you want to use a smaller flash device, I was able to make /usr > into a CramFS file and mount it in the pre_init script. This brings it > all down to about 200MB. But as Huerko says, 1.1 should make all that > unecessary but I was unsure as to it's stability. > Tim > The CF-Card we use has 512 MB, so space is no problem. Thanks for now, more after the test tomorrow... Dirk |