Removing a minature disk from disk drive

I tried inserting a minature dvd / cd into my Mac Book Pro' s drive and the drive never grabbed it nor will it push it out.  Is there a way to force the drive to eject?

You can't use that type of CDs on a MacBook Pro.
Although I think you won't be able to eject that disc, open Terminal and type:
drutil eject
If it doesn't work, press the trackpad while your computer is starting. If nothing works, take the Mac to an Apple Store to get the SuperDrive replaced

Similar Messages

  • Removing a DVD Image from a drive?

    Hello everyone!
    Recently I wanted to wipe my MacBook Pro, and do a clean install of Snow Leopard. However doing so proved difficult, because my DVD drive recently gave out and stopped ejecting disks (Had to open her up and take out the drive completely). Anyways, in order to do a clean install, I had to create an image of my Install DVD On an external hard drive, and wipe the computer in target disk mode from another mac.
    The clean install worked perfectly, although now my external Hard Drive is stuck with the DVD Image of the snow leopard install disk on it. I would just wipe the drive, however it has about 450 GB worth of data on it (When I put the Install DVD image on the drive I chose not to erase the current data) and I would just get another hard drive to back up my data and reformat the drive, but currently I do not have another drive to transfer the files to.
    I would just delete the Snow Leopard install disk files, but everytime I plug in the hard drive, it pops up like an install disk and its quite annoying. In the mean time the hard drive still works perfectly, its just annoying always having to close the "Install OS X Snow Leopard" window each time I plug in the drive. (Note: If I remove the install disk files from the drive, the Hard drive still pops up like an install disk when its plugged in)
    So my question is this, (I know I'm finally getting to my point haha) is there any way I can remove the "Install Disk" image from my hard drive without having to wipe the entire drive? Or am I just going to have to get another hard drive to back up all my data and reformat it? Thanks for your help guys, looking forward to your replies.
    Regards,
    -LS
    Other System Info:
    ~Computer
    Model: MacBook Pro 3,1
    Make: 15" Discrete Model
    Processor: Intel Core 2 Duo (2.2 GHz)
    RAM: 4 GB
    ~External Hard Drive
    Model: Western-Digital My Book
    Size: 500 GB (Capacity); 33 GB (Free)

    Thanks for your reply Neville.
    I am currently able to read and write the files on the drive, and I am able to delete the Mac OS X install files. However even after I do so, whenever I plug in my external hard drive, it always pops up like a mounted .DMG file, instead of popping up like a hard drive.
    Also by default I use the "List" view in the finder. But whenever I access the drive, it shows the files in "Icon" view since I added the Mac OS X install disk image to the drive =(.

  • How do I remove the Hard disk from computer? I have an old iMac, model M5521 circa 2000.  I need to wipe the disk clean to DOD specs before donating it.

    I have an iMac Model M5521, circa 2000, which I must wipe the hard drive clean to DOD specs before donating it.
    I have the DOD software on another non-apple computer.  I need to remove the hard disk drive from the iMac to do this.
    How do I get to the hard drive?  I find only two screws on the back of the monitor/case and they do not help.  What am I missing?
    Thanks

    It's not too hard but you have to take off the bottom cover of the case. These instructions shoudl show what yo uneed to do.
    http://www.scribd.com/doc/103447/iMac-G3-Disassembly-Guide
    I pulled the original 10G hard drive from our M5521 and replaced it with a larger one. The whole thing took under 45 minutes, including the 15 minutes it took me to recover a screw that fell into the works.

  • How can i remove a hybrid mbr from my system drive so that Efi booted windows will install.

    Hi,
    i have just clean installed OSX lion on a freshly wiped drive in my macbook pro, using a bootable lion installer usb i used disk utility to partition my drive into a mac and a windows partition under the GPT/GUID partition scheme, i then proceeded to install lion onto the mac partition, and completed the set up, All Good...
    so i plug in my Windows 8 EFI Boot USB stick (Notice, EFI boot here, NOT BIOS EMULATION BOOT), shutdown and power on the mac and proceed to the boot picker by holding option, So far so good, the usb key is recognised and the system boots into the Windows Setup in EFI mode, Enter product key, accept terms and so on, Now i select my Windows partition and windows Says That it cant install to Partition 4 (EFI Partiton, OSX Lion, Lion recovery, Windows), It says that it can only install to a GPT / GUID based disk as expected...
    Why is there a protective MBR on my drive when i didnt add one, and i have not even touched bootcamp assistant...
    How can i remove this Protective MBR from my drive so that my disk is PURE GPT so windows can install?
    hours of googling has turned up nothing...
    System:
    Macbook Pro 13 inch Mid 2009
    Mac os: OSX Lion
    Version of windows trying to install: Windows 8 Release Preview 64 bit in EFI Mode

    Alexander, I would like to apologize for the TERRIBLE answers you have been given so far.  I too had this question, and so here is what my thoughts are, as maybe they might provide insight in leading you towards the answer.
    I am a *nix user in general, and thus own a mac and a thinkpad.  In fact I just got my thinkpad not too long ago.  As such, I transfered my faster hard drive to my faster computer, which made logcal sense to me.  Ergo, I moved my Mac drive to my lenovo.  On this drive I have a hybrid mbr which is no longer needed.  So my thoughts are this:
    From what I gather, the UEFI standard indicates that there is to be a protective MBR on all GPT systems.  This is so that when you use programs that are not GPT aware, they will see a presumably "full" drive and not think that they have the right to destroy your existing data in what it thinks is free space.  For instance, fdisk or other MBR only partitioning systems.  Thus, if your system has only a MBR with a single EE partition, it would be my guess that it was in fact not put there by installing Windows, but rather for the protection of your system. 
    If you are in my situation, where you do indeed have a hybrid MBR with written out partitions, it would be my guess that the only way to rid yourself of it is to do it manually.  The way I would recommend, is using gdisk (gpt fdisk).  It is command line only, but the syntax is pretty easy:
    $ sudo gdisk /dev/disk0
    Assuming you are using your mac partition and your primary hdd is disk0.  That will put you into an interactive session of gdisk.  Enter "?" for command options.  What you need is the "recovery and transformation" section which is the "r" I think.  From there I would say you probably want to create a new hybrid mbr (you will be using this to delete it).  When it asks you for the partitions you would like to include, just hit enter.  It should then ask you if you would like to create a protective entry for the remainder of the empty space.  This is what you want so tell it to do that.  After you are done, "w" will write and exit.  You may want to first use the "p" to print and ensure that you have what you want.  You can proabably check your work by using fdisk as so:
    $ sudo fdisk -l /dev/disk0
    I hope this helps you, and if you find that there is a better way, I hope you might enlighten this thread. 
    Cheers!
    PS The command examples, the $ is to indicate it is a bash/shell command as a non-root user, do not include it in the command.

  • Upgrading Hard Disk Drive of Lenovo THINKPAD T500 2055 ?

    Hi there,
    My personal laptop is Lenovo THINKPAD T500 2055, and its main specifications as follows:
    - Intel Core 2 Duo processor T9400 (2.53GHz 1066MHz 6MBL2).
    - 8 GB DDR3 SDRAM Memory Module 4 GB (2 x 4 GB) 1066MHz DDR31066/PC38500 DDR3 SDRAM SoDIMM Kingston
    - ATI Mobility Radeon 3650 with 256MB.
    - 160 GB Hard Disk Drive, 7200rpm.
    I really need to upgrade the Hard Disk Drive to a bigger size (500 GB, 7200 rpm). and, my major questions are as follows:
    * Could you please advise me on which Hard Disk Drive (500 GB, 7200 rpm) should I buy for my T500 laptop?
    For example, I found (http://www.amazon.com/gp/product/B003NSBF32) But I have no idea what T500 supports and what it doesn't... Therefore, I need your help to guide me about this matter. In other words, How do you know if ABC-Hard Disk Drive fits with T500 and XYZ-Hard Disk Drive doesnt fit? What is the clue in knowing what T500 accepts?
    My another question is:
    * How easy is it to remove/replace Hard Disk Drive in Lenovo ThinkPad T500 ???
    I already watched CRU Removals/Replacements on (http://www.lenovoservicetraining.com/ion/R61_T61/index.html), But the clip is for ThinkPad R61 and T61. So, Could you please help me how to handle it with T500 ?
    I would greatly appreciate your inputs.
    Thanks for your consideration of my request, and I very much look forward to hearing from you soon !
    Solved!
    Go to Solution.

    Hi and welcome to the forum!
    Any SATA drive that is 2.5'' wide and 9.5mm high will work in your T500. The drive you linked to meets the requirement and thus will work.
    For removal and installation instructions, have a look here:- http://www-307.ibm.com/pc/support/site.wss/migr-71568.html
    Hope this helps.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • Remove data from hard drive without startup CD?

    I have an old mac computer Tiger 10.4.1 which I am taking to be recycled. How do I erase or zero the hard drive? I do not have the original disk- the computer is 12 years old! This is just a personal computer but does have some sensitive data (one file only, actually). Cant I just drag the hard drive to the trash and empty it?

    As WALTER-MILANO-ITALY indicated above, it is possible to gain access to the hard disk on another computer using FireWire target disk mode (if both machines have FireWire ports). A FireWire cable would be needed for this. See the manual for your computer(s) and the article below for details.
    http://support.apple.com/manuals/
    http://support.apple.com/kb/ht1661
    In order to remove a hard drive, you would have to disassemble the computer. This can be more or less difficult (a quick look at ifixit.com should give you an idea about this) depending upon which model it is.
    Once the hard drive has been removed, you can either keep it, erase/use it with another computer, or mechanically destroy it. If you wish to connect it to another computer, something like this example could be useful:
    http://www.newertech.com/products/usb3_universaldriveadap.php
    You are not supposed to drag a hard disk with an active system to the Trash. Dragging individual files to the Trash (and emptying the Trash) is not going to be sufficient, unless the space is overwritten. It is not wise to recycle a computer without having properly erased or removed the hard disk drive.
    Jan

  • My Mac G-4 OS X will not image an icon of the zip disk with I inserted into my computer's built-in Zip Drive, therefore I can not remove the zip disk from my computer.  What can I do?

    My Mac G-4 OS X will not image an icon of the zip disk with I inserted into my computer's built-in Zip Drive, therefore I can not remove the zip disk from my computer.  What can I do?

    Thanks Old Comm Guy, BD Aquam and Texas Mac Man for youradvice and reply to my question
    and problem with my Zip Drive.  However:
        1.  Depressing mouse buttonon start up did not eject the zip disk.
        2.  To examine front of zipdrive, I had to remove many screws and several plastic case
             coverings.  Upon doing thatI discovered that, unfortunately, there is no whole in front
              of mybuilt-in zip hardware drive for me to insert a paper clip to manually eject zipdisk.
          3.  I went to the Utilities folder in myMac OS X Application folder, but I could not find
               theiomega zip drive in there.
    Also, I did go into my "9" System folder and thento the Extensions folder within it and did find an icon of an
    Iomega Driver. When double clicking on it a window came upstating I was opening the application
    "ColorSync Extension" for thefirst time, and asking if I was sure I wanted to open this application.
    Uponclicking open nothing happened - nothing opened.
    I also went into the "System X" folder>Libraryfolder>Extension folder>IomegaSAM.ket icon and double
    clicked on it and asmall window opened stating "Compiling file List", however nothingopened it just
    continued to compile, so I closed it.
    Within my Mac OS X HD>  Applications>Iomega folder>Iomega Tools.app a smallwindow opened up
    with several options (Erase, Protect, Disk Info and DriveInfo). Clicking on the Drive Info a message says:
    "No Iomega Drives or noIomega Driver found.  Therefore, Ihave gone to Mac, Iomega and other websites
    trying to find a Driver for thebuilt-in Zip Drive in my Mac G-4 OS X 10.4.11, but have not really found anythat work.
    CAN ANYONE TELL ME IF THERE IS A WEBSITE WHERE I CANDOWNLOAD A NEW DRIVER FOR MY ZIP DRIVE?
    Thanks,     Peterfromcrystallake

  • When I get to the select disk page it says that the HD is uesd as time machine drive. How can I remove time machine backup from my Mac.

    I am tring to installe OS X Mavericks. When I get to the select disk page it says that the HD is uesd as time machine drive. How can I remove time machine backup from my Mac.

    Open up your Finder and click on Go on the top menu bar. Select Computer and then double click Macintosh HD. In here delete the backup folder. Might be called backups.backupdb.

  • How do I remove a DVD from my imac disk drive?  It's stuck.

    How do I remove a DVD from my imac disk drive?  It's stuck.

    Restart while holding down the eject key or use the Terminal command drutil tray eject

  • TS5376 For "The program can't start because MSVCR80.dll is missing from your computer", I followed the steps and there is no C:\Program Files\iTunes and look for .dll files..Also, after the update, I no longer show my disk drive when I load a CD.

    After downloading the new Itunes update, my compter now shows error: "The program can't start because MSVCR80.dll is missing from your computer". I follwed the Apple fix / steps but it did not correct it. Also, after the update my disk drive is not recognized on my computer. If I load a CD, I cannot even access it.

    See also Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes (similar to the advice above) and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies. E.g. TS2308: iTunes for Windows: Optical drive is no longer recognized, or "Disc burner or software not found" alert after install.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Data Recovery from External Disk Drive

    I can no longer read from my external hard disk drive. I hear the drive making noise, but the removable disk drive does not show up on my computer directory anymore. I believe the drive has failed. The data on the drive is very important. Is there a way I can still retrieve it?
    This question was solved.
    View Solution.

    WaliN wrote:
    I can no longer read from my external hard disk drive. I hear the drive making noise, but the removable disk drive does not show up on my computer directory anymore. I believe the drive has failed. The data on the drive is very important. Is there a way I can still retrieve it?
    Have you tried the hard drive on a different computer? I would do it first. Then you can dismantle the exclosure and try to connect it somehow else..
    Dv6-7000 /Full HD/Core i5-3360M/GF 650M/Corsair 8GB/Intel 7260AC/Samsung Pro 256GB
    Testing - HP 15-p000
    HP Touchpad provided by HP
    Currently on Debian Wheeze
    *Please, help other users with the same issue by marking your solved topics as "Accept as Solution"*

  • Is it possible to boot or Time Machine restore from an external Thunderbolt disk drive?

    (There are several questions - search for "?".)
    I purchased a Seagate Backup Plus for Mac Desktop Drive 3 TByte with default USB 3.0 interface, and also acquired the Seagate Thunderbolt Adapter for Backup Plus Desktop Drives and Thunderbolt cable.
    I do a redundant backup to the Seagate Drive using both Carbon Copy Cloner (nightly) and Time Machine (hourly) using its Thunderbolt adapter.  BTW:  One never knows when Time Machine will choke - see discussion titled, "UPDATED: Serious Time Machine bug on Mountain Lion", which I had; Rest In Peace Pondini (James Lewis Pond).
    Booting from the external Seagate Backup Plus via Thunderbolt inteface from System Preferences -> Startup Disk:
    I select the Time Machine OS X, 10.8.5 Startup Disk (Thunderbolt attached drive), click Restart, confirm my choice, the computer reboots, however, it reboots from the internal Macintosh HD OS X, 10.8.5, NOT the selected external Thunderbolt drive.  The SSD drive was used as the Startup Drive, not the selected external Time Machine volume as indicated by the display free disk space command (df(1)) and seeing that the Macintosh HD OS X, 10.8.5 volume is mounted as root.  That is very deceptive in that both the internal and external drives will appear in the same manner from a GUI point of view!  OS X doesn't even inform me that it did not boot off the selected volume.  This is the first half of the problem, that is, Is it possible to boot from an external Thunderbolt disk drive?  In my case, the answer is deceptively No.  Can anybody else boot off a Thuderbolt attached disk drive?  Note that if I remove the Thunderbolt adapter, and attach the drive via its USB 3.0 cable, the MBP boots off the external Seagate Backup Plus just fine, as is expected.
    Booting from the external Seagate Backup Plus via Thunderbolt inteface from boot-time "Option - Select startup disk" method:
    When I restart the MBP using the startup Option key to select the startup volume, the externally connected Seagate drive ONLY SHOWS UP if it is attached with the USB 3.0 cable, not when it is attached with via the Thunderbolt interface.  Can anyone else boot off a Thunderbolt drive with the startup Option key sequence?  At least the MBP doesn't deceive me in this case - I know right away that the external Thunderbolt drive is not an option when connected as such.
    Time Machine restore from the external Seagate Backup plus via Thunderbolt interface from the "command-R - Recovery Parition" method:
    After booting from the recovery partition, I attempt to perform a Time Machine restore from the Thunderbolt connected Seagate Backup drive.  When Time Machine attempts to present me with a viable backup Time Machine volume, the external Thunderbolt drive is never offered as an option.  So I switch the Time Machine volume to use its USB 3.0 interface, and then Time Machine displays that drive as an option, and the MBP proceeds with the restoration as expected.  The interesting thing to note is that while booted in the recovery partition via the Thuderbolt cable, the MBP Disk Utility may be selected, and the Thunderbolt attached drive may be operated on just fine.  Can anybody else restore their MBP using Time Machine and the Recovery Partition via the Thunderbolt interface?
    This is also a big problem for me in that I am forced to restore my MBP via Carbon Copy Cloner using the USB 3.0 interface, because I cannot even boot off that volume's Thunderbolt interface.  Of course, the option may be that I could use yet another eternal USB 3.0 drive, boot from it, and then use Carbon Copy Cloner to restore the Macintosh HD via the aforementioned drive connected by a Thunderbolt cable, but that is less than ideal and not elegant, so I'm not going there.
    Another side issue is that the commercially available program, TechTool Pro 7's eDrive, which I installed on the Time Machine volume, will not boot off that eDrive as advertised, but I won't got through those steps here, because that would be beyond the scope of this issue, however, I must say, It does not work either when the Time Machine volume is connected via the Thunderbolt interface, but works just fine when connected via the USB 3.0 interface.

    If this helps anybody else make a decision about whether to consider Apple because of Apple's superior customer service:
    Apple sells this entire line of drives right in their store, from 1TB to 4TB.  I spent 1 and 1/2 hours, yesterday, confirming that  the 3TB model IS NOT 100% Thunderbolt compliant.  A MBP cannot boot, nor can it Time Machine restore from this drive, though EVERYTHING about the drive is normal.
    Apple's South Coast Plaza store management had at least two responses to me personally about how to proceed:
    1.  Buy a different drive from another drive manufacturer, and to attempt to return the drive to COSTCO.  A lead genius suggested going with GTech drives, for instance.
    2.  Wait for Seagate to fix their problem.
    I told Apple management in the store that the drive is advertised as Mac Compatible (see  picture) and that it is advertised as being a Thunderbolt drive (see picture).  I pressed management that my purchasing decsion to get the best possible MBP Retina was based on the availablity of Inexpensive Devises (raID), and that not having this complete compatibility is a show-stopper for my needs, and that I wanted a refund.  Their response?  They needed to talk with "Merchendising" to see if they are on or off the hook for these kind of 3rd party assertions, and would get back to me.
    I am not holding my breath.
    Note:  I do not hold this against the Geniuses that helped me, nor against the management I've dealt with, nor the upper level engineers that I've corresponded with through Apple Care - their problem solving skills were helpful - although I could have arrived at similar conclusions given enough $$$.  (For instance, try a Lacie TB drive and see if that works - we did, and it did not work.  Or, we have a different TB cable and a different TB adapter, let's try those - we did, and it did not work.)  I blame myself for not doing enough homework before going with Apple's solutions.

  • Qosmio X500/00X System Recovery (Factory Reset) From Hard Disk Drive or Separate Disk

    Hey Guys,
    Looking for your advice and any links if any...cheers in advance
    My Situation
    In December 2009 I purchased a Toshiba Qosmio X500 - Model No. PQX33A-00X00J
    At the time I upgraded my purchase from Toshiba Reseller BD4U, going from the standard 1x 500GB Sata drive + 1x 64GB SSD... to instead having 2x 500GB sata drives. I purchased with 3 year onsite next business day warranty, that is is now expired.
    It came loaded with MS Win 7 Premium Home Edition - but no disks provided.
    My Needs
    I need/want to factory reset my PC - its starting to run slow
    I need to re-partition from my existing 4x partitions to just having 2
    The Issues
    Possibly as a result of upgrading the disk drives at time of purchase, I don't believe I have a hidden Recovery partition in order to do a System Recovery from the Hard Disk Drive - see image of my current partitions attached
    I don't have Win 7 OS installation disks or Toshiba Driver disks as they should have been installed by Toshiba
    My Questions
    Do You agree that I DONT have a Recovery Partition - when looking at the partition image? I'm confused on this point coz people say its hidden!?
    Given I have no Toshiba Drivers Disk or Windows 7 OS disks - what should I do? I'm thinking of downloading Win 7 (use my product key from sticker under PC) and making a disk/USB (but need to learn how)
    Is this where I get ALL necessary Toshiba drivers for my PC from?
    Does Toshiba provide a link on its site and instructions on where to get Win 7 from so I can make a recover disk??
    Notes
    Tried to email Toshiba support but at step 1 of their email process validation failed due to my PC being out of warranty so will call them on Monday instead
    THANK YOU THANK YOU, for any help you can give big ro small
    Cheers
    Rick

    WOW, thanks Macius for that great, full and thorough reply...cheers mate
    I suspected I didn't have a recovery partition - so thanks for confirming it as I planned to risk it and try! I guess it doesn't really matter why, and it would be futile to go and blame the re-seller or Toshiba at this late stage in the game in hopes they would help...
    Yeah, I just went to Microsoft Software Recovery hoping to download Win 7 OS and create a recovery disk but of course Microsoft would NOT allow it due to it being software that was pre-installed on the device blah blah blah (see error image)
    And I didn't bother back then in 2009 to create recovery media as you wisely descibed, mostly due to laziness and mentally putting it in the 'too hard basket'...I didn't really understand it - or much about computers at the time.
    Re - your Option #2 - thanks for confirming Toshiba drivers. I could/can do this - but don't really want to buy something I already have, perhaps I'll check out ebay or see if a friend has a disk
    Re - your Option #1 - I'm currently based in Vietnam and wont be back in Oz till late in the year, so will see if I can find a reliable Toshiba service provider here - but wont hold me breath on this one
    I'm thinking that IF Option #1 is a No-Go then - maybe Plan B or Option #3 could be:
    Do an Audit of Programs to identify those I don't need and can safely remove - then remove using Control Panel/ Remove Programs tool
    Reformat all other drives (not C:// where OS is)
    Then use some re-partition software e.g. Disk-Partiton.com
    Any final thoughts???
    Anyhow - thanks very much again
    Rick

  • I have an imac 2009 the disk drive is damaged and I have lost the passwords I need to reset passwords I tried booting with a macosx disk from an external hard drive but did not read the drive how else can I reset password ?

    I have an imac 2009 the disk drive is damaged and I have lost the passwords I need to reset passwords I tried booting with a macosx disk from an external hard drive but did not read the drive how else can I reset password ?
    I have a 2012 mac book pro can I use that to connect with firewire and load osx that way? and how woudl I do that?
    Thanks so much!

    To what password are you referring? Do you mean your user account's admin password? Or do you mean the master password for File Vault or do you mean a Firmware Password?
    For an admin password:
    Forgot Your Account Password
    For Snow Leopard and earlier
         Mac OS X 10.6- If you forget your administrator password
    For Lion/Mountain Lion
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password and
         OS X Lion- Apple ID can be used to reset your user account password.
    If you cannot do the above then try this:
      1. Boot to Safe Mode by restarting and after the chime press and hold down the COMMAND-S keys until a black screen with white type appears.
      2. At the prompt, type the following commands pressing return after each command line:
         /sbin/fsck -yf
         If you do not receive a "Filesystem OK" message then repeat this command until
         you do.  If after seven tries you still do not receive a "Filesystem OK" message,
         then the system is corrupted and needs to be reinstalled.
         mount -uw /
         cd /private/var/db/netinfo
         mv local.nidb local.old
         rm ../.AppleSetupDone
         shutdown -r now
    The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
    This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
    How to reset the OS X password without a startup CD:
    Reboot into Single-user Mode. Enter the following and press RETURN after each command line
       1. Type fsck -fy
       2. Type mount -uw /
       3. Type passwd <username>
    I have never tried this method myself.

  • Scripting the Removal of Physical disk from VM

    Hi all
    I have read this thread here which has helped me so far to create a script for the removal of a VM Hard Disk Drive
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/7f00687c-aa8b-4125-a10c-2730ee473e78/auto-add-remove-physical-disk-from-hyperv-vms?forum=winserverhyperv
    So far the script I have knocked up is as follows:
    Remove
    PS C:\Users\Administrator> remove-vmhardDiskDrive -VMName 2012r2 -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 0
    Re-add
    PS C:\Users\Administrator> add-vmhardDiskDrive -VMName 2012r2 -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 0
    This gets me this in the Hyper-V settings:
    I need the script to add the VM Hard Disk drive in with the physical hard disk selected automatically.
    Is there a way to do this?
    As you can see I am not a powershell expert, im not even an "expert"
    Thanks - Dan 

    All done
    The script I used for the removal and then re-adding of the physical disk is as follows:
    remove-vmhardDiskDrive-VMName2012r2-ControllerTypeSCSI-ControllerNumber0-ControllerLocation0
    Add-VMHardDiskDrive-VMName2012R2-ControllerTypeSCSI-ControllerNumber0-DiskNumber1-Passthru
    I then automated it with task scheduler to trigger at 6pm everyday (30 minutes after rotation time)
    The ISCSI controller type allows you to run the command whilst the VM is on.

Maybe you are looking for