kubilai

How to Install FreeNAS to a Compact Flash Card

How to Install FreeNAS to a Compact Flash Card (to use it within a CF to IDE Adapter).

  1. Download the “FreeNAS Image” from FreeNAS.org;
  2. Insert target Compact Flash Card "CF" into a Card Reader (it does not work with the CF to IDE Adapter for me);
  3. Create a File System: mkdosfs -vF16 -I /dev/sdcf
  4. Create a Partition FAT16 on the CF drive:
    • fdisk /dev/sdcf;
    • n (new partition);
    • p (primary);
    • 1 (unique, just press enter two times);
    • t (change file system);
    • 6 (FAT16);
    • w (write to CF card)
    After that you have /dev/sdcf1 as new partition;
  5. Create a File System for that: mkdosfs -vF16 /dev/sdcf1;
  6. Sync Disk: sync
  7. Unplug and Replug the CF card
  8. Even though this image is a “.img” file, it is gzipped, so it needs to be extracted to your target volume:
    gunzip -c /FreeNAS-amd64-embedded-xxx.img | dd of=/dev/sdcf

    (note: don't use device /dev/sdcf1)

  9. Eject the CF card (ex. “umount /dev/sdcf”);
  10. Plug-in the CF card into CF to IDE Adapter;
  11. Boot your FreeNAS appliance;

0 Kommentare: