Discussion:
Mounting ISO images
Jaume Durany
2004-08-19 22:24:29 UTC
Permalink
Hi everybody,

I'm need to know howto mount ISO images like daemon-tools do over
M$Window$. I've tried to emerge cdemu but i get an error:

/usr/src/linux/include/asm/smp.h:71:26: mach_apicdef.h: No such file
or directory
make: *** [all] Error 1

!!! ERROR: app-cdr/cdemu-0.6_beta failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)

Anyone can help me? I've also read something about "loopback device" but
I thing It isn't enabled in my computer...

Jaume



--
gentoo-***@gentoo.org mailing list
J. Patrick Campbell
2004-08-19 20:28:25 UTC
Permalink
mount -t iso9660 -o loop /home/scorpaen/ut2k4-disc1.iso /mnt/ut2k4
Post by Jaume Durany
Hi everybody,
I'm need to know howto mount ISO images like daemon-tools do over
/usr/src/linux/include/asm/smp.h:71:26: mach_apicdef.h: No such file
or directory
make: *** [all] Error 1
!!! ERROR: app-cdr/cdemu-0.6_beta failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)
Anyone can help me? I've also read something about "loopback device" but
I thing It isn't enabled in my computer...
Jaume
--
--
gentoo-***@gentoo.org mailing list
Jaume Durany
2004-08-19 22:36:32 UTC
Permalink
I've just tried to do what you say but I get --> "mount: could not find
any device /dev/loop#"
Post by J. Patrick Campbell
mount -t iso9660 -o loop /home/scorpaen/ut2k4-disc1.iso /mnt/ut2k4
Post by Jaume Durany
Hi everybody,
I'm need to know howto mount ISO images like daemon-tools do over
/usr/src/linux/include/asm/smp.h:71:26: mach_apicdef.h: No such file
or directory
make: *** [all] Error 1
!!! ERROR: app-cdr/cdemu-0.6_beta failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)
Anyone can help me? I've also read something about "loopback device" but
I thing It isn't enabled in my computer...
Jaume
--
--
--
gentoo-***@gentoo.org mailing list
J. Patrick Campbell
2004-08-19 20:40:17 UTC
Permalink
you probably need to compile loopback devices in your kernel

~P
Post by Jaume Durany
I've just tried to do what you say but I get --> "mount: could not find
any device /dev/loop#"
Post by J. Patrick Campbell
mount -t iso9660 -o loop /home/scorpaen/ut2k4-disc1.iso /mnt/ut2k4
Post by Jaume Durany
Hi everybody,
I'm need to know howto mount ISO images like daemon-tools do over
/usr/src/linux/include/asm/smp.h:71:26: mach_apicdef.h: No such file
or directory
make: *** [all] Error 1
!!! ERROR: app-cdr/cdemu-0.6_beta failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)
Anyone can help me? I've also read something about "loopback device" but
I thing It isn't enabled in my computer...
Jaume
--
--
--
--
gentoo-***@gentoo.org mailing list
p***@sympatico.ca
2004-08-19 22:21:52 UTC
Permalink
Post by Jaume Durany
'mount -t iso9660 -o loop /home/scorpaen/ut2k4-disc1.iso /mnt/ut2k4'
I've just tried to do what you say
but I get --> "mount: could not find any device /dev/loop#"
i use 'mount -t iso9660 -o loop <isofn> /mnt/cdrom' ;
make sure there is a dir /mnt/cdrom in your system: if not, 'md' it;
also check that there is a dir /dev/loop w members.
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : ***@chass.utoronto.ca
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto

--
gentoo-***@gentoo.org mailing list
Javier Lanatta
2004-08-19 22:52:39 UTC
Permalink
Post by Jaume Durany
I've just tried to do what you say but I get --> "mount: could not find
any device /dev/loop#"
You have to rebuild your kernel in order to add loopback support.

on 2.6.x kernels:
Device Drivers -> Block devices -> Loopback device support

and once the config file is saved:

make && make modules_install

best regards,

Javier Lanatta

--
gentoo-***@gentoo.org mailing list
Jaume Durany
2004-08-20 11:08:41 UTC
Permalink
I'm trying to rebuild my kernel but I get an error:

$ cd /usr/src/linux
$ make menuconfig
HOSTCC scripts/basic/fixdep
cc1: Permission denied: opening dependency file
scripts/basic/.fixdep.d
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

Any ideas? Thank you for all your help!
Post by Javier Lanatta
Post by Jaume Durany
I've just tried to do what you say but I get --> "mount: could not find
any device /dev/loop#"
You have to rebuild your kernel in order to add loopback support.
Device Drivers -> Block devices -> Loopback device support
make && make modules_install
best regards,
Javier Lanatta
--
--
gentoo-***@gentoo.org mailing list
Jaume Durany
2004-08-20 11:12:30 UTC
Permalink
Ok... I needed to be root...
Post by Jaume Durany
$ cd /usr/src/linux
$ make menuconfig
HOSTCC scripts/basic/fixdep
cc1: Permission denied: opening dependency file
scripts/basic/.fixdep.d
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
Any ideas? Thank you for all your help!
Post by Javier Lanatta
Post by Jaume Durany
I've just tried to do what you say but I get --> "mount: could not find
any device /dev/loop#"
You have to rebuild your kernel in order to add loopback support.
Device Drivers -> Block devices -> Loopback device support
make && make modules_install
best regards,
Javier Lanatta
--
--
--
gentoo-***@gentoo.org mailing list
Jaume Durany
2004-08-20 11:15:13 UTC
Permalink
Do I have to install "Loopback Device Support" as a module or built-in?

