[SOLVED] UEFI system booting from MBR partition table and GRUB legacy

I'm trying to understand once and for all the process by which Arch can be booted from a system with UEFI firmware and an MBR partition table. Some of the information on the wiki seems conflictual / non-nonsensical at times. Apologies in advance if this has been answered time and time again, but I did search around and all I found was fixes to get Arch to boot rather than comprehensive explanations of the boot process.
Now, the way I would imagine it works is that it's just completely identical to the way it would work with a BIOS firmware. The UEFI firmware detects an MBR partitioning scheme (or is configured to know it's an MBR partitioning scheme), activates some "legacy" mode and executes the MBR boot code, just like a BIOS firmware would.
The wiki however, says different. From the Macbook article: "Do not install GRUB onto /dev/sda !!! Doing so is likely to lead to an unstable post-environment."?
So what is there in the MBR boot sector? Nothing?
How does the firmware know what to boot if there's no 0xEF BIOS boot partition and no Grub stage 1 in the MBR boot sector?
Also, how does installing Grub stage 1 to a partition work? Does it have to be at the beginning of the partition? Wouldn't that overwrite some existing data?
I'm especially puzzled since many guides to installing Vista on a macbook recommend simply formatting as MBR, and installing as normal, which I suppose entails having the Windows installation process write its boot code to the MBR, ie the equivalent of installing grub stage 1 to /dev/sda rather than to the /boot partition, as the Macbook article suggests.
Any input is appreciated.
P.S. I realize it's probably simpler, if I just want to dual boot Windows and Arch, to install Windows 7 in UEFI-GPT mode, let it create the EFI System Partition, and then install GRUB 2 to that partition, but I'm still curious about the UEFI-MBR boot process.
Last edited by padavoine (2012-06-06 09:35:10)

