View previous topic :: View next topic |
Author |
Message |
dellaxim Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Mar 2005 Posts: 138
|
Posted: Fri Mar 04, 2005 12:50 pm Post subject: Cannot mount my loop device |
|
|
Hi everybody,
I was trying to mount an img file today without succeed.
I read couple posts about moutning img file, i did compile my kernel to support loopback device:
Code: | CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_CRYPTOLOOP=y |
But when I tried to mount the img
Code: | mount -o loop /folder/name.img /mnt/fake_drive |
it returns an error message
Code: | mount: could not find any device /dev/loop# |
Could anyone help me out pls!
Thanks you
![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thebigslide l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Southpark/avatar21.gif)
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Fri Mar 04, 2005 12:55 pm Post subject: |
|
|
Try this:
Code: | losetup /dev/loop0 /file.img
mount /dev/loop0 /mnt/point |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dellaxim Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Mar 2005 Posts: 138
|
Posted: Fri Mar 04, 2005 1:01 pm Post subject: |
|
|
I have an return error
Code: | /dev/loop0: No such file or directory |
checked my /dev and couldnt find the loop0.
thanks you |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrbecke Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/133843925942304840de767.jpg)
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Fri Mar 04, 2005 1:06 pm Post subject: |
|
|
Try . |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dellaxim Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Mar 2005 Posts: 138
|
Posted: Fri Mar 04, 2005 1:10 pm Post subject: |
|
|
I compiled the loop device as static so I guess I dont have to execute
Thanks you ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thebigslide l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Southpark/avatar21.gif)
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Fri Mar 04, 2005 5:13 pm Post subject: |
|
|
Are you using udev, or devfs? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dellaxim Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Mar 2005 Posts: 138
|
Posted: Sat Mar 05, 2005 5:11 pm Post subject: |
|
|
Hi, iam using devfs but I just reinstall the whole system using new install method tage 1 on 3 and the problem was solved.
Thanks you |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|