Posted by: kezhong | July 13, 2011

Solving GPT problem during the linux installation on CentOS5.6

After partitioning the disks when I installed CentOS 5.6, it gave me the following error message:
“Your boot partition is on a disk using the GPT partitioning scheme but this machine cannot boot using GPT”.
I searched the solution on the net, and someone said the protected MBR GPT partition entire needs to be deleted.
So I entered the rescue mode and deleted the MBR on the disks as below.
# dd if=/dev/zero of=/dev/sda bs=512 count=1
I reinstalled the system again, it worked.

About these ads


  1. this solution is good, i’ve tried it and it worked well. btw, for those who don’t know how to enter rescue mode, just press ctrl+alt+F2

    • Oh … thanx bro

    • thanks a lot it worked

  2. […]… Rate this: Share this:FacebookTwitterEmailPrintLike this:SukaBe the first to like this […]

  3. no, it doesnt work. It will complain that there is GPT signature but not GPT table.

  4. […] en tu idioma . Tutorial: Cómo convertir una Partición Protectora GPT a NTFS o … . Solving GPT problem during the linux installation on CentOS5.6 … . GPT SITES 2 « GPT […]

  5. it nice. i use it its working

  6. its working.tq

  7. Thanks Dear it works

  8. Thanks Dear its working fine

  9. Thanks! IT works!

    • can you tell me how to do it? its not working while i m trying to install Elastix which is CentOS based

  10. ys it worked for the install oracle Linux 5.5 in the IMB H22

  11. why not use the latest version 6.3 Centos. it installs ok decide in advance what partitions you want. you only need lots of partitions if you want to keep separate images why not just have /, /home, and a swap


    • Because there is no device manager to get the wireless to work.


  13. This solution does not delete windows disk partitions?

  14. Magic commands saving my life. Thanks a lot!! Nice! ;)

  15. Aw, this was an exceptionally good post. Taking a few minutes and actual effort to make a really
    good article… but what can I say… I hesitate a lot and don’t seem to get nearly anything done.

  16. done ,,, THanx a lot

  17. I really love your blog.. Great colors & theme.

    Did you create this website yourself? Please reply back as I’m planning to create my own personal website and want to know where you got this from or exactly what the theme is named. Kudos!

    • wordpress dude.

  18. Neat blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple tweeks would really make my blog jump out.
    Please let me know where you got your design. Cheers

  19. its working…save my butt….thanks.

  20. its not working for me, error of no dd command find

  21. i m trying for Elastix 2.3.0. facing this problem entered in rescue mode by pressing f5 ( as elastix give option for F5= rescue)

    • I able to make it run as per suggested
      # dd if=/dev/zero of=/dev/sda bs=512 count=1
      Instead i used this
      # dd if=/dev/zero of=/dev/sda bs=4096 count=1

      • its working !!! Thanks!!!

  22. Yo man Its working , Thanks for the post :))))))

  23. I hit ctrl-alt F2
    I typed in # dd if=/dev/zero of=/dev/sda bs=512 count=1
    I got a message back stating …

    1+0 records in
    1+0 records out

    I went back into the installation and got the same message, can any one help me with this?

    • bump, same problem as ed ^^

  24. Appreciating the commitment you put into your website and detailed information you
    present. It’s great to come across a blog every once in a while
    that isn’t the same old rehashed information.
    Wonderful read! I’ve bookmarked your site and I’m adding your RSS feeds to my Google account.

    • Why am I on this email list?

      Please remove me.

  25. thanks! conchetumare

    • thats so funny man you made my day. By the way if the command above doesn’t work for some of you I used CD loading utility called Knoppix. If you go to accessories and look for Disk Utilities format the drive using EXT 4 and problem surely to be resolved. They have various format utilities and options.

  26. thanks it was of great help. F12 worked for me.

  27. how to come out of rescue mode after deleting MBR

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s



Get every new post delivered to your Inbox.

Join 45 other followers

%d bloggers like this: