Creating loopback devices during boot.

If it doesn't fit in another category, ask it here.
Post Reply
Posts: 1
Joined: 2006/05/23 17:38:53

Creating loopback devices during boot.

Post by jools » 2006/05/23 17:52:35

Hi all,

I built a CD server running Mandrake a couple of years ago and am trying to repeat it with CentOS 4.

The default number of loop devices created on boot is 8 (loop0........loop7) and to increase this on Mandrake I had to modify a script that created the devices before the filesystems were mounted. I've run grep across the /etc/ directory and its contents but I can't find anything relating to creating loop devices. Can anybody help out?



Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Creating loopback devices during boot.

Post by Lenard » 2006/05/24 20:28:54

Add the max_loop switch to the /boot/grub/grub.conf line that begins with something like 'kernel /vmlinuz', example;

kernel /vmlinuz- ro root=LABEL=/ quiet max_loop=XXX

where XXX can be 1 to 256

Post Reply

Return to “CentOS 4 - Miscellaneous Questions”