LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-14-2006, 11:58 AM   #1
soldan
Member
 
Registered: Feb 2006
Distribution: slackware 11
Posts: 110

Rep: Reputation: 15
formatting floppy


is there a commandline in linux to format a floppy disk so that the files on the disk are available to both linux (EXT3) and XP (NTFS) filesystems?
 
Old 04-14-2006, 12:03 PM   #2
SlackerDex
Member
 
Registered: Mar 2006
Location: localdomain.localhost
Distribution: Arch-0.7.2, Slack-11.0
Posts: 56

Rep: Reputation: 15
man fdformat ; From what I remember floppies can only be formatted into one format not many.

Last edited by SlackerDex; 04-14-2006 at 12:06 PM.
 
Old 04-15-2006, 12:30 AM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
format a floppy disk so that the files on the disk are available to both linux (EXT3) and XP (NTFS) filesystems?
I believe a normal FAT (16?) floppy is the easiest way to have the floppy available to multiple operating systems.
"mkdosfs" works. Check the "-m" option to add custom "not a boot floppy" message.
"man mkdosfs" for more info.
 
Old 04-15-2006, 09:51 AM   #4
soldan
Member
 
Registered: Feb 2006
Distribution: slackware 11
Posts: 110

Original Poster
Rep: Reputation: 15
i looked at the man page for mkdosfs and it says that it will either create a fat12 or fat16 filesystem by default if no options are specified to the 'mkdosfs' command (based on what it thinks best), so with the advice from 2damncommon i didnt use any options. so i then went ahead and formatted the floppy with..

'mkdosfs /dev/fd0'

i then tested to see if i could transfer a file from linux to xp via the floppy disk, by first mounting the floppy in linux with a commandline i found elsewhere on the net..

'mount -t [fstype] [something] [somewhere]

so i actually typed..

'mount -t vfat /dev/fd0 /mnt/floppy'


next i copied a file to the floppy with..

'cp filename /mnt/floppy'


then i unmounted the floppy with..

'umount /mnt/floppy'


i then started XP, and successfully transfered the file from the floppy disk to XP.

thanks for your help guys (ps, ive given a full account of what worked for me incase any other noobs find it useful too)
 
Old 06-02-2006, 12:40 PM   #5
Stabby McTwist
Member
 
Registered: May 2006
Distribution: Mandrake, Ubuntu, Kubuntu, SuSE
Posts: 63

Rep: Reputation: 15
I've got an odd problem with this command. The man mkdosfs comes up, but when I try to use it it says command not found.
 
Old 06-02-2006, 01:04 PM   #6
Lotharster
Member
 
Registered: Nov 2005
Posts: 144

Rep: Reputation: 18
You must be root to execute that command
 
Old 06-03-2006, 02:12 AM   #7
Stabby McTwist
Member
 
Registered: May 2006
Distribution: Mandrake, Ubuntu, Kubuntu, SuSE
Posts: 63

Rep: Reputation: 15
I'm still new to this, thanks.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
formatting floppy so windows can read Lleb_KCir Linux - General 2 05-11-2005 03:44 PM
formatting floppy problem Kruncher Linux - General 1 05-03-2005 02:36 PM
Floppy formatting mtb Linux - Software 1 11-08-2003 09:27 AM
2m floppy formatting Citizen Bleys Linux - General 0 09-24-2001 07:22 AM
Formatting Floppy Fried Linux - Newbie 0 07-04-2001 02:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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