LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-28-2009, 07:48 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Is there in Lenny/stable repos, a package that let users "mount" ISO files? [SOLVED]


I would like that users can also use ISO files, and fake that they are like a cdrom.

It is for wine

Last edited by frenchn00b; 07-29-2009 at 04:42 AM.
 
Old 07-28-2009, 07:55 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
so

mount -t iso9660 cdrom.iso /media/cdrom0 -o loop

does not do what you want?
 
Old 07-28-2009, 08:15 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
mount
 
Old 07-28-2009, 09:07 AM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,885
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Ubuntu Forums - View Single Post - [SCRIPT] Easily (un)mounting ISO images without sudo - http://ubuntuforums.org/showpost.php...6&postcount=14

KDE supports this natively. Just right-click on the ISO image and select “Actions >> ISO9660 View” and it should open up a new window with the contents for the ISO image. The only drawback is, the file has to be named with the extension .iso, else the context sensitive menu “ISO9660 View” does not appear.
 
Old 07-28-2009, 09:18 PM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Neat - there are other ways to make mount available to the user for just isos, but the fuse approach looks like an elegant one.
 
Old 07-29-2009, 03:45 AM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by Simon Bridge View Post
so

mount -t iso9660 cdrom.iso /media/cdrom0 -o loop

does not do what you want?


well, as I am only user:
Code:
$ mount -t iso9660 CDROM256.ISO /media/cdrom0 -o loop
mount: only root can do that
not working
 
Old 07-29-2009, 03:46 AM   #7
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by craigevil View Post
Ubuntu Forums - View Single Post - [SCRIPT] Easily (un)mounting ISO images without sudo - http://ubuntuforums.org/showpost.php...6&postcount=14

KDE supports this natively. Just right-click on the ISO image and select “Actions >> ISO9660 View” and it should open up a new window with the contents for the ISO image. The only drawback is, the file has to be named with the extension .iso, else the context sensitive menu “ISO9660 View” does not appear.
and this KDE based iso view, can I use it afterwards under WINE ?
--
I have gnome
 
Old 07-29-2009, 03:50 AM   #8
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
If you can, use sudo to run that mount command. If not, you can use the KDE option (wine is for running Windows binaries - if all the dependencies are installed, you will have no problem running KDE apps in Gnome). I also did some Googling and found this, but I make absolutely no assurances about it.
 
Old 07-29-2009, 04:05 AM   #9
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by karamarisan View Post
If you can, use sudo to run that mount command. If not, you can use the KDE option (wine is for running Windows binaries - if all the dependencies are installed, you will have no problem running KDE apps in Gnome). I also did some Googling and found this, but I make absolutely no assurances about it.
after googling, I found that fuseiso is in the repositories of debian lenny.

it means that we can use that after
adduser username fuse

i guess, but still no idea how to use it

fuse is complex
 
Old 07-29-2009, 04:07 AM   #10
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
Well, if you can add a user (or, for that matter, install any software), you can go the normal route and just mount it. Do you or don't you have the root password to this machine? If so, do you have sudo set up?
 
Old 07-29-2009, 04:19 AM   #11
gnudude
Member
 
Registered: Apr 2009
Posts: 46

Rep: Reputation: 28
file-roller
 
Old 07-29-2009, 04:41 AM   #12
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
OK, guys,

after googling and compiling, this is the ultimate solution, no need of root.

(1)
Code:
apt-get install mono-gmcs  gtk-sharp2  fuseiso
you also need those packages:
Code:
dpkg -l | grep fuse
ii  fuse-utils                           2.7.4-1.1                      Filesystem in USErspace (utilities)
ii  fuseiso                              20070708-1                     FUSE module to mount ISO filesystem images
ii  libfuse2                             2.7.4-1.1                      Filesystem in USErspace library

(2)
Code:
adduser username fuse
chgrp fuse /dev/fuse
(3)
reboot

(4)
then install this deb:
GUI GTK for fuseiso

then
in the console, type:
Code:
$ furiusisomount
(5)
then a gui appears, and pray that it doesn not display
Code:
fusermount: failed to open /dev/fuse: Permission denied
Enjoy !! Working and made for debian stable/lenny

--
keyword: aceton iso, daemon tools

Last edited by frenchn00b; 07-30-2009 at 05:10 AM.
 
Old 07-29-2009, 08:52 AM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
fusermount: failed to open /dev/fuse: Permission denied
... after all that, it would be a bummer.

Since you want to be able to access the iso content from WINE, you only need fuseiso - no need for the gui.
Code:
simon@indigo-prime:ISOs$ sudo apt-get install fuseiso
simon@indigo-prime:ISOs$ mkdir ~/isomnt
simon@indigo-prime:ISOs$ fuseiso gnewsense-livecd-deltah-2.0.iso ~/isomnt
simon@indigo-prime:ISOs$ ls ~/isomnt
casper  isolinux  LIVECD_VERSION  README
... works for me.

Just configure an additional fake HDD in WINE for the mountpoint.

I was originally thinking in terms of adding an exception in sudoers to allow a user to execute just that mount command but this is more elegant.

Last edited by Simon Bridge; 07-29-2009 at 08:57 AM.
 
Old 07-30-2009, 05:11 AM   #14
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by Simon Bridge View Post
... after all that, it would be a bummer.

Since you want to be able to access the iso content from WINE, you only need fuseiso - no need for the gui.
Code:
simon@indigo-prime:ISOs$ sudo apt-get install fuseiso
simon@indigo-prime:ISOs$ mkdir ~/isomnt
simon@indigo-prime:ISOs$ fuseiso gnewsense-livecd-deltah-2.0.iso ~/isomnt
simon@indigo-prime:ISOs$ ls ~/isomnt
casper  isolinux  LIVECD_VERSION  README
... works for me.

Just configure an additional fake HDD in WINE for the mountpoint.

I was originally thinking in terms of adding an exception in sudoers to allow a user to execute just that mount command but this is more elegant.
I use now furiusisomount and fuse, with a GUI, it is a marvellous work. It works so well, I love it.
It is far better than gnome-isomount thing.
(as delayed above in my mini howto)
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lenny "testing to stable" nima0102 Debian 10 02-13-2010 08:56 PM
Adding only one "unstable" package Debian Lenny DetroitLibertyPenguin Linux - Software 21 09-14-2009 07:48 AM
apt-get "recommends" package install question in Lenny kushalkoolwal Debian 8 12-28-2008 10:09 PM
"hotplug" package in Lenny? virve Debian 1 10-10-2008 11:12 AM
SuSE 9.2 DVD ISO install "Cannot read package data from installation media" problem BEaton SUSE / openSUSE 3 04-08-2005 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:31 PM.

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