LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 10-13-2010, 07:25 AM   #1
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Rep: Reputation: 16
Question 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?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-13-2010, 07:37 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
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
 
2 members found this post helpful.
Old 10-13-2010, 08:25 AM   #3
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
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?
 
Old 10-13-2010, 08:34 AM   #4
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Hi,

What is Transmission ?
 
Old 10-13-2010, 09:32 PM   #5
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by prayag_pjs View Post
Hi,

What is Transmission ?
It's a BitTorrent client.
 
Old 10-18-2010, 08:10 PM   #6
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,245

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
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.
 
1 members found this post helpful.
Old 10-19-2010, 12:41 AM   #7
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up

Quote:
Originally Posted by 512upload View Post
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
 
1 members found this post helpful.
Old 10-19-2010, 05:55 AM   #8
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
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!
 
1 members found this post helpful.
Old 10-28-2010, 05:09 AM   #9
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
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?
 
Old 10-28-2010, 05:29 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,651
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
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.
 
1 members found this post helpful.
Old 10-28-2010, 05:51 AM   #11
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
"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?
 
Old 10-28-2010, 05:54 AM   #12
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
How you mounting ntfs drive ?
 
Old 10-28-2010, 05:56 AM   #13
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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.

Last edited by jschiwal; 10-28-2010 at 05:58 AM.
 
1 members found this post helpful.
Old 10-28-2010, 06:42 AM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,651
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by 512upload View Post
"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.
 
1 members found this post helpful.
Old 10-28-2010, 08:41 AM   #15
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by prayag_pjs View Post
How you mounting ntfs drive ?
The way you told me on your first reply to this post.
 
  


Reply

Tags
mount, mounting, ntfs, partition, startup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scan mounted windows ntfs partition cccc Linux - Software 1 07-31-2009 02:14 PM
How to write over NTFS mounted partition? paragkalra Linux - Desktop 2 12-19-2007 04:27 PM
Canīt see every file in NTFS mounted partition niko9enzo Linux - General 3 11-15-2007 02:46 PM
Would like partition mounted at startup Fredosaurus Linux - Newbie 4 08-20-2006 09:28 AM
permission of mounted NTFS partition demmylls Linux - Security 2 11-30-2003 12:08 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration