Quote:
Originally posted by brig
Snip . .
PS:Can u give step by step instructions?
Snip . .
|
Open a "superuser" terminal. (E.g., Start a terminal session, enter "su" and your password.)
Open /etc/fstab in an editor. (Most people use "vim /etc/fstab", but your favorite editor should work. [Personally, I prefer XEMACS.]) For information on, e.g., "vim", enter "info vin")
Create a mount point where you will attach the file system: "mkdir /mnt/WinXP" then "mkdir /mnt/WinXP/z" for the example below, but you may use whatever you wish. (Since you've mounted teh dirve as root, you've probably already done this.) I do suggest, however, that you create mount point under /mnt, since that is conventional. (But, of course, not actually required.)
Somewhere in the /etc/fstab file (the end is probably the best place, but, again, it doesn't make too much difference) enter a line similar to this:
Code:
/dev/hdg1 /mnt/WinXP/z vfat uid=peter,gid=peter 0 0
The first argument is the actual physical device name. In the example, it is "Partition one of the seventh disk drive."
The second argument is the mount point you create
The third argument is the file system type
The fourth argument specifies the owner and group to "own" the file system. (There are lots of other argumens that could be here, but ownership defaults to "root," and you probably want to be able to access the drive as a regular user.
The last two arguments tell the boot loader to check the file system at boot time, and the order in which to check it. The "0 0" in the example specifies that no check is to be done.