kubilai
Mittwoch, April 28, 2010
Mittwoch, April 28, 2010
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).
- Download the “FreeNAS Image” from FreeNAS.org;
- Insert target Compact Flash Card "CF" into a Card Reader (it does not work with the CF to IDE Adapter for me);
- Create a File System: mkdosfs -vF16 -I /dev/sdcf
- 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)
- Create a File System for that: mkdosfs -vF16 /dev/sdcf1;
- Sync Disk: sync
- Unplug and Replug the CF card
- 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)
- Eject the CF card (ex. “umount /dev/sdcf”);
- Plug-in the CF card into CF to IDE Adapter;
- Boot your FreeNAS appliance;