-
Notifications
You must be signed in to change notification settings - Fork 5
Prepare SD card
Christian Strobel edited this page Nov 30, 2015
·
9 revisions
- Check before: This description assumes that the device of the SD card is /dev/sdb
- Ensure that no partition of the SD card is mounted
sudo umount -lf $(mount -l | grep /dev/sdb | awk '{print $3}')
- Create partition table and ext2-partition on SD card
echo -e "o\nn\np\n1\n\n\nw" | sudo fdisk /dev/sdb
sudo mkfs.ext2 /dev/sdb1
- Download latest rootfs:
https://github.com/Fraunhofer-IIS/ogre/releases
- Unpack rootfs and copy to SD-card
sudo mount /dev/sdb1 /mnt/
sudo tar -xvf kontron-smx6-linaro-rootfs-1.1_fhg_407.tar.bz2 # Consider version number in filename
sudo rsync -aHP ./smx6_image/ /mnt/
sudo umount /mnt
- Set the correct hostname in /etc/hostname (regarding DNS)