diff options
Diffstat (limited to '')
-rw-r--r-- | README.md | 30 |
1 files changed, 29 insertions, 1 deletions
@@ -18,29 +18,47 @@ Installing 64 bit Linux build image. | |||
18 | Get an Ubuntu 10.04.1 AMD64 desktop install CD image. | 18 | Get an Ubuntu 10.04.1 AMD64 desktop install CD image. |
19 | 19 | ||
20 | Create a qemu disk image - | 20 | Create a qemu disk image - |
21 | |||
21 | qemu-img create -f qcow2 ubuntu64_base.qcow2 20G | 22 | qemu-img create -f qcow2 ubuntu64_base.qcow2 20G |
22 | 23 | ||
24 | |||
23 | Start up qemu, booting from the CD image the first time - | 25 | Start up qemu, booting from the CD image the first time - |
26 | |||
24 | qemu-system-x86_64 -M pc -cpu qemu64 -m 1G -hda ubuntu64_base.qcow2 -cdrom ubuntu-10.04.1-desktop-amd64.iso -boot once=d | 27 | qemu-system-x86_64 -M pc -cpu qemu64 -m 1G -hda ubuntu64_base.qcow2 -cdrom ubuntu-10.04.1-desktop-amd64.iso -boot once=d |
25 | 28 | ||
29 | |||
26 | Install Ubuntu. Mostly select the defaults, except - | 30 | Install Ubuntu. Mostly select the defaults, except - |
31 | |||
27 | Log in automatically. | 32 | Log in automatically. |
28 | 33 | ||
34 | |||
29 | Update the system - | 35 | Update the system - |
36 | |||
30 | apt-get update | 37 | apt-get update |
38 | |||
31 | apt-get dist-upgrade | 39 | apt-get dist-upgrade |
32 | 40 | ||
41 | |||
33 | Make sure this is in /etc/init/ttyS0.conf - | 42 | Make sure this is in /etc/init/ttyS0.conf - |
43 | |||
34 | start on stopped rc RUNLEVEL=[2345] | 44 | start on stopped rc RUNLEVEL=[2345] |
45 | |||
35 | stop on runlevel [!2345] | 46 | stop on runlevel [!2345] |
47 | |||
36 | respawn | 48 | respawn |
49 | |||
37 | exec /sbin/getty -iLn -l /bin/bash 115200 ttyS0 vt102 | 50 | exec /sbin/getty -iLn -l /bin/bash 115200 ttyS0 vt102 |
38 | 51 | ||
39 | Install developmont stuff, and build time dependencies. | 52 | |
53 | Install development stuff, and build time dependencies. | ||
54 | |||
40 | apt-get install cmake binutils-gold bison build-essential flex git-core texinfo | 55 | apt-get install cmake binutils-gold bison build-essential flex git-core texinfo |
56 | |||
41 | apt-get install freeglut3-dev libcrypto++-dev libgcrypt11-dev libgpg-error-dev libgsf-1-dev libmagic-dev libssl-dev libxinerama-dev libxrender-dev | 57 | apt-get install freeglut3-dev libcrypto++-dev libgcrypt11-dev libgpg-error-dev libgsf-1-dev libmagic-dev libssl-dev libxinerama-dev libxrender-dev |
42 | 58 | ||
59 | |||
43 | Shutdown qemu, then setup the snapshot - | 60 | Shutdown qemu, then setup the snapshot - |
61 | |||
44 | qemu-img create -f qcow2 -o backing_file=ubuntu64_base.qcow2 ubuntu64_diff.qcow2 | 62 | qemu-img create -f qcow2 -o backing_file=ubuntu64_base.qcow2 ubuntu64_diff.qcow2 |
45 | 63 | ||
46 | 64 | ||
@@ -56,15 +74,25 @@ Installing Windows XP build image. | |||
56 | 74 | ||
57 | Been a long time since I did this, forgot how. These are the general tasks - | 75 | Been a long time since I did this, forgot how. These are the general tasks - |
58 | 76 | ||
77 | |||
59 | create the disk image | 78 | create the disk image |
79 | |||
60 | install under qemu | 80 | install under qemu |
81 | |||
61 | reboot | 82 | reboot |
83 | |||
62 | labourously install all the development stuff and build time dependencies | 84 | labourously install all the development stuff and build time dependencies |
85 | |||
63 | (refer to http://wiki.kokuaviewer.org/wiki/Imprudence:Compiling/1.4/Windows for details) | 86 | (refer to http://wiki.kokuaviewer.org/wiki/Imprudence:Compiling/1.4/Windows for details) |
87 | |||
64 | reboot | 88 | reboot |
89 | |||
65 | setup cygwin shell on serial port as a service | 90 | setup cygwin shell on serial port as a service |
91 | |||
66 | or sshd, seems to work better | 92 | or sshd, seems to work better |
93 | |||
67 | reboot | 94 | reboot |
95 | |||
68 | Then reboot more, coz it's Windows. | 96 | Then reboot more, coz it's Windows. |
69 | 97 | ||
70 | 98 | ||