LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 06: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, 06:37 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
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, 07: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, 07:34 AM   #4
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Hi,

What is Transmission ?
 
Old 10-13-2010, 08: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, 07:10 PM   #6
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
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-18-2010, 11:41 PM   #7
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
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, 04: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, 04: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, 04:29 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 04: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, 04:54 AM   #12
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

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

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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 04:58 AM.
 
1 members found this post helpful.
Old 10-28-2010, 05:42 AM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 07: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



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 01:14 PM
How to write over NTFS mounted partition? paragkalra Linux - Desktop 2 12-19-2007 03:27 PM
Canīt see every file in NTFS mounted partition niko9enzo Linux - General 3 11-15-2007 01:46 PM
Would like partition mounted at startup Fredosaurus Linux - Newbie 4 08-20-2006 08:28 AM
permission of mounted NTFS partition demmylls Linux - Security 2 11-29-2003 11:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

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
Open Source Consulting | Domain Registration