How to restore disk to unique partition from terminal?

Hi,
I have had a triple-boot for about a year (Mac Os X Lion, Win7, Ubuntu) but recently something wrong happened.
When trying to boot it as do normally and select the OS that i wanted i got a blinking question mark Folder instead.
I then tried to reinstall Mac Os from which i couldn't even boot (cmd + R) 
the " Select the disk where you want to install Mac Os X" box was empty.
I then went to "Diskutility" but couldn't erase, verify or restore the Disk image  or Startup Disk that are the only two icons to appear on the left-hand side.
In the "Partition" tab only one partition is visible, that of the Startup Disk "Mac OS Base System".
In Terminal,
diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     Apple_partition_scheme                        *1.4 GB     disk0
   1:        Apple_partition_map                         30.7 KB    disk0s1
   2:         Apple_Driver_ATAPI                         2.0 KB     disk0s2
   3:                  Apple_HFS Mac OS X Base System    1.4 GB     disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *524.3 KB   disk1
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *524.3 KB   disk2
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *524.3 KB   disk3
/dev/disk4
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *524.3 KB   disk4
/dev/disk5
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *524.3 KB   disk5
/dev/disk6
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *6.3 MB     disk6
/dev/disk7
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *2.1 MB     disk7
/dev/disk8
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *1.0 MB     disk8
/dev/disk9
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *524.3 KB   disk9
/dev/disk10
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *524.3 KB   disk10
/dev/disk11
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               *1.0 MB     disk11
How can i restore my disk to a single OS X partition in terminal as diskutility won't let me do anything and wiping out the whole drive seems to be my only option to finally use my laptop? I have tried with no luck
Thank you

You can get
1. Snow Leopard - http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
2. Mountain Lion - http://store.apple.com/us/product/D6377Z/A/os-x-mountain-lion
3. Lion - http://store.apple.com/us/product/D6106Z/A/os-x-lion
You can get Mavericks and Yosemite from the App Store.

