Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 76

Thread: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

  1. #61
    Join Date
    Jul 2009
    Beans
    12
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

    How are you suggesting we use gdisk? from the recovery menu, selecting option g?

    In my case, when I ran gparted, I got the following configuration:
    Current GPT partition table:
    # Start LBA End LBA Type
    1 40 409639 EFI System (FAT)
    2 409640 711385767 Mac OS X HFS+
    3 711387136 711389183 Unknown
    4 711389184 965910527 Basic Data
    5 965910528 976773119 Linux Swap

    Current MBR partition table:
    # A Start LBA End LBA Type
    1 1 409639 ee EFI Protective
    2 * 409640 711385767 af Mac OS X HFS+
    3 1 711389183 ee EFI Protective
    4 711389184 965910527 83 Linux

    Status: GPT partition of type 'Unknown' found, will not touch this disk.

    Will gdisk handle this "unknown" partition?

    Sorry, I'm a bit of a novice at dealing with partitions. I've used gparted before, but never had to mess with GPT vs. MBR issues.

  2. #62
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  3. #63
    Join Date
    Mar 2010
    Location
    Woonsocket, RI USA
    Beans
    3,195

    Re: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

    Quote Originally Posted by rabidcentipede View Post
    How are you suggesting we use gdisk? from the recovery menu, selecting option g?
    No, option 'h' from the recovery & transformation menu. The 'g' option converts GPT to MBR (wiping out the GPT data structures). See my page on hybrid MBRs for all the gory details.

    Will gdisk handle this "unknown" partition?
    Yes. The partition is only "unknown" to gptsync. GPT fdisk will accept any partition as one to hybridize, whether or not it recognizes its type code. (You can adjust its MBR type code as you see fit.)

  4. #64
    Join Date
    May 2009
    Beans
    5

    Re: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

    Hi,

    i had a working dual boot setup with OSX and Ubuntu until yesterday where i tried to reinstall grub2 during a lucid install to a unused partition. Now i can no longer boot linux, when i choose one of the linux partitions in rEFIt either a totaly black screen or a black screen whith a blinking cursor shows up.

    i think my hybrid mbr/gpt partition table is messed up and thats why i cant install grub cleanly. right now it looks like: (i didnt know that no extended mbr partitions are possible in a hybrid setup, thats why there are so many partitions)

    Code:
    root@ubuntu:/var/tmp# gptsync /dev/sda
    
    Current GPT partition table:
     #      Start LBA      End LBA  Type
     1             40       409639  EFI System (FAT)
     2         411648      2514943  EFI System (FAT)
     3        2514944      8374271  Linux Swap
     4        8374272     27903999  EFI System (FAT)
     5       27904000     47433727  EFI System (FAT)
     6       47433728     86496231  Mac OS X HFS+
     7       86758376    976510983  Mac OS X HFS+
    
    Current MBR partition table:
     # A    Start LBA      End LBA  Type
     1              1       409639  ee  EFI Protective
     2 *       411648      2514943  83  Linux
     3        2514944      8374271  82  Linux swap / Solaris
     4        8374272     27903999  83  Linux
    
    Status: Tables are synchronized, no need to sync.
    when i try to install grub it shows:

    Code:
    grub-install  /dev/sda  /usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
    so i guess the fact that grub does not find the bios partition table could be the problem.

    any ideas what i have to do to fix it? why does gptsync find the mbr(=bios?) partition table and grub doesnt?

    installing grub to one of the other linux partitions (which would be ok for me) gives an error as well (something about embedding not possible / unreliable block lists)

  5. #65
    Join Date
    Jul 2009
    Beans
    12
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

    Quote Originally Posted by linuxopjemac View Post
    This still doesn't work for me.

    Now, I just get this error:

    Code:
    Current GPT partition table:
     #      Start LBA      End LBA  Type
     1             40       409639  EFI System (FAT)
     2         409640    711385767  Mac OS X HFS+
     3      711387136    711389183  BIOS Boot Partition
     4      711389184    965910527  Basic Data
     5      965910528    976773119  Linux Swap
    
    Current MBR partition table:
     # A    Start LBA      End LBA  Type
     1              1       409639  ee  EFI Protective
     2 *       409640    711385767  af  Mac OS X HFS+
     3              1    711389183  ee  EFI Protective
     4      711389184    965910527  83  Linux
    
    Status: MBR partition table is invalid, partitions overlap.

  6. #66
    Join Date
    Feb 2005
    Beans
    22

    Re: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

    i have the same error in gptsync. When I installed Lucid I installed grub to /dev/sda. it would seem like this is the cause of the problem, however refit functions exactly as it should booting both OS X and Ubuntu properly. The only glitch is that know there is like a 20 second pause before the refit boot screen which never happened in the past when i installed grub to /dev/sda3.this is my output from refit gptsync.

    Last edited by ne0genius; May 6th, 2010 at 04:58 AM.

  7. #67
    Join Date
    Mar 2010
    Location
    Woonsocket, RI USA
    Beans
    3,195

    Re: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

    A few points:


    • The gtpsync program generates a hybrid MBR, which is required to let certain versions of Windows boot from a GUID Partition Table (GPT) disk.
    • Linux can boot from a GPT disk just fine, so in theory you don't need a hybrid MBR; however, I'm unfamiliar with the finer points of booting Linux from GPT on a Mac, so I don't know if there might be certain limitations or requirements in that environment if you do away with the hybrid MBR in favor of a more conventional protective MBR. I know I've run across a Web page somewhere with lots of information on this, but I'm afraid I don't have it bookmarked.
    • To klausenm: Your GUID Partition Table includes four EFI System partitions, some of which are quite large. I suspect that all but the first of these should actually be marked as Basic Data (GUID partition type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7), which is what both Linux and Windows use to identify their OS and data partitions. (Maybe one should be Linux swap, 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F.) I don't know if changing these type codes would help at all with your problem, but it might. AFAIK, my own GPT fdisk is the only Linux utility that can change GPT type codes without affecting the contained filesystem. It's possible that the text-mode diskutil or gpt utilities under OS X can do so, but I'm not very familiar with them, so I'm not sure of that, one way or the other.
    • The BIOS Boot Partition (GUID type code 21686148-6449-6E6F-744E-656564454649) is used by GRUB 2 on BIOS-based computers. AFAIK, it's not used by GRUB 2 on EFI-based systems such as Macs, but it's possible that I'm misunderstanding something. If GRUB 2 is complaining about the lack of a BIOS Boot Partition, then perhaps it thinks it's running on a BIOS-based system (perhaps because of how Boot Camp works), or maybe it's just plain confused, or maybe I'm mistaken on this score. The BIOS Boot Partition can be quite small (as small as 30-something KB).
    • klausenm, you've got room between your two OS X partitions to create a BIOS Boot Partition; however, doing so will violate Apple's partitioning requirements, with the result that you may have problems with future OS X installations or upgrades. In any event, the GRUB 2 complaints about the BIOS Boot Partition are warnings, not errors -- it's just telling you about a limitation, not saying that it won't work. See the GRUB documentation on the BIOS Boot Partition for details.

  8. #68
    Join Date
    Mar 2007
    Location
    Easley, SC
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

    Quote Originally Posted by rabidcentipede View Post
    This still doesn't work for me.

    Now, I just get this error:

    Code:
    Current GPT partition table:
     #      Start LBA      End LBA  Type
     1             40       409639  EFI System (FAT)
     2         409640    711385767  Mac OS X HFS+
     3      711387136    711389183  BIOS Boot Partition
     4      711389184    965910527  Basic Data
     5      965910528    976773119  Linux Swap
    
    Current MBR partition table:
     # A    Start LBA      End LBA  Type
     1              1       409639  ee  EFI Protective
     2 *       409640    711385767  af  Mac OS X HFS+
     3              1    711389183  ee  EFI Protective
     4      711389184    965910527  83  Linux
    
    Status: MBR partition table is invalid, partitions overlap.
    I'm having the EXACT same error. I'm wondering what would happen if I deleted the second EFI partition which seems to be causing the issue. It looks shouldn't be there and appears to be the cause of all the problems. Just not looking forward to having to do a full restore if I'm wrong.
    Last edited by aramisbear; May 9th, 2010 at 03:22 AM.

  9. #69
    Join Date
    May 2010
    Beans
    1

    Re: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

    Quote Originally Posted by rabidcentipede View Post
    This still doesn't work for me.

    Now, I just get this error:

    Code:
    Current GPT partition table:
     #      Start LBA      End LBA  Type
     1             40       409639  EFI System (FAT)
     2         409640    711385767  Mac OS X HFS+
     3      711387136    711389183  BIOS Boot Partition
     4      711389184    965910527  Basic Data
     5      965910528    976773119  Linux Swap
    
    Current MBR partition table:
     # A    Start LBA      End LBA  Type
     1              1       409639  ee  EFI Protective
     2 *       409640    711385767  af  Mac OS X HFS+
     3              1    711389183  ee  EFI Protective
     4      711389184    965910527  83  Linux
    
    Status: MBR partition table is invalid, partitions overlap.
    I am also see this exact same error. Ubuntu and OSX both boots up just fine though, but I can't do anything to remove the ubuntu partition if i wanted to. In OSX disk utility, I can't modify any partitions because they're all in the MBR. I'd like to resize the Ubuntu partition as well as try reinstall from scratch.

  10. #70
    Join Date
    May 2010
    Location
    Dallas
    Beans
    12
    Distro
    Ubuntu Studio 10.10 Maverick Meerkat

    Re: gptsync: GPT partition of type 'Unknown' found, will not touch this disk.

    If you want to reinstall, follow the instructions here.

    If you don't want to clicky, here's how you go about fixing this. Don't ask my why or how it works, because I don't really know. But it does work, on my revA MacBook (1,1) and on Jacques4x4's machine (whatever it is).

    1. Boot from OSX install disc, run Disk Utility, and format your HD with GUID partition table.
    2. Reinstall OSX (hopefully from a backup, and if you have a bootable backup, say with CCC or some other cloning tool, you can boot from the backup, use Disk Utility there, and then just clone the drive over).
    3. Boot into OSX from the fresh copy on your HD.
    4. Get rEFIt.
    5. Use BootCamp to partition your drive.
    6. Boot from Lucid install disc, open gparted, delete the Bootcamp partition.
    7. You should see three partitions: EFI, OSX, and Free Space.
    8. At the beginning of Free Space, create a small partition for GRUB (I used 512mb) and format it NTFS.
    9. Save changes.
    10. Click the install icon on LiveCD desktop.
    11. Go through the first couple of screens (language, location, etc.). When it asks you where you want to install Ubuntu, choose 'Specify partitions manually' or whatever it says. The last option anyway.
    12. Select the partition you just created (should be /dev/sda3). Choose Change --> use as NTFS. For Check Format, choose 'mount point = /windows.'
    13. Select the free space. Within the free space, create a large partition for Ubuntu at the beginning of the free space (for the Ubuntu portion, choose 'Use as Ext4,' mount point = / ), and build a smaller partition (equivalent to the amount of RAM in your machine) for the swap (choose Add --> use as Swap).

    If everything worked properly, you should now have 5 partitions (sda1: EFI; sda2:OSX; sda3:NTFS; sda4:Ubuntu; sda5:Swap).

    14. Go through the rest of the installation. On the last screen, click the Advanced button and choose to install GRUB at /dev/sda3. Without the above steps (ie. creating the special partition for GRUB, and the one for Ubuntu and the Swap) you will not have an option for /dev/sda3 and GRUB will install itself to /dev/sda, thereby turning your entire HD into MBR, and thus creating the overlapping partition map.
    15. Let Ubuntu install itself.
    16. After installation of Ubuntu, restart. At rEFIt, choose the partition tool and resync. It should now work flawlessly.
    17. Power off.
    18. Power on, rockandroll.

    Unfortunately, I'm unaware of a fix without a complete wipe and reinstall. If one exists, I hope someone will correct me.

    The problem is that without manually specified partitions, GRUB plants itself in /dev/sda, and by doing so creates the overlapping partition map.

    I hope this helps, and it should as long as you don't mind wiping your drive and installing everything from scratch (or a bootable backup).

Page 7 of 8 FirstFirst ... 5678 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •