Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It seems there maybe a bug causing some systems to lose there loop fuctionality...
These are the things I have already tryed.
mount -t iso9660 -o ro,loop=/dev/loop0 /home/tim/test.iso /mnt/iso
And I get this:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
Then I tryed this:
losetup /dev/loop0
And got this:
loop: can't get info on device /dev/loop0: No such device or address
and if I do this:
ls -l /dev/ |grep loop
I get this:
brw-rw---- 1 root disk 7, 0 Jun 3 1996 loop0
brw-rw---- 1 root disk 7, 1 Jun 3 1996 loop1
brw-rw---- 1 root disk 7, 10 Mar 19 2002 loop10
brw-rw---- 1 root disk 7, 11 Mar 19 2002 loop11
brw-rw---- 1 root disk 7, 12 Mar 19 2002 loop12
brw-rw---- 1 root disk 7, 13 Mar 19 2002 loop13
brw-rw---- 1 root disk 7, 14 Mar 19 2002 loop14
brw-rw---- 1 root disk 7, 15 Mar 19 2002 loop15
brw-rw---- 1 root disk 7, 2 Jun 3 1996 loop2
brw-rw---- 1 root disk 7, 3 Jun 3 1996 loop3
brw-rw---- 1 root disk 7, 4 Jun 3 1996 loop4
brw-rw---- 1 root disk 7, 5 Jun 3 1996 loop5
brw-rw---- 1 root disk 7, 6 Jun 3 1996 loop6
brw-rw---- 1 root disk 7, 7 Jun 3 1996 loop7
brw-rw---- 1 root disk 7, 8 Jun 3 1996 loop8
brw-rw---- 1 root disk 7, 9 Mar 19 2002 loop9
and if I do this:
mke2fs /dev/loop0 1024
I get this:
mke2fs 1.34 (25-Jul-2003)
mke2fs: Filesystem larger than apparent device size.
Proceed anyway? (y,n) y
Warning: could not erase sector 2: Invalid argument
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
128 inodes, 1024 blocks
51 blocks (4.98%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
128 inodes per group
Warning: could not read block 0: Attempt to read block from filesystem resulted in short read
Warning: could not erase sector 0: Attempt to write block from filesystem resulted in short write
mke2fs: Invalid argument while zeroing block 960 at end of filesystem
Writing inode tables: 0/1
Could not write 8 blocks in inode table starting at 5: Invalid argument
what's actually the encoding used for the iso? utf-8 or iso-8859-1? I just noticed that sometimes it won't mount b/c of incompatible encoding. It's a matter of loading the right NLS module.
You might make an iso file yourself with mkisofs and see if you can mount that. If you can, it's something about the iso (probably encoding).
Actually, I had a problem with the loopback device just the other day when I was tweaking the 2.6.3 kernel. I could have sworn I make loopback support built-in too. Well, what do you know...kernel panic . I loaded up the old 2.4.xx kernel and recompiled the 2.6.3 kernel and it worked fine that time. Very odd.
Chanks guys but I solved the problem... It seems the people at kernel.org forgot to document that if ext2 is used loopback device is disabled, I did a recompile and switched to ex3 and it works ....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.