How to use non-Linux partitions such as floppy disks, CDs, and DOS under Linux

Source: Internet
Author: User

This is the problem that Linux beginners ask most. As everyone has become accustomed to Microsoft's access methods, always want to use similar ideas to find

To floppy disks and discs.

But under Linux, it follows the way that UNIX treats devices as files. So to access the floppy disk and the disc, you must first

They load

To the/MNT directory of the Linux system.

The loaded command is mount, in the following format: Mount-t file system type device name mount directory

The file system type is the partition format, and Linux supports a number of file system types:

MSDOS DOS Partition file system type
VFAT a DOS partition file (which can be understood as a Windows file) that supports long file names system type
File system types for iso9660 discs
Ext2 file system types for Linux
......

Device name refers to the name of the device you want to mount. Floppy disk is generally/dev/fd0 fd1; the disc is based on the location of your optical drive

To decide,

Usually the CD-ROM is installed on the second hard disk's main disk location is/DEV/HDC, if you access a DOS partition, the device name is listed,

such as/DEV/HDA1 refers to the first partition of the first hard disk. The mount directory is the loading point of the device you specify.

1. Loading floppy disk

First use Mkdir/mnt/floppy to create an empty floppy directory under the/MNT directory, and then enter:

MOUNT-T msdos/dev/fd0/mnt/floppy a floppy disk in the DOS file format to be loaded in and later

In the/mnt/floppy directory

To find all the contents of this floppy disk.

2. Load the C drive where Windows is located

MKDIR/MNT/C Create an empty C directory under the/MNT directory;
Mount-t VFAT/DEV/HDA1/MNT/C Loads the C disk of Windows into the/MNT/C directory in a long file name format.

Later in this directory

Can read and write the contents of the C packing directory.

3. Loading the disc

Mkdir/mnt/cdrom create an empty CDROM directory under the/MNT directory;
Mount-t iso9660/dev/hdc/mnt/cdrom to load the CD into the file system and will be in the/mnt/cdrom directory

Find inside the disc

Capacity. Some Linux versions allow you to load discs with Mount/dev/cdrom or mount/mnt/cdrom commands.
Note that the mount command loads a floppy disk, a CD-ROM, and not a floppy drive or optical drive. Some beginners tend to make a

A problem, thought to use

After the above command, the floppy drive becomes the/mnt/floppy, the optical drive becomes the/mnt/cdrom, it is not, when you want to change a disc or soft

Disk, you must

To uninstall, reload the new disk.

4. Uninstall
The command format to unload is: Umonut directory name, for example, to unmount the floppy disk, you can enter the command umonut/mnt/floppy. Be aware of
Yes, in

Pressing the eject key directly on the optical drive panel will not work until the disc is uninstalled.

How to use non-Linux partitions such as floppy disks, CDs, and DOS under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.