1 Standart Debian install
6 all file in one partition
16 make separte vdi images for
23 just base system, run selection, but no tasks
29 Add sources.list for backports and neurodebian
31 wget -O - http://backports.org/debian/archive.key | apt-key add -
32 wget -O - http://neuro.debian.net.asc | apt-key add -
34 install kernel 2.6.27 (or later) from backports to have support for OpenGL
35 direct rendering in VirtualBox
39 alacarte desktop-base evince file-roller gcalctool gdm gksu gnome-core
40 gnome-keyring gnome-utils gnome-volume-manager gnome-mount gthumb
41 bash-completion less mc gnome-themes
43 # cleanup unwanted stuff
44 # video drivers (all but vesa)
45 aptitude purge $(apt-cache search --names-only --installed xserver-xorg-video | grep xserver-xorg-video | cut -d ' ' -f 1,1) xserver-xorg-video-vesa+
47 aptitude purge radeontool sound-juicer
49 # prepare for kernel module building (guest additions)
50 aptitude install module-assistant
51 module-assistant prepare
52 bash /media/cdrom/VBoxLinuxAdditions-amd64.run (need 2.6.27+ kernel for direct rendering)
54 #make sure that xorg.conf has 'vboxvideo' as device driver and also
55 echo "vboxvideo" >> /etc/modules
57 # make user brain allowed to execute sudo without a password
60 # and uncomment the respective line at the end of the file
61 # (make sure there is nothing below it
63 # configure shared folders
65 mount -t vboxsf host /mnt/host
66 # better put the following into the session startup config of the user
67 sudo mount -t vboxsf -o defaults,uid=brain,gid=brain host /mnt/host
71 aptitude install afni afni-atlases amide caret dicomnifti fsl fsl-atlases lipsia
72 minc-tools odin psychopy python-mvpa python-pyepl
74 # general scientifically useful stuff
75 aptitude install ipython
77 mkdir -p .config/backgrounds
78 cp /mnt/host/.config/awesome/hotbrain.png .config/backgrounds/
81 sudo cp /mnt/host/hacking/neurodebian/artwork/icon.svg /usr/share/icons/Mist/scalable/places/start-here.svg
87 # shrink VDI image by writting to a new (unfragmented) image
88 # target VDI needs to have proper partition table and MBR
89 # XXX maybe 'dd' could be used on the fuse-mounted VDIs
90 sudo ~/vdfuse-v60 -f ~/.VirtualBox/HardDisks/NeuroDebian.vdi mnt/src
91 sudo ~/vdfuse-v60 -f ~/.VirtualBox/HardDisks/nd_test.vdi mnt/dest
92 sudo mount -o loop mnt/src/Partition1 src
93 sudo mount -o loop mnt/dest/Partition1 dest
94 rsync -vxaHD --delete --exclude=src/dev --exclude=src/proc --exclude=src/tmp src dest