How do i find the correct path to my cd-rom drive? I want to install office 2007 using wine and I have used the programmerfish tutorial and now have to do the following:
type wine /path to cd/setup.exe
but I cannot seem to find the correct path.
I tried /dev/sr0/setup.exe but it returned an error.
I tried /dev/sr0/media/setup.exe. returned the same error.
I tried /dev/media/setup.exe. Also no good.
I thought using df would help me and there i found /dev/sr0/ would be my cd-rom drive. Dunno it this correct though.
It’s never a path starting with /dev, that would be the hardware device. First you have to mount your CD, say by choosing to open it with Dolphin when the device notifier pops up saying a CD was inserted, and then the contents of the CD will be under /media/LABEL, where LABEL is that of the CD-ROM. So the path would be something like /media/OFFICE2007/setup.exe.
and then the contents of the CD will be under /media/LABEL, where LABEL is that of the CD-ROM. So the path would be something like /media/OFFICE2007/setup.exe.
thanks,
do i have to use the cd-rom label/name (OFFICE12) too?
the cd-rom drive is not mounted I think, below is the outcome from ‘mount’:
corline@linux-xji9:~> mount
/dev/sda2 on / type ext4 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda3 on /home type ext4 (rw,acl,user_xattr)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
When you insert the CD, your device notifier will show the CD. You can click on that to open (it will mount and open for you) using Dolphin or some other program. Open that and then try the command mentioned by Knurpht.
Also, you may follow what ken_yap has instructed, but you have to follow the above step first to make sure that CD is actually mounted.
By the by, the default wine installation does not set up MS Office properly. Why don’t you try OpenOffice?