Advertisement
heimi

install astlinux to a 128M CF card

Jun 5th, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. # mount downloaded image:
  2. losetup /dev/loop0 astlinux-1.1.6-asterisk-11.8.1.img -o $((63 * 512))
  3. # mount /dev/loop0 as vfat to /mnt/RUNNIX/
  4. # setup cf
  5. fdisk -c=dos /dev/sdb
  6. create partition: start 63, +64M, type 6; make active
  7. mkdosfs -n RUNNIX /dev/sdb1
  8. cp -a /mnt/RUNNIX/* /mnt/test/
  9. syslinux -i /dev/sdb1
  10. dd conv=notrunc if=astlinux-1.1.6-asterisk-11.8.1.img of=/dev/sdb bs=440 count=1
  11. --- boot from cf and setup astlinux
  12. login with https (admin/astlinux), configure rw space on remaining cf space, reboot twice as requested, change password.
  13.  
  14. todo: check for required space for moh / sounds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement