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