Forum Home
Press F1
 
Thread ID: 53502 2005-01-19 09:24:00 Access Windows partitions from Linux Mike (15) Press F1
Post ID Timestamp Content User
315784 2005-01-19 09:24:00 I just installed FC3 (I found some spare CDs ;)), and created a Openoffice document which I wanted to save to one of my Windows partitions, however I couldn't find any. I ended up having to email it to myself...

Where do I look for Windows partitions while in Linux? I thought I had to mount them or something, but nothing I tried worked.

I have 3 Windows partitions - 2x NTFS (both 40gb) 1x FAT32, plus Linux on 12gb (3 partitions I think?)

Any help appreciated :)

Mike.
Mike (15)
315785 2005-01-19 09:49:00 Mike
I take it you can ping the machines
You also need Samba installed
Im not sure about FC3 but FC2 was easy to setup. Once Samba was installed and configured I just used unc pathing ( \\computername\sharename) in the properties of a what technically in linux speak is a symbolic link, on my desktop (shortcut) to access the windows share.
Jen or Chill will hopefully see this as Im still learning about Samba (the hard way :D)
beama (111)
315786 2005-01-19 09:57:00 As I read it - SAMBA is not needed since all partitions are on the same PC are they not?

As root, use fdisk -l /dev/hda (assuming all partitions are on the same (primary) drive). This will tell you which partitions are which.

I think you need to install extra software to mount and use a NTFS partition. FAT32 is out of the box.

If you have a directory called (say) /mnt/fat32, and the FAT32 parition is (say) /dev/hda5, then as root issue this command:

mount -t vfat /dev/hda5 /mnt/fat32

Hope that helps.

John
johnd (85)
315787 2005-01-19 09:59:00 [QUOTE=johnd]
I think you need to install extra software to mount and use a NTFS partition. FAT32 is out of the box.

/QUOTE]
See:
linux-ntfs.sourceforge.net
johnd (85)
315788 2005-01-19 10:05:00 A good brief guide for NTFS is here (www.linuxforum.com) . Read the warning regarding to writing to NTFS at the bottom, especially as it regards RedHat. Fat32 write access is straightforward and is as per the instructions in the guide. vinref (6194)
315789 2005-01-19 10:16:00 Mike
I take it you can ping the machines
You also need Samba installed
Im not sure about FC3 but FC2 was easy to setup. Once Samba was installed and configured I just used unc pathing ( \\computername\sharename) in the properties of a what technically in linux speak is a symbolic link, on my desktop (shortcut) to access the windows share.
Jen or Chill will hopefully see this as Im still learning about Samba (the hard way :D)

my bad, should have read the question again missed the partition bit
beama (111)
315790 2005-01-19 10:21:00 Try googl'ing for captive-ntfs if you want to write to your NTFS partitions.

Beama:
Why not just ask?
nzlinuxfaq.orcon.net.nz
^^ I drew that up ages ago, but it should still be relevant
Chilling_Silence (9)
315791 2005-01-19 10:32:00 Beama:
Why not just ask?
nzlinuxfaq.orcon.net.nz (nzlinuxfaq.orcon.net.nz)
^^ I drew that up ages ago, but it should still be relevant

cause Im stubbon :D
I use linux howtos linux forums alot
beama (111)
315792 2005-01-19 10:38:00 Search PressF1 too... Especially for Samba stuff.. Ive posted things like how to run it from old knoppix's etc and a million and one other things ;) Chilling_Silence (9)
315793 2005-01-19 11:44:00 To mount your hard drives, simply type su - and type in your root password,

then type mount to see wats mounted.

If you want to mount something type mount --help to get the syntax for it.

johnd has told you correctly in saying


mount -t vfat /dev/hda5 /mnt/fat32


however if you don't have /mnt/fat32 made already you'll get an error...

Also, if you're in root (which you have to be, for this method) that drive will only be available to root.

So on the end of mount -t vfat /dev/hda5 /mnt/fat32 you'll have to add:
-o auto users,nohide 00 so it'll be:

mount -t vfat /dev/hda5 /mnt/fat32 -o auto users,nohide 00

Then you must cd to /mnt and run this command:
chmod -R 777 fat32

I'm pretty sure thats how chill told me to do it a while ago....

Also another link for ya NTFS: www.jankratochvil.net
hamstar (4)
1 2