Making the mirrored disk bootable

I have two drives that have Solaris 10 on them, mirrored.
How do I boot off the 2nd drive to make sure that the mirroring works, in case the primary fails.
It doesn't look like it's bootable now. I tried and it didn't work. Said "Bad PBR Sig"
# eeprom | grep -i bootpath
bootpath=/pci@0,0/pci10de,376@a/pci1000,3150@0/sd@0,0:a
# cat /platform/i86pc/boot/solaris/bootenv.rc | grep -i bootpath
setprop bootpath /pci@0,0/pci10de,376@a/pci1000,3150@0/sd@0,0:a
Ultra 40 M2

Assign an alias name to that secondary disk from OBP, and try to boot using that alias....

Similar Messages

  • Booting from a mirrored disk on a zfs root system

    Hi all,
    I am a newbee here.
    I have a zfs root system with mirrored disks c0t0d0s0 and c1t0d0s0, grub has been installed on c0t0d0s0 and OS booting is just fine.
    Now the question is if I want to boot the OS from the mirrored disk c1t0d0s0, how can I achieve that.
    OS is solaris 10 update 7.
    I installed the grub to c1t0d0s0 and assume menu.lst need to be changed (but i don't know how), somehow no luck.
    # zpool status zfsroot
    pool: zfsroot
    state: ONLINE
    scrub: none requested
    config:
    NAME STATE READ WRITE CKSUM
    zfsroot ONLINE 0 0 0
    mirror ONLINE 0 0 0
    c1t0d0s0 ONLINE 0 0 0
    c0t0d0s0 ONLINE 0 0 0
    # bootadm list-menu
    The location for the active GRUB menu is: /zfsroot/boot/grub/menu.lst
    default 0
    timeout 10
    0 s10u6-zfs
    1 s10u6-zfs failsafe
    # tail /zfsroot/boot/grub/menu.lst
    title s10u6-zfs
    findroot (BE_s10u6-zfs,0,a)
    bootfs zfsroot/ROOT/s10u6-zfs
    kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS
    module /platform/i86pc/boot_archive
    title s10u6-zfs failsafe
    findroot (BE_s10u6-zfs,0,a)
    bootfs zfsroot/ROOT/s10u6-zfs
    kernel /boot/multiboot kernel/unix -s -B console=ttya
    module /boot/x86.miniroot-safe
    Appreciate anyone can provide some tips.
    Thanks.
    Mizuki

    This is what I have in my notes.... not sure if I wrote them or not. This is a sparc example as well. I believe on my x86 I still have to tell the bios to boot the mirror.
    After attaching mirror (if the mirror was not present during the initial install) you need to fix the boot block.
    #installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t1d0s0
    If the primary then fails you need to set the obp to the mirror:
    ok>boot disk1
    for example
    Apparently there is a way to set the obp to search for a bootable disk automatically.
    Good notes on all kinds of zfs and boot issues here:
    http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide#ZFS_Boot_Issues

  • HT201372 used this to make a bootable copy for a new hard drive installation. copied the install find but gave error code 110 when making the disk bootable.. Any help in what this code is

    Used createinstallmedis to make a copy of the Mavericks app for use in a new hard drive install.. Copied find but gave error code 110 and failed to make the flash drive bootable.. Any help in what errror code means?

    Did you partition and format the flash drive first? See the following:
    Make Your Own Mavericks, Mountain/Lion Installer
    After downloading the installer you must first save the Install Mac OS X application. After the installer downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing.
       2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your flash drive (this is the entry with the mfgr.'s ID and size) from the leftside list. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list.
    Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to an hour depending upon the flash drive size.
    Make your own Mavericks flash drive installer using the Mavericks tool:
    Mavericks has its own built-in installer maker you use via the Terminal:
    You will need a freshly partitioned and formatted USB flash drive with at least 8GBs. Leave the name of the flash drive at the system default, "Untitled." Do not change this name. Open the Terminal in the Utilities folder. Copy this command line after the prompt in the Terminal's window:
    sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
    Press RETURN. Enter your admin password when prompted. It will not be echoed to the screen so be careful to enter it correctly. Press RETURN, again.
    Wait for the process to complete which will take quite some time.

  • What i have done wrong: I got the information "no bootable device insert boot disk and press any key

    I use yesterday bootcamp to instal windows 7 at my mac. After i had start bootcamp, i instaled windows, particion my hard driver, and restart my computer. After i had restarted my computer, i got a black screan with the information: no bootable device insert boot disk and press any key.
    To press any key was not possible, to get out my cd of the drive is not possible. Can you tell me what happen?
    Thanks

    No I don´t use Fusion Drive. And yes i have read guide to use bootcamp.
    I use only the bootcamp to create the particion.
    Steps:
    1. Start Bootcamp
    2. Create a particion and updates the drivers for windows at mac
    3. divide the hard drive in 150 gb for mac and 100 for windows
    4. particition is created
    5. Put the Windows 7 OEM in the driver
    5. restart the mac
    6. after restart the mac i got the information:
    no bootable device insert boot disk and press any key
    to press any key was not possible. Only black screan
    The support told me it is no possible to use Windows 7 OEM at a mac, but i have seen video, where people use windows 7 OEM and the guy in the shops say this is possible.
    What was is wrong?
    Is OEM possible or not?

  • Though the root disk is mirrored, server is unable to boot from alternate disk (mirror disk)

    Hi PPl,
    It happened second time in a row. Though the root disk is mirrored, server is unable to boot from alternate disk (mirror disk)
    When the disk was found faulty, still unable to boot the OS from alternate disk, it says it still probe/look for other disk
    Here are the console log when I tried to boot the OS
    sc> console
    Enter #. to return to ALOM.
    WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
    Disconnected command timeout for Target 1
    WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
    Disconnected command timeout for Target 1
    WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
    Disconnected command timeout for Target 1
    In such condition left out with only two options.
    1)      Remove the faulty disk physically and boot
    (or)
    2)      Replace the faulty disk and boot it
    Any way, I can disable the faulty disk in BIOS (or) booting from cd-rom and do something to avoid it?

    You can't boot from systems earlier than that shipped with the computer. For example, early 2008 Mac Pros come with 10.5.1 and can't boot 10.5
    Also you can't boot with a DVD that was shipped with a different model Mac.

  • Resync the mirror after a disk replacement

    Hi all,
    Running Oracle 10gR2 on Solaris. Have a disk group with two disks and each disk in a failure group(normal redundancy). Now when removing one disk to simulate a disk failure, the ASM disk group continued to operate:
    1. I didnot find a dictionary view that shows the status of the disk in the disk group as the disk failed, there should be some way to detect the status, any ideas?
    2. When resetting back the disk, is there a CLI to re-establich the mirror? or if Oracle resyncs automatically how to check the progress?

    Ashquar,
    When you restart your database with the new disk, the balancing of the "new mirror" should be handled automatically by ASM. Depending on the size of your storage, it might take some time to complete. I hope this helps!

  • Info please , where can I obtain the Recovery disk assistant inorder to make a bootable Yosemite installer disk

    Where do I find the Recovery Disk Assistant inorder to make a bootable Yosemite installer disk.
    Thanks Adz61

    OS X: About Recovery Disk Assistant - Apple Support
    OS X Recovery Disk Assistant v1.0
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Jumpstart/ZFS - mirror any any uses two slices on the same disk

    Hi all,
    I am setting up a set of custom Jumpstart profiles for a Solaris 10 10/09 SPARC install server. I am attempting to set up ZFS mirrored root filesystems using part of the two root disks (reserving the remainder for a second ZFS pool for application data). To achieve this, I have been using "mirror any any" as the device list for the pool directive in the Jumpstart profile
    On my test system with 73GB disks I've had no problems, but testing against a new server with 146GB disks the installer seems to be putting both halves of the mirror onto the same disk - I presume because the root pool size is less than half the size of the disk, and so it can.
    Is there any way to specify that the root pool should be mirrored across any two distinct disks, or any other advice on how to avoid this happening? I know I can specify exact slice names (i.e. "mirror c1t0d0s0 c1t1d0s0"), but some of the servers will have FC cards in, and so I can't guarantee what controller number the internal disks will be on.
    As an example, here is a line from the rules file, and the associated profile (the start/finish scripts are currently only displaying information).
    rules
    ====
    arch sparc && memsize 4000-4200 begin_settings.sh sparc_4G_zfs lmu_setup.sh
    sparc_4G_zfs profile
    ===============
    install_type initial_install
    system_type standalone
    cluster SUNWCXall
    pool rpool 30g 4097 1g mirror any any
    Thanks,
    Dave Taylor
    Senior Infrastructure Consultant
    Leeds Metropolitan University

    Hello Dave,
    I would expect that the profile you supplied will result in two slices off the same 146G disk to be selected for both sides of the mirror. If the numbers you had used for poolsize/swapsize/dumpsize had been smaller, you would would have had the same behavior on the 73G disk as well.
    In short, when you say 'any', you are basically saying "I don't care where it goes, give me the first slice/device that works". So, with the 'any' in the first position, kernel probe order is used, so in this case the first disk is selected, and the zpool is created. With 'any' in the second position, again the first disk is found, with available space, the mirror slice is created.
    If you want the two parts of the mirror to be on different devices, either alter the numbers for poolsize/swapsize/dumpsize in your profile so you cannot get both on the same disk, or don't use 'any' for the mirror vdev.
    Again, if you use 'any', you are saying "I don't care". If you do care, don't use 'any'.
    Channing

  • I have been working around proI am advised to reinstall Lion. I don't have a recovery disk, I downloaded it but screwed up making the disk. Can anyone tell me how to get this.

    I have had a number of problems since installing Lion on my iMac and am going to try reinstalling. I can't seem to find the recovery disk material from the App store. I downloaded it but think I should have copied the disk image rather than trying to open it as an App. You live and learn eh!
    Will someone tell me how to get this.

    The Lion Recovery disk is accessed by booting while holding down the command-r keys. To do a reinstall you do need an internet connection.

  • Boot camp assistant ignores legit disks if the boot disk has a raid slice

    I don't know if this is the right place to post... sorry if not.
    Here's my setup:
    disk0
    Mac OSX HD
    OS Share
    Mirror (RAID slice)
    disk1
    Mac Fast
    Windows Fast
    Mirror (RAID slice)
    disk2
    Time Machine (one big Journaled HFS+ partition, that's it)
    I wanted to use the assistant to make a new BOOTCAMP partition on disk2, but it never let me get past the opening screen because the startup disk had been partitioned outside of the assistant (true, it was) and was not a single Journaled HFS+ partition (also true). But disk2 is perfectly ripe for the, uh, boot camping.
    I got rid of the RAID completely, and the assistant was happy to let me create the BOOTCAMP partition on disk2. After I got that working, I went back and re-created the RAID on disks 0 and 1. Everything works perfectly now.
    Was I doing something wrong, or is this just a (subtle) bug in the Boot Camp Assistant?

    Just installing OS updates and programs will
    Write the installer
    Uncompress the file at say 7x and write the actual installer in a free area that often may be anywhere but at the far end of the partition is common.
    Write new version or copy of the files being changed/updated (myfile.new and myfile.old)
    Delete the entry in the directory for the temp files and versions.
    A program that can show your hard drive and where files are and where free space is, and show fragments.
    OS X tries to eliminate small files with fragments when they are rewritten and when it can find contiguous free space to write the new file.
    That can actually work against you, as it might fragment the free space also.
    When a drive gets down to 20% free space there is a performance hit, you are using slower areas of the drive (inner tracks are usually 50% slower) and having more trouble finding filles and where to write files.
    Clone Mac OS is one of the easiest and safest methods.
    Click on source (Mac Harddrive), click on or drop the backup partition / drive into target icon.
    Click "Run"
    you end up with bootable (test it to be certain) exact copy.
    Unplujg and keep it on a shelf
    Update it before you inistall a new version etc of OS X or make changes.
    Have two: one safe on the shelf from Week #1 and new Week #2
    Disk Utility can do that.
    With huge hard drives free space should not be an issue. The lack of a feature to defrag as part of Boot Camp or Disk Utility is why there are iDefrag and others, but they are slow and best run from.... a 2nd hard drive running OS X rather than from CD. and never great idea to do w/o backups or on live system.

  • Question about booting from detached mirror disk failed

    please see bellow for detail info,would you like to give me some advise on how to do this?
    root@hn-t5220-test # zpool status
    pool: rpool
    state: ONLINE
    scrub: none requested
    config:
    NAME STATE READ WRITE CKSUM
    rpool ONLINE 0 0 0
    mirror ONLINE 0 0 0
    c1t0d0s0 ONLINE 0 0 0
    c1t1d0s0 ONLINE 0 0 0
    errors: No known data errors
    root@hn-t5220-test # zpool offline rpool c1t1d0s0
    root@hn-t5220-test # zpool status
    pool: rpool
    state: DEGRADED
    status: One or more devices has been taken offline by the administrator.
    Sufficient replicas exist for the pool to continue functioning in a
    degraded state.
    action: Online the device using 'zpool online' or replace the device with
    'zpool replace'.
    scrub: none requested
    config:
    NAME STATE READ WRITE CKSUM
    rpool DEGRADED 0 0 0
    mirror DEGRADED 0 0 0
    c1t0d0s0 ONLINE 0 0 0
    c1t1d0s0 OFFLINE 0 0 0
    errors: No known data errors
    root@hn-t5220-test # zpool detach rpool c1t1d0s0
    root@hn-t5220-test #
    root@hn-t5220-test #
    root@hn-t5220-test # init 0
    root@hn-t5220-test # svc.startd: The system is coming down. Please wait.
    svc.startd: 96 system services are now being stopped.
    Mar 23 21:13:39 hn-t5220-test syslogd: going down on signal 15
    svc.startd: The system is down.
    syncing file systems... done
    Program terminated
    ChassisSerialNumber BEL0848KRT
    SPARC Enterprise T5220, No Keyboard
    Copyright 2008 Sun Microsystems, Inc. All rights reserved.
    OpenBoot 4.29.0.a, 65408 MB memory available, Serial #85045372.
    Ethernet address 0:21:28:11:b0:7c, Host ID: 8511b07c.
    {0} ok boot mirrdisk
    Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@1,0:a File and args:
    SunOS Release 5.10 Version Generic_137137-09 64-bit
    Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    NOTICE:
    * This device is not bootable! *
    * It is either offlined or detached or faulted. *
    * Please try to boot from a different device. *
    NOTICE:
    spa_import_rootpool: error 22
    Cannot mount root on /pci@0/pci@0/pci@2/scsi@0/disk@1,0:a fstype zfs
    panic[cpu0]/thread=180e000: vfs_mountroot: cannot mount root
    000000000180b950 genunix:vfs_mountroot+358 (800, 200, 0, 18a7c00, 18d1400, 18fa400)
    %l0-3: 00000000010d1000 00000000010d0fa0 00000000018ad7b8 00000000011fd800
    %l4-7: 00000000011fd800 00000000018fc800 0000000000000600 0000000000000200
    000000000180ba10 genunix:main+a0 (182b548, 180c000, 185b240, 18f6c00, 1831948, 182b400)
    %l0-3: 000000000101a800 0000000000000001 0000000070002000 0000000000000000
    %l4-7: 0000000001862800 0000000000000000 000000000180c000 0000000000000000
    skipping system dump - no dump device configured
    rebooting...

    Why would you need to swap the drives? Couldn't you just boot from the mirror directly? If the primary disk isn't available, it should just mark that side down.
    This is very different from removing a disk from the pool and then trying to use it.
    Darren

  • AppleRAID enable: The target disk must be an existing volume, not a whole disk

    I have a Samsung 750 which failed to spin up a time or two the past year. Scrounging I found a Seagate 750. Seeing as how I have plenty of drive bays I think the right thing to do is bind the Samsung and Seagate into a mirrored RAID. This volume is used for Time Machine.
    Did similar to my Mac Mini Snow Leopard Server when it was new without wiping the original filesystem. But can't get there from here today following similar instructions.
    The Samsung is disk2, Seagate is disk1. In Terminal.app I start with:
    % diskutil appleRAID enable mirror /dev/disk2
    The target disk must be an existing volume, not a whole disk
    Blah. Perhaps this helps? Is essentially the same as the 320GB system drive as formatted by Apple:
    % diskutil info disk2
       Device Identifier:        disk2
       Device Node:              /dev/disk2
       Part Of Whole:            disk2
       Device / Media Name:      SAMSUNG HD753LJ Media
       Volume Name:             
       Escaped with Unicode:    
       Mounted:                  No
       File System:              None
       Partition Type:           GUID_partition_scheme
       Bootable:                 Not bootable
       Media Type:               Generic
       Protocol:                 SATA
       SMART Status:             Verified
       Total Size:               750.2 GB (750156374016 Bytes) (exactly 1465149168 512-Byte-Blocks)
       Volume Free Space:        Not Applicable
       Read-Only Media:          No
       Read-Only Volume:         Not applicable (no filesystem)
       Ejectable:                No
       Whole:                    Yes
       Internal:                 Yes
       OS 9 Drivers:             No
       Low Level Format:         Not Supported
       Device Location:          "Bay 2"

    This message, and threads like yours got asked daily for over two years, now it is only a couple times a week!!
    Is it so hard to follow through? you were to have backup already, clones are best, then erase/format and restore.
    Then partition.
    Some have been able to use Disk Utility booted from OS X DVD or another drive, and repair the drive.
    You have to use Boot Camp Assistant (99.9% anyway) to create and achieve a proper Windows Master Boot Record partition.

  • HT204291 My iPad 4 does not show up on my TV screen when in AirPlay mirroring mode using WiFi.  The iPad displays AirPlay set to TV with the Mirroring On (green).  My iPad IOS software is 8.2 and my Apple TV software is at 7.1.  The TV displays the Apple

    My iPad 4 does not show up on my TV screen when in AirPlay mirroring mode using WiFi.  The iPad displays AirPlay set to TV with the Mirroring On (green).
    My iPad IOS software is 8.2 and my Apple TV software is at 7.1.  The TV displays the Apple Menu.  The “Settings” does however displays the General menu allowing me to see:
    Apple software:          7.1 (7003)
    Apple TV:                   Model No. A1464, Part No. MD199B/A
    Signal Strength shows 5 circles.
    It does not display the iPad screen but when I use the BT Sport App I can hear the sound but there is no video.  I have searched the internet for a solution to no avail. The problem first arose when the IOS was at 8.1+ but it worked correctly briefly when I updated to IOS 8.2.  Can you help please?

    Welcome to the Apple Community.
    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
    Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
    Restart your mobile device.
    If you are still having problems, the following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.
    When making adjustments to your network for better optimisation, you may find some of the points mentioned on this page helpful.

  • Trying to get rid of error "The startup disk cannot be partitioned or restored to a single partition". Recovery HD visible.

    Hello,
    I've been stuck for some hours now trying different things to install Windows 7 on my Macbook Air, and I think now is the time to call for some custom help.
    I'm using OS X 10.9.5 Mavericks.
    So some months ago I just wanted to run Linux on my laptop so I installed rEFInd, shrunk the Macintosh HD partition by 25GB and booted on a linux live USB flash I burned using dd.
    Then I used gparted to create my linux partitions.
    It worked just fine, even though disk utility from OS X seemed quite unhappy about this (it seemed to have incorrect informations about the filesystem on these partitions, seeing them as journaled Mac OS while they were clearly not). At this point already, the Recovery HD from mac showed up in disk utility, which I found weird but didn't bother me.
    But recently I needed windows on my Mac. So after a few tries for the triple boot, I managed to create a bootable USB stick with boot camp, which already showed me the message "The startup disk cannot be partitioned or restored to a single partition" and hence refused to partition/install himself.
    So I thought "OK, that's no big issue, I can just partition with disk utility and then boot on the USB stick and everything will work fine". But when EFI booting on the USB flash drive I got stuck at the beginning of Windows installer with no keyboard or mouse support.
    After some hours spent googling, I was unable to find a working fix for that, and as there was no support for my case (where I used bootcamp to create the bootable flash but NOT to partition/reboot) I decided to give bootcamp a try.
    So I erased my linux partitions, and cleaned up everything I could on the HD with disk utility. That means I now have two partitions showing in disk utility : Macintosh HD and Recovery HD.
    When using disk utility from terminal, the list is :
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            80.0 GB    disk0s2
       3:                  Apple_HFS Recovery HD             650.1 MB   disk0s3
    But boot camp still isn't happy, and the message "The startup disk cannot be partitioned or restored to a single partition" keeps popping after the intro and I can't partition/boot from bootcamp.
    So, as I don't understand what is wrong here anymore, any help would be greatly appreciated!
    I will be watching the thread a lot because I really would like this resolved (or windows installed one way or another) this weekend; so any questions on my past manipulations or config just ask!
    Thank you.

    keyboard issues are also something of a common issue.
    I wish the best threads were voted to the top of forums, something! Me, I literally burned out here, but after installing 10 Preview, wanted to "see what was going on" after hiatus of a couple years and see if anything had changed (no, not really!)
    Also, these new Communities are not putting "more like this" and failing to help too.
    I think rewriting Boot Camp Assistant's built in help and pdf would help a lot, and needs to be clearer and go into details. And Yosemite was not it seems tested against Boot Camp, and drivers for new Macs + new OS also lag behind. Again, common and no sign of improvement or change.
    One of the tricks to the "can't partition" is rather simple - of course backup is step #1 and is spelled out - SHRINK the main HFS+ partition! then stretch it back to full length. Sometimes a reboot is needed, and sometimes even do a Safe Boot - not sure what but Recovry Mode might be a good option too. That does seem to consolidate free space, move files that are locked and cannot be moved otherwise, and allow BCA to partition, jusst be sure to have enough space left and large enough for a proper Windows install (and fudge factor).

  • Cannot reinstall Tiger : installer stuck (cannot make disk bootable)

    Good afternoon experts,
    I am writing to you here as I have a problem with the Tiger installer which suddendly stops when trying to install on a prepartioned disk.
    First, some background information : I have a 20' iMac Intel machine which I bought on February 06 (well designed machine, happy with it so far). The thing is, I have had serious crashes and lockups using the UB version of VLC (media player) which led me to hard reboot the machine several times. Despite the journaling on the disk, some of my filesystem was corrupted, seemingly beyond repair (some apps did not even boot, nothing happened when I plugged in an external disk, etc). Scanning for disk errors and permissions problems revealed that a lot of files had been damaged ("extended allocation" error) in both the system and in my applications.
    As I did not know what to do (I should have asked first here whether it was possible to reinstall only parts of the OS using, maybe, a package manager), I synced my backups and went for a reinstall.
    The thing is, the disk is already partitioned, as I also run Linux on the machine (updated firmware and repartitioned the disk w/ BootCamp; worked well). It contains, in that order : the hidden EFI partition (fat32), the macOSX HFS+ volume (where I want to install), Linux swap partition, HFS+ partition (for use w/ rEFIt, the EFI bootloader), and two Linux ext3 partitions.
    The install starts fine (booting from the DVD which came with my machine), the macOSX volume is formatted but the installer just then stops. Looking at the logs, I can see that it is because it cannot make the volume bootable (this is what the error message says). Note that it correctly read the partition table/EFI partition scheme as it gives me the correct partition types I have presented above. Also note that I cannot do an "archive and install" procedure, seemingly because I have insufficient space (6GB free on the volume); the installer does not give me any choice. Finally, I can still boot into Linux holding the 'Alt' key and using the builtin volume chooser to start on the second HFS+ volume.
    I am asking for help to you gurus, to know what to do here. I was think maybe something like using the shell to do a manual 'bless' would solve the issue; I would like however to be sure before proceeding. Otherwise, is there a manual installation procedure (as there is for instance on the Debian installer, allowing to skip/redo some install steps)?
    Thanks for your help experts,
    Vincent
    PS: I am going to see whether I can collect the logs and post them here.

    Hello back,
    As I did not find a way to attach my logs, I am posting the most relevant parts of it here.
    This is where the installer erases the volume and fails at make the disk bootable :
    Jun 27 12:04:56 localhost : Preparing volume "Macintosh HD" for installation
    Jun 27 12:04:56 localhost : Erasing volume for OS Install
    Jun 27 12:04:56 localhost : Original Disk Layout
    Jun 27 12:04:56 localhost : partition map from /dev/disk0:
    Jun 27 12:04:56 localhost : #: type name size identifier mountpoint
    Jun 27 12:04:56 localhost : 0: GUIDpartitionscheme *232GB disk0
    Jun 27 12:04:56 localhost : 1: EFI 200MB disk0s1
    Jun 27 12:04:56 localhost : 2: Apple_HFS Macintosh HD 70.0GB disk0s2 /Volumes/Macintosh HD
    Jun 27 12:04:56 localhost : 3: Linux Swap 503MB disk0s3
    Jun 27 12:04:56 localhost : 4: Microsoft Basic Data 18.6GB disk0s4
    Jun 27 12:04:56 localhost : 5: Apple_HFS rEFIt 190MB disk0s5 /Volumes/rEFIt
    Jun 27 12:04:56 localhost : 6: Microsoft Basic Data 143GB disk0s6
    Jun 27 12:04:56 localhost : Preparing disk for erase
    Jun 27 12:04:57 localhost : Erasing volume.
    Jun 27 12:04:57 localhost : Erasing
    Jun 27 12:04:58 localhost : Initialized /dev/rdisk0s2 as a 70 GB HFS Plus volume with a 8192k journal\n
    Jun 27 12:04:59 localhost : Mounting Disk
    Jun 27 12:04:59 localhost : Done erasing volume.
    Jun 27 12:05:01 localhost : Final Disk Layout
    Jun 27 12:05:01 localhost : partition map from /dev/disk0:
    Jun 27 12:05:01 localhost : #: type name size identifier mountpoint
    Jun 27 12:05:01 localhost : 0: GUIDpartitionscheme *232GB disk0
    Jun 27 12:05:01 localhost : 1: EFI 200MB disk0s1
    Jun 27 12:05:01 localhost : 2: Apple_HFS Macintosh HD 70.0GB disk0s2 /Volumes/Macintosh HD
    Jun 27 12:05:01 localhost : 3: Linux Swap 503MB disk0s3
    Jun 27 12:05:01 localhost : 4: Microsoft Basic Data 18.6GB disk0s4
    Jun 27 12:05:01 localhost : 5: Apple_HFS rEFIt 190MB disk0s5 /Volumes/rEFIt
    Jun 27 12:05:01 localhost : 6: Microsoft Basic Data 143GB disk0s6
    Jun 27 12:05:01 localhost : Waiting for volume...
    Jun 27 12:05:01 localhost : Configuring volume "Macintosh HD"
    Jun 27 12:05:01 localhost : Preparing Disk for OS Install
    Jun 27 12:05:01 localhost : Cannot make disk bootable at this stage.
    Jun 27 12:05:01 localhost : partition map from /dev/disk0:
    Jun 27 12:05:01 localhost : #: type name size identifier mountpoint
    Jun 27 12:05:01 localhost : 0: GUIDpartitionscheme *232GB disk0
    Jun 27 12:05:01 localhost : 1: EFI 200MB disk0s1
    Jun 27 12:05:01 localhost : 2: Apple_HFS Macintosh HD 70.0GB disk0s2 /Volumes/Macintosh HD
    Jun 27 12:05:01 localhost : 3: Linux Swap 503MB disk0s3
    Jun 27 12:05:01 localhost : 4: Microsoft Basic Data 18.6GB disk0s4
    Jun 27 12:05:01 localhost : 5: Apple_HFS rEFIt 190MB disk0s5 /Volumes/rEFIt
    Jun 27 12:05:01 localhost : 6: Microsoft Basic Data 143GB disk0s6
    Jun 27 12:05:01 localhost : Install failed: Couldn't prepare volume for installation.
    Now, this is what Disk Utility reports of the volume. You can see that the partition scheme on the disk is the correct one :
    Jun 27 12:09:05 localhost : Disk Utility started.\n
    Jun 27 12:09:05 localhost : \n
    Jun 27 12:09:18 localhost : Name : WDC WD2500JS-40NGB2 Media\n
    Jun 27 12:09:18 localhost : Type : Disk\n
    Jun 27 12:09:18 localhost : \n
    Jun 27 12:09:18 localhost : Disk Identifier : disk0\n
    Jun 27 12:09:18 localhost : Media Name : WDC WD2500JS-40NGB2 Media\n
    Jun 27 12:09:18 localhost : Media Type : Generic\n
    Jun 27 12:09:18 localhost : Connection Bus : SATA\n
    Jun 27 12:09:18 localhost : Connection Type : Internal\n
    Jun 27 12:09:18 localhost : Partition Type : GUIDpartitionscheme\n
    Jun 27 12:09:18 localhost : Device Tree : /PCI0@0/SATA@1F,2/@0:0\n
    Jun 27 12:09:18 localhost : Writable : Yes\n
    Jun 27 12:09:18 localhost : Ejectable : No\n
    Jun 27 12:09:18 localhost : Mac OS 9 Drivers Installed : No\n
    Jun 27 12:09:18 localhost : Location : Internal\n
    Jun 27 12:09:18 localhost : Total Capacity : 232.9 GB (250,059,350,016 Bytes)\n
    Jun 27 12:09:18 localhost : S.M.A.R.T. Status : Verified\n
    Jun 27 12:09:18 localhost : Disk Number : 0\n
    Jun 27 12:09:18 localhost : Partition Number : 0\n

Maybe you are looking for