LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-20-2005, 04:29 AM   #1
mkkreddy
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
viewing windows partitions


hi friends.im a newbie 2 linux and this is my first post here. is it possible to view windows partitions on linux (ext3). i have RH8 with winxp dualboot. moreover can anybody shed some light on the VFAT file system.

waiting in gratitude and thanx in adv.
 
Old 03-20-2005, 04:40 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Locally, Linux can read and write to FAT32. Linux can only read NTFS, unless you use pirated libraries from something called capture-ntfs drivers. Through SAMBA though, you can read and write to anything because it's not based on the filesystem, but on the protocol.

You can mount a windows partition by setting a file share on windows on say C: with administrator as the user and buttmonkey as the password. Assume your computer name is called captain.

To mount it in linux, as root you would type:

mkdir /mnt/c
mount -t smbfs -o username=administrator,password=buttmonkey //captain/C /mnt/c

When you browse in linux to /mnt/c, you would then be able to read all of your files and copy and paste files from Linux to windows.

vfat = FAT16/FAT32
ntfs = ntfs

if you want to mount your windows partition at boot, you would put a different entry into your /etc/fstab file. But, you didn't ask about that, so that's for later. I'm sure you're already overwelmed with feelings of euphoria as it is. Till next time..
 
Old 03-20-2005, 08:35 AM   #3
mkkreddy
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
thanx a lot. hope this works. plz clarify if linux can read windows partition without samba or sort of that. also plz show how 2 add an entry to the fstab for automounting of c: on boot.
thanx once again for the timely help.
 
Old 03-20-2005, 09:26 AM   #4
I_Wanna_Kno
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: Red Hat 8.0
Posts: 11

Rep: Reputation: 0
Dear mkkreddy,
What I am explaining now is one of the easiest ways to mount FAT32 partitions.

>> use KDE envovirnment for step 4 <<

Step1: Find out the device names of your FAT32 partitions. Like /dev/hda5 thing. If you are clueless about it. Use the System Information utility in KDE envoirnment.

Step 2: Suppose your FAT32 partitions turn out to be /dev/hda5 and /dev/hda6 (just a wild assumption for example.)
Make the following directories in /mnt/ :
$ mkdir /mnt/hda5
$ mkdir /mnt/hda6

Step 3: Suppose your FAT32 partitions turn out to be /dev/hda5 and /dev/hda6 (just a wild assumption for example.)
Make the following entries in your /etc/fstab file:
/dev/hda5 /mnt/hda5 auto auto, owner, rw
/dev/hda6 /mnt/hda6 auto auto, owner, rw

Step 4: Goto desktop. Right click. From th pop-up menu, choose make new-->Hard Disk.
Now choose the device name friom device list in the third tab. (Explore a bit and yopu can do this 1, I don't need to be so descriptive in this part ). Now just click on the icon and BINGO!! You 'd open yr FAT 32.
Lemme kno if you face some problems
The best way to break free in Linux is to read man pages. Type
$ man fstab for more info.
 
Old 03-20-2005, 12:35 PM   #5
mkkreddy
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
thanks guys. it works perfectly. hats off. keep on the good work.
 
Old 03-20-2005, 12:58 PM   #6
mkkreddy
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
can the same be done under gnome? hope im not bothering u. thanx in adv.
 
Old 03-21-2005, 01:09 AM   #7
I_Wanna_Kno
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: Red Hat 8.0
Posts: 11

Rep: Reputation: 0
Yeah! Sure.
But you dont have to do the 'create new device' thing in Gnome.
Modified step 4 for Gnome is :

Step 4 Right click on Gnome desktop and you see an option like mount or something in the popup menu. When you click on it it shows you the devices listed in /etc/fstab. When you click on any of those, they are mounted and a corrosponding icon created on Gnome desktop.

That's all the difference b/w Gnome and KDE. I prefer KDE (I call it Kool Desktop Envoirnment )

... And you didn.t bother me. I crashed 13 Linux systems before I learned Linux ) So don't give up, just be stubborn
 
  


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
Viewing the windows partition vital_101 Mandriva 5 09-14-2005 10:16 PM
Viewing Windows partitions in Redhat 8 lucid Linux - Distributions 5 06-08-2005 12:16 AM
viewing linux partitions from a windows install? bigjohn General 9 09-30-2004 09:06 PM
viewing partitions and drives gag Linux - Newbie 4 11-09-2003 12:59 PM
viewing windows shares linus Linux - Networking 5 01-14-2002 04:50 PM


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