Access Windows partition and USB interface mobile hard drive (USB flash drive) in rh9)

Source: Internet
Author: User

Original article: http://www.gbunix.com/htmldata/2005_05/1/3/article_1193_1.html

Access Windows partition and USB interface mobile hard drive (USB flash drive) in rh9)
 
To access windows partition and USB interface mobile hard drive (USB flash drive) in RedHat Linux 9, you must first mount the Windows partition and USB flash drive to the Rh Linux system.

To mount Windows partitions, You need to view information about Windows partitions, which can be viewed through "Main Menu"> "System Tools"> "Hardware Browser, "Hardware Browser" requires the root permission of the Super User. The format of the partition is "FAT32" or "NTFS ".

Mount Windows partitions
For example, if the device name of the FAT32 windows partition D disk is/dev/hda5 and the device name of the USB flash disk is/dev/sda1 and the device name of the NTFS windows partition H disk is/dev/hda9, the procedure is as follows:
// Open a terminal window first
$
// Switch to the Super User Root. the root user permission is required for mounting partitions.
# Su-
// Create a mount point directory
# Mkdir/mnt/win_d
# Mkdir/mnt/win_h
# Mkdir/mnt/win_usb
// Mount the Windows partition FAT32 type D disk, NTFS type H disk, and FAT32 type U Disk
// In Linux, you can mount Windows partitions to a folder by running the mount command. This file is called a mount point.
# Mount-T vfat/dev/hda5/mnt/win_d-O codePage = 936, iocharset = cp936
# Mount-t ntfs/dev/hda9/mnt/win_h-O iocharset = cp936
# Mount-T vfat/dev/sda1/mnt/win_usb-O codePage = 936, iocharset = cp936
// Where-T indicates the file system of the specified device, vfat indicates the fat16 and FAT32 File System formats of windows,-O indicates the option when the file system is loaded, and codePage = 936, iocharset = cp936 is used to enable Linux to display the Chinese characters in the Mount partition normally.

After mounting, you can use Nautilus to browse the/mnt/win_d,/mnt/win_h, And/mnt/win_usb directories to view the Windows partition and USB disk content.

Note 1:
1. Mount mounting can be performed only after the USB flash drive is inserted into the USB interface;
2. After the USB flash drive is used up, unmount it with umount/mnt/win_usb and then unmount the USB flash drive.

NOTE 2:
Originally, the rh9 kernel does not support NTFS partitions. Therefore, to mount NTFS partitions, pay attention to NTFS in Linux.
 

Related Article

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.