Re: accessing filesystems...again
>
> My installation is supposed to be the latest release of Debian..(1.3) The
> Dos partition that Windows95 is on is a totally different hard disk and is
> the first hard drive. I looked in my linux directory (all over the system)
> but found no dos dir. Did i screw up with installation? How can i fix it so
> that i can see my files in my dos partition? I think i am missing something
> important here ..
> Thankz
No you didn't screw up. I believe there's no default directory for
mounting DOS/Win file systems. You have to make one yourself. First
you have to find what device your dos partion is. Become root and type
fdisk -l
This may take some time because it tries to access a number of disks
that may not exist. On my machine this gives:
# fdisk -l
Disk /dev/hda: 64 heads, 63 sectors, 1023 cylinders
Units = cylinders of 4032 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/hda1 * 1 1 260 524128+ 6 DOS 16-bit >=32M
/dev/hda2 261 261 1023 1538208 5 Extended
/dev/hda5 261 261 514 512032+ 6 DOS 16-bit >=32M
/dev/hda6 515 515 530 32224+ 82 Linux swap
/dev/hda7 531 531 1023 993856+ 83 Linux native
You can see that I have two DOS partitions: one on /dev/hda1 and one on
/dev/hda5. To mount them I made two directories in /dosc, and /dosd.
You can use any name you like, in your case (1 partition) /dos may be a
good idea. Now you have to make the file systems known to linux. I
added the following lines to my /etc/fstab:
/dev/hda1 /dosc vfat umask=002,gid=100 0 0
/dev/hda5 /dosd vfat umask=002,gid=100 0 0
This makes all files readable, writable and executable by everyone in
group 100, which is `users' on my system (see the file /etc/group).
After you added a similar line to to /etc/fstab, your system will
automatically mount your windows partition at boot time. To mount it
now, type
mount -a
See 'man mount' for the meaning of the options umask=002,gid=100, and
for other options.
Hope this helps,
Eric
--
E.L. Meijer (tgakem@chem.tue.nl) | tel. office +31 40 2472189
Eindhoven Univ. of Technology | tel. lab. +31 40 2475032
Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: