code.fastix.org

Dateiansicht:

Datei:Projekte -> Linux:ubuntu-for-raspberry-installer -> doc -> README.TXT
md5:0e0f7970de5067f0bb7e908ae41b1ab9
sha1:6c83a3f7eb0eacc9d05fd4b41badf14a406a30ac
  1. What this does:
  2.  
  3. This generate a build of ubuntu for raspberry 2 [B][+] with swap, self-configured user,
  4. password, software (from repo) and configs (e.g. ssh-server for headless using)
  5.  
  6. You MUST edit  rpi2-settings.sh !
  7. You SHOLD edit rpi2-extra_files.sh !
  8.  
  9. The default-config install a ubuntu 14.04 server with ssh-server, mc, vim, w3m, german-language...
  10.  
  11. Needed Software:
  12.  
  13. must-have: qemu-debootstrap (paket: qemu-user-static)
  14. must-have: debootstrap
  15. nice to have: bmap-tools (for faster writing)
  16. (sudo apt-get install debootstrap qemu-debootstrap bmap-tools will executed by rpi2-build-system.sh)
  17.  
  18.  
  19. It is a good idea to use a own [apt-]proxy. (e.g.: apt-cacher-ng)
  20.  
  21. Simple usage:
  22.  
  23. 1.) Edit rpi2-settings.sh and extra_files.sh. SetT WriteTo='mmcblk0'
  24. 2.) Put the mmc-card into the slot (If you want to create on. Note: you will LOST ALL data on the card!)
  25. 3.) Run sudo ./rpi2-clear.sh
  26. 4.) Run sudo ./rpi2-build-system.sh
  27.  
  28. Extended usage:
  29.  
  30. 1.) Edit rpi2-settings.sh and extra_files.sh. SET WriteTo='none'
  31. 2.) Run sudo ./rpi2-clear.sh
  32. 3.) Run sudo ./rpi2-build-system.sh
  33. 4.) Make your changes into the build-directory
  34. 5.) Write the mmc-card with sudo ./rpi2-create-mmcblk0.sh
  35.  
  36. Files:
  37.  
  38. * rpi2-build-system.sh
  39.     Use this 4 generate a build (dir-tree) og ubuntu 4 raspberry 2
  40.     and / or a image file or a mmc-card.
  41.     If you doubt? Do not edit this file.
  42.  
  43. * rpi2-clear.sh
  44.     This remove the previous build.
  45.     If you doubt? Dont edit this file.
  46.  
  47. * rpi2-create-fdisk-keys_with_swap
  48.     Used by rpi2-create-image.sh and rpi2-create-mmcblk0.sh
  49.     If you doubt? Dont edit this.
  50.  
  51. * rpi2-create-fdisk-keys_without_swap
  52.     used by rpi2-create-image.sh and rpi2-create-mmcblk0.sh (ToDo)
  53.     If you doubt? Dont edit this.
  54.  
  55. * rpi2-settings.sh
  56.     Settings for build. To edit.
  57.  
  58. * rpi-extra_files.sh
  59.     Settings for build. You must edit this file (e.g. network-settings).
  60.  
  61. * rpi2-create-mmcblk0.sh
  62.     write build to mmcblk0
  63.     If you doubt? Dont edit this file.
  64.  
  65. * rpi2-create-image.sh
  66.     write build to a image (file)
  67.     If you doubt? Dont edit this file.
  68.  
  69.  
  70.  
  71.  
  72.