Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-29-2010, 08:03 PM   #1
LQ Newbie
Registered: Sep 2010
Location: Vietnam
Distribution: Debian, Lubuntu
Posts: 10

Rep: Reputation: 0
Mount a partition in command line

Hi all,
I use a ext4 partition to store my data, to mount and open that partition I open Nautilus file manager, then click on the partition icon and label on the left side.
So if I don't have a desktop environment, how can I mount a partition in terminal?
Thank you very much
Old 11-29-2010, 08:08 PM   #2
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,832
Blog Entries: 1

Rep: Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229
1. Check which drive it is (/dev/sda3, /dev/sdb1, etc) I always do it with 'fdisk -l'
2. Create a directory where you want to mount it, eg. /home/user/disk
3. As root you can mount it
mount /dev/sda3 /home/user/disk
There might be some specific mount options depending on the filesystem of the drive
What file system are we talking about? Is it a windows drive?

Last edited by sycamorex; 11-29-2010 at 08:13 PM.
1 members found this post helpful.


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
[SOLVED] trying to resize a partition from command line pwagner9999 Linux - Newbie 2 08-21-2010 11:02 AM
Mount like a file manager from the command line meetscott Linux - Software 14 06-07-2010 12:30 PM
Mount VBoxGuestAddition from command line in Centos nerak99 Linux - Newbie 1 10-18-2009 02:49 PM
Mount USB drive from command line rcrummett Linux - Newbie 10 09-25-2008 05:16 PM
write partition table from the command line drkstr Slackware 18 07-27-2006 12:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:46 AM.

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