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 08-08-2003, 07:33 PM   #1
TheHunted
LQ Newbie
 
Registered: Aug 2003
Location: Timbuk 2
Posts: 2

Rep: Reputation: 0
mounting windows from red hat 9


Ok, heres my problem. I mounted WinXP by typing mount -t msdos /dev/hda1 /mnt and it mounted correctly. The only problem is I dont know how to access my files. How would I get something from my desktop. I know how to copy it when I find it, the only problem is finding it.

TheHunted
 
Old 08-08-2003, 08:20 PM   #2
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
Uhhh, the contents of your harddrive should be in the dir /mnt then...

cd /mnt
ls

For your desktop i think its something like:
cd /mnt/Documents and Settings/Username/Desktop


Should try mounting into a folder in /mnt next time as the /mnt dir has other things in it also.

cd /mnt
mkdir windows
mount -t msdos /dev/hda1 /mnt/windows

Last edited by Awatto; 08-08-2003 at 08:22 PM.
 
Old 08-09-2003, 01:23 AM   #3
Dinangkur Kundu
LQ Newbie
 
Registered: Aug 2003
Location: Bogra, Bangladesh
Posts: 1

Rep: Reputation: 0
You can also put the configuration in et/fstab. So, you do not need to worry about mounting each time you boot. It will do automatically.
 
Old 08-09-2003, 05:34 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Yeah /etc/fstab
 
Old 08-09-2003, 01:30 PM   #5
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Is the fs NTFS? RH9 has a kernel without NTFS support.
 
Old 08-09-2003, 02:27 PM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
There are a few things that need to be underlined.
Like Awatto mentioned, you should create a directory in /mnt and then mount to that directory.
Code:
cd /mnt
mkdir windowsXP
Now, is your windowsXP using a FAT32 or NTFS file system.
If you don't know, open a terminal window and type:
Code:
fdisk -l
If it is a FAT32 file system, type:
Code:
mount -t vfat /dev/hda1 /mnt/windowsXP
If it is a NTFS file system, you will need to download and install the NTFS support RPMs.
http://linux-ntfs.sourceforge.net/

You can also mount it automatically by adding a line to /etc/fstab

Note:
NTFS support is Read-Only.
Do NOT write to NTFS from Linux.
It may corrupt your NTFS filesystem.
 
Old 08-09-2003, 03:14 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
To mount a NTFS filesystem on Boot-up were all users have Read access, put an entry at the bottom of your /etc/fstab file on a new line - (just substitute in your Partition, Mount point and User ID Number ( uid ) in place of my example ones)


Code:
/dev/hda1 /mnt/windows ntfs auto,ro,umask=0222,uid=501  0  0

You can get your User ID Number by becoming Root user on the command line and typing:

id username – (substitute username with Aaron or Sofie or whatever your username is)

Last edited by Skyline; 08-09-2003 at 03:19 PM.
 
  


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
Red Hat Disk Mounting Maze LinuxQuestions.org Member Intro 2 01-08-2005 06:33 AM
DVD Mounting in Red Hat 9 evannextel Linux - Newbie 7 10-06-2003 02:01 PM
Mounting smbfs with Red Hat 9 lapthorn Linux - Software 1 07-30-2003 04:55 AM
NTFS mounting in Red Hat llimllib Linux - Distributions 8 01-27-2003 03:36 PM
Red Hat auto-mounting hotrodowner Linux - Distributions 5 12-22-2002 07:46 PM

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

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