|
@@ -14,28 +14,31 @@ but it doesn't seem to quite work.)
|
14
|
14
|
|
15
|
15
|
To get bochs running is fairly simple:
|
16
|
16
|
|
17
|
|
-1. Build the utilities in this directory
|
|
17
|
+1. Build the utilities in this directory:
|
18
|
18
|
make
|
19
|
19
|
|
20
|
20
|
2. Get the bochs source code:
|
21
|
|
- cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bochs login
|
22
|
|
- cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bochs co bochs
|
|
21
|
+ cvs -d:pserver:anonymous@bochs.cvs.sourceforge.net:/cvsroot/bochs \
|
|
22
|
+ login
|
|
23
|
+ cvs -d:pserver:anonymous@bochs.cvs.sourceforge.net:/cvsroot/bochs \
|
|
24
|
+ co bochs
|
23
|
25
|
|
24
|
26
|
3. Configure bochs with
|
25
|
27
|
pushd bochs
|
26
|
|
- ./configure --enable-all-optimisations --enable-pci --enable-pnic
|
|
28
|
+ ./configure --enable-all-optimisations --enable-pci --enable-pnic \
|
27
|
29
|
--enable-debugger --enable-magic-breakpoints --enable-disasm
|
28
|
30
|
popd
|
29
|
31
|
|
30
|
32
|
4. Build bochs:
|
31
|
33
|
make -C bochs
|
32
|
34
|
|
33
|
|
-5. Set up a TAP virtual network device:
|
34
|
|
- modprobe tun
|
|
35
|
+5. As root, set up a TAP virtual network device:
|
|
36
|
+ /sbin/modprobe tun
|
|
37
|
+ chmod o+r /dev/net/tun
|
35
|
38
|
./tunctl -u <username> -t tap0
|
36
|
|
- ifconfig tap0 up 10.254.254.2 netmask 255.255.255.0
|
|
39
|
+ /sbin/ifconfig tap0 up 10.254.254.2 netmask 255.255.255.0
|
37
|
40
|
|
38
|
|
-6. Add the following fragment to /etc/dhcpd.conf:
|
|
41
|
+6. As root, add the following fragment to /etc/dhcpd.conf:
|
39
|
42
|
subnet 10.254.254.0 netmask 255.255.255.252 {
|
40
|
43
|
range dynamic-bootp 10.254.254.1 10.254.254.1;
|
41
|
44
|
}
|
|
@@ -45,7 +48,7 @@ To get bochs running is fairly simple:
|
45
|
48
|
machine you are using for running Bochs. If not, then you're on
|
46
|
49
|
your own.
|
47
|
50
|
|
48
|
|
-7. Restart dhcpd
|
|
51
|
+7. As root, restart dhcpd
|
49
|
52
|
/etc/init.d/dhcpd restart
|
50
|
53
|
|
51
|
54
|
8. Build Etherboot images
|