Ubuntu8.04 Analysis of partition mounting failure during hard disk installation

Source: Internet
Author: User
After successful installation and configuration of Ubuntu8.04 some time ago, I found that a partition cannot be mounted. Of course, due to the installation method (windowsvistautilitySP1 and Ubuntu8.04 coexist), one of my windowsNTFS partitions cannot be mounted successfully. During the mounting process, the Mount parameter error is reported. At that time, it was strange that other windows partitions can be mounted successfully. Why is it that the partition alone cannot be mounted. I found a lot of information on the Internet, but there are many solutions.

Some time ago, after successfully installing and configuring Ubuntu8.04, I found that a partition cannot be mounted. Of course, due to the installation method (windows vista utility SP1 and Ubuntu8.04 coexist ), as a result, one of my windows NTFS partitions cannot be mounted successfully. During the mounting process, the Mount parameter error is reported. At that time, it was strange that other windows partitions can be mounted successfully. Why is it that the partition alone cannot be mounted. I found a lot of information on the Internet and found no solution. Most of the problems I encountered were that I could not mount the partition after I used the partition tool to re-define the partition. When I checked that the partition permission settings were correct, I began to guess if the partition was caused by the location where the image was installed (I installed the image in the root directory of the d disk ).

After opening the partition configuration file using the command sudo gedit/etc/fstab, I found a strange phenomenon, such:


In the statement marked by the red line, we can see that I have two CDROM configuration lines. In fact, I only have one optical drive, in details, we can see that/dev/scd5 is actually the NTFS partition/dev/sda5 corresponding to my d disk. The problem is that when you install the system from an image, the Ubuntu installer regards the partition (d disk) as a CDROM and writes it to the fstab configuration file. During the subsequent startup process, Ubuntu will configure the local device according to fstab, this parameter mistakenly treats the hard disk as a CDROM for mounting. This is obviously incorrect. As a result, the partition cannot be mounted due to a wrong mounting parameter. After deleting this row of statements, you will find that the partition can be mounted successfully.

Let's wish the future of Ubuntu a better one. Thanks to the open-source linux and the individuals and groups who have contributed selflessly to the Ubuntu project!

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.