LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-01-2005, 04:05 PM   #1
matsgl
Member
 
Registered: Dec 2004
Location: UK
Distribution: Ubuntu 5.10
Posts: 48

Rep: Reputation: 15
Formatting new hd for windows-linux samba network use?


I have just purchased a new hard drive that I will use as a storage media on my small home samba network. I need to ensure that it is formatted so that I can write to it from both the Linux and Windows machines. I assume I need to format it to FAT32 (is this referred to as VFAT under Linux?)? Perhaps it already comes formatted as FAT32 from the manufacturer?

Advice to this n00b greatly appreciated!

/matsgl.
 
Old 03-01-2005, 04:15 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Yes it will be vfat. It may be formatted by the manufacturer but most disks don't even have partitions on them. If there are no partitions then you will need to create one/them with fdisk or cfdisk.
 
Old 03-01-2005, 04:37 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,025

Rep: Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890
If sharing via dual boot then vfat is the way to go.

If this is only for network sharing then any filesystem should work.
 
Old 03-01-2005, 04:43 PM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Since you ask the question here, I presume you intend to install this on a linux box? if so, you can use a native linux file system or you can use FAT (not recommended). The filesystem is irrelevant when you are accessing the drive over a network; you access it using network protocols and the host machine translates that to the required filesystem.

If, as michaelk commented, you intend to dual boot with Windows, and you want Windows to be able to access it, then FAT is pretty much your only choice. You could use ntfs and use the captive-ntfs package on Linux to access it, but that package has a lot of overhead and, on my machines at least, it also has some issues.
 
Old 03-01-2005, 05:04 PM   #5
matsgl
Member
 
Registered: Dec 2004
Location: UK
Distribution: Ubuntu 5.10
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks for the prompt feedback!

Yes, I will run the disk under linux and have the other windows machines access it via the samba network. I'm quite new to linux so I guess I'm still feeling my way around. But I am really enjoying the flexibility of it all - my samba network allows me to hook together up the linux box with 1 mac and 2 windoze machines - and it's not very complicated!

Cheers,
matsgl.
 
  


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
can browse samba network with windows but not linux tuxkwb Linux - Networking 0 12-01-2004 04:52 PM
linux grub deleted during formatting windows ashutosh_singh Linux - Newbie 1 09-11-2004 12:39 PM
Formatting Windows, With Linux Installed Enfer Singe Linux - Newbie 11 09-04-2004 02:19 PM
Samba and firewalls on Linux/Windows network - where to start? abovett Linux - Security 9 06-21-2004 06:18 PM
formatting my HD to get rid of Linux and go to Windows 98 Zeke General 16 09-03-2003 11:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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