Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having an issue with loopback. It looks like there is only 8. I did a search and apparently the problem is grub by default only has 8 loopback (devices?). If i look in /dev/ i see loop 0-7 so that does seem to make sense.

How do i change the amount of loopbacks?

share|improve this question
up vote 2 down vote accepted

I'm not sure how GRUB comes into this, as you don't explain the connection, but you can increase the number of simultaneously usable loop devices using the loop module.

modprobe loop max_loop=64

You can then manually make more loop devices with mknod like so:

mknod -m 660 /dev/loop8 b 7 8
share|improve this answer
I don't know either as what i saw didnt explain but i did see something saying grub defaults to 8. But good answer. The mknod line definitely does work. modprobe didn't. I tried restarting and 8 is still available – acidzombie24 Nov 9 '12 at 3:17
@acidzombie24 - max_loop probably doesn't do what you think it does, it only increases the number of possible loop devices. It doesn't actually create them. – Chris Down Nov 9 '12 at 3:27
ah i see. Its not that much trouble to write a script to create them all – acidzombie24 Nov 9 '12 at 3:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.