Similar Messages

  • How to Restore a SharePoint 2010 Sitecollection from Prod to Pre-Prod?

    How to Restore a SharePoint 2010 Sitecollection from Prod to Pre-Prod?
    The patching levels are different from each environment.
    Tools installation is same.
    Note: Suggest me to restore a site from site template without content.
    If you have any better approach please tell me.
    Many Thanks,
    Madhu

    Hi Madhu, 
    It isn't possible (out of the box) to restore a production to a development site without the content. 
    If you're happy with restoring the content, it's quite easy to backup a SharePoint farm and then restore only a site (form the farm backup) to a development farm. 
    Have a look at these forum posts for more info (in the first link, I gave an example script):
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f5e8165e-2fe1-4ca9-87bd-b0f45b1e0091/process-on-creating-a-uat-server-from-live?forum=sharepointadminprevious
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/8092c04f-ae2c-4cfa-8933-e7ecb3138fdf/how-to-backup-and-restore-a-site-along-with-its-corresponding-user-profile-data?forum=sharepointgeneralprevious
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • HT4927 How to restore photos in mountain lion from time machine ?

    How to restore photos in mountain lion from time machine?

    I have tried doing this but it dosen't work.
    I opened time machine. I picked the file from the date needed.
    I restored it (I told it to keep both).
    Then when I double click on the file it opens a treminal window.
    I have also tried opening iphoto while holding down the option key.
    This file is not slectable.....
    Any thought or ideas?

  • How to restore ios 5.1.1 from ios 6.0 beta 4

    i'm deleted backup file of ios version 5.1.1. Now my iphone 4 using ios 6.0 beta 4. How to restore ios 5.1.1 from ios 6.0 beta 4 backup file ?

    No help can be provided via these forums for issues related to installing beta software.
    If you are a developer, ask in the developer forums.

  • How to Change the Default SSH Port from Terminal ?

    How to Change the Default SSH Port from Terminal ?

    How to Change the Default SSH Port from Terminal ?
    now showing default SSH Port 22 i need change it pls help me how can do

  • How to Change the Default SSH Port from Terminal ? now showing default SSH Port 22 i need change it pls help me how can do

    How to Change the Default SSH Port from Terminal ?
    now showing default SSH Port 22 i need change it pls help me how can do

    How to Change the Default SSH Port from Terminal ?
    now showing default SSH Port 22 i need change it pls help me how can do

  • How to reset the network IP address from terminal/command line in Mac OSX?

    Do anyone knows how to set the network IP address from terminal/command line in Mac OS X?

    how about a GUI, ever heard of a GUI? it's this really neat thing, where you don't have to worry about remembering long strings of text to do something. Mac OS X actually has a rather decent one (that was sarcasm by the way, Mac is the best) you could have it done in like 30 sec, if you use the network pane of system preferences.

  • How to restore disk to a single partition?

    I tried to partition my hard drive so that i could run windows on my computer using an external hard drive. I want to delete the windows partition but whenever I try to use bootcamp assistant to restore to a single partition it says that an error occurred while restoring the disk to a single partition. I also tried to delete the windows partition using disk utility but nothing worked.

    Ok, I had this problem a week or so ago.  Here's how to fix it:
    -->Reboot the mac into single user mode by holding Command+S on bootup of the mac.
    --> It will run some commands automatically, then ask for you to input a command.  Type:
    /sbin/fsck -fy
    -->When fsck is complete, type "exit" or "reboot"
    -->Boot the mac as usual and try again in disk utility.  It should work fine now.

  • How to restore my backup in laptop from external drive

    How to restore my backup in my macbookpro from external drive

    Hello Jayrajjpatel,
    It sounds like you have a Time Machine backup on an external drive that you would like to use to restore your computer. The following article will help you get that done, named:
    OS X Mavericks: Recover your entire system
    http://support.apple.com/kb/PH14185
    If you’re restoring your system because of a problem with your startup disk, repair or replace the disk before following these instructions.
    Make sure your Time Machine backup disk is connected and turned on. If your disk is on a network, make sure your Mac is on the same network.
    Choose Apple menu > Restart. Once your Mac restarts (and the gray screen appears), hold down the Command (⌘) and R keys.
    Select “Restore from a Time Machine Backup,” then click Continue.
    Do one of the following:
    External backup disk: Select it, then click Continue.
    Time Capsule: Choose your network from the AirPort menu on the right side of the menu bar, and then select your Time Capsule and click “Connect to Remote Disk.”
    Network backup disk: Select it, then click “Connect to Remote Disk.”
    If necessary, enter the name and password you use to connect to your backup disk, then click Connect.
    Select the date and time of the backup you want to restore, then follow the onscreen instructions.
    After you restore your system, Time Machine may perform a full backup at the next scheduled backup time. This is normal. Time Machine resumes incremental backups after the full backup is completed.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Satellite 2450: How to reinstall WXP on existing partition from recovery disc?

    Hello:
    This question has been asked before, but the answer is as follows:
    On this forum you can use Advanced search option to find some solutions if someone wrote about it before.
    Anyway check this please
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=2513&tstart=125
    I checked this and it gives an answer how to create a partition but not how to reinstall xp in the c drive from the recovery disk.
    There is the choice to go to expert, but once there I have no idea what to do. Lots of potential settings, but nothing to say how to reinstall xp without wiping out all the other drives.
    Thanks for any help

    Hello tw
    Like I said in my explanation If you want to install OS on a partition please use Expert mode. In this case the software can be installed onto an existing partition. You can also make one by yourself.
    If you want to install the OS on existing partition make it on this way:
    1) put Recovery CD or DVD in DVD drive
    2) pres power button and after that press and hold down C button
    3) after short time there is an menu and choose Expert mode pressing number 2
    4) Approve OK pressing ENTER button
    5) Choose LOCAL > PARTITION > FROM IMAGE
    6) Look in: must be selected to CD-ROM drive and In the middle window choose GHO file and press ENTER
    7) The information about drive will be shown > press ENTER again
    8) The local destination drive will be shown > press ENTER again
    9) The next window show both partition if you have two of them. On this place you must chose the destination partition (the first one is under Part 1)
    10) The OS will be installed on marked partition (you can change it using UP and DOWN buttons)
    11) If the partition is selected press ENTER button
    12) The small Information window appear with follow content: Proceed with partition load? Destination partition will be permanently overwritten.
    13) Confirm with OK
    I hope that your installation will be successful.
    If you have more questions please write again and I hope that we will find an solution.
    Good luck!

  • How to restore a database backup taken from a SQL Server 2012 instance to SQL Server 2014

    I am trying to restore a database backup taken from a SQL Server 2012 instance to my new SQL Server 2014 instance.  When I add the .bak through the Mgmt studio UI, it does not seem to find a backup set in the file so I cannot proceed (does not give
    me any errors though either.  I tried restoring through TSQL command but only got a database restore terminating abnormally error with no other details.  How can I restore this database to SQL 2014?

    Hello,
    Please examine SQL Server Error Log and share with us any error you can find. The following article may locate the log:
    http://msdn.microsoft.com/en-us/library/ms187109.aspx
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to restore or backup Apex application from Command line ? URGENT

    We have Oracle apex 4.1 installed in Oracle 11g R2 database (windows 64-bit) 2008 R2
    For some reason our database dictionary objects are corrupted.
    We wanted to backup our Apex applications in some workspaces ASAP.
    We are not able to access apex from http://localhost:7777/pls/apex/htmldb_login
    We have an underlying database schema export (expdp).
    1) Is there a way to export or backup the apex application without logging into the apex URL ? if yes how ?
    2) Does Oracle has any of its own native tool to backup and restore from command line ?
    Thanks in advance

    My (MS Windows) experience, if I may; perhaps you'll find something useful.
    You'll find the README.TXT file in /apex/utilities directory. Read it.
    In order to use APEXExport, you need JDK version 1.5 or higher. Check your version by typing (and viewing the result):
    C:\>java –version
    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)Its directory should be part of the PATH environment variable: on my computer, directory name isC:\Program Files\Java\jre1.6.0_06\binFurthermore, Oracle JDBC class libraries must be part of the CLASSPATH environment variable. Check whether it exists (in Control Panel - System - Advanced - Environment Variables). For my 10gXE, it is here:C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jarI couldn't make it work; didn't know that ".\" directory must be entered into CLASSPATH as well (found that information in Arie Geller's book). Therefore, my final CLASSPATH version is:.\;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jarOK, setup is done. Now, go to your /apex/utilities directory and, from the command prompt, run (mind the upper case!)java oracle.apex.APEXExportwhich will show a short help.
    I chose to export the whole workspace. In order to do that, I need the workspace ID (got it from Apex's SQL Workshop; that might be a problem as you can't get there, can you? I can't tell how to find that information apart from SQL Workshop, but I'm pretty sure someone, who is much more experienced than me, will know it). OK, here's how you find it:select v('WORKSPACE_ID') from dual;Finally, here's the final step - export:C:\apex\utilities>java oracle.apex.APEXExport -db localhost:1521:xe -user scott -password tiger -workspaceid 1038408092496568The result are fxxx.sql files (where "xxx" represents application number).
    I hope you'll manage to export your applications; basically, nothing special here (except that ".\" directory in the CLASSPATH variable).
    Best of luck!

  • How to restore accidently removed iPhoto library from Trash?

    I have iPhoto Library Manager (version 3.5.5) and am employing it successfully with my iMac (OS X 10.5.8) to manage my iPhoto Library [iPhoto '09 version 8.1 (415)] which I have divided into 47 libraries at about 4 GB each.
    This morning I accidently removed iPhoto Library #36 from my iPhoto Library list of 47 libraries! Ouch! Naturally I wish to restore it ASAP.
    I opened up Trash and found iPhoto Library #36 in the SEARCH FOR/ Today folder. When I open it up it appears to be intact with all 756 photos present. However, I am not certain how to restore this library. When I perform a right click on the iPhoto Library #36 line item a menu pops up, but nowhere in the menu is a Restore option.
    Can anybody advise me how to proceed to restore this library? I want to be sure that I do this correctly so as not to lose any of these images in the process.
    Bob

    Drag it from the trash to its proper location
    LN

  • How do I protect my FileVault partition from Boot Camp?

    I have an iMac running OS X Yosemite and Boot Camp with Windows 8.1. The OS X partition is protected with FileVault, but when I boot into Windows (rEFInd Boot Manager), I can access my Yosemite partition from Windows, without entering a password at any point, other than the login for my Windows user. I encrypted my OS X partition with FileVault after I installed Boot Camp and Windows, maybe this is why?
    I want to make sure my OS X partition is protected in case of theft. Right now believe I that I would be able to boot the iMac with Active@ Boot Disk (or similiar), reset my Windows-passwod and access the OS X partition that way around.
    Can anyone explain why I am able to access my FileVault-protection OS X partition from Windows?
    Can I solve this without installing BitLocker on the Windows partition? I only use it for gaming, so it doesn't contain anything of importance.

    Hey Loner
    I think you might have misunderstood my problem. I am able to boot into both OS X and Windows without any problems. I can read the OS X partition from Windows without any problems as well. My issue is, that I’d think that the OS X partition should NOT be visible from Windows, as it is FV encrypted.
    Here is the asked information:
    sudo fdisk /dev/disk0
    Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors]
    Signature: 0xAA55
             Starting       Ending
    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
    1: EE 1023 254  63 - 1023 254  63 [         1 -  490234751] <Unknown ID>
    2: 00    0   0   0 -    0   0   0 [         0 -          0] unused     
    3: 00    0   0   0 -    0   0   0 [         0 -          0] unused     
    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused 
    sudo gpt -vv -r show /dev/disk0
    gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752
    gpt show: /dev/disk0: PMBR at sector 0
    gpt show: /dev/disk0: Pri GPT at sector 1
    gpt show: /dev/disk0: Sec GPT at sector 490234751
          start       size  index  contents
              0          1         PMBR
              1          1         Pri GPT header
              2         32         Pri GPT table
             34          6        
             40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
         409640  351563960      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
      351973600    1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
      353243136  136990720      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
      490233856        863        
      490234719         32         Sec GPT table
      490234751          1         Sec GPT header

  • How to restore IOS 5.0.1 from 5.1

    How to restore Ipad 2 with IOS 5.0.1 , yesterday night i update my ipad with 5.1 and i dont want it any more
    please help
    take cares

    Freezing Apps
    Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo. Ignore the red slider.

