The iso format of an ISO image is automatically mounted through/etc/fstab.

Source: Internet
Author: User

In general, we can use
Mount-t iso9660-o loop xx. iso/media
Write similar data to/etc/fstab
Xx. iso/media iso9660 ults, ro, loop 0 0 and mount-a again
However, the following problems may occur:
[Root @ desktop2 ~] # Cat/etc/fstab | grep iso
/Root/rh401-pub.iso/mediaiso9660 ults, ro, loop 0 0
[Root @ desktop2 ~] # Mount-
Mount: wrong fs type, bad option, bad superblock on/dev/loop0,
Missing codepage or other error
In some cases useful info is found insyslog-try
Dmesg | tailor so

The error message "so" or "iso image file" is not in the common iso9660 format. How can this problem be solved?
1. Manual mounting
2. view the udf of the system type
[Root @ desktop2 ~] # Mount-o loop rh401-pub.iso/media/
[Root @ desktop2 ~] # Df-T
Filesystem Type 1K-blocks Used Available Use % Mounted on
/Dev/sda2 ext3 135325776 55307840 73032876 44%/
/Dev/sda1 ext3 194442 12027 172376 7%/boot
Tmpfs 2998992 0 2998992 0%/dev/shm
/Root/rh401-pub.iso
Udf 31957342 31957342 0 100%/media

3. You will know how to write in/etc/fstab.
[Root @ desktop2 ~] # Grep udf/etc/fstab -- color
/Root/rh401-pub.iso/mediaudfdefaults, ro, loop0 0
[Root @ desktop2 ~] # Mount-
[Root @ desktop2 ~] # Mount | grep udf -- color
/Root/rh401-pub.iso on/media type udf (rw, loop =/dev/loop0)

The/etc/resolv. conf file of RedHat5.5 is rewritten.

What is the role of the/etc/services file in Linux?

Sudo:/etc/sudoers is mode 0540, Which is solved by shocould 0440.

Redhat configuration file/etc/syslog. conf resolution in Enterprise Linux 5.3

Adjust/etc/sysctl. conf network parameters to increase system load

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.