LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-17-2004, 01:11 PM   #1
shadowsurfer
Member
 
Registered: Aug 2004
Location: philippines
Posts: 51

Rep: Reputation: 15
accessing file


how to access windows file from RH8 in a dual boot system
 
Old 09-17-2004, 01:12 PM   #2
shadowsurfer
Member
 
Registered: Aug 2004
Location: philippines
Posts: 51

Original Poster
Rep: Reputation: 15
using win98 se ..
 
Old 09-17-2004, 01:32 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Assuming ext2/3 filesystem
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm

BTW this is read only. If you want to share files between the two then just mount your 98 partition in RH
 
Old 09-17-2004, 01:50 PM   #4
shadowsurfer
Member
 
Registered: Aug 2004
Location: philippines
Posts: 51

Original Poster
Rep: Reputation: 15
thanks gforthe info .. but how can i mount it what command ill used?
 
Old 09-17-2004, 03:30 PM   #5
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,207

Rep: Reputation: 63
You need to create an entry for the windows 98 partition in /etc/fstab. Add a line to fstab like:
Quote:
/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000 0 0
Where /dev/hda1 is the partition for windows 98 (typically this is the first partition of the master drive: hda1). Make the /mnt/hda1 directory (as root):
Code:
mkdir /mnt/hda1
You can mount the directory as a regular user with:
Code:
mount /mnt/hda1
or, if you change "noauto" in the fstab line to "auto", it will automatically be mounted at /mnt/hda1. Either way, you can browse your windows files in /mnt/hda1
 
Old 09-17-2004, 03:34 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Assume your asking how to mount a windows 98 partition. You can find lots of info if you search this website.

Assuming your c: drive is /dev/hda1 then as root
create a mount point:
mkdir /mnt/win_c (or whatever )
chmod 777 /mnt/win_c (So a regular user can access it)
Add entry to your /etc/fstab file
/dev/hda1 /mnt/win_c vfat users,umask=000 0 0

To mount:
mount /mnt/win_c
 
  


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
permission of accessing file hitomi Linux - Security 14 08-01-2005 02:34 PM
File Accessing Question... JediDB Ubuntu 1 07-24-2005 01:21 AM
accessing file system of MMC jogurt666 Linux - Hardware 0 05-11-2005 04:07 PM
Accessing file on XP computer through Linux ddussin Linux - Networking 1 01-31-2005 03:01 PM
accessing file using ip pantera Programming 2 09-09-2004 05:43 PM


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