Howto: Linux formatting floppy and zip disk and create filesystem
Q. How do I format floppy and zip disk under Linux?
A. You need to fdformat command. It does a low level format on a floppy disk device is usually /dev/fd0 or /dev/fd1:
/dev/fd0 is your first floppy disk drive (A: under MS-DOS/ Windows XP). You must be the root to run following command.
Task: Low level format on a floppy disk
# fdformat /dev/fd0
Task: Create a Linux file system on a floppy disk
# /sbin/mkfs.ext3 /dev/fd0
Task: Create a MS DOS FAT file system on a floppy disk
# /sbin/mkfs.vfat /dev/fd0
Task: Create a partition on zip device
Zip device treated as SCSI device. So your first zip disk is /dev/sda. To remove or to create partition type the following command:
# fdisk /dev/sda
Type m for help and follow on screen instructions.
Task: Create or format a partition on zip device
/dev/sda1 is your first partition. To format in Linux file system type the following command:
# mkfs.ext /dev/sda1OR for FAT file system use # mkfs.vfat /dev/sda1
/etc/fstab file
The /etc/fstab allows you to configure the mount points.
# mkdir -p /mnt/zipOpen file and add entry:
# /etc/fstabAppend following text:
/dev/sda1 /mnt/zip ext3 noauto,rw,user,nosuid,sync
For DOS FAT file system add something as follows:
/dev/sda2 /mnt/zipd vfat noauto,rw,user,nosuid,sync,mode=0777
Save close the file.
Task: Mount zip device
To mount zip type following command:
$ mount /mnt/zip
$ cd /mnt/zip
$ ls
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Linux copy data from a floppy to hard disk
- Formatting usb pen in Linux
- Linux format external USB hard disk Partition
- Howto: Create a boot floppy in Solaris UNIX
- Red Hat Enterprise Linux how do I add a new hard disk for backup?
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


September 14th, 2006 at 8:37 am
encouraging