LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-07-2003, 11:38 PM   #1
Neo22589
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Rep: Reputation: 15
Problem with mounting second hdd.


Hey everyone...well i am trying to mount my xp hdd so i can get to the files...however when i type in the command it doesn't work...i have two seperate hdd's each with its own os...i type in this at the terminal

mount -t ext3 /dev/hda2/mnt/win

it is something like that

thx in advance

-Neo
 
Old 03-07-2003, 11:56 PM   #2
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Quote:
mount -t ext3 /dev/hda2/mnt/win
didn't you say you're trying to mount your second hd?
also, you would need to use '-t vfat' to mount windows (unless its ntfs).
lastly, I think you mean to have a space between /dev/hda2 (the partition) and /mnt/win (the mount point)

maybe if you give the exact command you issue and the errors you get, someone can help you out more. also, this seems to be a fairly common question...maybe a search would help.
 
Old 03-08-2003, 03:24 AM   #3
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 227

Rep: Reputation: 30
your second hd is probably /dev/hdb (see how it is detected at bootup in the messages or type dmesg from a terminal then make sure you have an existing directory "win" under your /mnt directory-then it should be
mount -t vfat /dev/hdb /mnt/win
if it's not vfat,then use ntfs,although, i think your kernel must be configured to handle ntfs-search is always a good idea
 
Old 03-08-2003, 11:57 AM   #4
Neo22589
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
ya...well here is the more updated command that i found works yet doesn't work

i think this is the correct one

mount -t vntfs /dev/hda2 /mnt/win

it is hda2 because that is what it tells me in the hardware manager in linux for my windows partition but when i type that in it says that the kernel doesn't support ntfs yet i have read somewhere that all redhat kernels do except it..but when i type in cat /proc/filesystems it doesn't list ntfs.

thx again

-Neo
 
Old 03-08-2003, 12:23 PM   #5
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
again, hda2 is your second partition on your first HD. If this is where you're window's resides - you have to decide on your own. Maybe if you post your /etc/fstab we can help you out more.

and if mount does not work, it may be an error in /etc/fstab, or you need to recompile your kernel to support ntfs, or both.
 
Old 03-08-2003, 02:06 PM   #6
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 227

Rep: Reputation: 30
sorry,i did mean to indicate /dev/hdb*,where * is the number of the partition on which the ntfs resides-but now i'm not sure what you've got-several places i've read xp installs to the first partition of the first hd,maybe you've worked around that-you may be able to issue the command
/sbin/modprobe ntfs to load ntfs support,then try to mount the partition-it may take more than that,i'm not sure as i got away from ntfs very quickly and then windows not too long after.
 
Old 03-08-2003, 02:12 PM   #7
Neo22589
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
well guys thx for the help but i got it all figured out thx to my friend...thx for all the input =)

-Neo
 
  


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 HDD HELP!!! westverg Ubuntu 3 07-05-2005 06:12 PM
HELP!!! I have a problem mounting my SATA ntfs HDD patatoemasher Debian 3 06-25-2005 06:05 AM
Firewire hdd: mounting problem Ungluun Slackware 8 07-15-2004 10:13 AM
HDD mounting problem mattuc Linux - Newbie 12 05-11-2004 09:55 PM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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