Home > OS >  Set the loopback device failure: not the file or directory
Set the loopback device failure: not the file or directory

Time:09-21

Basic parameters: centos 7 x86_64, Linux system,
Matlab, the installation has been download R2014b_glnxa64. Iso but mount when encounter problems:
[root @ lf MNT] # mount -o loop R2014b_glnxa64. Iso/MNT/temp/
mount:/MNT/R2014b_glnxa64. Iso: set the loopback device failure: not the file or directory

Could you tell me how to solve this? What is the meaning of an error? Is that my R2014b_glnxa64. Iso does not exist? Therefore I specially look at the permissions:
[root @ lf MNT] # ls -l R2014b_glnxa64. Iso
Rw - r - r -. 1 root root on April 25, 6741946368 and R2014b_glnxa64. Iso


Through the [root @ lf MNT] # mount -- help view parameters:
usage:
The mount [- lhV)
The mount - a [option]
The mount [option] [-- source] The mount [option] The mount & lt; Operation & gt;
Options:
- a, -- all mount fstab
all the files in the system- c, - no - -canonicalize wrong path of standardization
- f - fake, empty running; Skip the mount (2) system call
- F - fork, for each device to disable the fork (and -a option used together)
- T - fstab & lt; Path & gt; The/etc/fstab alternative file
- h -- help display this help and exit
-i - internal - only not call mount. & lt; Type & gt; Helper applications
- l - show - labels list all mounted with a specified tag
- n - no - mtab don't write the/etc/mtab
- o - options & lt; List & gt; Mount the list of options, commas in English
- O - test - opts & lt; List & gt; Set limits file system (and -a option used together)
- r - read - only to read-only mounting the file system (with the -o ro)
- t - types & lt; List & gt; Limit set file system type
- source & lt; Source & gt; Specify the source (path, label, uuid)
-- target & lt; Target & gt; Specify the mount point
- v -- verbose to print the current for the operation of the
- V - version displays version information and exit
- w, - rw, - read - write to mount the file system for both reading and writing (default)


I really can't find out what reason be

CodePudding user response:

The mount point directory exists

CodePudding user response:

Try the mount -o loopback=/dev/loop0 R2014b_glnxa64. Iso/MNT/temp/
You look at the dev under the presence of loop0, further confirmed the temp directory exists

CodePudding user response:

refer to the second floor r_Jimy response:
try mount -o loopback=/dev/loop0 R2014b_glnxa64. Iso/MNT/temp/
You look at the dev under the presence of loop0, the other to confirm the presence or absence temp directory


I checked the, only this:/dev/loop - control so I created a device: mknod -m 0660/dev/loop0 b 7 0
Then check the:
root @ lf/] # ll dev/loop *
BRW - rw -. 1 root root, 7 0 on April 26 09:33 dev/loop0
CRW - rw -. 1 root disk 10, on April 18, 237 as dev/loop - control


When I try your way again:
[root @ lf MNT] # mount -o loopback=/dev/loop0 R2014b_glnxa64. Iso/MNT/temp/

Usage:
The mount [- lhV)
The mount - a [option]
The mount [option] [-- source] The mount [option] The mount & lt; Operation & gt;
Options:
- a, -- all mount fstab
all the files in the system- c, - no - -canonicalize wrong path of standardization
.




CodePudding user response:

refer to the second floor r_Jimy response:
try mount -o loopback=/dev/loop0 R2014b_glnxa64. Iso/MNT/temp/
You look at the dev under the presence of loop0, the other to confirm the presence or absence temp directory


I found no loop0, hence create a device, temp directory is created by myself, there are: /MNT/temp

CodePudding user response:

reference 1st floor renwotao2009 response:
the mount point directory exists?

You mean the/MNT/temp directory? There is a

CodePudding user response:

R2014b_glnxa64. Iso in other directories, do not put in/MNT directory, under mount try again

CodePudding user response:

Itself has no loop0, you create such estimates directly not
You have a problem of the kernel, the compiler is yourself? Check for series DEV LOOP to call not
I give you orders to mount a piece of equipment, you can use the original command

CodePudding user response:

You see this post
https://bbs.archlinux.org/viewtopic.php? Id=49570
Try modeprobe loop under the orders and command, feeling didn't compiled module may this command don't work

CodePudding user response:

Error: the stat/home/liange/SPECS/neoshineoffice - fonts - DZGW - 1.0.0-1. The spec failure: not the file or directory
I also is this type of problem, and our great god help

CodePudding user response:

No/MNT/R2014b_glnxa64. Iso this file

CodePudding user response:

The building Lord, how are you, your problem solved?

CodePudding user response:

In front of the iso file you just go to the path with it, I'm using the mouse drag iso file directly to the back of the loop

CodePudding user response:

Hello, could you tell me how to solve?
  • Related