LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2011, 09:30 PM   #1
ventsyv
Member
 
Registered: Apr 2006
Posts: 57

Rep: Reputation: 3
Mounting NTFS file system


I have Debian Squeeze installed. I have 3 different HDDs, one of them is SATA, the other 2 are IDE, on one of which I have the distro installed.

How do I mount the other 2 partitions? I see them in "Places" but when I click on them I get an error message "Unable to Mount <The name of the volume> Can not get volume.fstype.alternative".

I can see both volumes in /dev/ntfs. I tried doing
Code:
su
mount /dev/ntfs/<VolumeName> /mnt/Win-Data (I created the directory previously)
mount -t ntfs
mount -a
the -t and -a do not produce any output. The full "featured" mount complains of an invalid option.
 
Old 04-25-2011, 09:35 PM   #2
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
Please post the output of the following command, launched as root:
Code:
fdisk -l
I doubt that your partitions are really under /dev/ntfs/, they should be named /dev/sda1, /dev/sdb1, and so on. The command will show us your partitions.
 
Old 04-25-2011, 09:36 PM   #3
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 263

Rep: Reputation: 9
Have you tried the ntfs-3g command?

Have you looked at the partitions to make sure there's nothing funny in there?

g
 
Old 04-25-2011, 09:55 PM   #4
ventsyv
Member
 
Registered: Apr 2006
Posts: 57

Original Poster
Rep: Reputation: 3
fdisk -l does not return anything. I don't have any sda items in my /dev folder. I have an ata one but I was unable to mount it.
Code:
mount /dev/ata /mnt/Win-Data

Also tried 

mount /dev/ad0 /mnt/Win-Data - the message is that the operation is not permited.
I haven't tried the ntfs-3g commands. What is that?

I actually did try : mount -t ntfs-3g - no output
mount -t ntfs-3g /dev/ntfs/Data /mnt/Win-Data - no such device.

Last edited by ventsyv; 04-25-2011 at 09:57 PM.
 
Old 04-25-2011, 10:00 PM   #5
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
Debian Squeeze names the drives per default sdX, where X is the drive letter, so with three disks you should have sda, sdb and sdc.
The fdisk command has to be launched as root, or you will get no output.
 
Old 04-25-2011, 10:04 PM   #6
ventsyv
Member
 
Registered: Apr 2006
Posts: 57

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by TobiSGD View Post
Debian Squeeze names the drives per default sdX, where X is the drive letter, so with three disks you should have sda, sdb and sdc.
The fdisk command has to be launched as root, or you will get no output.
Code:
root@V-Desk:/dev# fdisk -l
root@V-Desk:/dev# ls
acd0	 atkbd0      da0       kbdmux0	ptmx	    ttyv0  ttyvc    uhid0
acpi	 audit	     dcons     klog	pts	    ttyv1  ttyvd    ums0
ad0	 bpf	     devctl    kmem	ptyp0	    ttyv2  ttyve    urandom
ad0s1	 bpf0	     devstat   mdctl	random	    ttyv3  ttyvf    usb
ad0s2	 cd0	     dgdb      mem	stderr	    ttyv4  ufsid    usbctl
ad0s5	 cdrom	     fd        msdosfs	stdin	    ttyv5  ugen0.1  xconsole
ad1	 console     fido      nfslock	stdout	    ttyv6  ugen1.1  xpt0
ad1s1	 consolectl  full      ntfs	sysmouse    ttyv7  ugen2.1  zero
ad4	 ctty	     geom.ctl  null	ttyp0	    ttyv8  ugen2.2
ad4s1	 cuau0	     io        pass0	ttyu0	    ttyv9  ugen3.1
agpgart  cuau0.init  kbd0      pass1	ttyu0.init  ttyva  ugen4.1
ata	 cuau0.lock  kbd1      pci	ttyu0.lock  ttyvb  ugen4.2
root@V-Desk:/dev# cd ntfs
root@V-Desk:/dev/ntfs# ls
Data  DRV6_VOL1

root@V-Desk:/dev/ntfs# fdisk -l DRV6_VOL1
last_lba(): I don't know how to handle files with mode 20640

