How can I mount a CD Drive in Single User?

Thank you for reading my question. 
I need to run single user mode on my iMac because of a disk problem.  I would like to be able to mount the cd drive while I am in single user mode.  I would also like to be able to mount usb hard drives with confidence, so that I can copy off files from the internal hard drive. 
I am in single user mode, which I get to by holding down Command-S on startup.  I can look at the disks that are attached to my computer by executing
ls -l /dev/disk*
However this appears to be adding disks.  I started with /dev/disk2 and /dev/disk2s1 etc which I understand are partitions on that external drive.  Now when I list /dev/disk* I have /dev/disk3 and a couple of partitions on those devs.  Is that normal?  Have I not unmounted disks properly?
I have been using a directory that already exists as the mount point for my usb drives using
mount -t hfs /dev/disk1 /cores
which worked fine.  Alas the disk I mounted on that directory was too small.  Now I can't mount a disk on there.  Do I need to unmount or fix up that assignment? 
If I were to create a directory in /Volumes is that advisable?  How do I make the root directory readable is that by using 'mount -uw'? 
Thank you.  Please if you answer my question, try to be clear on what commands to use and why.  Bear in mind that other people will read this, and no one on the web seems able to write suggestions very clearly.  Maybe we can be the first!  If I have not been clear, please feel free to ask for clarification.  i am not a total unix newbie.  Rather in the 20 years since I was a sysadmin, my memory has faded. 
Pete

I think you need to post this in a different forum.  I think the Developer Forums would be the right choice.
In any event from the little Unix I know you can't mount a removable device until it's connected which means you need to put a CD/DVD into the optical drive.  At that point if you enter 'df' you should see the device if it is mounted automatically (which I believe it does.)
In single-user mode the entire drive is readable and all files accessible.  You are the 'root' user.  In order to put the system into write mode you must enter 'mount -uw /'.  Note the '/' at the end of the comnmand line.  That makes the entire system writeable.
You do not need to create a directory in /Volumes.  When the CD/DVD is recognized an entry in /Volumes will appear unless the disc is unformatted.
Now take some of the above with a grain of salt.  I'm certainly no Unix expert.

