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 - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-21-2003, 03:10 PM   #1
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Rep: Reputation: 30
Accessing Windoze Disks


I know that to access a Windoze partition with Linux, you use edit the /etc/fstab, but is that the same for windoze disks? For example my /dev/hda is Windoze XP, and /dev/hdb is Slack. How do I get into /dev/hda?

Thanks!
 
Old 04-21-2003, 03:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Yes Just mount /dev/hda1 or /dev/hda2

The letter is the drive number and the number is the partition number. You will need to specify the type as NTFS or vfat depending on what XP is installed on.
 
Old 04-21-2003, 03:16 PM   #3
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Ok, thanks, but how do I tell it Linux that it is NTFS?
 
Old 04-21-2003, 03:20 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
In column 3
eg
Code:
/dev/hda1     /mnt/win     ntfs     defaults     0 0
 
Old 04-21-2003, 03:22 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
And make sure you have NTFS support compiled in your kernel (read-only, write is dangerous).
 
Old 04-21-2003, 03:29 PM   #6
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Thanks, works like a charm!
 
Old 04-21-2003, 03:33 PM   #7
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Actually, I take that back. I thought that I new how to make it so that all users could access it, but, I guess I dont *isgh*. Can you tell me how to do that?

Thanks

Update: Actually, when I try to mount it, I get this:
Code:
Could not mount device. The reported error was: mount: mount point /mnt/win does not exis
Thanks!

Last edited by cclavey; 04-21-2003 at 03:44 PM.
 
Old 04-21-2003, 03:54 PM   #8
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Rep: Reputation: 30
Quote:
Originally posted by cclavey
Actually, I take that back. I thought that I new how to make it so that all users could access it, but, I guess I dont *isgh*. Can you tell me how to do that?
Replace that defaults by ro,umask=0222

Quote:

Code:
Could not mount device. The reported error was: mount: mount point /mnt/win does not exis
I think you must create the directory /mnt/win first
 
Old 04-21-2003, 03:59 PM   #9
AxeZ
Member
 
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386

Rep: Reputation: 32
Have you actualy created /mnt/win/ directory??
 
Old 04-21-2003, 04:02 PM   #10
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Yup! Thanks, that fixed my problems!
 
Old 04-21-2003, 04:04 PM   #11
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Yea, just mkdir /mnt/win
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing external usb hard disks? Keir26 Mandriva 2 10-13-2004 05:32 PM
Accessing WinXP Dynamic Disk as RAID0 across 5 SCSI disks under Fedora 2 aroman Linux - Hardware 1 09-08-2004 05:54 PM
Accessing NTFS DISKS I'm a newbee Linux - Software 0 03-20-2004 10:01 PM
Accessing Linux Data through Windoze fuzzyworm Linux - General 2 12-19-2003 09:59 AM
Accessing from Windoze: How to activate guest account? Seppel Linux - Networking 2 09-17-2003 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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