Maybe you are looking for

  • Trees in apex 4.0.2.00.07

    Hello all, I can't create tree with custom titles of nodes. for example: select case when connect_by_isleaf = 1 then 0 when level = 1 then 1 else -1 end as status, level, <b> case when level = 2 then "V001_NODE_NAME"||'[edit]' else "V001_NODE_NAME" e

  • TCD error in Secatt

    Hello Gurus, Below given is my code in Ecatt. I want to give TCD in loop.But it is not allowing me .Can any one help me in this?? Its urgent ABAP. *DO COUNT TIMES. *ABAP BLOCK TO GET THE NUMBER OF TEST CASES *TOT - HOLDS TOTAL NUMBER OF RECORDS *FILE

  • Error when generating Java Classes from XSD

    I'm getting the following error when using oragc to generate Java classes from a schema: Error: Schema Class Generator failed to generate classes. oracle.xml.parser.schema.XSDException: Invalid facet 'pattern' in element 'simpleType' Any thoughts? He

  • I am trying to update my apps, but an old, deactivated iTunes account comes up.  My iCloud is set to my new account.  Why is this happening?

    I am trying to update my apps, but an old, deactivated iTunes account comes up.  My iCloud is set to my new account.  Why is this happening?

  • Help with error 500

    I have an application with three 4 jsp pages. on the index page there are three links to the other three pages. two of the links link to the other two pages nicely but the third does not. can somebody tell me. the link gives me error 500 please help