Similar Messages

  • Mount external Hard drive in Single user mode

    Do any know how to mount an external hard drive in single user mode:
    I've issue the following command:
    /sbin/mount -uw /
    mkdir /Volumes/ex1
    /sbin/mount_hfs /dev/disk2s3 /Volumes/ex1
    (I've checked my external hard drive using df -k showing the device is disk2s3)
    Result:
    Permission denied

    I seem to remember the "Permission denied" or "Device busy" coming up in some situations but not others when attempting to mount drives at this early stage in "single user" mode...
    It might be worth trying to run:<pre>sh /etc/rc</pre>This is actually present among the "Tiger" messages in "Single User" mode, as the procedure to continue booting but remaining in "single user" mode. Indeed, it seems to start up the usual "services" like starting disk arbitration (so you can eg. use 'diskutil' to repair permissions, or loading "NetInfo" so you don't need to work in '-raw' mode - in the past, people had posted complicated procedures for doing these things manually.
    After running the 'rc' script, try creating your mount point and and running 'mount_hfs' as usual...

  • 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

  • How do i repair my hard drive in single user mode when disk is full?

    Hi there Apple Community!
    I have an old Macbook Pro 17" with an upgraded 500GB harddrive and 4GB memory. I'm running Mac OSX Lion.
    Was hoping you could help me out.  THis is the situation:
    Long story short I spilt wine on my macbook and the screen went a bit blobby. Switched it off for a few days, removed the battery etc. etc. Opened it up cleaned out as much of the wine as possible, but unfortunately some of it came in behind the LCD, so now the screen has a nice red stain.  Obviously I'm not going to try to clean that out of the LCD. 
    My Macbook Pro still worked for a few days after that, but then my harddrive gave up.  I booted in the Recovery HD menu, verified the drive and I got the error "Keys out of order - This disk needs to be repaired, click Repair Disk." I attempted to repair the disk but got the error "Keys out of order - Disk Full Error - The volume could not be repaired".
    Unfortnately of this 500GB I only have about 7GB free on it, as I have a huge iPhoto and iTunes library. I did make a TIme Machine backup of my user directory, but not the system files.  I don't really want to do a clean install because:
    1) I'm paranoid that there's something I did not fully back up
    2) I don't want to have to download the whole Mac OSX Lion again. I should have made a USB bootable backup when I had the chance.  I don't have access to a broadband connection.
    What I feel are my viable options, are as follows:
    1) I did buy a replacement internal 500GB harddrive, so I can probably try to make an image of the hard drive to this new drive, but not sure how. I believe it's through the Disk Utility with the "New Image" option but not sure how to go from there.
    2) Start up in Single User Mode and delete some unnecessary files and re-attempt to run the fschk -fy utility again (I tried this earlier and got the same Disk Full Error).  - the problem with this is, I'm not familiar with the command line and have no clue how to delete files.  I don't know my way around Unix.
    3) I can also probably attempt to make a Ghost Image or Acronis Image of the failed drive to this new drive, but not sure if Norton Ghost or Acronis True Image will be able to read this HFS drive - I believe it's possible as it's a simple hard drive clone. 
    If you can guide me in the best option - probably there is a better solution than my proposed ones above, I appreciate any feedback and comments you might have!

    hi Baltwo,
    So I ended up copying my user folder to another harddrive. I managed to download the whole osx lion again, reinstalled, and recovered my home folder using this discussion:
    http://support.apple.com/kb/HT1428
    I have managed to get all my files back. My iTunes library works fine, but my iPhoto library when I open it, get the following error:
    iPhoto cannot be opened because of a problem.
    Here's the error log
    Process:         iPhoto [1540]
    Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Identifier:      com.apple.iPhoto
    Version:         8.1.2 (8.1.2)
    Build Info:      iPhotoProject-4240000~8
    Code Type:       X86 (Native)
    Parent Process:  launchd [209]
    Date/Time:       2012-09-19 19:56:45.528 +0200
    OS Version:      Mac OS X 10.7.4 (11E53)
    Report Version:  9
    Sleep/Wake UUID: 7948ABE2-5294-4F87-B6E3-777095A2F2EE
    Interval Since Last Report:          4780 sec
    Crashes Since Last Report:           9
    Per-App Crashes Since Last Report:   9
    Anonymous UUID:                      70117D38-03EA-4F9C-B810-50B743864B9E
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/iLifeSlid eshow
      Referenced from: /Applications/iPhoto.app/Contents/MacOS/iPhoto
      Reason: image not found
    I've done an Apple Software Update but it didn't find an update for iPhoto.
    One thing to note is, this library was originally created on iLife 08, upgraded to '09 and it stayed on that version. It hasn't een upgraded to iLife '11.  It worked fine on my previous install of OSX Lion.  How do I recover the library without upgrading to '11 ?

  • Can I mount a firewire device in single user mode?

    I've still got this idea I can rescue data from a hard drive that won't mount.
    I put my external backup drive on another iMac to simulate what would happen. Briefly,
    I plug in the drive, note the device name.
    I reboot into single user mode.
    The drive automatically powers off. Grrr.
    I turn it back on again. It does not show up in /dev

    How far did you go under "single user" mode? In "Tiger", running 'sh /etc/rc' (instructions to use this are included among the messages displayed starting up in single-user mode) starts up all sorts of things. Perhaps plugging in the drive after the script has run will have it show up in '/dev/' (I haven't tested this)...

  • Mounting devices as drives in single-user mode

    i am having a problem with a computer that won't start up into mac osx and i am wondering about mounting an external hard drive that shows up under /dev/ but not /volumes/. i am trying to back up some files using the tar command, but i need a drive available first before i can do so. thanks in advance for any replies!

    Gary,
    THANK YOU!!!
    The "diskutil disableJournal /" command worked and allowed me to FINALLY mount the disk via target mode. I successfully backed up my most important files. As of now, I don't know why this has worked, despite the read-only status of the disk, but it has. Once I typed the command and hit enter, I heard the hard drive spinning and doing some work for about 15 seconds. After that, nothing happened and, for some reason, I decided to force a shut down, restart the mac in target mode, and see what happened. However, I tried trashing some stuff, which locked up both computers, but I am trying the command again and being more patient with the it to see if I can do some more back up work. Even if that was a short-lived fix, it was long enough for me to back up my honors thesis, which I worked on for two years and counting. I have been working on this problem to no avail (off and on) for the past two months, so to finally see some progress has been pretty nice (understatement). whew! yeah!
    again, thanks!
    neal
    P.S., i will do some diagnostic stuff on the disk after i attempt another disabling of journaling (fsck or the tiger dvd diskutility app). I'll keep you posted.

  • How can I delete a duplicate drive in the folders area?

    Not sure how I ended up with a shared network drive duplicated under the folders area of Lightroom 3.6.  Maybe it was a user error but now my network drive where I have 15,000 pictures appears twice in the folder area and it is constantly updating (since there are quite a few pictures).
    How can I delete the duplicated drive?  I have "removed" all the folders under the duplicated drive (and made it disappear) but the drive keeps coming back as the synchronization process will add all the folders that exist on that drive.
    The two drives with "Volume_1" in the name are actually one shared network drive (I only have one).
    I actually removed my network drive mapping (N:) to fix the problem but that did not even work; LR still found a duplicate name for the same network drive and started to synchronize (again). Help!!

    I found pretty good super users and a solution here:
    http://www.lightroomforums.net/showthread.php?14294-Remove-external-drive-from-Folders-vie w

  • How can I remove the hard drive from an iMac g4 before recycling it?

    How can I remove the hard drive from an iMac g4 before recycling it?

    There are take-apart guides online.  For example
    http://www.xlr8yourmac.com/systems/imac_g4/imacg4_takeapart.html
    However, you can also consider securely erasing the hard drive instead.  You can do this using a Mac OS X installation disc with a version that your iMac G4 can boot from the optical drive.  If this is a viable option, please post back (include Mac OS X version on installation disc).

  • How can I Replace a Hard Drive on a 160gb iPod Classic?

    How can I Replace a Hard Drive on a 160gb iPod Classic? I am considering buying an iPod Classic off of eBay which is described as 'broken' and having the 'Red X' showing up on the screen. The seller is starting the bid at a very low price, which raises some concerns for me. For this thread, let us assume that the iPod has a broken hard drive that needs to be replaced in order to function properly. I am assuming that merely 'restoring' it would not suffice. How would I be able to replace the hard drive myself, without bringing it in to a store? I have never fixed an iPod's hardware before, nor a computer or any electrical device. I am a novice at such things. Would I be able to fix it myself without wasting money on a broken iPod and new hard drive? Please provide instructions on how to do so =)

    Hello there,
    Yes, the red X icon is usually a sign of a bad or damaged hard drive. Sometimes, restoring the iPod will resolve the issue, but rarely. Other users were able to smack the ipod against the side of their leg and gain back full functionality of the iPod.
    However, if no such luck with either, your next option would be to replace the drive. For this task, you can either opt to repair and replace the hard drive yourself, or opt to send it into a third party repair business to do the job for you.
    I use the guides at [www.ifixit.com|http://www.ifixit.com> to help me replace broken parts on an iPod. These guides provide excellent step-by-step instructions as well as photos on how to repair any part from an iPod.
    Some other good sites for purchasing repair parts include the following:
    [iDemiGods|http://www.idemigods.com>
    [RapidRepair|http://www.rapidrepair.com>
    [iResq|http://www.iresq.com>
    Lastly, I would also like to remind you that ebay also has several great deals on excellent iPod replacement parts. It's where I purchase a majority of mine.
    Hope this helps.
    B-rock

  • How can I put a hard drive icon on desktop?

    how can I put a hard drive icon on desktop?

    Click on the Desktop. Select Preferences from the Finder's menu. Click on the General icon in the toolbar. Check the appropriate boxes.

  • How can I get a better driver for my 1394b Hostcontroller in my Macbook pro 2010 to solve the problem, that it is too slow under Windows 7 installed with bootcamp ?

    How can I get a better driver for my 1394b Hostcontroller in my Macbook pro 2010 to solve the problem, that it is too slow under Windows 7 installed with bootcamp ?
    WIndows can't find a better one than the installed LSI Conformed 1394 Hostcontroller

    Read and follow the Bootcamp Installation instructions that you were offered to view when you ran Bootcamp Assistant.
    Run Bootcamp Assistant again and select the option to download the Bootcamp Support software. Follow the instructions. Then boot into Windows and install the Windows Support software you downloaded and saved.

  • Help! When i connect my "iomega" External hard drive to my mac it does not show in devices or on the desktop, how can i access my hard drive?

    Help! When i connect my "iomega" External hard drive to my mac it does not show in devices or on the desktop, how can i access my hard drive?

    what format your iomega HD is it NTFS , if NTFS try download   http://www.apple.com/downloads/macosx/system_disk_utilities/ntfs3g.html

  • How can I clean my hard drive?

    Hello everyone,
    My macbook is now four years old and the last wipe is a while ago. My hard drive is quite ful and I don't really know what I can delete and what not. There's also 26 GB in Movies which don't appear nowhere. I really would like to get rid of them but don' know how. So, is there an application like CleanMyMac that is of any use or how can I wipe the hard drive myself (after I saved all my data)?
    Thank you for your help,
    Julia

    I made my partition and am currently reinstalling mountain lion to put on my flash drive. I'm using Lion disk maker 2 thats compatible with mountain lion. I'm doing it right, correct?

  • How can I add the hard drive icon to the menu bar on a MBPr

    How can I add the hard drive icon to the menu bar on a MBPr?  I have downloaded Google Earth and it wants me to drag it to the hard drive for install. I was able to display the icon but now I would like to put it on the menu bar. Is this possible? Or can I add it to the hardware section under system preferences?
    I'm a new Apple user, coming out of the dark ages of a lifetime in the PC Windows world.
    Thanks

    It's on your Desktop, is it not? You cannot put it on the menubar through OS X although you may find third-party utilities that will. If you want it on the Desktop:
    Select Preferences from the Finder's Finder menu and check the desired boxes:
    Click on the Sidebar icon in the toolbar to set what you want displayed in the Sidebar.

  • How can I find the JDBC Driver version

    Hi,
    How can I find the JDBC Driver version installed on my Sun Solaris machine which
    has Weblogic Server 7.0 installed on it. Is there some kind of tool/command to
    do so or does Weblogic console say something about it
    Thanks
    Parikshit Khanna

    Parikshit Khanna wrote:
    Hi,
    How can I find the JDBC Driver version installed on my Sun Solaris machine which
    has Weblogic Server 7.0 installed on it. Is there some kind of tool/command to
    do so or does Weblogic console say something about it
    Thanks
    Parikshit KhannaThere is a jdbc DatabaseMetaData call getDriverVersion().
    The best thing to do is to download Oracle's latest appropriate
    driver from their site, and edit the start-weblogic script to
    make sure the downloaded driver is ahead of any weblogic stuff in
    the server's classpath. We do ship a driver, but Oracle usually
    has a newer better one very soon after that...
    Joe

Maybe you are looking for

  • Does apple care for macbook pro cover water damage?

    I just wanted to know if apple care for Macbok pro covers water damage. I mean, it should seeing as I paid over $200 for it.

  • TS4498 How large a download is this LP X update?

    Hello! I've looked in Apple's release notes & info provided at the App Store, but found nothing about the size of this download. Due to Verizon's 5Gb monthly allowance, I have to be very careful. Wish Apple provided this info for all downloads becaus

  • Problem with STMS_QA

    Hi, After releasing the transport requests in SE01, I have to approve these requests in STMS_QA, but these requests not appear in STMS_QA. Can any one help me? regards, prabhu

  • Conversion of unit of measure function module.

    Hi All, Can you let me know the function module that convert the unit of measure from EACH(EA)to cases(CS). I have the material that unit of measure is in EACH(EA). And i have to dispaly in cases(CS). Regards, Rakesh Singh

  • Photo Booth Backdrops?

    When i try to use backdrops, i get this weird mangled part of my face and i still see the actual background (not the backdrop). why?