LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mount and unmount (https://www.linuxquestions.org/questions/linux-software-2/mount-and-unmount-366694/)

Hargibi 09-24-2005 05:41 PM

Mount and unmount
 
Hi.
Im having a problem.
I got a game that use 2 cds.
So i mount the first cd, then start the install (using cedega 4.4-1).
Then after a while it asks for second cd, so i try to umount the cd.
Permission declined. Anyone got any tips what to do to get this to work?


Thanks for your answers =)

Cinematography 09-24-2005 05:53 PM

That happened to me. It's really stupid this even happens if you ask me. I logged in as root and ejected it that way. You can do this through the terminal by typing in the following:

su root
<password>
eject /dev/cdrom

Or if the CD is in your second drive:
eject /dev/cdrom1

Hope that helps.

cuiq 09-24-2005 06:05 PM

...or if you're using point2play to install just click on the "mount" button. This ejects the cd drive allowing you to switch cds, then click "mount" again, this will close the drive door and continue the install.



peace V

Hargibi 09-24-2005 06:51 PM

I cant get Point2play as i dont have an active account :(
Is there a way to get this working without point2play?

Hargibi 09-25-2005 06:35 AM

anyone ? =)

shamrock_uk 09-25-2005 07:45 AM

Just add 'users' to your /etc/fstab for the cd drive?

jschiwal 09-25-2005 08:03 AM

You won't be able to umount the cdrom if any working directory is on the cdrom. Perhaps that is the problem.

Hargibi 09-25-2005 08:04 AM

Quote:

Originally posted by jschiwal
You won't be able to umount the cdrom if any working directory is on the cdrom. Perhaps that is the problem.
Yep, this is the problem.
Any way to solve it?

jschiwal 09-25-2005 03:41 PM

Try to run the setup program without CD'ing to the directory first. For example, if the cdrom is mounted at
/mnt/cdrom
the cd to /mnt and start the setup program:
cdrom/setup

Another thing to try, if you have the room on your disk is to copy the files to a directory on disk and try to install the software that way.

Other things to try but I don't know if they will work:
Try umount as root, and use the -f option (force).
When you mount the CDROM, use the -n option. This will not update /etc/mtab, and is normally used when the filesystem is read-only, as in an embedded system. I don't know if this will help. When you umount, use the device reference rather then the mountpoint reference. By that I mean, umount -f /dev/hdd rather than umount /mnt/cdrom. ( Your device name may be different.)
Lastly is to use a paperclip in the tiny emergency eject hole, if your CDROM drive has one.

cuiq 09-26-2005 07:11 AM

You could also use the free Grapevine frontend for cedega located here;

http://www.mithunc.net/grapevine/


peace V


All times are GMT -5. The time now is 06:02 PM.