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 06-02-2001, 03:47 PM   #1
AMH
LQ Newbie
 
Registered: May 2001
Posts: 9

Rep: Reputation: 0
Exclamation


I want to access files in my Win98 Partition. How do I do this? Can I mount the partition as another drive? I am running caldera on one machine and red hat on another so if there is a difference please let me know.

Thanks.
 
Old 06-02-2001, 03:50 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Sure! Just use
Code:
mount -t vfat /dev/hdXX /someDir
where /dev/hdXX would be your Win partition (could be /dev/sdXX for that matter) and /someDir is an existing directory to use as a mount point. Your Win filesystem should now be available under /someDir. You probably don't need the '-t vfat' bit but it won't hurt.

This assumes you have support for the filesystem in the kernel, I'll be amazed if you don't.

HTH

Jamie...
 
Old 06-02-2001, 06:32 PM   #3
AMH
LQ Newbie
 
Registered: May 2001
Posts: 9

Original Poster
Rep: Reputation: 0
Talking Thanks!

Thanks for the quick response... gotta love forums! Hey, how do you check to see if you have support in the kernel and if you don't what do you do?

I appreciate it.
 
Old 06-02-2001, 06:49 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
1. run "cat /proc/filesystems"
2. recompile kernel with support for it :-]
 
Old 06-05-2001, 12:06 AM   #5
Sakura_Samurai
LQ Newbie
 
Registered: Jun 2001
Distribution: Red Hat 7.1
Posts: 4

Rep: Reputation: 0
/etc/fstab

You could also edit your /etc/fstab file to automaticly mount it on start up. The line I personally use goes like this:

/dev/hda1 /win32 vfat users,defaults,ro 0 0


I hope this helps.
 
Old 06-05-2001, 06:10 AM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Re: /etc/fstab

Quote:
Originally posted by Sakura_Samurai
<snip>
/dev/hda1 /win32 vfat users,defaults,ro 0 0
<snip>
[/B]
Shouldn't that be
Code:
/dev/hda1 /win32 vfat user,defaults,ro 0 0
Jamie...
 
Old 06-05-2001, 02:42 PM   #7
Randy-RH7
LQ Newbie
 
Registered: May 2001
Posts: 11

Rep: Reputation: 0
Question Why ro?

Why do you use ro? Does that mean read only? If so, I thought you would use that for CDROMs. Can't you also write to a dos/win partition?
 
Old 06-05-2001, 05:37 PM   #8
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Re: Why ro?

Quote:
Originally posted by Randy-RH7
Why do you use ro? Does that mean read only? If so, I thought you would use that for CDROMs. Can't you also write to a dos/win partition?
You can read and write to VFAT partitions. I personally don't mount mine read only, I was just making a modification to the existing example. The reason the RO is used in the example is becuase its a user mountable partition and you probably don't want people to be able to overwrite/erase any-old thing on the partition.

Jamie...
 
Old 06-05-2001, 06:42 PM   #9
Sakura_Samurai
LQ Newbie
 
Registered: Jun 2001
Distribution: Red Hat 7.1
Posts: 4

Rep: Reputation: 0
I only keep programs (binaries) in my windows partition (files and the my documents folder are stored in an other), and due to the way windows programs are installed, I feel it is best to modify or delete from windows. Thus I have it mounted in linux as read only so that I can read it, and I won't screw up something if I try to write to it.

I use users (not user) because it allows anyone to unmount it, where user only allows the mounter to unmount. I would like to point out that there are only two accounts on my machine, root (me), and sakura (me), and I don't access the net from linux. So, I don't have to worry about securety as much as others.
 
  


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
How can i mount a win98 share ? landuchi Linux - Networking 2 11-20-2004 02:26 PM
samba mount win98 without password! scoaze Linux - Networking 1 07-12-2004 01:27 PM
Mount a new HDD(consisting Win98) SecretLinuxGeek Linux - Newbie 30 06-19-2003 03:39 AM
How do I mount Win98 from within Linux if my mnt/...... purpleburple Linux - General 4 07-05-2002 12:33 AM
My mount point of /dev/hda1(win98) is /mnt/c,but now it says input/output error whepin Linux - General 2 12-20-2001 01:41 PM


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