Go Ubuntu 12.04 boot automatically mount Windows partition

Source: Internet
Author: User

Go Ubuntu 12.04 boot automatically mount Windows partition

Http://www.cnblogs.com/A-Song/archive/2013/02/27/2935255.html

System version: Ubuntu 12.04 (Wubi installation)

1. View the system disk number

SD2,SD5,SD7 corresponding to my Windows c,d,f disk, is also this minor added to the boot mount, e disk for the Wubi installation disk.

2. View the disk type

Inux partitions are generally ext4,windows partitions are generally NTFS

3. Modify the configuration file

Open/etc/fstab

The configuration file contains the following items:

<file system> <mount point> <type> <options> <dump> <pass>

<file system>: partition positioning, can give disk number, UUID or label, for example:/DEV/SDA2,UUID=6E9ADAC29ADA85CD or Label=software

<mount point>: Location of the specific mount point, for example:/MEDIA/C

<type>: Mount disk type, Linux partition generally ext4,windows partition is generally NTFS

<options>: Mount parameters, generally defaults

<dump>: Disk backup, default = 0, no backup

<pass>: Disk check, default = 0, no check

4. Check and mount the new additions:

Mount-a

Mount-a will mount all items in the/etc/fstab, if there is an error, it will prompt for errors and then identify the cause of the error.

Note : Never mount to the root of the current user because the mounted partition overwrites the current partition content

Go Ubuntu 12.04 boot automatically mount Windows partition

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.