Topic: windows partitions

sometimes i can access the windows ntfs partitions and some times not !!
why this is so ?
it gives some error that the partition type is not valid or something like that

Re: windows partitions

Next time the error pops up copy and paste the text.

Re: windows partitions

How are you trying to access it (command line, file manager)? Is it set to automount? Is there an entry if /etc/fstab for it?

Re: windows partitions

Mounting the ntfs partition will likely need 'sudo' but the info requested by ErSandro and jollysnowman are really needed.

For the love of freedom.
Thinkpad X200s CrunchBang 10a2 amd64
Get Counted  #498874

Re: windows partitions

there comes three alert boxes one by one
i cant catch the first two error because it appers only the error symbol and ok below it but the final error is directory doesnot exit . . .
but i can see the error when i tried to access the partition while installation so as i remember it is invalid file system twice
and i tried to access through file manager i dont know the commands but tryied to access it by cmd ' mount dev/sda3'
it returned that there is no /dev/sda3 at /etc/fstab or /etc/mtab
i feel grateful if u can help me
BTW i like #! a lot and i want to use it more than ubuntu or windows
sad

Re: windows partitions

Add your Windows partition to the fstab file using pysdm:

http://ubuntuforums.org/showthread.php?t=872197

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: windows partitions

pcmanfm will not automatically mount the windows partition
you need to "open as root" then access the w partition (as root, which means, it will first mount it)
and then there you go !

But i agree this is not consistent with other version of pcmanfm, which WILL mount the partition even if you are not root.

Re: windows partitions

If you want to mount/unmount the windows partition via terminal you first have to create the directory (mount point) that you will utilize to access the filesystem.

Ex.

mkdir /home/yourhome/windows

After mounting you'll find your files and directories directly under ~/windows. You can create the mount point wherever you prefer.

Then the command is:

sudo mount /dev/sda3 /home/yourhome/windows -t ntfs

To unmount it:

sudo umount /home/yourhome/windows

This will work with every filesystem (also usb drive), you only need to change de device file (external disks usually are sdb1, sdb2, sdc1, ecc.) and the filesystem type (ext2, ext3, msdos if it's FAT32, ecc.)

To make everything faster (if you have to mount frequently the filesystem) listen to the others and edit the file /etc/fstab. You can do it manually or with specific software like pysdm. To understand how it works just type "man fstab" in a terminal.

Last edited by ErSandro (2010-07-28 08:37:44)

Re: windows partitions

Here's a helpful Ubuntu Forums post on fstab:
http://ubuntuforums.org/showthread.php?&t=283131

John
------------------------
( a boring Japan blog , and idle twitterings )
“There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” - Master Foo