LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-02-2005, 06:12 PM   #1
android6011
Member
 
Registered: May 2005
Posts: 255

Rep: Reputation: 30
slackware:partition and mount


ok, i have a harddrive and i want to partiton it as fat do that windows can also see it. the hd is hdb as far as i no, now can someone tell me how to partition it as fat w/e and then mount it?
 
Old 06-02-2005, 06:52 PM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Use 'mkdosfs' to create a fat32 filesystem. `man mkdosfs` will give you more information, but basic usage is just `mkdosfs /dev/hdb1`.

You'll only be able to use it after you've created a (or a few) partitions on your hard drive. Use fdisk or cfdisk to do that (cfdisk is the slightly more intuitive version).

Once you have a) a partition and b) formatted it, you can mount it with the 'mount' command. Create a directory, say /mnt/dos, and then mount the partition with `mount -t msdos /dev/hdb1 /mnt/dos`.
The mount man page can help ya out here, also.

Edit: I think that msdos is the correct filesystem indicator for mount...try auto if that doesn't work.
 
Old 06-02-2005, 07:14 PM   #3
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
thanks alot, i had done all of that, im glad you edited it because it was the auto fs i was missing
 
Old 06-02-2005, 07:24 PM   #4
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Cool, glad I remembered it then

Cheers
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant mount old partition hydro Linux - Newbie 8 08-30-2005 01:31 PM
Cant mount partition bvav22 Linux - Hardware 1 06-05-2005 09:04 PM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 08:56 AM
Slackware 10.0 bare.i won't mount root partition PeteRossi Slackware - Installation 6 07-14-2004 12:14 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-28-2003 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:55 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
Open Source Consulting | Domain Registration