Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 111551
Collapse All | Expand All

(-)old-ed.xml (-122 / +100 lines)
Lines 1-156 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--DOCTYPE guide SYSTEM "full/path/to/guide.dtd">-->
3
<!DOCTYPE guide SYSTEM "guide.dtd">
2
<!-- $Header$ -->
4
<!-- $Header$ -->
3
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5
<guide link="external-devices.xml" lang="en">
4
5
<guide link="/doc/en/external-devices.xml">
6
<title>Gentoo Documentation Guide</title>
6
<title>Gentoo Documentation Guide</title>
7
7
8
<author title="Author">
8
<author title="Author">
9
  <mail link="diox@swords.be">Dimitry bradt</mail>
9
  <mail link="diox@swords.be">Dimitry bradt</mail>
10
</author>
10
</author>
11
12
<abstract>
11
<abstract>
13
This howto will show you how to use external (usb/firewire) storage devices.
12
	This howto will show you how to use external (usb/firewire) storage 
13
	devices.
14
</abstract>
14
</abstract>
15
16
<!-- The content of this document is licensed under the CC-BY-SA license -->
15
<!-- The content of this document is licensed under the CC-BY-SA license -->
17
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
16
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
18
<license/>
17
<license/>
19
20
<version>1.0</version>
18
<version>1.0</version>
21
<date>2006-05-12</date>
19
<date>2006-05-12</date>
22
20
23
<chapter>
21
<chapter>
24
<title>HAL/pmount</title>
22
<title>HAL/pmount</title>
25
<section>
23
<section>
26
<title>Info</title>
24
<title>Info</title>
27
<body>
25
<body>
28
26
29
<p>
27
<p>
30
HAL is a hardware abstraction layer, which is a piece of software that provides
28
HAL is a hardware abstraction layer, which is a piece of software that provides 
31
a view of the various hardware attached to a system. In addition to this, HAL
29
a view of the various hardware attached to a system. In addition to this, HAL 
32
keeps detailed metadata for each piece of hardware and provides hooks such that
30
keeps detailed metadata for each piece of hardware and provides hooks such that 
33
system and desktop-level software can react to changes in the hardware 
31
system and desktop-level software can react to changes in the hardware 
34
configuration in order to maintain system policy.
32
configuration in order to maintain system policy.
35
</p>
33
</p>
36
34
37
<p>
35
<p>
38
The most important goal of HAL is to provide plug-and-play facilities for
36
The most important goal of HAL is to provide plug-and-play facilities for
39
UNIX-like desktops with focus on providing a rich and extensible description of
37
UNIX-like desktops with focus on providing a rich and extensible description 
40
device characteristics and features. One example of the functionality provided
38
of device characteristics and features. One example of the functionality 
41
by HAL is when you plug in a USB storage device. HAL can automatically create
39
provided by HAL is when you plug in a USB storage device. HAL can automatically
42
an appropriate entry in the /etc/fstab file and create the corresponding mount
40
create an appropriate entry in the /etc/fstab file and create the corresponding
43
point in <path>/mnt</path>. Extra info:
41
mount point in /mnt. Extra info : <uri>http://www.ometer.com/hardware.html</uri>
44
<uri>http://www.ometer.com/hardware.html</uri>
45
</p>
42
</p>
46
47
</body>
43
</body>
48
</section>
44
</section>
49
<section>
45
<section>
50
<title>configuring HAL</title>
46
<title>configuring HAL</title>
51
<body>
47
<body>
52
48
53
<p>
49
<p>
54
Before emerging the needed programs you should enable <c>KOBJECT_UEVENT</c> and
50
Before emerging the needed programs you should enable KOBJECT_UEVENT and 
55
<c>CONFIG_HOTPLUG</c> in your kernel. Search after these options with <c>/</c>,
51
CONFIG_HOTPLUG in your kernel. Search after these options with "/", or adapt 
56
or adapt the <path>.config</path> located in
52
the .config located in /usr/src/linux/.config.
57
<path>/usr/src/linux/.config</path>.
58
</p>
53
</p>
59
54
60
<pre caption="/usr/src/linux/.config">
55
<pre caption="/usr/src/linux/.config">
61
<var>KOBJECT_UEVENT=y</var>
56
<var>KOBJECT_UEVENT=y</var>
62
<var>CONFIG_HOTPLUG=y</var>
57
<var>CONFIG_HOTPLUG=y</var>
63
</pre>
58
</pre>
64
59
65
<p> 
60
<p> 
66
Before emerging you need to enable the <c>hal</c> USE flag.
61
Before emerging you need to enable the hal use flag.
67
</p>
62
</p>
68
63
69
<note>
64
<note>
70
You could also emerge <c>kde-base/kioslaves</c> with the <c>hal</c> USE flag.
65
You could also emerge <c>kde-base/kioslaves</c> with the <c>hal</c> use flag.
71
KDE Has make some nice hal support. Read more at
66
KDE Has make some nice hal support. Read more at 
72
<uri>http://wiki.kde.org/tiki-index.php?page=DBUS</uri>
67
<uri>http://wiki.kde.org/tiki-index.php?page=DBUS</uri>
73
</note>
68
</note>
74
69
75
<pre caption="Enable 'hal' use flag">
70
<pre caption="enable 'hal' use flag">
76
# <i>euse -E hal</i>
71
# <i>euse -E hal</i>
77
# <i>emerge -v hal dbus hotplug</i>
72
# <i>emerge -v hal dbus hotplug</i>
78
# <i>rc-update add dbus default</i>
73
# <i>rc-update add dbus default</i>
79
# <i>/etc/init.d/dbus start</i>
74
# <i>/etc/init.d/dbus start</i>
80
# <i>rc-update add hald default</i>
75
# <i>rc-update add hald default</i>
81
# <i>/etc/init.d/hald start</i>
76
# <i>/etc/init.d/hald start</i>
82
</pre>
77
</pre>
83
78
84
<p> 
79
<p> 
85
Instead of configuring our software; we could just use some applications to do
80
Instead of configuring our software; we could just use some
86
this for us.
81
applications to do this for us.
87
</p>
82
</p>
88
83
89
<pre caption="Autoconf software">
84
<pre caption="autoconf software">
90
# <i>echo "sys-apps/pmount ~x86" >> /etc/portage/package.keywords</i>
85
# <i>echo "sys-apps/pmount ~x86" >> /etc/portage/package.keywords</i>
91
# <i>emerge -v pmount</i>
86
# <i>emerge -v pmount</i>
92
# <i>emerge -v ivman</i>
87
# <i>emerge -v ivman</i>
93
</pre>
88
</pre>
94
89
95
<note>
90
<note>
96
At this point you may test this by typing <c>media:/</c> in your Konqueror.
91
At this point you may test this by typing <c>media:/</c> in your Konqueror.
97
(You will need to insert an external storage device into your USB-port.)
92
(You will need to insert an external storage device into your USB-port.)
98
</note>
93
</note>
99
94
100
<note>
95
<note>
101
We put <c>sys-apps/ivman</c> in this howto because it gives the user a nice
96
We putted <c>sys-apps/ivman</c> in this howto because it gives the user a nice
102
pup-up window and asks the user where he'd like to mount the <e>new</e>
97
pup-up window and asks the user where he'd like to mount the <e>new</e>
103
hardware.
98
hardware.
104
</note>
99
</note>
105
100
106
<p>
101
<p>
107
Now your window manager automatically asks you where he has to mount your
102
Now your window manager automaticly asks you where he has to mount your 
108
external devices. The only thing we could renice is let hal make symlinks of
103
external devices. The only thing we could renice is let hal make symlinks
109
our devices. We do this by making sure it is owned by group hal.
104
of our devices. We do this by making sure it is owned by group hal.
110
</p>
105
</p>
111
106
112
<pre caption="/etc/udev/rules.d/hal.rules">
107
<pre caption="/etc/udev/rules.d/hal.rules">BUS=="usb", 
113
BUS=="usb", 
114
SYSFS{serial}=="123456789011121314", SYSFS{product}=="JUMPDRIVE",\
108
SYSFS{serial}=="123456789011121314", SYSFS{product}=="JUMPDRIVE",\
115
KERNEL=="sd?1", NAME="%k", SYMLINK="usbdrive", GROUP="hal"
109
KERNEL=="sd?1", NAME="%k", SYMLINK="usbdrive", GROUP="hal"
116
BUS=="usb", SYSFS{manufacturer}=="Sony", SYSFS{product}=="PSP Type A",\ 
110
BUS=="usb", SYSFS{manufacturer}=="Sony", SYSFS{product}=="PSP Type A",\ 
117
KERNEL=="sd?1", NAME="%k", SYMLINK="psp", GROUP="hal"
111
KERNEL=="sd?1", NAME="%k", SYMLINK="psp", GROUP="hal"
118
BUS=="usb", SYSFS{manufacturer}=="Apple",  SYSFS{product}=="iPod",\
112
BUS=="usb", SYSFS{manufacturer}=="Apple",  SYSFS{product}=="iPod",\
119
KERNEL=="sd?2", NAME="%k", SYMLINK="ipod", GROUP="hal"
113
KERNEL=="sd?2", NAME="%k", SYMLINK="ipod", GROUP="hal"
120
</pre>
114
</pre>
121
115
122
<p>
116
<p>
123
and also edit <path>/etc/fstab</path>:
117
and also edit /etc/fstab
124
</p>
118
</p>
125
119
126
<pre caption="/etc/fstab">
120
<pre caption="/etc/fstab">
127
/dev/usbdrive   /mnt/usbdrive   auto            noauto,rw,user                 0 0
121
/dev/usbdrive   /mnt/usbdrive   auto            noauto,rw,user                 0 0
128
/dev/ipod       /mnt/ipod       auto            noauto,rw,user                 0 0
122
/dev/ipod       /mnt/ipod       auto            noauto,rw,user                 0 0
129
/dev/psp        /mnt/psp        auto            noauto,rw,user                 0 0
123
/dev/psp        /mnt/psp        auto            noauto,rw,user                 0 0
130
</pre>
124
</pre>
131
125
132
</body>
126
</body>
133
</section>
127
</section>
134
</chapter>
128
</chapter>
135
129
136
<chapter>
130
<chapter><title>external storage posibilities</title>
137
<title>External storage posibilities</title>
131
<section><title>configuring the kernel</title>
138
<section>
139
<title>Configuring the kernel</title>
140
<body>
132
<body>
141
133
134
142
<p> 
135
<p> 
143
Make sure the options below are marked like said below in your kernel config
136
Make sure the options below are marked like said below in your kernel config 
144
that is found at <path>/usr/src/linux/.config</path>.
137
that is found at <path>/usr/src/linux/.config</path>.
145
</p>
138
</p>
146
139
147
<note>
140
<note>
148
These kernel-options are just generally. You should really look fist at your
141
These kernel-options are just generally. You should really look fist at your
149
<c>lspci</c> output and see for yourself if you need OHCI or UHCI. The options
142
<c>lspci</c> output and see for yourself if you need OHCI or UHCI. 
150
below are set for UHCI.
143
The options below are set for UHCI.
151
</note>
144
</note>
152
145
153
<pre caption="configuring your kernel">
146
<pre caption="configuring your kernel">
154
# <i>vim /usr/src/linux/.config</i>
147
# <i>vim /usr/src/linux/.config</i>
155
MSDOS_FS=y
148
MSDOS_FS=y
156
VFAT_FS=y
149
VFAT_FS=y
Lines 162-276 Link Here
162
USB_OHCI_HCD=n
155
USB_OHCI_HCD=n
163
</pre>
156
</pre>
164
157
165
</body>
158
</body>
166
</section>
159
</section>
167
<section>
160
<section>
168
<title>Build the kernel</title>
161
<title>build the kernel</title>
169
<body>
162
<body>
170
163
171
<pre caption="Installing your new kernel">
164
<pre caption="installing your new kernel">
172
# <i>make</i>
165
# <i>make</i>
173
# <i>mount /boot/</i>
166
# <i>mount /boot/</i>
174
# <i>cp arch/<const>your arch</const>/boot/bzImage
167
# <i>cp arch/<const>your arch</const>/boot/bzImage
175
# /boot/linux-<const>$ver</const>-gentoo-<const>$release</const></i>
168
# /boot/linux-<const>$ver</const>-gentoo-<const>$release</const></i>
176
</pre>
169
</pre>
177
170
178
<p>
171
<p>
179
Now you should reboot and move further from this point after you reboot.
172
now you should reboot and move further from this point after you reboot
180
</p>
173
</p>
181
174
182
</body>
175
</body>
183
</section>
176
</section>
184
<section>
177
<section><title>checking if hotplug detected your devices well</title>
185
<title>Checking if hotplug detected your devices well</title>
186
<body>
178
<body>
187
179
188
<pre caption="Check dmesg">
180
<pre caption="check dmesg">
189
# <i>dmesg | grep usb-storage</i>
181
# <i>dmesg | grep usb-storage</i>
190
</pre>
182
</pre>
191
183
192
<pre caption="modprobe your device if not loaded">
184
<pre caption="modprobe your device if not loaded">
193
usb.c: USB device 4 (vend/prod 0xdda/0x2005) is not claimed by any active 
185
usb.c: USB device 4 (vend/prod 0xdda/0x2005) is not claimed by any active 
194
driver.
186
driver.
195
</pre>
187
</pre>
196
188
197
<note>
189
<note>
198
If this happens, it means you did not configure your kernel well. You should
190
If this happens, It means you did not configure your kernel well. You should
199
look at your lspci and restart from where you started after the reboot.
191
look at your lspci and restart from where you started after the reboot.
200
</note>
192
</note>
201
193
202
<p>
194
<p>
203
You can do this automatically by putting your driver name in
195
you can do this automaticly by putting your driver name in 
204
<path>/etc/modules.autoload.d/kernel-2.{4|6}</path>.
196
<path>/etc/modules.autoload.d/kernel-2.{4|6}</path>.
205
</p>
197
</p>
206
198
207
<pre caption="For scsi interface">
199
<pre caption="for scsi interface">
208
# <i>emerge sg3_utils</i>
200
# <i>emerge sg3_utils</i>
209
# Description: apps for querying the sg SCSI interface
201
# Description: apps for querying the sg SCSI interface 
210
(contains rescan_scsi_bus.sh)
202
(contains rescan_scsi_bus.sh)
211
</pre>
203
</pre>
212
204
213
<p>
205
<p>
214
And right after that:
206
and right after that :
215
</p>
207
</p>
216
208
217
<pre caption="Mounting the drive">
209
<pre caption="mounting the drive">
218
# <i>mkdir /mnt/usbstick</i>
210
# <i>mkdir /mnt/usbstick</i>
219
# <i>mount -t vfat /dev/sda1 /mnt/usbstick</i>
211
# <i>mount -t vfat /dev/sda1 /mnt/usbstick</i>
220
</pre>
212
</pre>
221
213
222
<p>
214
<p>
223
If you can't mount then try the alternative kernel config above that enables
215
If you can't mount then try the alternative kernel config above that enables 
224
SCSI generic support. Then run the following that should give you the correct
216
SCSI generic support. Then run the following that should give you the correct 
225
device name. You can now mount with the correct name (Eg.
217
device name. You can now mount with the correct name (Eg. /dev/sdb1). You can
226
<path>/dev/sdb1</path>). You can also try with auto or msdos (for small cards)
218
also try with auto or msdos (for small cards) as the filesystem type 
227
as the filesystem type (<c>mount -t msdos /dev/x /mnt/x</c>).
219
(mount -t msdos /dev/x /mnt/x).
228
</p>
220
</p>
229
221
230
<pre caption="Looking for firewire devices">
222
<pre caption="looking for firewire devices">
231
# <i>sg_scan -i</i>
223
# <i>sg_scan -i</i>
232
# <i>sg_map</i>
224
# <i>sg_map</i>
233
</pre>
225
</pre>
234
226
235
</body>
227
</body>
236
</section>
228
</section>
237
</chapter>
229
</chapter>
238
230
239
<chapter>
231
<chapter><title>editing your fstab</title>
240
<title>Editing your fstab</title>
232
<section><title>mounting your external usb-devices</title>
241
<section>
242
<title>Mounting your external usb-devices</title>
243
<body>
233
<body>
244
234
245
<pre caption="/etc/fstab">
235
<pre caption="/etc/fstab">
246
# MY USB STICK
236
# MY USB STICK
247
/dev/sda1             /mnt/stick      vfat        noauto,user,exec,sync     0 0
237
/dev/sda1             /mnt/stick      vfat        noauto,user,exec,sync     0 0
248
</pre>
238
</pre>
249
239
250
<p>
240
<p>
251
Please note that you have to use vfat in the fstab file, because if you choose
241
please note that you have to use vfat in the fstab file, because if you choose 
252
auto you won't get the full name but only the first 8 chars. Add the option
242
auto you won't get the full name but only the first 8 chars. Add the option 
253
"sync" to have synchronous changes between the actual usb mass storage device
243
"sync" to have synchronous changes between the actual usb mass storage device 
254
and the place that it's been mounted. Otherwise it would be done while you
244
and the place that it's been mounted. Otherwise it would be done while you 
255
unmount it. This has the advantage of not losing data if you forgot to unmount
245
unmount it. This has the advantage of not losing data if you forgot to unmount 
256
a device and also you would see how long it will take when you are transferring
246
a device and also you would see how long it will take when you are transfering 
257
data to it. You don't need to use vfat in the fstab file as long as
247
data to it. You don't need to use vfat in the fstab file as long as 
258
<path>/etc/filesystems</path> is set up properly.
248
/etc/filesystems is set up properly.
259
</p>
249
</p>
260
261
</body>
250
</body>
262
</section>
251
</section><section><title>configuring your filesystems</title>
263
<section>
264
<title>Configuring your filesystems</title>
265
<body>
252
<body>
266
253
267
<p> 
254
<p> 
268
Specifically, if vfat exists in <path>/etc/filesystems</path> before other fat
255
Specifically, if vfat exists in /etc/filesystems before other fat file systems 
269
file systems or by itself with an asterisk on the last line, it will be tried
256
or by itself with an asterisk on the last line, it will be tried first during a
270
first during a mount. Read the mount (8) man page for more details. 
257
mount. Read the mount (8) man page for more details. 
271
</p>
258
</p>
272
259
273
<pre caption="/etc/filesystems">
260
<pre caption="/etc/filesystems">
274
#
261
#
275
# This file defines the filesystems search order used by a
262
# This file defines the filesystems search order used by a
276
# 'mount -t auto' command.
263
# 'mount -t auto' command.
Lines 287-302 Link Here
287
</pre>
274
</pre>
288
275
289
</body>
276
</body>
290
</section>
277
</section>
291
</chapter>
278
</chapter>
292
279
293
<chapter>
280
<chapter><title>Mounting your windows partitions</title>
294
<title>Mounting your Windows partitions</title>
281
<section><title>the different filesystem types</title>
295
<section>
296
<title>The different filesystem types</title>
297
<body>
282
<body>
298
283
299
<pre caption="mount -t type device mountpoint">
284
<pre caption="mount -t type device mountpoint">
300
# <i>mount -t ntfs /dev/hda1 /mnt/win</i>
285
# <i>mount -t ntfs /dev/hda1 /mnt/win</i>
301
# <i>mount -t vfat /dev/hda2 /mnt/data</i>
286
# <i>mount -t vfat /dev/hda2 /mnt/data</i>
302
</pre>
287
</pre>
Lines 305-338 Link Here
305
</section>
290
</section>
306
<section>
291
<section>
307
<title>user permissions</title>
292
<title>user permissions</title>
308
<body>
293
<body>
309
294
310
<p>
295
<p>
311
On all three filesystems (MS-DOS, VFAT, NTFS), mount lets you pass the uid and
296
On all three filesystems (MS-DOS, VFAT, NTFS), mount lets you pass the uid and 
312
gid options, which let you set the user and group IDs of who the files are
297
gid options, which let you set the user and group IDs of who the files are 
313
chown'd to when the filesystem is mounted. To find out the values for uid and 
298
chown'd to when the filesystem is mounted. To find out the values for uid and 
314
gid, run <c>id $user</c>. 
299
gid, run <c>id $user</c>. 
315
</p>
300
</p>
316
301
317
<p>
302
<p>
318
umask: octal file permissions<br />
303
umask: octal file permissions
319
You can change permissions using the parameter umask. But be aware that it must
304
You can change permissions using the parameter umask. But be aware that it must
320
be the bitmask of permissions that are not present for the mountpoint. It is an
305
be the bitmask of permissions that are not present for the mountpoint. It is an
321
octal number, formed like this:
306
octal number, formed like this:
322
</p>
307
</p>
323
308
324
<ul>
309
<ul>
325
  <li>
