LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-02-2012, 07:12 PM   #1
gldearman
LQ Newbie
 
Registered: Jul 2009
Distribution: Ubuntu 10.04, 12.04
Posts: 7

Rep: Reputation: 0
Grub2 does not boot with GPT


Hi, all,

On my new computer, the OS is installed correctly, but grub2 will not boot. The only way to boot the system is with the Super Grub2 Live CD.

I'm setting up a new system. The HDD was clean, and there was no OS or other software installed.

The computer uses UEFI firmware instead of traditional BIOS. I partitioned the hard drive using GPT instead of the traditional MBR partitioning scheme.

I intend to make an OS-independent, dedicated grub2 partition. I thought it might be easier, though, to just install my first distro in the normal way, and then create the grub2 partition later.

I did my partitioning with the GParted Live CD. Then, the first distro I attempted to install was Ubuntu 12.04.

The relevant partitions are:
  • The first 1 MB of the hard drive was reserved, and not included in any partition. I'm assuming this is a GPT thing; perhaps the protective legacy MBR area of the disk?
  • sda1 is a 1 MB partition, formatted ext2, marked as type "BIOS Boot Partition." I have no idea what this is. When I attempted to install Ubuntu, the installer told me this had to be created because I was using GPT. I don't know what it meant, but I let it do what it wanted.
  • sda2 is a 64 MB partition, formatted ext2, that is intended to be the future grub2 dedicated partition.
  • sda3 is an ext4 partition where Ubuntu is installed.

The computer will not boot from the hard drive. However, if I boot from the Super Grub2 LiveCD, the disc can detect Ubuntu and successfully boot it. The Super Grub2 CD is not detecting any grub installations. It is detecting a grub.cfg file on sda3.

Does anyone know what I need to do to fix this?

Thanks for any help anyone can give me!
 
Old 07-02-2012, 07:47 PM   #2
gldearman
LQ Newbie
 
Registered: Jul 2009
Distribution: Ubuntu 10.04, 12.04
Posts: 7

Original Poster
Rep: Reputation: 0
Ummm never mind.

Code:
sudo grub-install /dev/sda
worked just fine. I was pretty sure I had already tried that and failed, but I thought I'd try it again. So, problem solved. Thanks for looking.
 
  


Reply

Tags
boot failure, gpt, grub2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot Gentoo + Windows 7 on a GPT disk Hammett Linux - General 0 01-11-2012 03:03 PM
[SOLVED] Slackware 13.37 - gdisk choices, MBR, GPT or Blank GPT CFet Slackware - Installation 3 04-01-2011 04:46 PM
Disk Partitions for dual boot with Windows 7 GPT/EFI motiv8d1 Linux - General 2 01-10-2011 06:22 PM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 02:39 PM
gpt and mbr out of sync after every ubuntu boot on my macbook cbiscuit Linux - General 1 11-02-2007 02:04 PM


All times are GMT -5. The time now is 09:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration