2

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?

1

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
  • 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 – user4069 Nov 9 '12 at 3:17
  • 1
    @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 – user4069 Nov 9 '12 at 3:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy