-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marko Nurmenniemi wrote:
> ...
> OK but to the point. Is there a tried and easy method to make a IDE-CF
> image based on the disk version I'm now using?
> 
> -Marko
> 
At the very fist time I worked as follow
- - copy all floppy on a folder on my PC (Linux)
- - copy initrd.lrp from this folder on /tmp/initrd.gz
- - gunzip /tmp/initrd.gz
- - mount -o loop /tmp/initrd /mnt
- - cp ide-mod.o >> /mnt/boot/lib/modules
- - echo ide-disk >> /mnt/boot/etc/modules
- - echo ide-probe-mod >> /mnt/boot/etc/modules
- - umount /mnt
- - gzip /tmp/initrd
- - copy /tmp/initrd.gz into the original folder

then

- - insert the cf into an adaptor (ide or PCMCIA)
- - perform dmesg to see the device
- - with fdisk /dev/device create a partition:
   - fdisk /dev/device
     - n (new partition)
     - p (primary)
     - 1 (first)
     - Default (first cylinder)
     - Default (last cylinder)
     -------
     - a (make partition bootable)
     - 1 (partition)
     -------
     - t (change partition type)
     - 1 (partition)
     - 6 (FAT 16)
     -------
     - w (write and exit)

- - make filesystem mkdosfs /dev/device
- - install syslinux syslinux -s /dev/device
- - avoid syslinux from your directory (the goot was created by syslinus
on your CF):  rm /the_directory_from_floppy/ldlinux.sys
- - Mount cf card mount /dev/device /mnt
- - Copy all files
   - cp /the_directory_from_floppy/* /mnt
   - sync
   - umount /mnt
- - Extract CF and use on your system

HTH

Giovanni


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGn5194yUxzYWi6QcRAq7KAJ0aQNIIK5SSkavreVRn7IXr8/AMiwCZARzZ
lQp3G4LijLFIk+Tcsn+19QE=
=Jnac
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to