310
<li>character '0': Indicates that this is an octal number, not decimal.</li>
326
    Character '0': Indicates that this is an octal number, not decimal
311
<li>first digit: owner user permissions</li>
327
  </li>
312
<li>second digit: owner group permissions</li>
328
  <li>First digit: owner user permissions</li>
313
<li>third digit: world permissions (every other user on the system)</li>
329
  <li>Second digit: owner group permissions</li>
330
  <li>
331
    Third digit: world permissions (every other user on the system).
332
  </li>
333
</ul>
314
</ul>
334
315
335
<note>
316
<note>
336
M | R W X
317
M | R W X
337
-------------
318
-------------
338
0 | * * *
319
0 | * * *
Lines 343-421 Link Here
343
5 | - * -
324
5 | - * -
344
6 | - - *
325
6 | - - *
345
7 | - - -
326
7 | - - -
346
</note>
327
</note>
347
328
348
<pre caption="/etc/fstab">
329
<pre caption="/etc/fstab">
349
# my windows partition
330
#my windows partition
350
/dev/hda1  /mnt/ntfs  ntfs  uid=1000,gid=100  0 0
331
/dev/hda1  /mnt/ntfs  ntfs  uid=1000,gid=100  0 0
351
</pre>
332
</pre>
352
333
353
<p>
334
<p>
354
<b>utf8</b><br />
335
<b>utf8</b> You may also add utf8 option, if you can't see some files with 
355
You may also add utf8 option, if you can't see some files with international
336
international characters in filenames 
356
characters in filenames.
357
</p>
337
</p>
358
338
359
<pre caption="/etc/fstab">
339
<pre caption="/etc/fstab">
360
/etc/fstab /dev/hda1  /mnt/vfat  vfat  ro,utf8  0 0
340
e.g. /etc/fstab : /dev/hda1  /mnt/vfat  vfat  ro,utf8  0 0
361
</pre>
341
</pre>
362
342
363
<p>
343
<p>
364
For more options:
344
for more options :
365
</p>
345
</p>
366
346
367
<pre caption="See more?">
347
<pre caption="see more?">
368
# <i>man mount 8</i>
348
# <i>man mount(8)</i>
369
</pre>
349
</pre>
370
350
371
</body>
351
</body>
372
</section>
352
</section>
373
<section>
353
<section><title>
374
<title>Captive NTFS</title>
354
captive ntfs</title>
375
<body>
355
<body>
376
356
377
<p>
357
<p>
378
We need <c>sys-fs/captive</c> (Description: Captive uses binary Windows drivers
358
We need 'sys-fs/captive' (Description: Captive uses binary Windows drivers 
379
for full NTFS r/w access.) to get this to work. For now Captive is masked so
359
for full NTFS r/w access.) to get this to work. For now Captive is masked so 
380
you need to unmask it first:
360
you need to unmask it first
381
</p>
361
</p>
382
362
383
<pre caption="Unmasking captive">
363
<pre caption="/etc/portage/package.keywords">
384
# <i>echo "sys-fs/captive ~x86" >> /etc/portage/package.keywords</i>
364
# <i>echo "sys-fs/captive ~x86" >> /etc/portage/package.keywords</i>
385
</pre>
365
</pre>
386
366
387
<p>
367
<p>
388
Let's emerge captive now:
368
let's emerge captive now
389
</p>
369
</p>
390
370
391
<pre caption="emerge captive">
371
<pre caption="emerge captive">
392
# <i>emerge captive</i>
372
# <i>emerge captive</i>
393
</pre>
373
</pre>
394
374
395
<p>
375
<p>
396
Now load the appropriate kernel module and make it load at boot
376
Now load the apropriate kernel module and make it load at boot
397
</p>
377
</p>
398
378
399
<pre caption="Loading the ap[ropriate kernel module">
379
<pre caption="loading the apropriate kernel module">
400
# <i>modules-update</i>
380
# <i>modules-update</i>
401
# <i>modprobe fuse</i>
381
# <i>modprobe fuse</i>
402
# <i>echo "fuse" >> /etc/modules.autoload.d/kernel-2.6</i>
382
# <i>echo "fuse" >> /etc/modules.autoload.d/kernel-2.6</i>
403
</pre>
383
</pre>
404
384
405
<p> 
385
<p> 
406
Congrats; Captive is now installed. To acquire the necessary filesystems
386
Congrats; Captive is now installed. To acquire the necessary filesystems 
407
drivers you should run the following command to locate your ntfs drives in a
387
drivers you should run the following command to locate your ntfs drives in a 
408
nice wizard. You should choose to download the appropriate drivers from
388
nice wizard. You should choose to download the propriate drivers from 
409
<uri>http://microsoft.com</uri> (You need a Windows SP2 license to do this
389
microsoft.com (You need a Windows SP2 license to do this legal.) (It doens't 
410
legal.) (It doens't matter if your partitions are mounted or not; The program
390
matter if your partitions are mounted or not; The programm looks for itself
411
looks for itself after the right partitions.) Caution: you need X-windows for
391
after the right partitions.) Caution : you need X-windows for this app.
412
this app.
413
</p>
392
</p>
414
393
415
<pre caption="Acquiring the necessary filesystems">
394
<pre caption="acquire the necessary filesystems">
416
# <i>captive-install-acquire</i>
395
# <i>captive-install-acquire</i>
417
</pre>
396
</pre>
418
397
419
<p> 
398
<p> 
420
After you walked through the wizard you should now be able to mount your
399
After you walked through the wizard you should now be able to mount your
421
windows partitions read/write. 
400
windows partitions read/write. 
Lines 432-452 Link Here
432
411
433
<pre caption="/etc/fstab">
412
<pre caption="/etc/fstab">
434
/dev/hda2          /windows          captive-ntfs     users      0 0
413
/dev/hda2          /windows          captive-ntfs     users      0 0
435
</pre>
414
</pre>
436
415
437
<p> 
416
<p> 
438
Caution: You'll need to recompile fuse if you update your kernel!
417
Caution : You'll need to recompile fuse if you update your kernel !
439
</p>
418
</p>
440
419
441
<pre caption="After kernel update">
420
<pre caption="after kernel update">
442
# <i>modprobe -r fuse</i>
421
# <i>modprobe -r fuse</i>
443
# <i>emerge sys-fs/fuse</i>
422
# <i>emerge sys-fs/fuse</i>
444
# <i>modules-update</i>
423
# <i>modules-update</i>
445
# <i>modprobe fuse</i>
424
# <i>modprobe fuse</i>
446
</pre>
425
</pre>
447
426
448
</body>
427
</body>
449
</section>
428
</section>
450
</chapter>
429
</chapter>
451
</guide>
430
</guide>
452

Return to bug 111551