Jaume
Post by Jaume Durany
Ok... I needed to be root...
Post by Jaume Durany
$ cd /usr/src/linux
$ make menuconfig
HOSTCC scripts/basic/fixdep
cc1: Permission denied: opening dependency file
scripts/basic/.fixdep.d
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
Any ideas? Thank you for all your help!
On Thu, 19 Aug 2004 22:36:32 +0000, Jaume Durany
Post by Jaume Durany
I've just tried to do what you say but I get --> "mount: could not find
any device /dev/loop#"
You have to rebuild your kernel in order to add loopback support.
Device Drivers -> Block devices -> Loopback device support
make && make modules_install
best regards,
Javier Lanatta
--
--
--
--
gentoo-***@gentoo.org mailing list
Norbert Kamenicky
2004-08-20 09:26:38 UTC
Permalink
Post by Jaume Durany
Do I have to install "Loopback Device Support" as a module or built-in?
YES

--
gentoo-***@gentoo.org mailing list
Jaume Durany
2004-08-20 11:46:47 UTC
Permalink
When I did "make && make modules_install" after saving kernel
configuration I got that error:

depmod: QM_MODULES: Function not implemented

Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
INSTALL drivers/net/dummy.ko
INSTALL drivers/input/gameport/gameport.ko
INSTALL drivers/input/joydev.ko
INSTALL drivers/block/rd.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map
2.6.5-gentoo-r1; fi
depmod: cannot read ELF header from
/lib/modules/2.6.5-gentoo-r1/modules.alias
depmod: /lib/modules/2.6.5-gentoo-r1/modules.ccwmap is not an ELF file
depmod: /lib/modules/2.6.5-gentoo-r1/modules.inputmap is not an ELF file
depmod: /lib/modules/2.6.5-gentoo-r1/modules.symbols is not an ELF file
make: *** [_modinst_post] Error 1

I don't know what to do to solve this...

Jaume
Post by Jaume Durany
Do I have to install "Loopback Device Support" as a module or built-in?
YES
--
--
gentoo-***@gentoo.org mailing list

Andy Herrman
2004-08-19 20:43:54 UTC
Permalink
On Thu, 19 Aug 2004 16:28:25 -0400, J. Patrick Campbell
Post by J. Patrick Campbell
mount -t iso9660 -o loop /home/scorpaen/ut2k4-disc1.iso /mnt/ut2k4
Post by Jaume Durany
Hi everybody,
I'm need to know howto mount ISO images like daemon-tools do over
/usr/src/linux/include/asm/smp.h:71:26: mach_apicdef.h: No such file
or directory
make: *** [all] Error 1
!!! ERROR: app-cdr/cdemu-0.6_beta failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)
Anyone can help me? I've also read something about "loopback device" but
I thing It isn't enabled in my computer...
Jaume
--
--
mount -t iso<whatever the number is> /path/to/iso /mnt/iso -o loop,ro

Try that. I don't have a linux box handy at the moment (at work), but
I believe that's the way I did it. Just replace /path/to/iso with the
path to the ISO, and /mnt/iso with the path to the dir you want it
mounted to. (Oh, and make sure you get the type right, I can't
remember the number, it's 9 something something something. Check what
your CD drive mounts as).

Again, that's just from memory, so someone please correct me if I'm wrong.

Oh, and you also need loopback support in the kernel.

-Andy

--
gentoo-***@gentoo.org mailing list
Neil Bothwick
2004-08-19 22:35:06 UTC
Permalink
Post by Andy Herrman
mount -t iso<whatever the number is> /path/to/iso /mnt/iso -o loop,ro
Try that. I don't have a linux box handy at the moment (at work), but
I believe that's the way I did it. Just replace /path/to/iso with the
path to the ISO, and /mnt/iso with the path to the dir you want it
mounted to. (Oh, and make sure you get the type right, I can't
remember the number, it's 9 something something something. Check what
your CD drive mounts as).
It's 9660, but you shouldn't need to specify the filesystem type. Mount
usually recognises it (giving no type is like -t auto).

If you use KDE, you should install šMount ISO Image" from
http://freshmeat.net/projects/mount-iso-image/ It adds a context menu
for mounting ISOs and other related operations.
--
Neil Bothwick

Procedure: (n.) a method of performing a program sub-task in an
inefficient way by extensively using the stack instead of a GOTO.
Mark Knecht
2004-08-19 20:31:13 UTC
Permalink
Post by Jaume Durany
I've also read something about "loopback device" but
I thing It isn't enabled in my computer...
Jaume
Can't help you much other than to say loppback devices are options under
make menuconfig when you configure to build your kernel. Look under
Device Drivers-> Block Devices. I don't have a clue whether this is
really going to solve it for you.

Good luck,
Mark

--
gentoo-***@gentoo.org mailing list
Loading...