LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2004, 08:22 PM   #1
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Rep: Reputation: 30
problems mounting and unmounting iso images.


hi im trying to install a game using the "mount iso660 -o loop /dir/to/iso /mnt/cdrom" and it works fine but when i try and umount it during the installiation it wont let me and gives me the error

[root@localhost iso]# umount /mnt/cdrom
umount: /mnt/cdrom: device is busy
umount: /mnt/cdrom: device is busy

all i can do is quit. but still after ive quit i cant unmount the image.

Can anyone help ??

Ben
 
Old 07-20-2004, 08:26 PM   #2
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Quote:
[root@localhost iso]# umount /mnt/cdrom
umount: /mnt/cdrom: device is busy
umount: /mnt/cdrom: device is busy
It looks like you are in the iso folder of the mounted images. Try doing a 'cd /' 'umount /mnt/cdrom' so then you aren't using the iso by viewing it.
 
Old 07-20-2004, 08:37 PM   #3
larrykeenan
Member
 
Registered: Apr 2004
Location: Brisbane Australia
Distribution: UBUNTU 13.04
Posts: 61

Rep: Reputation: 19
umount -d -l /mnt/cdrom

Have Fun,
Larry
 
Old 07-20-2004, 08:43 PM   #4
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by darin3200
I. Try doing a 'cd /' 'umount /mnt/cdrom'
I just tried what you said and it worked but i have just logged out and logged in again myself to see if i could make it work. but now when i try and mount it again (to restart the install as i quit it before) and now i get this error:

[root@localhost games]# mount iso660 -o loop /mnt/cdrom /dir/to/iso
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .

why would it be saying this now !?

if you can help more i would be very greatful

Ben


edit: ok dont worry i just noticed that i was missing the -t from the mount command :$. thank you larry, you where a huge help it worked perfectly

Last edited by Snerkel; 07-20-2004 at 09:12 PM.
 
Old 07-20-2004, 09:19 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,412

Rep: Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936Reputation: 1936
Quote:
mount iso660 -o loop /mnt/cdrom /dir/to/iso
Was this a typo or the command verbatim? You didn't include the -t for filesystem type which caused the error.

Should be:
mount -t iso9660 -o loop /dir/to/iso /mnt/cdrom

See man mount pages for options and syntax.
 
Old 08-21-2004, 07:57 PM   #6
danhill
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
command to kill busy mount

A friend showed me a command to cope with mount:

fuser -k /here/the/mount/point

will kill all the processes that use the resource. Most of the times it works, but sometimes KDE is so stubborn that there is no way but logout (at least none I know) to free the resource.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
editing iso images (mounting read-write?) aesahaettr Linux - Software 5 11-16-2006 08:51 PM
Problems mounting/unmounting flash USB drive LordSurvivoR Linux - Hardware 1 07-13-2005 12:19 AM
Mounting ISO Images in Linux TomalakBORG Linux - Software 6 05-15-2005 07:03 PM
mounting bin/cue images without convert to iso? Moebius Linux - Software 1 12-05-2004 06:22 AM
Problems creating FC2 CDROMs from ISO images a1ntsk33r3d Linux - Software 5 10-02-2004 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:37 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration