PDA

View Full Version : how to mount windows directory



cli168
03-29-2005, 11:05 PM
Hi,
I want to mount a windows directory. In RedHat Linux, I would put the information into /etc/fstab. How do I mount it using mount?
I can not get it to ask for a username, it just displays the prompt for password.

Thanks,
Charles Li

chris-harry
03-30-2005, 09:52 AM
um not sure about red hat... havent used it... but i think...

[mount command (which i think its still mount)] hda1

depends on what partion your windows is on, or if its a primary secondary etc...

hda2 <-- for second partion on primary

hdb1 <-- first partion on secondary drive...

etc... hopefully i gave you what you wnat... sorry, but never used red hat...

cli168
03-30-2005, 03:20 PM
Actually, I am looking for mount options that will let me specify the username for the mount.

fingers99
03-30-2005, 07:21 PM
Actually, I am looking for mount options that will let me specify the username for the mount.

Hang on, is this from the live CD or a HD install?

cli168
03-30-2005, 08:30 PM
live cd

fingers99
03-30-2005, 11:10 PM
OK, first the warning: if you write (or delete) from an mntf partition you will probably screw up the filesystem completely. Not recommended. Like putting your head in the crockodile's mouth. Don't do it. ntfs is the default filesystem for NT, Windows 2000 and XP. Other Windows OSes are fine (they use fat32).

But to read, no problem. From the live CD, just click on the icon for the partition which you want to access. That's it.

cli168
03-31-2005, 03:15 AM
It a network drive, all I want to is read it. It is not mounted by default. I need to manually mount it. In order to mount it, I need to supply the username, since I am in as knoppix. So, I need to know how to specify the username in a mount.

Thanks.

chris-harry
03-31-2005, 09:00 AM
[QUPTE]Like putting your head in the crockodile's mouth[/QUOTE] hahahaha... :D now thats funny.. :D