LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2004, 08:03 PM   #1
Dswissmiss
Member
 
Registered: Mar 2004
Location: New York
Distribution: Fedora
Posts: 92

Rep: Reputation: 16
What is Loop Device Support?


Hi guys,

I got an error that my kernel does not have loop device support, what is it and how would I load or get it?

Thanx
Dswissmiss
 
Old 08-03-2004, 08:22 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Loop device support allows you to mount files formatted with filesystems on your machine (done through a loopback device). To enable it, you'll have to build the appropriate kernel module and modprobe it into your system. The easiest way I know to do this is go to your Linux source tree, make xconfig (or menuconfig), select to configure loop device support as a module, make modules, and make modules_install. You may want to compile it into your kernel (not as a module) in which case see the threads here about recompiling your kernel.
 
Old 08-03-2004, 08:25 PM   #3
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Rep: Reputation: 30
Enable it under your kernel config.

# cd /usr/src/linux && make menuconfig

Then you will see the option under Device Drivers -> Misc -> Loopback support. Finally, recompile your kernel and move it to /boot. This is useful if you would like to mount an ISO cd image without having to burn it like this "mount -o loop /home/foo/foo.iso /mnt/loop" :-)

Kristian Hermansen
 
Old 08-03-2004, 08:36 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
before you go doing anything as drastic as recompiling your kernel, make sure its not just that the module isnt loaded...

the module is called..... "loop" so load it with 'modprobe loop'
or, open your kernels config file, and search for the string 'LOOP'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why nfs lose loop device ? jiawj Slackware 1 03-31-2005 01:45 PM
Encrypted Filesystems using Loop Device erktrek Linux - Security 0 12-16-2004 01:57 PM
Ext3 warnings on a loop device andreseso Linux - Hardware 2 12-09-2004 09:47 PM
loop: can't open device /dev/loop0: No such device or address miaviator278 Linux - Security 3 06-09-2004 09:24 PM
UMSDOS vs. loop device okok Linux - General 5 01-29-2002 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration