OLIMEX© 2012
OLinuXino-MAXI user's manual
& sudo fdisk /dev/sdb
5. With the help of the menu create two partitions. The steps are the following:
5.1. Type “
p
” to view existing partitions on the SD-card
5.2. Type “
d
”
to delete all partitions
5.3. Type “
n
” to create new one
5.4. Set “
1
” as partition number
5.5. Type “
p
” to select primary partition
5.6. Press
Enter
to select default beginning sector
5.7. Type “
+32M
” to create 32MB partition
5.8. Type “
t
” to change partition type
5.9. Type “
53
”
5.10. Type “
n
” to create another partition
5.11. Set “
2
” as partition number
5.12. Type “
p
” to set partition as primary
5.13. Press
Enter
to set default size of the partition
5.14. Type “
w
” to write partitions to the SD-card
6. Create the second partition with ext3 file system:
& sudo mkfs.ext3 /dev/sdb2
7. Mount the second partition:
& sudo mount /dev/sdb2 /mnt/mmc
If you don't have mountpoint you should create one. Just type:
sudo mkdir /mnt/dir
8. Login as root for the next operations:
& sudo su
IMPORTANT NOTE:
It is necessary to log-in as root, not as super-user!
9. Extract the downloaded tarball into the second partitions:
& tar -xzf /home/User/Archlinux/
xxxxx
.tar.gz
10. The next step is to to write the bootloader and kernel image to the first partition.
& dd if=/Archlinux/
xxxxx
.img of=/dev/sdb1 ibs=512 seek=4 conv=sync,notrunc
11. Unmount the SD-card, it should be ready for use.
& cd
& umount /dev/sdb2
12. Download the new kernel patch from:
xxxxxxxxxxxxxxxxxxxx
Page 16 of 60