summaryrefslogtreecommitdiff
path: root/Distrib/BochsFAQ.mdwn
blob: df6532413318ddcb68e6a1b909b107ce5d7c5469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
%TOC%

# <a name="GNU_pre0_3_J2_for_Bochs_mini_FAQ"> </a> GNU pre0.3-J2 for Bochs mini-FAQ

----

## <a name="What_do_you_mean_GNU_the_GNU_Hur"> </a> What do you mean "GNU", the GNU Hurd?

Yes and no. See <http://www.gnu.org/software/hurd/faq.en.html#q1-2>

## <a name="Where_are_"> Where are...? </a>

Latest version of this FAQ: [[Distrib/BochsFAQ]]

Latest GNU image for Bochs: [http://sourceforge.net/project/showfiles.php?group\_id=12580](http://sourceforge.net/project/showfiles.php?group_id=12580)

## <a name="Disk_line_for_bochsrc_"> Disk line for .bochsrc? </a>

for Bochs 2.0 or later:

        ata0-master: type=disk, path="gnu.img", cylinders=1024, heads=16, spt=63

for older versions:

        diskc: file="gnu.img", cyl=1024, heads=16, spt=63

## <a name="My_PATH_and_prompt_are_weird_and"> </a> My PATH and prompt are weird, and X clients fail

the profile is not loaded properly, do it manualy with `". /etc/profile"`.

## <a name="How_can_i_change_terminals_"> How can i change terminals? </a>

The Mach console doesn't have multi-terminal capability, and the usual solution is the "screen" program, but..

..the new console server is installed and configured with 6 terminals. beware it hasn't been properly tested. You can launch it with the ncursesw driver:

        console -d ncursesw /dev/vcs
 and then switching via `C-w 1` (or 2, 3, ...). you can exit it with `C-w x`

see <http://lists.debian.org/debian-hurd/2002/debian-hurd-200209/msg00054.html> for more details

IMPORTANT: note that X doesn't work well while running the console server.

## <a name="Does_X_work_"> Does X work? </a>

Somewhat:

* DRI and speedo modules won't load so they're deactivated.
* The VESA driver also failed so VGA is being used.
* more than 8 bpp won't work.
* for some weird reason the mouse server in `/dev/mouse` doesn't respond, so the mouse is inoperative.
* GNU is still an unstable OS which makes X crash often on it.

To reconfigure it:

        dpkg-reconfigure xserver-xfree86
 then apply a patch to fix the mouse section:
        patch /etc/X11/XF86config-4 /root/XF86Config-4.diff
 Installed clients are blackbox window manager and rxvt terminal emulator.

## <a name="Is_network_configured_"> Is network configured? </a>

Yes, to change parameters use:

        settrans -apfg /servers/socket/2 /hurd/pfinet [options to pfinet]
 (see `/hurd/pfinet --help` for details)

## <a name="How_do_i_mount_stuff_"> How do i mount stuff? </a>

        settrans -afg <node> /hurd/<translator> <options to translator>
 Where `node` is your mount point and `translator` is the filesystem server. Add `-p` to settrans if you want it to stay over reboots (fstab-like)

## <a name="Anything_neat_to_try_"> Anything neat to try? </a>

yes! instead of `"su"` use `"sush"`, a more flexible version that manages multiple UIDs.

you can also play with userspace filesystems for NFS and FTP in `/hurd/{nfs,ftpfs}` that you can run as user, debug with GDB, etc.

## <a name="More_questions_"> More questions? </a>

Read the FAQ (<http://www.gnu.org/software/hurd/faq.en.html>) for a general overview on the GNU system.

-- [[Main/RobertMillan]] - 20 Nov 2002

TWikified it --- this is my first attempt at TWiki, I hope it's easier to read.

-- [[Main/DaniloSegan]] - 08 Jan 2003