LinuxQuestions.org
Review your favorite Linux distribution.
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 05-20-2007, 01:25 PM   #1
Roni_G
LQ Newbie
 
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17

Rep: Reputation: 0
How to properly mount NTFS partitions please help!!!


I've 3 IDE HD 1 is divided to 2 with system and stuff another one is whole and not divided and 3rd is i have Kubuntu on. I wanted to mount the NTFS so i could have access to my files and my music from Linux. But stupid me run into some problem with mounting, 1st because i have 3 physical HD i dont know what their name on linux i have only mounted "windows" so it did only System drive obviously because it have windows on, but it didnt do 2 others.... I'm not sure what i did wrong either i need their names on linux to mount them or i am completely off here... please help....


Another thing is there a problem with skype for linux i have intalled it and it worked then i closed and now everytime i want to reopen it it nothing happens... weird...
 
Old 05-20-2007, 02:14 PM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Can't help you with Skype, but if you'll post the output of this command, I may be able to help you mount your NTFS drive:

Code:
 $ sudo fdisk -l
*That is a small case "L" at the end of that command.
 
Old 05-20-2007, 02:44 PM   #3
lein
Member
 
Registered: Jul 2006
Location: Australia
Distribution: Mint 14/16 & Raspbian
Posts: 73

Rep: Reputation: 23
Do you have ntfs-3g installed? I installed logged out and back in and was able to mount and read almost all my NTFS partitions. So now I have MP3 goodness.

edit: they magically appeared in the storage media part of the system menu on Kubuntu. I suspect that in Ubuntu they would magically appear too.

Last edited by lein; 05-20-2007 at 02:51 PM.
 
Old 05-22-2007, 05:53 AM   #4
Roni_G
LQ Newbie
 
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vtel57
Can't help you with Skype, but if you'll post the output of this command, I may be able to help you mount your NTFS drive:

Code:
 $ sudo fdisk -l
*That is a small case "L" at the end of that command.
here is my situation
Quote:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3442 27647833+ 7 HPFS/NTFS
/dev/hda2 3443 4865 11430247+ f W95 Ext'd (LBA)
/dev/hda5 3443 4865 11430216 7 HPFS/NTFS

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 18985 152496981 83 Linux
/dev/hdb2 18986 19457 3791340 5 Extended
/dev/hdb5 18986 19457 3791308+ 82 Linux swap / Solaris

Disk /dev/hdd: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 30401 244196001 42 SFS
I am looking forward for you help in mounting my HD's
Thank you
 
Old 05-22-2007, 05:54 AM   #5
Roni_G
LQ Newbie
 
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lein
Do you have ntfs-3g installed? I installed logged out and back in and was able to mount and read almost all my NTFS partitions. So now I have MP3 goodness.

edit: they magically appeared in the storage media part of the system menu on Kubuntu. I suspect that in Ubuntu they would magically appear too.
Yes, i did
 
Old 05-22-2007, 12:34 PM   #6
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Roni,

I can only tell you how to mount the NTFS drives from the command line. I am not familiar with how ntfs-3g operates from the graphic interface. Normally, you would have to edit your /etc/fstab file to allow users to mount the drive from within the graphic interface. However, with the ntfs-3g variable here, I wouldn't know what fstab entry you should use. I'm sure others will have a suggestion for you on that topic.

In the meantime, you should be able to mount your NTFS partitions using this command in the Terminal:

Code:
$ sudo mount /dev/hda1 /mnt
This command will mount your 30Gig Windows partition. To view the contents, just navigate to the /mnt directory in Nautilus. You'll see the contents of the NTFS drive there. Why? Because that's the directory that the above command mounted the drive in.

To access your secondary 12Gig NTFS partition, first unmount the hda1 partition by using this command:

Code:
 $ sudo umount /dev/hda1 /mnt
After you've unmounted that partition, you can mount the secondary one:

Code:
 $ sudo mount /dev/hda5 /mnt
This will allow you access via Nautilus to that partition. Again, you'll find the contents in the /mnt directory in Nautilus.

You can create a couple directories within /mnt to allow you to have both partitions mounted at the same time. Let's call the directories windows_main and windows_secondary.

Code:
 $ cd /mnt
$ sudo mkdir windows_main windows_secondary
Now to mount both partitions:

Code:
 $ sudo mount /dev/hda1 /mnt/windows_main
$ sudo mount /dev/hda5 /mnt/windows_secondary
Now they're both mounted. You can find the contents in the /mnt/windows_main and /mnt/windows_secondary directories that you previously created.

If you can get someone to explain to you how ntfs-3g works in the graphic interface, you'll be able to "auto-mount" these partitions at boot up and access them throughout your session without having to do the above command line commands.

Luck!
 
