Mounting cdrom drives in VM Guests

I've installed the latest version of OVM (whistler) and have installed a guest OEL5.3 environment (Vail). I can mount /mnt/cdrom on Whistler but it is never recognized in Vail. I have a /dev/sdc showing on Vail but get this when I mount it:
mount /mnt/cdrom
mount: No Medium Found.
My fstab on Vail has this:
/dev/hdc /mnt/cdrom iso9660 ro,user,noauto 0 0
Here's my vm.cfg file for Vail:
acpi = 1
apic = 1
builder = 'hvm'
device_model = '/usr/lib/xen/bin/qemu-dm'
disk = ['file:/OVS/running_pool/42_vail/System.img,hda,w',
'file:/OVS/running_pool/42_vail/user.img,hdb,w',
',cdrom,r',,
disk_other_config = []
kernel = '/usr/lib/xen/boot/hvmloader'
keymap = 'en-us'
memory = '1024'
name = '42_vail'
on_crash = 'restart'
on_reboot = 'restart'
pae = 1
serial = 'pty'
timer_mode = '2'
uuid = '04463b43-3fb2-444a-231b-90c3b39dc3da'
vcpus = 1
vif = ['bridge=xenbr0,mac=00:16:3E:49:3C:A0,type=netfront']
vif_other_config = []
vnc = 1
Any ideas?
Thanks!

There is an recently filed bug where DVDs (and ISO images) which do not have a VTOC in their disk label
fail to be mountable in the guest domain (e.g. application software DVDs as opposed to OS installation images).
6708257 DVD-ROM (not OS installation disk) can not mount from guest domain of LDOM 1.0.2
# mount -F hsfs /dev/dsk/c0d1s0 /mnt
mount: I/O error
mount: cannot mount /dev/dsk/c0d1s0
It's strange that you are getting a hang though (the reported error is an I/O error).
Are there any messages in /var/adm/message of the control domain?
What OS/patches are running on the guest and control domains (i.e is 127127-11 installed on both) ?
I've just had a thought though, exporting the DVD device as a slice instead may work
(it works for me on an ISO image but my machine is 1000s of miles away so I can't stick DVD in it
to try out)
e.g. ldm add-vdsdev options=slice /dev/dsk/c1t0d0s2 cdrom@primary-vds0

Similar Messages

  • Mounting Cdrom Drive In Guest Domain running 1.0.3

    Folks,
    I have followed the Admin guide on how to export Cdrom/Dvd drive from Service Domain to Guest Domain, however once allocated to the guest domain we are unable to mount the device. Any help is appreciated.
    Here are my bindings
    ldm list-bindings primary
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    primary active -n-cv SP 4 2G 0.8% ; 7d 18h 56m
    MAC
    00:14:4f:02:ca:6a
    VCPU
    VID PID UTIL STRAND
    0 0 1.0% ; 100%
    1 1 0.5% ; 100%
    2 2 0.7% ; 100%
    3 3 0.8% ; 100%
    MAU
    CPUSET
    (0, 1, 2, 3)
    MEMORY
    RA PA SIZE
    0x8000000 0x8000000 2G
    VARIABLES
    boot-device=/pci@780/pci@0/pci@9/scsi@0/disk@1,0:a /pci@780/pci@0/pci@9/scsi@0/disk@0,0:a
    IO
    DEVICE PSEUDONYM OPTIONS
    pci@780 bus_a
    pci@7c0 bus_b
    VCC
    NAME PORT-RANGE
    primary-vcc0 5000-5031
    CLIENT PORT
    ldom3@ldom3 5002
    VDS
    NAME VOLUME OPTIONS DEVICE
    primary-vds0 cdrom /dev/dsk/c1t0d0s2
    vol1 /ldom1/bootfile1
    vol11 /dev/rdsk/c6t60060480000287750594534653353445d0s2
    vol2 /ldom2/bootfile2
    vol3 /bootpool/bootfile3
    CLIENT VOLUME
    vdisk0@ldom3 vol3
    vdisk11@ldom3 vol11
    cdrom@ldom3 cdrom
    VSW
    NAME MAC NET-DEV DEVICE MODE
    primary-vsw0 00:14:4f:fa:c6:14 e1000g0 switch@0 prog,promisc
    PEER MAC
    vnet1@ldom3 00:14:4f:f9:c8:15
    VCONS
    NAME SERVICE PORT
    SP
    ldm list-bindings ldom3
    root@host# ldm list-bindings ldom3
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    ldom3 active -n--- 5002 4 1900M 0.1% ; 15m
    MAC
    00:14:4f:f8:6c:1d
    VCPU
    VID PID UTIL STRAND
    0 4 0.3% ; 100%
    1 5 0.0% ; 100%
    2 6 0.0% ; 100%
    3 7 0.0% ; 100%
    MEMORY
    RA PA SIZE
    0x8000000 0x88000000 1900M
    VARIABLES
    keyboard-layout=UK-English
    NETWORK
    NAME SERVICE DEVICE MAC
    vnet1 primary-vsw0@primary network@0 00:14:4f:f9:c8:15
    PEER MAC
    primary-vsw0@primary 00:14:4f:fa:c6:14
    DISK
    NAME VOLUME TOUT DEVICE SERVER
    vdisk0 vol3@primary-vds0 disk@0 primary
    vdisk11 vol11@primary-vds0 disk@1 primary
    cdrom cdrom@primary-vds0 disk@2 primary
    VCONS
    NAME SERVICE PORT
    ldom3 primary-vcc0@primary 5002
    We can see the exported cdrom volume in /dev/dsk as a new device and also at the ok prompt after running devalias.
    However, we need to mount this device so that we can install software in our domain. All our attempts at mounting just hang and I end up having to stop/start the whole domain. ?
    Is there an easy way to mount cdroms/dvd drives in a guest domain ?
    TIA

    There is an recently filed bug where DVDs (and ISO images) which do not have a VTOC in their disk label
    fail to be mountable in the guest domain (e.g. application software DVDs as opposed to OS installation images).
    6708257 DVD-ROM (not OS installation disk) can not mount from guest domain of LDOM 1.0.2
    # mount -F hsfs /dev/dsk/c0d1s0 /mnt
    mount: I/O error
    mount: cannot mount /dev/dsk/c0d1s0
    It's strange that you are getting a hang though (the reported error is an I/O error).
    Are there any messages in /var/adm/message of the control domain?
    What OS/patches are running on the guest and control domains (i.e is 127127-11 installed on both) ?
    I've just had a thought though, exporting the DVD device as a slice instead may work
    (it works for me on an ISO image but my machine is 1000s of miles away so I can't stick DVD in it
    to try out)
    e.g. ldm add-vdsdev options=slice /dev/dsk/c1t0d0s2 cdrom@primary-vds0

  • [Solaris 8] mount cdrom drive

    Sun Blade 150 - Solaris 8
    hi,
    i'm trying to access respectively to a cdrom reader and a cdrom writer ...
    "cdrw -l" gave me those informations :
    /dev/rdsk/c0t1d0s2 ... etc ... for the reader
    /dev/rdsk/c1t6d0s2 ... etc ... for the writer
    so i see my drives are being known by the system but the thing is i'd like to access them by something like :
    /cdrom/cdrom0
    and/or
    /cdrom/cdrom1
    thanks for help

    Hello
    back after a long while ... but I have the solution !
    Darren, you were completely right, thanks ! I summarize if ever someone meets the same pb ...
    1- normally, if the daemon "vold" is running, when inserting a CDROM in a drive, it's automatically mounted and then accessible with /cdrom/cdrom0
    2- but, if "vold" is not running, it has to be launched :
    /etc/init.d/volmgt start
    3- if "vold" is running but you still can't access to your CDROM (it was my case !) => that means the CDROM is maybe not readable ! Actually I had a CD-RW and the drive couldn't read it. I copied the data on a normal CD-R and it worked !
    thanks for help !
    bye

  • How to mount USB & CDROM drives from single user mode - Solaris boot disk?

    Hi All,
    I need to carry out ufsrestore on a single newly replaced system disk (no redundancy / mirroring) from either USB or CDROM drives from the following steps:
    ( i ) GRUB => e, e, cdrom –s, Enter, b (boot from Solaris 10 x86 media).
    ( ii ) Choose menu 1 for Install Solaris Interactive Mode to reach single user mode.Below are the commands that I have tried in single user mode without success:
    mount –r –F pcfs /dev/dsk/c1t0d0p0 /cdrom (after unmount Solaris CD)
      mount: /dev/dsk/c1t0d0p0 is not a DOS filesystem.
    svcadm –v enable smserver
      svcadm: Pattern ‘smserver’ doesn’t match any instances
    svcadm enable autofs
      svcadm: Pattern ‘autofs’ doesn’t match any instances
    devfsadm
      devfsadm: mkdir failed for /dev 0s1ed: Read-only file system
    mkdir /mnt
      mkdir: Failed to make directory “/mnt”; Read-only file systemPart of the problem is due to the current READ ONLY filesystems which does not allow the creation of mount point such as /mnt.
    I have been able to create both / root (/dev/dsk/c1t0d0s0) and /export/home (/dev/dsk/c1t0d0s0) filesystems with newfs that are awaiting for restore using ufsrestore.
    The only option I am left with is to attach a secondary disk to install Solaris 10 on either of them before bring the system to multi-user mode so that service such as volmgt, autofs, volfs are available to access USB & CDROM drives.
    Any suggestion on how to resolve this issue?
    Many thanks,
    Jack

    Hi JKGN,
    Is the directory a located under the root filesystem. ie /a? Are there any other mount point for say USB drive as well? I am not in a position to try it out right now but will get back
    to you soon on whether /a exist or not.
    Btw, the last thing I managed to do on this system at the time was added a secondary 1TB internal disk with the intention to restore both / and /export/home data onto this disk while
    making use of all the disk device management services such as the following services only available in a fully installed Solaris system (both single & multi-user modes) installed on the
    primary disk:
    # svcs smserver
    STATE          STIME    FMRI
    online         Jun_08   svc:/network/rpc/smserver:default
    # svcs autofs
    STATE          STIME    FMRI
    online         Jun_08   svc:/system/filesystem/autofs:default
    # devfsadm
    # iostat -En
    c1t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: ATA      Product: SAMSUNG HD321KJ  Revision: 0-11 Serial No: 
    Size: 320.07GB <320072932864 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 41 Predictive Failure Analysis: 0
    c0t0d0           Soft Errors: 0 Hard Errors: 5 Transport Errors: 0
    Vendor: PHILIPS  Product: DVD+-RW DVD8801  Revision: AD21 Serial 
    Size: 17.54GB <17538875392 bytes>
    Media Error: 0 Device Not Ready: 5 No Device: 0 Recoverable: 0
    Illegal Request: 10 Predictive Failure Analysis: 0
    c2t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: JetFlash Product: Transcend 16GB   Revision: 1100 Serial No: 
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 7 Predictive Failure Analysis: 0
    # rmformat
    Looking for devices...
         1. Volmgt Node: /vol/dev/aliases/cdrom0
            Logical Node: /dev/rdsk/c0t0d0s2
            Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0
            Connected Device: PHILIPS  DVD+-RW DVD8801  AD21
            Device Type: DVD Reader/WriterHowever, I was disappointed that "iostat -En" has not found the secondary disk (1 TB) even though it was available earlier, for Solaris installation as the only disk on the same system.
    As a result, I am left with no option but the need to rebuild this system with only a single primary disk while in single user mode. However, the single user mode that I am in is the
    one from Solaris installation disk with restrictive (_cannot create folder for mount point or running disk management utilities_) capability such as those services just covered, compared to one from a completed Solaris installation system with full access to all filesystems and utilities / commands in general.
    I would very much value your assistance on how to mount both CD & USB in this restrictive limited Read Only OS (assume that it is running from memory) in order to get complete access to
    the blank primary disk so that full restore with ufsrestore could take place.
    Thanks in advance,
    Jack
    Edited by: 797805 on 9/06/2012 04:15

  • [SOLVED]mounting cdrom and usb devices doesn't work

    Hello,
    i have trouble mounting my usb devices. automount doesn't work and i can't mount them manually even as a superuser. here's the output of mount command:
    mount: wrong fs type, bad option, bad superblock on /dev/sdc,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    i can mount cdrom manually but i can't do the same for my usb stick and external hard drives. it always complains about the above regardless of the filesystem. my devices are working under windows and other linuxes so i know hardware is not the problem.
    i'm using lxde with pcmanfm.
    if you need any other files just ask.
    thanks
    Last edited by the gray (2009-03-16 20:15:18)

    above was the error when i tried to mount any usb device with "mount -t <type> /dev/sdc /media/mountpoint". and i couldn't mount any usb device as root from console. when i tried to mount devices using pcmanfm it just popped some empty dialogs and i couldn't find any mention of "IsCallerPriviliged failed" error so i (wrongly) presumed it wasn't that. i did try some of the other fixes mentioned in the forum with no success. but adding exec ck-launch-session startkde to my .xinitrc fixed the issue
    thanks again
    Last edited by the gray (2009-03-16 20:17:53)

  • Installing from an external usb cdrom drive

    I am able to boot an external usb cdrom drive but I cannot figure out how to mount that usb cdrom drive to complete the install.
    My boot command is:
    arch-scsi NEEDUSB=auto
    I cannot run loaddisk, as it does not find the usb cdrom, so I cannot load the addon utilities (thus I cannot modprobe usb-storage).
    I can run /arch/setup but when it gets to package selection, I am unable to select the CDROM source. This machine is not on the net, so I cannot do a ftp install.
    Has anyone else installed ARCH using an external USB cdrom drive ?
    Does anyone have any suggestions?

    Thank you Xentac for you help. I looked up the bug report and understand the problem. Now how do I proceed from here?
    Any suggestions on a work around? Should I rebuild the 0.7 beta disk with additions to the initrd? Eventually, I will need to install Arch on about twenty standalone systems. They do not have cdrom's in them, and are not on a network. Sounds like I may have to open up the units and plug a cdrom in for the install
    I was thinking of cloning the disk (i.e. open up unit, take hard drive out, put in another system and clone), but it has been pointed out that doing a basic install is a good way of testing the hardware. It doesn't take very long and we have to do testing of our software anyways.
    I open to suggestions!

  • Cannot bootup from cdrom-drive or from harddisks

    This is quite a post, main point is: I cannot succesfully bootup my desktop from either a cdrom or my hard disks after a normal reboot. After a cold reboot (power off for about 30-40 seconds) it will bootup but will randomly reset or freeze up.
    It started with me browsing a website with chromium-svn, chromium told me that the website might contain malware, but I wasn't really worried since I was using linux and browsing under a normal user account. Then a java window popped up, something concerning settings, and my system became very slow. I tried to click away the java window but my X server crashed and put me back into KDM. I fired up a console (Ctrl+Alt+F1) and did "ps aux" to see if my system was compromised and strange processes were running. That wasn't the case, but as soon as I logged out the terminal disabled itself claiming it had too much input or something like that (it's a couple of days ago I don't remember the details). So I resetted my desktop and now grub wouldn't start up. It just gave a strange character in the top left corner and froze up. A cold reboot did give me grub back, but it wouldn't let me into linux, somehow my partitions wouldn't mount. After that I tried my windows XP dual boot, that worked althrough it suffered from random resets.
    Thinking something was wrong with my harddisk I tried rebooting with Parted Magic livecd. That failed, as did rebooting with the official arch livecd and with several other livecds. All giving some fault that they couldn't find/mount the cdrom, while the innitial bootup from the cdroms all went good. A cold reboot fixed that problem, but all suffered from random resets and lock-ups.
    After that I thought is was a hardware component, so I tried pulling them out one by one to see what the problem might be. It wasn't the harddisk, for I nuked the partition table and pulled it ou (I have two harddisks, so pulling one out is a possibility). I also replaced the cdrom drive. Then I pulled out a new memory module (I bought one a few weeks ago) to see if that was the problem, but it wasn't. I also updated the BIOS to see if the problem was there, but to no avail. As a last ditch effort I replaced the CMOS battery and resetted the BIOS properly. But all had no effect.
    I runned Memtest, but it detected no errors. Currently I have no idea what is wrong other than that it is broken. By process of elimination I'm fairly confident that it isn't the harddisk, nor the cdrom-drive nor the memory.
    During the bootup from the archlinux install cd the kernel messages do indicate that it detects sda as a harddisk and sdb as a cdrom drive, while I have 2 harddisks and one cdrom drive. So it should detect sda and sdb as harddisks and sdc as a cdrom drive. Also it gives the following error:
    waiting for boot device
    error: boot device didn't show up after 30 seconds
    And also:
    usb 2-2: device description read/64, error -71
    and much more of that with errors: -110, 1790, -22
    Also this:
    hub 5-0:1.0: unable to enumerate USB device on port 2
    My hyphothesis is that my southbridge (which deals with the cdrom, harddisk drives and the usb devices) is somehow broken.
    I'd like to have your oppinion on this, or at least confirm if my cdrom, harddisk etc. really aren't culpable in this problem so I might reuse them. Right now my solution would be to buy a new motherboard/CPU/memory and reuse all the other components.
    EDIT: My hardware is:
    CPU: AMD Athlon64 3500+
    Motherboard: Asus A8V-E SE (Northbridge: VIA K8T890 | Southbridge: VIA VT8237R )
    Memory: 2 GB
    HDD: 2x SATA-150
    CDROM: DVD-writer
    System ran ok from 2006
    Last edited by Chromoris (2009-12-17 04:38:06)

    Well your testing and conclusion seem correct, but maybe before buying new stuff, try booting those drives using a different machine, if there are no problems... then go ahead and get the new board.
    Testing the drives with a different machine will need to wait untill after the holidays. However the disks are not that old, one is almost brand new, and nothing has given me an indication that something is wrong with the disks itself. So I think it is a safe assumption that the disks themselves are good, but it won't hurt to check I guess.
    Remove the hard drives (or at least their cables) and boot a Live Linux CD from the CDROM drive. Same issues? If yes, and you have checked memtest as you said then either you have a motherboard or CPU fault. At that point remove your CPU and renew the heat sink compound and reseat the CPU. If that does not work probably a motherboard fault as you suspect.
    Removed the cables and booted with a Live CD, problem remained. Althrough this time I've been rewarded with a kernel panic, still couldn't find the booted cdrom device. I renewed the heat sink compound a few months ago so I'm fairly confident it is still good. I did that because my CPU overheated, and I've kept a good eye on the temperature sensors ever since. Besides I know what happens if my CPU overheats so I'm pretty sure it is not overheating. Should the problem be a broken CPU, well that would almost be the same as a broken motherboard and I would have to replace both of them. I cannot easely find replacement parts for either the cpu or the motherboard, socket 939 has become obsolete.

  • [Solved-sortof] Mounting dvd drive /dev/hdc

    My dvd drive is not mounting for some reason, I thought maybe I just needed to restart and that it would mount again but no luck, this is what I get:
    mount /dev/hdc /test
    mount: no medium found
    I put the same DvD in my cdrom/dvd drive and it mounts so i know it's not the dvd. I thought well, this is a dell shipped dvd drive so maybe it died, I'll give it a test. I slap the dvd in the drive, since it's the master cd drive it shoudl load a cd at bootup and it does, loads Fedora dvd image easily. I did upgrade something this morning, mostly gnome stuff, so I am thinking it's one of the packages assuming I don't have /dev/hdc on my computer. Is there a way to see what's going on?
    Quick Edit
    I did a quick edit to see what exactly was going on, I am far from a linux pro, but I do have some common sense. I took gdm / hal off my daemons list and rebooted. Now from command linue I logged into root and tried to mount the drive /dev/hdc and it worked perfectly flawless, no errors. So I am guessing this has to do with a hal problems that was caused during an update. Any further help would be much appreciated though because I don't know where to go from here.
    Edit again
    I solved my little "issue" apparently it was just the dvd I was trying, for some odd reason my dvd drive was refusing to auto-load the dvd movie. Yes I burned a dvd movie, I do own the original copy, I just burn a backup incase of dmg / loss. The original dvd loads fine with no mounting issues. The dvd I burned works in a dvd player, and on my secondary dvd/rw drive, I don't like watching movies on the dvd/rw drive though because of the fact that it's read capabilities is much slower. I am still puzzled on why my dvd drive doesn't like to mount / read it correctly.

    mzneverdies wrote:
    not sure, but in order to mount cds/dvds, I think you must use the -o loop flag
    sudo mount -t iso9660 -o loop /dev/cdrom /media/cdrom
    The loop flag is for mounting ISOs.

  • Mounting CDROM as normal user about to pull hair out....

    Hi everyone....
    I'm about up to my wits end trying to allow my normal user to mount and unmount my cdrom drives...
    Here's my /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /proc proc defaults 0 0
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    tmpfs /tmp tmpfs defaults 0 0
    sysfs /sys sysfs defaults 0 0
    usbdevfs /proc/bus/usb usbdevfs defaults 0 0
    /dev/cdroms/cdrom0 /mnt/cd1 iso9660 ro,user,noauto,unhide 0 0
    /dev/cdroms/cdrom1 /mnt/cd2 iso9660 ro,user,noauto,unhide 0 0
    /dev/cdroms/cdrom0 /mnt/dvd udf ro,user,noauto,unhide 0 0
    /dev/floppy/0 /mnt/fl vfat users,noauto,unhide 0 0
    /dev/discs/disc0/part2 swap swap defaults 0 0
    /dev/discs/disc0/part3 / reiserfs defaults 0 0
    /dev/discs/disc0/part1 /boot ext3 defaults 0 1
    I also added a new group called "mount" and added both root and my normal user to it.
    I then did
    chgrp mount /bin/*mount    to change mount and umount to the mount group
    then i did a
    chmod 774 /bin/*mount
    I also made sure that the 3 mount directorys in fstab existed and gave them 777 permissions...
    Did a complete reboot...  and the normal user still can't use mount... I get this error...
    mount: must be superuser to use mount
    I'm at my wits end.  I believe fstab is correct.  I believe my permissions are set correctly...  Is there anything else I need to do?
    Thanks in advance for any replies...
    James

    longhornxtreme wrote:man chmod doesn't say what s does.... so I'm kind of at a loss of understanding...
    The man page says exactly what it does...read more carefully
    the chmod manpage wrote:The letters `rwxXstugo' select the new  permissions  for  the  affected
           users:  read  (r),  write (w), execute (or access for directories) (x),
           execute only if the file is a directory or already has execute  permis-
           sion  for  some user (X), set user or group ID on execution (s), sticky
           (t), the permissions granted to the user who owns  the  file  (u),  the
           permissions  granted to other users who are members of the file's group
           (g), and the permissions granted to users that are in  neither  of  the
           two preceding categories (o).

  • Cdrom install in new guest domain

    Hi all --
    I'm waiting for my T1000 to show up (should be here tomorrow) and I'm whiling away my time with reading the Admin Guide.
    Our Solaris machines (and these ldom's) are on a network that already has a Red Hat Kickstart server. I don't really feel like messing with that, and our volume of installing Solaris is so small that I don't want to spend the time to make a Jumpstart server.
    It seems that it's possible to boot and start a cd-rom based install of Solaris 10 from within a guest domain, but the docs don't mention how to do it.
    Can someone shed some light for me?
    Thanks!

    Well, the T1000 is here, and lo and behold, no cdrom drive.
    So, the question now becomes - it it possible to have it boot off of an .iso, or is netboot my only option?

  • Mouting CDrom drive doesn't work

    Hi all, I have been looking through the forums the last 2 days trying to find an answer to why my CDrom drive won't mount any CD's, but unfortunately no succes.
    I have an IDE kernel,  with a CDrom drive and a DVD drive, my fstab looks like this:
    none /proc proc defaults 0 0
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    tmpfs /tmp tmpfs defaults 0 0
    sysfs /sys sysfs defaults 0 0
    usbdevfs /proc/bus/usb usbdevfs defaults 0 0
    /dev/cdroms/cdrom0 /mnt/cd iso9660 ro,user,noauto,unhide 0 0
    /dev/cdroms/cdrom1 /mnt/dvd udf ro,user,noauto,unhide 0 0
    /dev/floppy/0 /mnt/fl vfat user,noauto,unhide 0 0
    /dev/discs/disc0/part8 swap swap defaults 0 0
    /dev/discs/disc0/part7 / ext3 defaults 0 1
    /dev/discs/disc0/part6 /boot ext3 defaults 0 1
    I changed:
    /dev/cdroms/cdrom0 /mnt/dvd udf ro,user,noauto,unhide 0 0
    to
    /dev/cdroms/cdrom1 /mnt/dvd udf ro,user,noauto,unhide 0 0
    When I go to /dev/cdrom/ and execute # mount cdrom0 I get the following error:
    mount: can't find /dev/ide/host0/bus0/target1/lun0/cd in /etc/fstab or /etc/mtab
    And when I go to /dev/cdrom/ and execute # mount cdrom1 I get the following error:
    mount: can't find /dev/ide/host0/bus1/target0/lun0/cd in /etc/fstab or /etc/mtab
    And if I just execute # mount cdrom0 or # mount cdrom1 I get the following error:
    can't find cdrom in /etc/fstab or /etc/mtab
    I have no idea what could be wrong, any help is very welcome.

    Hi, thanks for the replies:
    I tried what you said, and I get the following:
    # mount /dev/cdrom/cdrom0
    mount: mount point /mnt/cd does not exist
    # mount /dev/cdrom/cdrom1
    mount: mount point /mnt/dvd does not exist
    Does this mean I don't have a mount point?

  • Fast User Switching with Mounted Network Drive?

    I have a headless G4 Cube running 10.5.8 with a 2TB firewire drive plugged in for storage accessable to any of my macs here at home. I can access it fine with my 2 desktops over ethernet and wirelessly. Recently we decided to consolidate our 2 desktops into one using the muliple users feature. Seems to work fine, and both accounts can access the shared drive. They are logging in with the cube's admin credentials, and the shared drive is set to ignore permissions. I have the drive set to mount on login with a startup item in the system login items prefs. As long as I logout before switching users, everything is good.
    The problem arises with Fast User Switching which we'd love to be able to use. I can't figure out how to connect to the drive in one account without the 2nd account then seeing it as a volume without proper permissions, then that account creates a new volume mount for it (which doesn't work with iTunes properly and seems to cause other wierd issues).
    Example: So say 'user1' logs in, mounts the drive 'Jukebox'. everything seems OK so far. 'Jukebox' is on the desktop and iTunes finds the music. Now I fast user switch to 'user2' and there is a 'Jukebox' on the desktop with the red minus icon indicating I don't have permissions to access it. If I then browse the network and mount the drive, I end up with ANOTHER 'Jukebox' on the desktop. BUT iTunes doesn't see it properly. If I look in the /Volumes/ folder with the Terminal, I see a mountpoint for 'Jukebox' (with the owner of 'user1' group 'staff') and now a new mountpoint called 'Jukebox-1' (with the owner of 'user2' group 'staff').
    It seems when you mount a AFP drive, it creates the Volume with the current user and staff group, but switching to another user then can't access that when it sees it in the /Volumes folder. You try to mount again and it creates a NEW mountpoint, names it with a '-1' at the end and you can use that (but iTunes cant).
    So... how does one use a shared drive that you want on BOTH users desktops with Fast User Switching turned on? Is there a way to have the drive mounted BEFORE either user logs in, such that it will be seen as any other local drive (which doesn't have the issue)??
    Or is there some other way I can attach to the network volume in each account on login so both have access to music and videos with full permissions?
    I'm really stumped here after 2 hrs of googling, searching here and trying things.
    TIA

    I've not had any luck with the suggestions in the link either.
    Here's two other approaches I've tried and failed with:
    1. Creating a new share point on the cube itself so that one user can mount it as a different volume. Then the issue is that I still don't have a volume named "Jukebox" available to each user when switching. I DO have access now to the data from both accounts, but under 2 different mount points (volume names) and the xml file for iTunes is hard coded with the path for each mp3 including the "Jukebox" volume name... so no go.
    2. Tried figuring out a way I could script a mounting of the share with the terminal thinking I could then run that shell script at startup. Can't seem to get the sytax right. If I create a directory in /Volumes and mount and afp share to it, it takes on the ownership of root/wheel which I can't access in the finder and can't seem to change.
    BUT I'll keep playing with both these ideas a bit... the first one might be overcome with a bit of logic and the 2nd if I can get the syntax right to mount the share with afp_mount and give it the correct ownership/permissions such that when a user logs in she/he sees the volume on the desktop and has full r/w access to it.
    thanks again. if you offhand know the syntax for that, let me know

  • How can i restrict access to a mounted smb drive?

    Hope someone can help this is bugging me! i'm running this apple script as a student logs in to mount the students share folder, located on a MS2003 server, and a share drive on an Xserve to their desktop:
    set student_name to (do shell script "echo $USER")
    property stu_password : ""
    -- displays the password dialog box and stores the result in stu_password
    repeat while stu_password is ""
    display dialog "enter your password to access the share" default answer stu_password with hidden answer
    set stu_password to text returned of result
    end repeat
    -- mounts the network share to the desktop
    tell application "Finder"
    open location "smb://servername/stuhome/" & student_name & "/"
    open location "afp://" & student_name & ":" & stu_password & "@servername/Share/"
    end tell
    It works fine and mounts the drives however... finder then defaults the network location so the student has access to all the folders on /servername/stuhome/ I just want it to mount /servername/stuhome/username/ with no backwards access. I cant set permissions from a server folder level (i don't think!) as its a windows server. any suggestions? why does finder do this? ta.
    Intel XServe Mac OS X (10.4.10)
    Intel XServe   Mac OS X (10.4.10)  

    I've done a work round i'm not 100% happy with but it will do! If anyone else has this problem feel free to mail me.

  • Mounting secondary drive from old G4 via Firewire to new iMac?

    I just got my new iMac up and running (god is it gorgeous). The 'transfer files' thing in the initial install pulled all the programs and user settings from my old G4's primary drive perfectly, but the G4 has a second IDE drive in it where I kept much of the data. When I boot the G4 with the "T" held down, only the primary drive shows up on the iMac... how do I get the iMac to recognize and pull data from the other drive in the old tower?
    Drew

    Hi-
    When I boot the G4 with the "T" held down, only the primary drive shows up on the iMac... how do I get the iMac to recognize and pull data from the other drive in the old tower?
    This is a limit of firewire target mode, only the master drive will show.
    If the secondary drive is bootable, connected to the master connector (end connector, not middle), and jumpered as master, you will be able to mount the drive in FTD mode.
    Alternatively, copy the files from the secondary drive to the primary drive, and transfer from there.

  • Attempting to use Migration Assistant to restore a Time Capsule backup to a mounted partitioned drive?

    Had a power surge and my Mac Pro did not fare well. Was able to boot from one of the drives in read only mode, so I did a Time Capsule backup of everything on the drive. Reinstalled Mountain Lion. Booted the computer up and am trying to use Migration Assistant to take the Time Capsule backup and restore it to the 1TB drive. When I use Migration Assistant, it says that there is not enough space on the drive to do the restore. I looked in Disk Utility and saw that the start up disk is another one of the 1TB drives with about 600GB used, therefore not enough space to do the restore. I want to restore to the original drive, but it says it is a "Mounted Partitioned Drive". Can I use Migration Assistant to restore a Time Capsule backup to this mounted partitioned drive?
    Thanks in advance for any help - greatly appreciated.

    I am not sure, never had to go there, I have multiple bootable clones of the system online and off, and a couple 1500VA/900W UPS units powering everything.
    http://support.apple.com/kb/HT1427
    http://www.recovermymac.co.uk/data-recovery/time-capsule-data-recovery/
    This is a great article:
    http://pondini.org/OSX/SetupLion.html
    Most questions about TimeCapsule and TimeMachine are under Mac OS X forum as in -
    https://discussions.apple.com/community/mac_os/os_x_mountain_lion#/?tagSet=1468

Maybe you are looking for

  • Trouble installing ZFS in archlinux kernel 3.6.3-1-ARCH

    I've been trying to install ZFS on my system, and i can't get past a building error for SPL, here is my install output: ==> Downloading zfs PKGBUILD from AUR... x zfs_preempt.patch x zfs.install x PKGBUILD Comment by: modular on Wed, 24 Oct 2012 03:0

  • How to compare two separate PDF files with certain fields identical?

    Does anyone know of a way that I could compare two separate PDF files containing the same information in certain locations?  Please keep in mind that they contain different information as well.  I know that it could be done with importing it to excel

  • Music app on reverted iPad crashes

    After successfully reverting my iPad 2 to iOS 7.1.2, my Music app (Apple app; can't be deleted and reloaded) crashes on start. Anybody else experiencing this and is there a solution for this?

  • Why is captcha box missing in Add-this app?

    This started today(10/22/12 about 1:00pm est.) I was using the Add-this app and now the captcha box is missing from the send page of Add-this. This happened with-in a 5 min. period. I changed nothing.

  • Delete a payment error

    I did not authorize a purchase and need to delete it from my account.