LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   NTFS partition is not mounted on startup (http://www.linuxquestions.org/questions/ubuntu-63/ntfs-partition-is-not-mounted-on-startup-837768/)

512upload 10-13-2010 07:25 AM

NTFS partition is not mounted on startup
 
I have 2 partitions on my computer:

one is "64 GB ext4" (with Ubuntu 10.10 64-bit)
and the other one is "Data 436 GB NTFS" (just for storing files)

On startup the second partition is not mounted before I click on "Locais" - this is in Portuguese (the button between Applications and System on the top bar) > "Data".

How do I make Ubuntu mount this partition on startup?

prayag_pjs 10-13-2010 07:37 AM

Know the exact partition number using:

Quote:

sudo fdisk -l
Create a directory to mount ntfs partition

Quote:

mkdir /mnt/cdrive
edit /etc/fstab to mount partition permanently(suppose your ntfs partition is /dev/sda1)

vi /etc/fstab

Quote:

/dev/sda1 /mnt/cdrive auto defaults 0 0
After reboot you will have ntfs partition mounted on /mnt/cdrive

512upload 10-13-2010 08:25 AM

Thank you for your early reply, but there is a problem: I can now access the NTFS drive on startup, but now Transmission can't access the data in this drive. What can I do to fix this?

prayag_pjs 10-13-2010 08:34 AM

Hi,

What is Transmission ?

512upload 10-13-2010 09:32 PM

Quote:

Originally Posted by prayag_pjs (Post 4126012)
Hi,

What is Transmission ?

It's a BitTorrent client.

eSelix 10-18-2010 08:10 PM

First you must known where the NTFS partition was mounted. After clicking "Locais" go to console and give a command
Code:

cat /etc/mtab
On the last line you should see the newly mounted partition, it should has ntfs in 3rd column. You can directly copy this line to /etc/fstab file. You can also need to add to options (4th column) a string 'umask=0000' after a colon. Look at 'man mount', section ntfs, for description and more options.

prayag_pjs 10-19-2010 12:41 AM

Quote:

Originally Posted by 512upload (Post 4126005)
Transmission can't access the data in this drive. What can I do to fix this?

But how its accessing the drive you mean to say you are not allowed to save anything to that NTFS drive through Transmission.Be specific and elaborate your issue

512upload 10-19-2010 05:55 AM

I've figured out what I did wrong. I thought that by changing the downloads folder of Transmission it would recognize automatically the downloads in the new downloads folder mounted in /mnt/cdrive, but I have to open the torrents again indicating the new folder for downloads so that Transmission recognizes the already downloaded files.

Thanks a lot!

512upload 10-28-2010 05:09 AM

I have another issue related to this subject:

When I try to make a folder inside cdrive shared, the opened window closes and the folder is not set as shared. Could this be a problem of this mouting method or a problem with Ubuntu 10.10 64-bits? Either way, what can I do to solve it?

TobiSGD 10-28-2010 05:29 AM

If you use only Ubuntu on your box (you wrote you have only two partitions) why are you using NTFS to store your files? I would use something native as ext4 or similar.

512upload 10-28-2010 05:51 AM

"If you use only Ubuntu on your box (you wrote you have only two partitions) why are you using NTFS to store your files?"

No reason in particular.

"I would use something native as ext4 or similar."

Does it matter?
If this partition was formatted in ext4 would this sharing issue not occur?
Can I transform this NTFS partition into ext4 without having to backup the files stored in it? If yes, how?

prayag_pjs 10-28-2010 05:54 AM

How you mounting ntfs drive ?

jschiwal 10-28-2010 05:56 AM

No, but it the drive is less than half full, you could:
  1. Resize the ntfs partition by 1/2 or more
  2. create an ext4 partition in the empty space
  3. copy the files to the new partition
  4. delete the now empty ntfs partition
  5. resize the ext4 partition, or create a new partition in the empty space

If you aren't dual booting, or sharing an external drive with a Windows computer, you don't want to use the NTFS file-system. You can't repair it if the filesystem becomes corrupt.

TobiSGD 10-28-2010 06:42 AM

Quote:

Originally Posted by 512upload (Post 4141980)
"If you use only Ubuntu on your box (you wrote you have only two partitions) why are you using NTFS to store your files?"

No reason in particular.

"I would use something native as ext4 or similar."

Does it matter?
If this partition was formatted in ext4 would this sharing issue not occur?
Can I transform this NTFS partition into ext4 without having to backup the files stored in it? If yes, how?

Does it matter? I think yes. NTFS misses the file permission attributes of Linux, and so your sharing issue can be caused by using NTFS.

512upload 10-28-2010 08:41 AM

Quote:

Originally Posted by prayag_pjs (Post 4141984)
How you mounting ntfs drive ?

The way you told me on your first reply to this post.


All times are GMT -5. The time now is 01:01 PM.