LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-02-2004, 04:00 PM   #1
skinpainting
Member
 
Registered: Aug 2003
Posts: 52

Rep: Reputation: 15
accessing windows from linux?


can it be done? i want to be able to view the content of the windows ntfs formated drive? is this impossible?
 
Old 05-02-2004, 04:02 PM   #2
ssimontis
Member
 
Registered: Apr 2004
Location: USA
Distribution: Fedora Core 3
Posts: 128

Rep: Reputation: 15
With WINE, you can emulate Windows programs. I believe Linux can read the NTFS file system, but not write to it. For this, try a distro based on the NTFS file system or look for a utility. http://sourceforge.net and http://www.linux.org are good places to look. On Linux.org, you can search distros, and Sourceforge has several distros listed.
 
Old 05-02-2004, 04:32 PM   #3
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Is this drive in your Linux computer?
 
Old 05-02-2004, 04:34 PM   #4
skinpainting
Member
 
Registered: Aug 2003
Posts: 52

Original Poster
Rep: Reputation: 15
yes, it's installed as a slave drive
 
Old 05-02-2004, 04:35 PM   #5
mrgrieves
Member
 
Registered: Apr 2004
Location: north of 52, south of 54
Distribution: slackware 10.0
Posts: 108

Rep: Reputation: 15
its possible alright.

open /etc/fstab in kde or whatever you use

create the directory /windows
add windows to /etc/fstab as /dev/hdb1 or hdb2 (whatever it is)
put in /windows and ntfs in the correct places
 
Old 05-02-2004, 04:41 PM   #6
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
mkdir /mnt/windows

edit your /etc/fstab with this line:
Code:
/dev/hdb1  /mnt/windows  ntfs  users,ro  0  0
Reboot your machine and you should have access to the Windows partition as /mnt/windows

Check to see if its mounted by typing "df" in a terminal. If listed, you can go to the Windows directory and access what you want. If not,
Code:
mount /mnt/windows
and then go there. That line has the "ro" switch so you don't accidentally write to it. If you write to ntfs with anything less than a 2.6 kernel (and that's still a big risk), you may leave your Windows unbootable.
 
Old 05-02-2004, 04:50 PM   #7
skinpainting
Member
 
Registered: Aug 2003
Posts: 52

Original Poster
Rep: Reputation: 15
/dev/hda5 swap swap defaults 0 0
/dev/hda1 / ext2 defaults 1 1
/dev/hdb1 /windows ntfs
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hdb1 /windows ntfs

once it's mounted how do i see whats on it? cause i'm pretty sure it mounted...atleast it didn't tell me otherwise
 
Old 05-02-2004, 04:53 PM   #8
skinpainting
Member
 
Registered: Aug 2003
Posts: 52

Original Poster
Rep: Reputation: 15
it's not in there twice i just copied and pasted before i saved it again...
 
Old 05-02-2004, 04:54 PM   #9
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
You could cd to it with a terminal or change to the directory with nautulus or konqueror (or MC or whatever you use) and click on the pretty icons. Both ways will work. Once mounted, the /mnt/windows directory is the same as any other.
 
Old 05-02-2004, 11:27 PM   #10
skinpainting
Member
 
Registered: Aug 2003
Posts: 52

Original Poster
Rep: Reputation: 15
that worked, though i mounted as ntfs instead of windows..
thanks for your help
 
  


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
accessing windows files from linux... kb_ganesh Linux - Newbie 2 06-24-2005 04:27 AM
Accessing Windows HD through Linux Digital-Addict Linux - Newbie 11 09-16-2004 09:42 AM
Accessing windows thru Linux just_cassi Linux - General 4 10-21-2003 01:46 AM
accessing linux from windows 98 masand Linux - Networking 2 07-08-2003 12:59 PM
accessing windows through linux sadiboyz Linux - Software 4 04-22-2003 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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