LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-17-2012, 01:32 PM   #1
gojis
LQ Newbie
 
Registered: Dec 2011
Location: Nairobi - Kenya
Distribution: Ubuntu
Posts: 2

Rep: Reputation: Disabled
mounting partitions


How do i mount partitions in linux via the comand line especially NTFS partition in read and write mode.
 
Old 02-17-2012, 01:55 PM   #2
hilyard
Member
 
Registered: Jan 2010
Location: Inland PNW
Distribution: Lite | siduction
Posts: 291

Rep: Reputation: 66
MOUNT

As root in terminal (or use sudo):

PHP Code:
fdisk -grep NTFS 
should return something like /dev/sda1 or /dev/sdb2 or /dev/sdc3; we'll call it /dev/sdxX

PHP Code:
mkdir /mnt/ntfs 
PHP Code:
mount -t ntfs /dev/sxX /mnt/ntfs 
MOUNT WITH RW ACCESS

Install ntfs-3g

PHP Code:
sudo apt-get update && sudo apt-get install ntfs-3g 
PHP Code:
mount -t ntfs-3g /dev/sdxX /mnt/ntfs
source

Google or Ixquick is your friend! Best wishes!

And Welcome to LQ!

Last edited by hilyard; 02-17-2012 at 01:57 PM. Reason: welcome
 
1 members found this post helpful.
Old 02-17-2012, 09:55 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
gojis most modern OS's will auto mount the MS windows NTFS drive or partitions under
/media

there is normally NO need to use the terminal any longer
 
1 members found this post helpful.
Old 02-17-2012, 10:08 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,561

Rep: Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127
Quote:
Originally Posted by John VV View Post
gojis most modern OS's will auto mount the MS windows NTFS drive or partitions under
/media

there is normally NO need to use the terminal any longer
I have never found a Linux distro where I haven't had to drop to the terminal within an hour of installation. Linux is still FAR from being terminal-free.
 
Old 02-17-2012, 11:02 PM   #5
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,672
Blog Entries: 8

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Quote:
Originally Posted by suicidaleggroll View Post
I have never found a Linux distro where I haven't had to drop to the terminal within an hour of installation. Linux is still FAR from being terminal-free.
To do what, if you do not mind me asking?
When I need to re-install Debian, I only need to use the terminal for two things. One is enabling multiple languages and the other is a fount issue that almost no one else has.
Unless you have special needs, like the one I have, there should be no reason to require frequent use of the terminal. Almost everything has a graphical utility. I am neither trying to argue nor be rude. I am just curious why you require extensive use of the terminal.
 
Old 02-17-2012, 11:20 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,561

Rep: Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127
Wifi setup GUIs rarely work, it almost always needs manual configuration of wpa_supplicant.conf and/or /etc/network/interfaces and command line configuration/restarting
NFS configuration and mounting
SAMBA configuration
CIFS configuration and mounting
Installation of any program not covered under the included package management system, of which there are FAR too many to even begin to list
Remote management of any other system, be it through SSH, VNC, or remote desktop

I could go on for pages...the bottom line is if you're going to do anything other than email and web browsing, you're going to have to use the command line at some point (often times you'll have to use it just to do those things).

Don't get me wrong, I don't mind doing these things, in fact I prefer having the option of configuring them manually instead of hoping the GUI (if there even is one) is capable of configuring it properly for me (which, often times, it's not). My point is simply that Linux is still very far from being free from the command line. The content of the majority of the threads posted in the Newbie section here are testament to that fact.

Take this very thread...if his OS had recognized the drive and mounted it in R/W mode automatically as John VV suggested it should, he wouldn't be here. Clearly it didn't, which means he had to use the command line to do it, and had to come here to ask for help on how.

The power of Linux IS its command line. If you attempt to do everything without it, you just handicap yourself.

Last edited by suicidaleggroll; 02-17-2012 at 11:35 PM.
 
Old 02-18-2012, 12:39 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
besides the fact that the OP sounds like a bot
or
is posting a homework question from a book that thinks that RH 9 is current
 
Old 02-18-2012, 03:50 AM   #8
singhjc
Member
 
Registered: Nov 2010
Location: Moradabad
Distribution: Redhat,Centos
Posts: 31

Rep: Reputation: 1
you must need ntfs package if it is installed then use command like


# mount -t ntfs-3g /dev/devicename /mountpoint -o --force




Thanks
singhjc
 
Old 02-18-2012, 07:25 AM   #9
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,672
Blog Entries: 8

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Quote:
Originally Posted by suicidaleggroll View Post
Wifi setup GUIs rarely work, it almost always needs manual configuration of wpa_supplicant.conf and/or /etc/network/interfaces and command line configuration/restarting
NFS configuration and mounting
SAMBA configuration
CIFS configuration and mounting
Ah yes. Wireless connection. I would classify that as a special need, since the majority of people do not use it. Debian gives newbies big headaches with wireless, because proprietary drivers, which most or all wireless hardware uses, are not included in the various installation media. They must be installed separately. I am sure that must be loads of fun.

And thanks for answering my question.
 
Old 02-22-2012, 12:31 PM   #10
gojis
LQ Newbie
 
Registered: Dec 2011
Location: Nairobi - Kenya
Distribution: Ubuntu
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
gojis most modern OS's will auto mount the MS windows NTFS drive or partitions under
/media

there is normally NO need to use the terminal any longer
thank you for that. I just want to know because am learning linux now.
 
  


Reply


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
Mounting Partitions? PipeDreams Mandriva 8 02-16-2007 06:37 PM
Mounting partitions Berticus Linux - Newbie 5 10-04-2005 01:03 AM
mounting partitions Niflheim Linux - Newbie 3 01-25-2005 11:10 PM
Mounting Partitions? nez Linux - Newbie 5 05-26-2004 08:21 PM
Mounting partitions skeletal29 Linux - General 2 05-01-2002 04:49 PM

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

All times are GMT -5. The time now is 05:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration