LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-23-2009, 04:00 AM   #1
jacqo
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
Mounting drives or partitions in Linux


I am relatively new to Linux. I have installed OpenSuse 11.1 (with KDE 4.2) as a dual boot with Windows XP and it is all going well except that i cannot find a way to mount my other drives or partitions so that I can access them all in LINUX.
Could somebody help me?
Thanks.
 
Old 02-23-2009, 04:23 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
"fdisk -l" will show you a list of partitions that you can mount. "mount" is used to mount partitions. "man mount" and "man fdisk" for more information about these commands (which you'll need to read in order to use them, particularly mount).
 
Old 02-23-2009, 04:25 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
If you want read/write access to your Windows partitions/drive, use the ntfs-3g command as root. It is pre-installed in OpenSuse 11.1, so that you can simply do:
Code:
ntfs-3g /dev/something /mnt
where /dev/something is the correct device name corresponding to the Windows partitions/drives. You can look at the output of fdisk -l to see which device name have been assigned to those partitions (post the output here if in doubt). The command above will mount the partition under the /mnt directory. If you want to mount multiple partitions at the same time, you can create different mount points, for example:
Code:
mkdir /mnt/windowsC /mnt/windowsD
then mount each partition under a different mount point, for example
Code:
ntfs-3g /dev/something1 /mnt/windowsC
ntfs-3g /dev/something2 /mnt/windowsD
To unmount them just use the command umount specifying either the name of the device or the name of the mount point as argument.

If you want these partitions to be mounted at boot time, you have to add the proper entries in /etc/fstab. Moreover, there is a chance that OpenSuse check for Windows partitions at boot. To check this, click the "My Computer" icon on the Desktop and in the "Disk Information" section look for the Windows partition. If they are there, you can simply right-click on them and select "Mount".

Last edited by colucix; 03-04-2009 at 05:11 PM. Reason: Typo corrected
 
Old 03-04-2009, 04:26 PM   #4
jacqo
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Mounting drives or partitions in Linux

Thanks.
Very clear now.
 
Old 03-04-2009, 05:12 PM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Please, note: I corrected a typo in my previous post:
Code:
ntfs-3g /dev/something1 /mnt/windowsC
ntfs-3g /dev/something2 /mnt/windowsD
 
  


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 NTFS Drives / Partitions Rustylinux Linux - Hardware 3 02-24-2008 09:32 PM
Mounting windows and Linux partitions on separate hard-drives vineet7kumar Solaris / OpenSolaris 1 10-09-2007 08:17 PM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 06:15 PM
[SOLVED] Mounting Linux Partitions? NightSky Linux - Newbie 11 01-02-2006 08:04 PM
Newbie Question (mounting drives/partitions) Abremelin Linux - Newbie 11 07-01-2002 10:13 AM

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

All times are GMT -5. The time now is 06:41 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
Open Source Consulting | Domain Registration