Browse Source

Updated to new SourceForge CVS locations, and fix a couple of minor

mistakes.
tags/v0.9.3
Michael Brown 18 years ago
parent
commit
7d239660fb
1 changed files with 12 additions and 9 deletions
  1. 12
    9
      contrib/bochs/README

+ 12
- 9
contrib/bochs/README View File

14
 
14
 
15
 To get bochs running is fairly simple:
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
       make
18
       make
19
 
19
 
20
 2.  Get the bochs source code:
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
 3.  Configure bochs with
26
 3.  Configure bochs with
25
       pushd bochs
27
       pushd bochs
26
-      ./configure --enable-all-optimisations --enable-pci --enable-pnic
28
+      ./configure --enable-all-optimisations --enable-pci --enable-pnic \
27
                   --enable-debugger --enable-magic-breakpoints --enable-disasm
29
                   --enable-debugger --enable-magic-breakpoints --enable-disasm
28
       popd
30
       popd
29
 
31
 
30
 4.  Build bochs:
32
 4.  Build bochs:
31
       make -C bochs
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
       ./tunctl -u <username> -t tap0
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
       subnet 10.254.254.0 netmask 255.255.255.252 {
42
       subnet 10.254.254.0 netmask 255.255.255.252 {
40
         range dynamic-bootp 10.254.254.1 10.254.254.1;
43
         range dynamic-bootp 10.254.254.1 10.254.254.1;
41
       }
44
       }
45
     machine you are using for running Bochs.  If not, then you're on
48
     machine you are using for running Bochs.  If not, then you're on
46
     your own.
49
     your own.
47
 
50
 
48
-7.  Restart dhcpd
51
+7.  As root, restart dhcpd
49
       /etc/init.d/dhcpd restart
52
       /etc/init.d/dhcpd restart
50
 
53
 
51
 8.  Build Etherboot images
54
 8.  Build Etherboot images

Loading…
Cancel
Save