Disk DRV6_VOL1: 320.1 GB, 320070288384 bytes
255 heads, 63 sectors/track, 38912 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x69205244

Last edited by ventsyv; 04-25-2011 at 10:06 PM.
 
Old 04-25-2011, 10:10 PM   #7
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
I would assume that you have a serious problem with your OS. The fdisk command should at least show the disk with your Debian system.
Sorry, but under these circumstances I don't know how I can help you.
 
Old 04-25-2011, 10:15 PM   #8
ventsyv
Member
 
Registered: Apr 2006
Posts: 57

Original Poster
Rep: Reputation: 3
This is default install of Debian Squeeze I did 2 days ago. I've barely used it. I downloaded the distro 2 days ago. It's been a big pain in the ass I must say...

Anyways, thanks for the all the help.
 
Old 04-25-2011, 10:16 PM   #9
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 263

Rep: Reputation: 9
mount /dev/ad0 is something that would be used in FreeBSD (if I'm not mistaken).

You can use
Code:
fdisk -l
(that's a lower case L) which means list -- to find out the names of the partitions.

at the command line type:

Code:
man ntfs-3g
 
Old 04-25-2011, 10:44 PM   #10
ventsyv
Member
 
Registered: Apr 2006
Posts: 57

Original Poster
Rep: Reputation: 3
I ran the installer again this time supplemented by a mirror. The 3 HDDs are being recognized - one I use for the installation, the other 2 are listed as NFTS, but are selected not to be used. I did not want to risk getting the data wiped out by setting the usage to FAT32 - which doesn't sound right anyways.
 
Old 04-25-2011, 10:50 PM   #11
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
The Debian installer shouldn't have any problems with setting drives to NTFS if they are already formatted. May I ask where you did get that installer?
 
Old 04-25-2011, 11:42 PM   #12
ventsyv
Member
 
Registered: Apr 2006
Posts: 57

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by TobiSGD View Post
The Debian installer shouldn't have any problems with setting drives to NTFS if they are already formatted. May I ask where you did get that installer?
http://cdimage.debian.org/debian-cd/...d-i386/bt-dvd/

Last edited by ventsyv; 04-26-2011 at 12:16 AM.
 
Old 04-26-2011, 05:37 AM   #13
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
You have downloaded the version with the kfreebsd-kernel. This is not a real Linux version, it is more like a version of FreeBSD. It is not an appropriate version for newbies, but rather for experienced Linux and FreeBSD users. Download and install the standard version (i386, not kfreebsd-i386) and you will have much less problems.
 
Old 04-26-2011, 05:53 AM   #14
savona
Member
 
Registered: Mar 2011
Location: Bellmawr, NJ
Distribution: Red Hat / Fedora
Posts: 215

Rep: Reputation: 66
I never used freebsd and have very little experience with debian, but on fedora/red hat I mount NTFS partitions like so:

Make directory to mount to:

mkdir /media/newdrive

mount -t ntfs-3g /dev/sdd1 /media/newdrive

Of course you need to have the ntfs-3g installed. In fedora its installed by:

yum install ntfs-3g

Hope this helps, if not maybe it will help someone else, or not. Good luck!
 
Old 04-26-2011, 06:15 AM   #15
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 savona View Post
I never used freebsd and have very little experience with debian, but on fedora/red hat I mount NTFS partitions like so:

Make directory to mount to:

mkdir /media/newdrive

mount -t ntfs-3g /dev/sdd1 /media/newdrive

Of course you need to have the ntfs-3g installed. In fedora its installed by:

yum install ntfs-3g

Hope this helps, if not maybe it will help someone else, or not. Good luck!
You are right, but as we can see (I have no experience with the BSDs either, something more to learn) this doesn't work.
 
  


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
mounting the ntfs file system psureshrao Linux - Enterprise 3 11-25-2008 03:21 AM
NTFS file system mounting saidul Linux - Newbie 5 12-15-2007 08:07 PM
problem in mounting ntfs file system after update in fc7 deyash Fedora 1 08-23-2007 11:32 AM
mounting ntfs file system on Redhat Linux 8.0 boy Linux - Hardware 2 12-02-2002 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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