[SOLVED] Telling my BIOS/HD which partition to boot (GPT)

I had Ubuntu dual booting with Mac OS X via grub2 on a GPT drive well.  That worked fine except that it was Ubuntu and while I love Ubuntu for many reasons, I do not love Ubuntu for productive development (apt...headers...name mangling...ok I'm not going to rant).
I installed arch via live-usb net install like this:
Boot of live usb
Run parted
--Delete Ubuntu partition
--Make a 32MB ext2 partition  (#4)
--Make a 6GB swap partition (#5)
--Make a 15GB ext4 partition (#6) (wasnt sure if ext4 was ok for root but... i just went for it!)
--Make a 250GB ext4 partition (#7)
Run arch setup
--In the choose blocks/config er whatever section I set the partitions as follows:
----4 -> /boot
----6 -> /
----7 -> /home
Install packages
Configure
--SKIP bootloader
Exit setup
Run the following:
$ mount -o bind /dev /mnt/dev
$ chroot /mnt bash
$ # dhcpcd and stuff to get online
$ pacman -Sy grub2
$ # Edit my grub.cfg (basically just copied the ubuntu one except replaced ubuntu's entry with arch's entry)
$ reboot
Get everyone's favorite message: Verifying dmi pool data...
Reboot into the archlinux live usb and try the following
$ parted
$ set 1 boot off
$ set 4 boot on
$ quit
$ reboot
Back to: Verifying dmi pool data...
While I'm not certain that Ubuntu wasn't doing something automagically to make gpt work smoothly for me this seems to my (not-very-knowledgeable) self like a reasonable approach, and thus my theory is that somehow the wrong partition is being attempted to be booted by my bios.  If it were at least trying to run the partition with grub I would suspect some sort of error message, not just hanging at "Verifying dmi pool data..."  This theory has made me realize that while I thought I sort of understood the bios->bootload hand off I, embarrassingly enough, have no idea how the boot partition is determined.  I think the bios just hands off to the HD, and the HD chooses which boot partition, but maybe the BIOS goes straight to a given partition?  Yup, no idea, hahah.
Any help would be greatly appreciated.  While I do of course have everything backed up the mac os x partition is 800GB and is using ~700, so restoring it would not only be a pain, but also potentially unreliable so I would much prefer advice that does not involve deleting/overwriting/reinstalling os x.
Reinstalling Arch is no biggie (after all I've never booted successfully into this install;p).
Last edited by drostin77 (2009-12-04 12:50:21)

Why GRUB2?  Grub2 is still a bit experimental, probably have better luck with regular grub.
I had read that regular grub did not play nice with GPT, and that in fact installing it may corrupt the partition table so I did not try it.  If this information is incorrect I would love to use it to at least get my system up and running, let me know.
In your post, I don't see where you ran "grub-install". Just installing the GRUB package does not install a "bootloader", per se.
I'd recommend reading the GRUB2 wiki article carefully, or as Gen2ly says, use GRUB "legacy".
Thanks!  Ya... I did read that wiki, uh forgot to updated post when I tried grub install but: grub-install hangs when run after chrooting and nothing happens.  I swapped to another virtual terminal and checked out the process, it was doing nothing. So...
Ubuntu 9.10 uses grub2, so I booted an ubuntu 9.10 live usb, mounted my /boot partition (sda4) to /mnt/boot ran
$ grub-install --root-directory=/mnt /dev/sda
Rebooting now got me past "Verifying dmi pool data"
The grub menu was all messed up (only 1 option though I had 5 entries), and booting informed me that I need to load the kernel first, but I suspect this may just be a problem in my grub.cfg.  I had to head in to work though (Japan time) before I could poke around, but for now I'd say I'm no longer "stuck" (uh, maybe ;p).  Thanks for all the help!
I'll be seeing if I can get my grub.cfg setup happily (or better yet set it up automagically from a live cd ) tonight.  Will set this so [SOLVED] and explain if I can.

Similar Messages

  • [Solved] Converting from BIOS+Grub1+MBR to UEFI+Grub2+GPT

    Hello community,
    my motherboard has an annoying bug, the POST sometimes taking over 20 seconds. Now I noticed that my motherboard is actually in the BIOS legacy mode, while UEFI mode is available. So I'd like to switch to UEFI in the hope that the BIOS bug won't appear there. I've read through several Wiki pages and forum posts, but still don't really know how to proceed.
    The current setup is: The motherboard is in BIOS legacy mode, an HDD and an SSD are connected. The HDD contains just a big data partition while the SSD contains /, /home and swap. Grub1 is installed in the MBR of the SSD.
    As far as I have understood from the Wiki, I need to change the partition table to GPT before switching to UEFI. According to https://wiki.archlinux.org/index.php/GP … MBR_to_GPT it is even possible without data loss. Since I need to free 1MiB at the end of the partition table, I'd need to boot some Live-USB and perform all the operations from there. So my first question is: If I change to GPT from Live-USB, will Grub1 still be able to boot the system afterwards?
    Second thing is, I've noticed that Grub1 is neither present in the repos, nor in the AUR any more. So if I uninstall it and something goes wrong, how to get Grub1 back?
    Thanks for any help,
    Photon
    Last edited by PhotonX (2013-03-01 12:09:16)

    PhotonX wrote:my motherboard has an annoying bug, the POST sometimes taking over 20 seconds. Now I noticed that my motherboard is actually in the BIOS legacy mode, while UEFI mode is available. So I'd like to switch to UEFI in the hope that the BIOS bug won't appear there. I've read through several Wiki pages and forum posts, but still don't really know how to proceed.
    Try a live-medium that starts in UEFI-mode. The easiest way would be using the latest Ubuntu. If you've switched your BIOS from legacy boot to UEFI first, Ubuntu should detect this and start in UEFI mode. So you could check if it solves your POST problem.
    If you want to try it with the latest Arch-ISO just follow the wiki for creating a UEFI bootable usb device. After booting this device, check if it really has booted in UEFI-mode
    PhotonX wrote:Second thing is, I've noticed that Grub1 is neither present in the repos, nor in the AUR any more. So if I uninstall it and something goes wrong, how to get Grub1 back?
    You can't (unless you are using an old Mac) . If you want UEFI and Grub, use grub-efi-x86_64.

  • [Solved]Which partitions...removed on Windows 8.1...laptop...dual boot

    I'm looking to dual boot Arch Linux and Windows on my laptop I recently purchased. It came with the following partition setup.
    I assume I can remove the backup partitions, but can I remove the 500 MB EFI partition and replace it with a new EFI System Partition? Will I also need a separate boot partition as well (or can the kernel images just go on the Linux partition)?
    Also, this guide does all of the partition management on Windows itself. Is this safer than using the gparted live-cd?
    Thanks in advance.
    Original title: Which partitions can be removed on Windows 8.1 OEM laptop to dual boot
    Last edited by avr (2015-01-24 21:27:48)

    Stop.
    Breathe.
    Read up on UEFI, EFI System Partitions, and EFI boot managers.
    avr wrote:
    WorMzy wrote:
    avr wrote:can I remove the 500 MB EFI partition and replace it with a new EFI System Partition?
    Why would you want to do this?
    Save space.
    This makes no sense.
    I heard the order of the partitions for booting on a UEFI system matters.
    It doesn't. Your ESP doesn't even need to be on the same disk as your OS.

  • I'm trying to create a Windows partition using Boot Camp. An error comes up telling me that I need to reformat my current partition(s) into one single partition. However, it's already formatted in the correct format, and is already a single partition.

    As made clear in the title:
    I'm trying to create a Windows partition using Boot Camp. An error comes up telling me that I need to reformat my current partition(s) into one single partition. However, it's already formatted in the correct format, and is already a single partition.
    My computer recently had a kernel panic, which apparently the corruption was in the system and needed to be erased and re-installed. I have a complete back-up using an external hard drive, and I am definitely not willing to do another one of those to reformat a partition that is already singular. I restarted the computer after ejecting my back-up, and after turning off time machine (thinking that boot camp was recognizing it as a secondary partition), however the error still occurs.
    Is there any way to get around this?

    diskutil list:
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *750.2 GB   disk0
       1:                        EFI                         209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            749.3 GB   disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                            Windows7               *2.9 GB     disk1
    diskutil cs list:
    No CoreStorage logical volume groups found
    mount:
    /dev/disk0s2 on / (hfs, local, journaled)
    devfs on /dev (devfs, local, nobrowse)
    map -hosts on /net (autofs, nosuid, automounted, nobrowse)
    map auto_home on /home (autofs, automounted, nobrowse)
    /dev/disk1 on /Volumes/Windows7 (udf, local, nodev, nosuid, read-only, noowners)
    From my very basic knowledge - it still looks as if there is only one partition (not including the windows 7 CD necessary to install the windows partition).

  • Lenovo W520 BIOS defect: not booting GPT partitioned Harddrive w/o UEFI

    Hi,
    again...the W520 BIOS seems to have a bug. I've tested it via several Notebooks and PC's and it's the ONLY one NOT starting. I'm using a GPT-partitioned Harddrive WITHOUT UEFI (which is absoluetly legal). The BIOS seems to check the boot flags and wont go furher after boot-select screen showing all present connected drivers. Other drivers (not GPT-partitioned) work fine on W520. The main questions here are: WHY IS THE BIOS CHECKING HARD-DRIVE-BOOT FLAGS??? and WHEN IS THIS GOING TO BE FIXED ON W520-BIOS? I need my PC for work, I try to earn money here..

    You have to write a boot entry into the EFI bootloader: https://bbs.archlinux.org/viewtopic.php … 0#p1090040

  • [solved]GRUB2 UEFI BIOS l

    Hi, I am about to install a new motherboard (ASUS M5A97 LE) unlike my current board it got a UEFI BIOS. I would of cause like to keep my existing systems arch and windows.
    https://wiki.archlinux.org/index.php/GR … _systems_2
    - Is it as easy" as creating a FAT32 partition.
    - Then arch-chroot into the system and follow the wiki from the above section?
    I do understand that this is very much a question asked before the fact...
    Last edited by cell (2013-03-25 11:46:28)

    Re. 1) Some people perceive it that way. I don't think that's fair. SecureBoot requires EFI but EFI doesn't require SecureBoot. My machine has the former but not the latter. On standard PC hardware, the current policy is that OEMs have to enable SecureBoot to use Windows 8 but that they must also ensure that it can be disabled (if I understand things correctly). If it is enabled, you will likely have to disable it in the BIOS unless you use e.g. Fedora which I think is signed off for SecureBoot though I'm not sure of the details.
    Re. 2) Yes. Good luck finding hardware which doesn't support EFI.
    What you probably do want to do is make sure you buy hardware which supports legacy boot for booting in BIOS mode. That gives you more flexibility, I think.
    Caveat: you should research this before buying. "My understanding" is not motivated by any current desire to part with my own hard-earned cash and therefore casually informed, at best.

  • How can I force mount a dvd that isn't even seen by Disk Utility? I can see it on the Mac when using my Windows 7 partition via Boot Camp, but not in Lion, which is how I would rather be running.

    How can I force mount a dvd that isn't even seen by Disk Utility? I can see it on the Mac when using my Windows 7 partition via Boot Camp, but not in Lion, which is how I would rather be running.

    Well if there is a EFI block, then running a program in OS X isn't going to do a lick of good.
    After all EFI was designed for Trusted Computing and Digital Rights Management, to act between the OS and hardware, can read drives, contact the Internet and everything.
    Windows doesn't use EFI, will have UEFI in Windows 8 though.

  • Which partitions can i safely delete in win 8.1 on g510

    I have amended the post as i wrote folders and I meant partitions. which partitions can I safely delete, I am not interested in onekey as I have added a smaller ssd drive. I am not sure if any boot details are hidden anywhere.

    sorry am not bumping i accidentally clicked the post before i wrote. My drive has been restored to an ssd, there are a number of partitions, which can i delete to allocate more space to c:

  • Which partition type option i use and when and why?

    hi
    i really confused with the types of partition available with essbase, i really want to know which partitioning option i use and in which situation and why should i use that partion type.
    ok

    Hi This kinda question is already answered in this forum many times.
    See the below threads, you will get a better idea of using partitions.
    Re: using partition in real time
    Re: Partition between Essbase and Hyperion Planning Cube
    Re: Transparent Partition - REQUEST HELP
    Re: partition aso to bso error

  • My adobe reader touch will not open, its telling me to refresh which is a form of recovery?

    My adobe reader touch will not open, its telling me to refresh which is a form of recovery?

    Hi Irosenth ,
    I was getting the below error when i saw the EventViewer.
    Error : Activation context generation failed for "C:\Program Files\Adobe\Reader 9.0\Reader\plug_ins\MyPlugin.api". Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",typ e="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
    Now i added the required Redistributables while packing all the files and tested it in target machine..
    All is Well Now..., Thanks you Very Much. ...
    Thanks and Regards,
    Chetan

  • I have Boot Camp running on a separate HD (not a partition on my Mac drive).  I would like to partition the PC HD to have a multi boot PC.  What is the proper way to do this and how do I select which partition to start the PC?

    I have Boot Camp running on a separate HD (not a partition on my Mac drive).  I would like to partition the PC HD to have a multi boot PC.  What is the proper way to do this? How do I select which partition to start the PC?

    I have Boot Camp running on a separate HD (not a partition on my Mac drive).  I would like to partition the PC HD to have a multi boot PC.  What is the proper way to do this? How do I select which partition to start the PC?

  • Installing Bootcamp - Which partition to choose

    I'm trying to install Windows XP SP2 via Bootcamp on my new MacBook Pro (Feb 2008 model). I've created the partition okay, but when the machine restarts into the installer I can't determine which partition to install it on.
    I've printed out the manual, and on page 9 there is a picture of the install set-up, clearly indicated is a partition marked "C: Partition 3 (BOOTCAMP) etc." however I'm not seeing the word "BOOTCAMP" in Setup and the lines I can see, are confusing with no clear indication which is the BOOTCAMP volume making it hard to determine which partition on which to install.
    Any advice would be greatly appreciated.

    One suggestion I can make coming from a windows and unix background is to make the partitions different sizes, hopefully that way if you've created a 50 gig windows partition, you'll be able to see that partition size in the setup screens. I'm making the wacky assumption here that the bootcamp setup process displays partitions size.

  • Which partition?

    Is there anyway to find out which particular partition has been made use of,from the explain plan of a query?
    I see something like the ones below in the explain plan..
    | Id  | Operation                              |  Name                  | Rows  | Bytes | Cost  | Pstart| Pstop |
    |12 |    PARTITION RANGE ALL                 |                        |       |       |       |     1 |   506 |but nothing informative of the Partition name.
    Thoughts plz..
    Regards,
    Bhagat

    If the query can be constrained to certain partitions only, then only those partitions will be used.
    E.g. table is defined a ranged partition with a partition per INVOICE_DATE. The SQL is:
    SELECT ..some stuff.. FROM invoice WHERE invoice_date BETWEEN :0 and :1
    The CBO can determine which partitions contains rows for that invoice data range.
    When the query cannot be constrained to certain partitions only, then all partitions need to be included.
    E.g
    SELECT ..some stuff.. FROM invoices WHERE cust_id = :0
    PS. The Pstart and PStop of the execution plan will indicate the above. A range of partitions, all partitions, or specific partitions. A partition range can also be given in the execution plan as a bind variable - i.e. the CBO will at runtime look at the bind values supplied and then determine the actual partitions to scan.

  • Which partition to choose?

    Dear Community. How lucky I discovered this forum. I hope you will be able to help me with my problem.My laptop x1 Carbon Win 8.1 doesn't really boot anymore, instead it keeps showing me Blue Screens!The only thing I can try now is to make a clean install. Here comes the point where I'm not totally sure. I actually don't want to keep anything at all, but which partition should I keep and which of the following ones should I delete? I'd like to delete all of them, however I don't know how many sub partitions I should make. Where should I reinstall Windows? So many questions, I hope you can help me!
    Laufwerk 0 Partition 1: WINRE_DRV 1000MB Recovery
    Laufwerk 0 Partition 2: SYSTEM_DRV 260 MB System
    Laufwerk 0 Partition 3 128 MB
    Laufwerk 0 Partition 4 95 GB MSR reserved
    Laufwerk 0 Partition 5: Lenovo_Recov 15.8 GB Recovery
    Laufwerk 0 Partition 6 7 GB OEM reserved

    hello.  clean install = don't delete anything. just run the installation will create all the partitions across disc. you don't want to keep anything, so you are ready. install to use entire drive.

  • Which partition type - formatting startup drive

    I just got a new white 2.16 intel imac. Before I put any data on it, I want to partition it to put a superduper sandbox on it.
    I've been reading about how to do it and the only thing I'm not sure about is which partition type to choose. So far I have read that on an intel, it needs to be GUID. I went into disk utility and clicked on info for Macintosh HD - and it says the partition type is Apple_HFS. This is not making sense to me.

    Not quite correct. GUID partition map is required to install Mac OS on an ICBM (Intel-chip-based Mac); however, you can clone a good ICBM system onto a HD/volume that's formated with the Apple partition map and it'll boot the ICBM.
    *For the OP*
    I strongly recommend getting an external, bootable FireWire/USB 2 HD, use something like Carbon Copy Cloner, SuperDuper!, Disk Utility, etc. to make a bootable backup/clone onto it, boot from it, ensure it looks and acts like the original, and then partition the internal HD. Reverse the process and you'll have what you started with and also the means to routinely backup your stuff.

Maybe you are looking for