Section 13.9:Accessing a Windows Partition
These instructions are intended only for user accounts. Avoid modifying files
such as root's .bash_profile, because of the potential security risks.
Start a text editor, such as pico, at a shell prompt. You can open the file called .bash_profile by
typing the following:
pico .bash_profile
You'll see a
statement, similar to the one shown below.
PATH
PATH=$PATH:$HOME/bin:
To the end of this statement, add ./ as shown below
PATH=$PATH:$HOME/bin:/usr/lib/:./
; you'll be asked whether you want to save "the modified buffer" (that's what Pico
Now, type
[Ctrl]-[x]
calls an updated file); type
key.
[Enter]
Now, you should never have to manually add ./ to the beginning of an executable to start an applica-
tion located in your current working directory.
13.9 Accessing a Windows Partition
13.9.1 Q: How Do I Access My Windows Partition?
I have a dual-boot system with Red Hat Linux and Windows 98. Is there a way to access my Windows
partition while I'm running Linux?
13.9.2 A: Two Ways to Access Windows Partitions
You can access another partition on your system, for example, a Windows partition, in two different
ways.
First, let's assume that your Windows partition is on your first IDE hard drive, in the first partition
(/dev/hda1).
At a shell prompt, log in as root (type su and then enter the root password).
Create a directory at which the Windows partition will be mounted by typing the following command:
mkdir /mnt/vfat
CAUTION
for "yes." Next, you'll see the name the file will be saved as; press the
[y]
169
Need help?
Do you have a question about the LINUX 7.2 and is the answer not in the manual?
Questions and answers