Old 05-24-2007, 01:22 AM   #7
rtraj
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
iam having 6.t ntfs stotage
i want to mount in fc6 when is connect the storage in linux
its dieted like sdb but its not show its partition
and i have installed ntfs rpm then also its not dieted
by
thangaraj
 
Old 05-24-2007, 01:24 AM   #8
rtraj
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
i like to configure samba. In my linux system can u help me
 
Old 05-24-2007, 01:31 AM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Quote:
Originally Posted by vtel57
Roni,

I can only tell you how to mount the NTFS drives from the command line. I am not familiar with how ntfs-3g operates from the graphic interface. Normally, you would have to edit your /etc/fstab file to allow users to mount the drive from within the graphic interface. However, with the ntfs-3g variable here, I wouldn't know what fstab entry you should use. I'm sure others will have a suggestion for you on that topic.

In the meantime, you should be able to mount your NTFS partitions using this command in the Terminal:

Code:
$ sudo mount /dev/hda1 /mnt
This command will mount your 30Gig Windows partition. To view the contents, just navigate to the /mnt directory in Nautilus. You'll see the contents of the NTFS drive there. Why? Because that's the directory that the above command mounted the drive in.

To access your secondary 12Gig NTFS partition, first unmount the hda1 partition by using this command:

Code:
 $ sudo umount /dev/hda1 /mnt
After you've unmounted that partition, you can mount the secondary one:

Code:
 $ sudo mount /dev/hda5 /mnt
This will allow you access via Nautilus to that partition. Again, you'll find the contents in the /mnt directory in Nautilus.

You can create a couple directories within /mnt to allow you to have both partitions mounted at the same time. Let's call the directories windows_main and windows_secondary.

Code:
 $ cd /mnt
$ sudo mkdir windows_main windows_secondary
Now to mount both partitions:

Code:
 $ sudo mount /dev/hda1 /mnt/windows_main
$ sudo mount /dev/hda5 /mnt/windows_secondary
Now they're both mounted. You can find the contents in the /mnt/windows_main and /mnt/windows_secondary directories that you previously created.

If you can get someone to explain to you how ntfs-3g works in the graphic interface, you'll be able to "auto-mount" these partitions at boot up and access them throughout your session without having to do the above command line commands.

Luck!
If would be a good idea to use the "fmask" and "dmask" options in your mount command or fstab entry. I don't use ntfs-3g but I've seen a post where ntfs-3g was used as the filetype instead of ntfs.
Code:
/dev/hda1 /mnt/mountpoint ntfs defaults,uid=username,gid=groupname,fmask=0117,dmask=0007
The uid= option allows you to be the owner of the mounted partition.
 
Old 05-25-2007, 03:40 AM   #10
rtraj
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
ntfs

hi,
roni
i have seen u r mail. i have tried this opposition.
in storage iam having 6TB data when i tried to mount
the storage its show the dives but its not showing the
partition (example: /dev/sdb) my friend told to up date
the kernel. how could i up date the driver because the
server is on line
 
Old 06-06-2007, 02:52 PM   #11
Roni_G
LQ Newbie
 
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal
If would be a good idea to use the "fmask" and "dmask" options in your mount command or fstab entry. I don't use ntfs-3g but I've seen a post where ntfs-3g was used as the filetype instead of ntfs.
Code:
/dev/hda1 /mnt/mountpoint ntfs defaults,uid=username,gid=groupname,fmask=0117,dmask=0007
The uid= option allows you to be the owner of the mounted partition.
Quote:
bash: /dev/hda1: Permission denied
Very strange.... permission denied? i am doing it from the root... as SU...
 
Old 06-06-2007, 04:15 PM   #12
Roni_G
LQ Newbie
 
Registered: Oct 2005
Location: ISRAEL
Distribution: ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Another problem even i think i found how to mount other physical drive for some reason it gives me this ...
Quote:
sudo mount /dev/hdd1 /media/d -t ntfs -o nls=utf8,umask=0222
mount: /dev/hdd1 already mounted or /media/d busy
mount: according to mtab, /dev/hdd1 is mounted on /mnt
 
  


Reply



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
[SOLVED] I want to mount ntfs partitions after booting Kubuntu phazon Linux - Laptop and Netbook 13 06-14-2007 01:14 AM
Mount NTFS partitions in Fedora Core 5 zahadumy Linux - Software 4 04-19-2006 07:47 AM
how t mount my ntfs partitions ??? BReal Fedora 5 04-19-2005 02:42 PM
Can't mount hda /ntfs/ with RUSSIAN files properly jesternorth Linux - Newbie 1 10-26-2004 04:18 AM
mount NTFS partitions heinrich Linux - Software 3 08-11-2003 03:27 PM

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

All times are GMT -5. The time now is 04:04 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