padavoine wrote:
CSM in UEFI firmwares do the exact same job as normal BIOS firmware.
So it's something specific to the Mac that it's able to boot from a partition's VBR while ignoring the MBR?
The reason that warning is given is because grub-legacy modifies more than just the MBR boot code region.  It can overwrite some parts of GPT header.
Not true, the instruction is given in the context of an MBR format, not in the context of a GPT format, so there's nothing to overwrite and Stage 1.5 should be safely embeddable in the post-MBR gap.
In BIOS boot (normal case in non-UEFI firmwares or CSM in UEFI firmwares) does not read the partitition table (atleast it is supposed to be dumb in this regard), it simply launches whatever boot code exists in the 1st 440-byte of the MBR region.
So again, you're saying it's specific to the Mac UEFI that it lets you choose a partition whose VBR to load, regardless of what's in the MBR?
I haven't used Macs so I can't comment on Mac firmware behaviour. But normal BIOS firmwares (legacy and CSM) launch only the MBR boot code and not the partition boot code. We need some chainload capable boot manager in the MBR to launch the partition VBR.
grub-legacy does not know anything about GPT. So when you install grub-legacy to /dev/sda, it install the MBR boot code (stage1) and stage 1.5 code to the (supposed) post MBR gap. Since there is no actual post MBR gap in GPT (which has been taken over by the header and partition table), grub-legacy does not check for GPT and it assumes the post MBR gap actually exists which is invalid in case of GPT. grub-legacy embeds the stage 1.5 code in GPT header and table region (which grub assumes to be unused post MBR gap) and thus corrupts it.
0xEF is the MBR type code for UEFISYS partition. grub stage 1 (used in grub-legacy, not in grub2) is the 440-byte boot code stored in MBR for use in BIOS boot.
That's precisely my point: with neither proper executable code in the MBR (since grub was installed to a partition, not to the MBR) nor a UEFI system partition, what does the firmware default to, and how does it know what partition to boot from?
In that case it might fallback to UEFI Shell (if it exists)  or give an error similar to the case where BIOS does not find any bootable code in 440-byte MBR region.
So even with bootcamp/CSM, the disk also needs to be MBR partitioned. So Macs use something called "Hybrid GPT/MBR" ( http://rodsbooks.com/gdisk/hybrid.html ) where the MBR table is synced to match the first 3 partitions in the GPT table.
I know what Bootcamp does, and that's not what I was referring to. I was referring to standalone Vista installs. I wasn't puzzled at the fact that they were using MBR, I was puzzled at the fact that contrary to the recommendations for the standalone Arch install on the wiki (with MBR partitioning, not GPT), they didn't do anything to try and prevent Windows from writing to the MBR.
You can't prevent Windows from overwriting the MBR region. You have to re-install the bootloader (grub2/syslinux etc.) after installing Windows. That is the reason why it is recommended to install Windows first and linux later.
Thats not true. I actually find it is much easier to install Windows UEFI-GPT using USB rather than a DVD.
I haven't done it since the only UEFI system I own has no DVD drive, but I was under the impression that it was simply a matter of choosing DVD UEFI boot in the firmware's boot menu.
format the USB as FAT32 and extract the iso to it. That it.
No, thats not it, precisely, it doesn't work out of the box with a standard Windows install USB, you need to fiddle around:
2.3 Extract bootmgfw.efi from [WINDOWS_x86_64_ISO]/sources/install.wim => [INSTALL.WIM]/1/Windows/Boot/EFI/bootmgfw.efi (using 7-zip aka p7zip for both the files), or copy it from C:\Windows\Boot\EFI\bootmgfw.efi from a working Windows x86_64 installation.
2.4 Copy the extracted bootmgfw.efi file to [MOUNTPOINT]/efi/microsoft/boot/bootmgfw.efi .
Most of the Windows isos already have /EFI/BOOT/BOOTX64.EFI file, so no need to extract the bootmgfw.efi file.
There is no difference between in BIOS booting in UEFI firmwares and BIOS booting with legacy firmware.
There has to be a difference, at least in the Mac firmware (sorry, I keep switching), since legacy firmware, AFAIK, cannot chainload a bootloader in a partition's VBR without there being some sort of "stage1" code in the MBR.
No idea about Mac EFI. Apple made a spagetti out of UEFI Spec. To actually understand how Mac firmwares work, read the blog posts by Matthew Garrett of Redhat, about his efforts in getting Fedora to boot in Macs.

Similar Messages

  • "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, windows can only be installed to GPT disks." Error

    Hey Im getting the following error when trying to install windows from a USB. 
    "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, windows can only be installed to GPT disks."
    I installed the windows 8 (64bit) iso using boot camp to a usb.  I was able to do this after changing the info.plist to allow me to place the iso on the usb.  After I make the partition and start the install, I get the above error.  I formatted the partition in the installation but I keep getting this error.  I've repreated the entire process but i keep getting this errror and the disk utility says my partition is a Windows NT File System (NTFS) so im not sure what's going on.  If you can help me that would be greatly appreciated

    I am having the same problem. Windows is trying to install. It identifies the various partitions but says that I cannot install Windows on the Boot Camp partition or any other. I select Drive options (advanced) and Format the Boot Camp drive, but it makes no difference.
    This is the Windows error:
    Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.
    Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computer BIOS menu.
    I am not sure what Csound1 is suggesting with that post above. There are some involved suggestions over here <https://discussions.apple.com/message/23548999#23548999> about using Disk Utility to delete the Boot Camp partition and create new ones - is that the idea?

  • Windows cannot be installed to this disk 0. The selected disk has an MBR partition table. On EFI system, Windows can only be installed on GPT disks

    Hi All,
    I have been trying real hard to install Windows 8 on my Macbook Pro early 2011 model. I followed the instruction given by Bootcamp word to word, all things went very smoothly untill I was asked Windows Setup Instaled to selct the Hard drive. Here's the error:
    "Windows cannot be installed to this disk 0. The selected disk has an MBR partition table. On EFI system, Windows can only be installed on GPT disks...."
    Let me know guys what should I do?
    Thanks,
    Attiqe

    You have started the Windows 8 installer in EFI mode, and you don't have to start in EFI mode on a Mac because your Mac emulates a BIOS and a MBR partition table in order to install Windows in non-EFI mode.
    To start the Windows installer, hold the Option (Alt) key while your computer is starting and have a look at all the boot options you have. You should see two with a DVD above and they must be named "Windows" and "EFI Boot". Choose the option with "Windows" and follow the steps to install Windows. Note that you have to format the "BOOTCAMP" partition from the installer to be able to install Windows.
    If you are trying to install Windows from a USB drive, note that your computer isn't compatible to do it

  • Mid 2010 iMac upgraded SSD, can't seem to install windows via bootcamp. Windows can't be installed on this storage device. The chosen harddisk contains a MBR-partition-table. Windows can only be installed on GPT-harddisks on EFI-systems error

    I have windows 8.1 on DVD & on USB CF Reader/Card. I've followed the full steps in bootcamp, but when it restarts and its time to select the bootcamp partition to install windows (after alt rebooting to the efi startup) I get the "Windows can't be installed on this storage device. The chosen harddisk contains a MBR-partition-table. Windows can only be installed on GPT-harddisks on EFI-systems" error.
    I've scoured the internet trying different solutions that seem to work for everyone else, but to no avail. I've reformatted from that screen, doesn't help. I've removed bootcamp partition and manually partitioned using disk util, leaving it empty once partition-wise, and filling it with a blank partition the second time. I've done a full back up and clean re-install of Yosemite, and nothing seems to be working.
    Thats when I switched to DVD install, as I heard sometimes you can't install with a CF card. When I alt-boot, I can see EFI-windows and windows, but if I select EFI-windows, same problem as before, and if I select windows, I get the black screen of "no bootable device please insert boot disk and press any key."
    I've been stuck w/o bootcamp for over 2 years now. Anyone, please help?
    Mid 2010 iMac running 256gb SSD, Yosemite 10.10.1 trying to install windows 8.1

    I am having the same problem. Windows is trying to install. It identifies the various partitions but says that I cannot install Windows on the Boot Camp partition or any other. I select Drive options (advanced) and Format the Boot Camp drive, but it makes no difference.
    This is the Windows error:
    Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.
    Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computer BIOS menu.
    I am not sure what Csound1 is suggesting with that post above. There are some involved suggestions over here <https://discussions.apple.com/message/23548999#23548999> about using Disk Utility to delete the Boot Camp partition and create new ones - is that the idea?

  • Error: Windows Cannot Be Installed to This Disk. The Selected Disk Has an MBR Partition Table.

    Error: Windows Cannot Be Installed to This Disk. The Selected Disk Has an MBR Partition Table.
    Error: Windows Cannot Be Installed to This Disk. The Selected Disk Has an MBR Partition Table. On EFI Systems, Windows Can Only Be Installed to GPT.
    I found one solution to this problem on hp forum but my laptop has boot legacy and does not disable the efi boot order.
    HP Model# HP 1000-1140TU Notebook PC
    Serial# 5cg2481dbg
    Product# c8c94pa#uuf
    This is solution which is found on hp forum
    SolutionThe resolution to this issue depends on the the hard disk volume size:
    Follow these steps if the hard disk volume size is less than 2.19 TB:
    Temporarily disable the EFI Boot Sources setting in the BIOS:
    Restart the computer, and then press F10 to enter the BIOS.
    Navigate to Storage > Boot Order , and then disable the EFI Boot Sources .
    Select File > Save Changes > Exit .
    Install the Windows operating system.
    Enable the EFI Boot Sources setting in the BIOS:
    Restart the computer, and then press F10 to enter the BIOS.
    Navigate to Storage > Boot Order , and then enable the EFI Boot Sources .
    Select File > Save Changes > Exit .
    Follow these steps if the hard disk volume size is greater than 2.19 TB:
    Install the HP BIOS Update UEFI utility from the HP Web site:
    Click here to access the document "HP BIOS Update UEFI" .
    NOTE:The HP BIOS Update UEFI utility is installed by default on some HP computers.
    Follow the steps in the Microsoft document titled "How to Configure UEFI/GPT-Based Hard Drive Partitions" (in English) to create a GPT partition.
    Click here to access the document "How to Configure UEFI/GPT-Based Hard Drive Partitions" .
    NOTEne or more of the links above will take you outside the Hewlett-Packard Web site. HP does not control and is not responsible for information outside the HP Web site.

    I am having the same problem. Windows is trying to install. It identifies the various partitions but says that I cannot install Windows on the Boot Camp partition or any other. I select Drive options (advanced) and Format the Boot Camp drive, but it makes no difference.
    This is the Windows error:
    Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.
    Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computer BIOS menu.
    I am not sure what Csound1 is suggesting with that post above. There are some involved suggestions over here <https://discussions.apple.com/message/23548999#23548999> about using Disk Utility to delete the Boot Camp partition and create new ones - is that the idea?

  • No more optical drive and windows 8 issue: "Windows cannot be installed on this disk as it has an MBR partition table."

    I have an Early 2011 13" MBP going strong with an SSD and original HDD installed in the optical drive. However, having had success with windows 7 on my old HDD I was planning to install Windows 8.1 (from .iso) on my SSD. However, for the past day or so it's been a nightmare.
    I tried the official procedure but by editing the bootcamp info.plist so I could boot from USB (you can't install windows from an external optical drive apparently) partitioning as bootcamp wanted too.
    I then tried it a number of different ways using disk utility etc and with an empty space
    However, I always seem to end up with the error "“Windows cannot be installed on this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only installed on GPT disks“
    I read some interesting stuff here http://www.royhochstenbach.com/installing-windows-8-1-on-a-2013-mac-pro/
    He points out that
    "Windows 7 and 8 in x64 support EFI. Normally if you install Windows on a Mac and use the installation DVD, it boots into regular BIOS mode, thus can be installed on an MBR partition. I tried the same, but since the Mac Pro doesn’t have an optical drive I had to use an external drive. And apparently the Mac boots external optical drives in EFI mode too. The Bootcamp wizard is aware of this, and creates a GPT partition on a non-superdrive Mac but an MBR partition on a superdrive Mac."
    This means Bootcamp is essentially making the wrong type of partition?
    My real question is? How do I install it windows 8? I'm really on my last legs!
    I really don't want to have to open this thing up and reinsert my optical drive as its really really difficult to get out of the enclosure (would probably have to break it).
    A huge thanks in advance!

    Hi,
    Have you tried that suggestion?
    You also could use this commands to check and install again:
    Inside windows installer, hit Shift+F10 to get a command prompt, then run diskpart and type List disk to displays a list of disks and information about them, such as their size, amount of available free space, whether the disk is a basic or dynamic disk,
    and whether the disk uses the master boot record (MBR) or GUID partition table (GPT) partition style.
    and then select the target disk. Zap the drive (with the clean command), create GPT table (new gpt), create the GPT-EFI special partitions.
    Step-by-step instructions is here for reference:
    HOW TO: Use the Diskpart.efi Utility to Create a GUID Partition Table Partition on a Raw Disk in Windows
    http://support.microsoft.com/kb/297800?wa=wsignin1.0
    Then reboot so the firmware finds those partitions and adds the disk to the EFI-native boot order (Windows installer checks this).
    Karen Hu
    TechNet Community Support

  • Can't boot from Ubuntu partition after upgrading to Yosemite

    When i go to Disk Utility the Ubuntu partition appears as it always have, i had installed since Mavericks refind to boot from any partition. Now refind doesn't work and the alt/option key doesn't work either. Does anyone know a way to fix this?

    A extensive report already written is in the Ubuntu stacks as
    Dual boot Linux and Yosemite
    Basically you need to follow http://www.rodsbooks.com/refind/yosemite.html
    wherein it explains that Yosemite is using a new LVM bootup from within the Recovery Partitions 10.10.
    This messes up REFIT/REFIND tools  which have previously installed Partition 1.S
    See my current Table below , wherein << are my comments
    Current GPT partition table:
    #      Start LBA      End LBA  Type
    1             40       409639  EFI System (FAT)    << old preferred site for REFIT/REFIND tools
    2         409640    154061023  Mac OS X HFS+ << main Mac partition
    3      154061024    155330559  Mac OS X Boot  << Recovery 10.10 , installed by Yosemite update, used to start MAC boot.  BUT is not shown by Disk Utility, to prevent its naive deletion which would kill the MAC boot.
    4      155330560    156598271  Mac OS X HFS+ << old Recovery 10.9, simply retained
    5      157869786    228772129  Unknown << My Ubuntu partition
    6      228772130    236765969  Linux Swap << which was shortened by 200 MB to make room for 7)
    7      236765970    236974814  Mac OS X HFS+ << installation site of REFIND.  Though 4) could have been used, there is a possibility that Apple might have future plans for this small 4) partition.  
    With 7) created (see detail below),  my REFIND install command under MAC, within Downloads/refind-bin-0.8.3/ was:
    sudo ./install.sh  --alldrivers --ownhfs  /dev/disk0s7
    There was still required the edit if refind.conf.sample specified in Yosemite.html, which I named refind.conf.edit1
    This was copied with:
    sudo cp refind.conf.edit1  /Volumes/macefi/System/Library/CoreServices/refind.conf
    macefi  is my name for the MAC  /dev/disk0s7 mount point, equivalent to /dev/sda7 under Linux
    CAREFULLY do read Yosemite.html,  as the instructions here are too terse by themselves!!!!
    There are 2 routes to  boot Ubuntu, and then creat 7) with GPARTED
    a) If you can access the GRUB shell under an old REFIT/REFIND installation, partitions will be shown by:
    grub> ls
    Presence of a Linux file system can be confirmed by a command like:
    grub> ls (hd0,gpt5)/
    Output of
    grub > ls (hd0,gpt5)/boot/grub/
    should include a grub.cfg file.  Then you can boot as usual with
    grub > configfile  (hd0,gpt5)/boot/grub/grub.cfg
    After boot up, start GPARTED
    b) Alternatively boot with the Ubuntu install disk, and choose the Demo option
    Open a text console, and get admin proviledge with:
    $ sudo su
    # gparted
    Using GPARTED, unmount if necessary  any terminal SWAP partition, such as my 6) above
    Then shrink the SWAP partition end by a trivial 200 MB,
    Create a HFS+ partition in like my 7) for a coming REFIND installation
    Note, that a file /etc/fstab contains a SWAP partition specification, which should be edited for automated SWAP start.
    # sudo blkid  /dev/sda7
    will report the SWAP space specs LONG  uuid code.  This can be copied into memory by dragging the mouse over the uuid
    Then SHIFT-CONTROL-C  will copy it into memory.   Start an edit with:
    $ sudo nano /etc/fstab
    delete the old swap uuid, and paste in the replacement with
    SHIFT-CONTROl-V
    and swap should mount upon reboot, or with:
    $ sudo swapon -a
    Check with:
    $ free
    which should report none-zero swap space.

  • Booting from a partitioned drive

    I have 1,5 TB drive and want to create 2 partitions. One for cloning using Super Duper and second back up by data files. Is this possible? Because I read that Apple doesn't officially support booting from Apple partition map on Intel Macs and doesn't allow to install the OS X.
    Thanks,

    Well, after using disc utility, I had a bad luck... kernel panic during the partition. And the computer panics anytime the drive is plugged in. Firewire and USB. I tried my other computer .... the same thing. That means the drive is dead!
    Oh Well...
    Here is the error:
    Wed May 13 09:40:58 2009
    panic(cpu 2 caller 0x001F9445): "jnl: mod block start: bufsize 512 not a multiple of block size 4096\n"@/SourceCache/xnu/xnu-1228.9.59/bsd/vfs/vfs_journal.c:2282
    Backtrace (CPU 2), Frame : Return Address (4 potential args on stack)
    0x8d8af2a8 : 0x12b4f3 (0x45b13c 0x8d8af2dc 0x1335e4 0x0)
    0x8d8af2f8 : 0x1f9445 (0x46c6e4 0x200 0x1000 0x0)
    0x8d8af348 : 0x332a34 (0x9e55d10 0x7ccc7a80 0x0 0x200)
    0x8d8af3e8 : 0x33be77 (0xc140004 0x1 0x0 0x8d8af778)
    0x8d8af7a8 : 0x33443e (0xc140004 0xa151804 0x0 0x0)
    0x8d8af8b8 : 0x335ea6 (0x0 0xb6b0364 0x0 0x0)
    0x8d8af9a8 : 0x1f5d9f (0xa97a258 0x1049d8c0 0xbffffdc4 0x0)
    0x8d8af9f8 : 0x1df47f (0xa97a258 0x1049d8c0 0xbffffdc4 0x0)
    0x8d8aff28 : 0x1dfb40 (0xadb7ba4 0x8d8aff48 0xb6b02a4 0x1)
    0x8d8aff78 : 0x3df460 (0xadb7ba4 0xb6b0260 0xb6b02a4 0x0)
    0x8d8affc8 : 0x1a0887 (0xb3d97a0 0x0 0x1a30b5 0xa25e640)
    No mapping exists for frame pointer
    Backtrace terminated-invalid frame pointer 0xbffffe18
    BSD process name corresponding to current thread: mount_hfs
    Mac OS version:
    9G55
    Kernel version:
    Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386
    System model name: MacPro3,1 (Mac-F42C88C8)
    Message was edited by: Girshon Rutstein

  • Does sql server could export a partition from a partition table ?

    Dear :
       Does sql server could export a partition from a partition table ? 
      For example, I need to export all old partition,which is '2013' and drop them.  It is easy in oracle. but how to do with sql
    server 2012 ?

    where do you want it to be exported to? Another server instance? if yes you can do piecemeal restore if partition is in a separate filegroup and you're on full recovery model
    http://msdn.microsoft.com/en-IN/library/ms177425.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Insert statement does not insert all records from a partitioned table

    Hi
    I need to insert records in to a table from a partitioned table.I set up a job and to my surprise i found that the insert statement is not inserting all the records on the partitioned table.
    for example when i am using select statement on to a partitioned table
    it gives me 400 records but when i insert it gives me only 100 records.
    can anyone help in this matter.

    INSERT INTO TABLENAME(COLUMNS)
    (SELECT *
    FROM SCHEMA1.TABLENAME1
    JOIN SCHEMA2.TABLENAME2a
    ON CONDITION
    JOIN SCHEMA2.TABLENAME2 b
    ON CONDITION AND CONDITION
    WHERE CONDITION
    AND CONDITION
    AND CONDITION
    AND CONDITION
    AND (CONDITION
    HAVING SUM(COLUMN) > 0
    GROUP BY COLUMNS

  • How to exp a specific partition data from a partitioned table

    Thanks in advance.
    Is is possible to export a specific partition data from a partitioned table? If so Please describe how with an example. Thank You.

    You would specify a partition with the table_name:partition_name syntax at the TABLES parameter.
    See examples at
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#CEGCJABJ

  • Import data from a partitioned table

    I am trying to import data from another server database. I need only data from two partitions from a partitioned table in that database. I have to use IMPORT wizard.
    The new server should also have the partitioned table with those two partitions data.

    I created the database on the destination server with a primary, log, FG1 and FG2 filegroups.
    Next, created the partition function and scheme
    create partition function pfOrders(int)
    as range right
    for values(34);
    create partition scheme psOrders
    as partition pfOrders
    to (FG1,FG2)
    go
    Next, created the table on primary with primary key.
    Next, used import wizard twice to import data related to partition_id 34 and 65.
    The problem is the data is on primary filegroup. FG1 and FG2 does not have any data.

  • Move data from Non Partitioned Table to Partitioned Table

    Hi Friends,
    I am using Oracle 11.2.0.1 DB
    Please let me know how can i copy /move the data from Non -Partitioned Oracle table to the currently created Partiotioned table.
    Regards,
    DB

    839396 wrote:
    Hi All,
    Created Partitioned table but unable to copy the data from Non Partitioned table:
    SQL> select * from sales;
    SNO YEAR NAME
    1 01-JAN-11 jan2011
    1 01-FEB-11 feb2011
    1 01-JAN-12 jan2012
    1 01-FEB-12 feb2012
    1 01-JAN-13 jan2013
    1 01-FEB-13 feb2013into which partition should row immediately above ("01-FEB-13") be deposited?
    [oracle@localhost ~]$ oerr  ora 14400
    14400, 00000, "inserted partition key does not map to any partition"
    // *Cause:  An attempt was made to insert a record into, a Range or Composite
    //          Range object, with a concatenated partition key that is beyond
    //          the concatenated partition bound list of the last partition -OR-
    //          An attempt was made to insert a record into a List object with
    //          a partition key that did not match the literal values specified
    //          for any of the partitions.
    // *Action: Do not insert the key. Or, add a partition capable of accepting
    //          the key, Or add values matching the key to a partition specification>
    6 rows selected.
    >
    SQL>
    SQL> create table sales_part(sno number(3),year date,name varchar2(10))
    2 partition by range(year)
    3 (
    4 partition p11 values less than (TO_DATE('01/JAN/2012','DD/MON/YYYY')),
    5 partition p12 values less than (TO_DATE('01/JAN/2013','DD/MON/YYYY'))
    6 );
    Table created.
    SQL> SELECT table_name,partition_name, num_rows FROM user_tab_partitions;
    TABLE_NAME PARTITION_NAME NUM_ROWS
    SALES_PART P11
    SALES_PART P12
    UNPAR_TABLE UNPAR_TABLE_12 776000
    UNPAR_TABLE UNPAR_TABLE_15 5000
    UNPAR_TABLE UNPAR_TABLE_MX 220000
    SQL>
    SQL> insert into sales_part select * from sales;
    insert into sales_part select * from sales
    ERROR at line 1:
    ORA-14400: inserted partition key does not map to any partition
    Regards,
    DB

  • Boot from 2nd partition on mini

    I have a new mac mini with os x server on it. It has two partitions and I tried to install mac os x onto the other partition so I could boot from that. I have an apple external dvd drive attached to the mini.
    Everything went well, it allowed me to install to the partition I wanted. Then when it does a reboot it will not boot with the mac os x disk in the dvd drive and if I take it out it boots back to mac os x server partition. If I hold down the Option Key at the start it does not show me the partition with the os x on it.
    Using finder I can see a bunch of pkg files in a folder called Mac OS X install Data on the partition I want to use. Is there a way of getting these to install?
    Sorry if this is a dumb question but I am fairly new to macs.
    Thanks.

    rchealey wrote:
    Curiously when you boot from this partition, you get virtually the exact same experience as you do when booting from the recovery partition except that the recovery partition tends to suggest that it will download and install Lion, whereas booting from the partition containing the install doesn't mention download.
    That's normal behavior. The Recovery HD only has enough code to go to Apple's servers and DL the installer; whereas, the InstallESD contains everything. Do note, however, that running either will check Apple's servers for additional components, whatever those might be. Thus, Internet access is required to do either.

  • Boot from second partition on usb hard drive

    I have a time machine external usb drive. I have created a second partition of 8GB on this drive and restored OS X Install ESD 10.7.5 to this second partition so that I can easily rebuild if necessary. I would like to be able to boot from this second partition. When I hold down Option key at startup, I see the external drive as an option, but the iMac wants to boot from the Time Machine Backup partition, rather than the Lion Partition. It doesn't give me the choice of the second, bootable partition on this drive. Is it possible to do this?
    [Mac 24" early 2009, running 10.7.5 Lion]

    rchealey wrote:
    Curiously when you boot from this partition, you get virtually the exact same experience as you do when booting from the recovery partition except that the recovery partition tends to suggest that it will download and install Lion, whereas booting from the partition containing the install doesn't mention download.
    That's normal behavior. The Recovery HD only has enough code to go to Apple's servers and DL the installer; whereas, the InstallESD contains everything. Do note, however, that running either will check Apple's servers for additional components, whatever those might be. Thus, Internet access is required to do either.

Maybe you are looking for