LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-13-2008, 06:11 PM   #1
katesfb
Member
 
Registered: Nov 2006
Posts: 58

Rep: Reputation: 15
mounting a windows partition on onther hard-drive


Hi,
I want to mount a windows partition so that it can be accesed from linux. The winXp partition exists on main harddrive and linux exists on the secondary.

I set up a directory in /mnt called /mnt/winxp and then tried to use the command:

mount -t /dev/hda2 /mnt/winxp but his didnt work.

I then found that /dev/hda2 doesnt seem to exist. I then checked Fstab and found that only the floppy, CD rom and the linux partitions are evident.

What have i done wrong? Any help would be much apreciated.

Cheers.
 
Old 09-13-2008, 06:30 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,899
Blog Entries: 27

Rep: Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186
Hi,
Quote:
Originally Posted by katesfb View Post
Hi,
I want to mount a windows partition so that it can be accesed from linux. The winXp partition exists on main harddrive and linux exists on the secondary.

I set up a directory in /mnt called /mnt/winxp and then tried to use the command:

mount -t /dev/hda2 /mnt/winxp but his didnt work.

I then found that /dev/hda2 doesnt seem to exist. I then checked Fstab and found that only the floppy, CD rom and the linux partitions are evident.

What have i done wrong? Any help would be much apreciated.

Cheers.
First, the mount command could be; mount -t vfat /dev/hda2 /mnt/winxp', you forgot the filesystem type after the '-t'. You need to use the filesystem type for your winxp partition.

To see the hdd partition information 'fdisk -l' from the cli.

If that's all that you have for your '/etc/fstab' defined then your M$windows partition(s) weren't defined with the '/etc/fstab'.
 
Old 09-13-2008, 07:46 PM   #3
teek
Member
 
Registered: Jun 2004
Location: The Netherlands; Dordrecht
Distribution: Arch (at the moment)
Posts: 110

Rep: Reputation: 16
Hey katesfb, if your windows partitions is ntfs, look at ntfs-3g for mounting, in which case the command would be "mount -t ntfs-3g /dev/hda2 /mnt/winxp"

If it doesn't work, please tell us what distro you have (a good thing to add to your profile ) for more sprecific instructions.

Good luck!
 
  


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 Hard drive partition as writable with -rw swich using mount command fultron Linux - Newbie 12 08-16-2013 07:56 AM
mounting hard drive partition write for normal users jojotx0 Linux - Hardware 1 04-19-2005 01:10 PM
mounting a windows format hard drive? cynergysystems Linux - Newbie 8 10-19-2004 12:59 AM
Having trouble mounting a vfat partition on my slave hard drive eyebrowsoffire Linux - General 27 10-10-2004 09:45 PM
windows xp hard drive mounting error threedguy Linux - Hardware 14 10-09-2003 11:36 PM

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

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