Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Missing loopback devices
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mihochan
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 296
Location: Melbourne again

PostPosted: Thu May 30, 2002 6:41 am    Post subject: Missing loopback devices Reply with quote

Hi,

I've compiled support for loopback devices into my kernel but when
I try to mount an ISO image I get,

mount: could not find any device /dev/loop#
:(

Any ideas on how to create them?

Tom
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Thu May 30, 2002 8:12 am    Post subject: Reply with quote

You compiled it as a module or into the kernel ?

If you've compile as a module and you're using devfs, simply load the module
Code:
modprobe loop

and /dev/loop devices will appear.

In case you're not using devfs run
Code:
MAKDEV loop

to create loop devices under /dev
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Thu May 30, 2002 9:42 am    Post subject: Reply with quote

If you want to mount something on the loopback device you should use mount -o loop -t <thetype> <isofile> <thedirectory>.
Quote:
mount -t iso9660 /tmp/foo.iso /mnt/foo -o loop

ofcourse the loop module needs to present (in kernel or as loaded module).

Cya lX
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum