LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 04-17-2011, 08:56 AM   #1
garbagegigo@gmail.com
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Rep: Reputation: 0
Question "SDA must have a GPT disk label" error while installing RHEL6 - "IBM x3650 M3" Server


Hi everyone,

I work at a corporation where we have to install RHEL6 on an "IBM System x3650 M3" server. We have configured RAID-5 on a 5 disk array (each disk is 300 Gb) using the "MegaRaid Config Utility" that comes packaged with the IBM server.

We created a few partitions as per our requirments and put the file-system on these partitions as "ext4". But when we press the next button, the following problems come up:

1.) First it says that /boot/efi partition isn't created.
---- I simply created /boot/efi partition with a file-system type of "EFI System Partition"

2.) After performing the above step and trying to go forward using the next button, it shows an error saying "sda must have a GPT disk label".

Now we are stumped at this point. I tried searching Google, tried reading tutorials for installing RHEL6 but to no avail.

I saw in many places, they use gpart to create a GPT disk label, but in our case, we can't even boot Linux so how can we use gpart? I also checked if there was a text mode for the installer, but the installation CD automatically goes into GUI based mode and doesn't prompt for it or anything.

If anybody knows the answer, please help me.

Thanks in advance.
 
Old 04-17-2011, 06:00 PM   #2
brian-va
Member
 
Registered: Dec 2009
Distribution: Debian
Posts: 46

Rep: Reputation: Disabled
you can use the gparted live cd
 
Old 04-17-2011, 07:53 PM   #3
garbagegigo@gmail.com
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Hi brian,

thanks for the answer. But could you please explain what is happening to me??

thanks
 
Old 04-17-2011, 08:44 PM   #4
brian-va
Member
 
Registered: Dec 2009
Distribution: Debian
Posts: 46

Rep: Reputation: Disabled
Not too sure as I don't use RHEL. The gparted live cd will allow you to boot into a live environment and create the required GPT partitions, then you can try installing again.
 
Old 04-18-2011, 02:11 AM   #5
garbagegigo@gmail.com
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Cool

Hi everyone,

Just wanted to let you know that we solved the problem. I have detailed the steps below:

1.) The need for the "GPT Disk Label" was still there but we worked around the problem by first choosing one of the default setups for RHEL6. We let the default-setup format and prepare the file-system as it pleased and I am guessing that it created a "GPT Disk Label" for our disk.

2.) Once it had created and formatted the partitions, we just canceled the setup and rebooted the server. At this stage, my guess would be that the RHEL6 setup did everything that was necessary to prepare the file-system -- including creating a "GPT Disk Label".

3.) After rebooting, we simply entered setup again and choose the 'custom installation' and created partitions according to our specifications.

4.) Hitting the next button did the trick and we got to the next stage of installation.

Thanks for everyone for helping out...
 
Old 04-18-2011, 07:49 AM   #6
neonate
LQ Newbie
 
Registered: Mar 2011
Posts: 10

Rep: Reputation: 0
Ok thanks buddy for ur good post.
I also had done the same thing the very before, yup it sort-out the problem for instant however i would like to know the
stable and the reliable solution for future.

if u do have any other solution i would like know it.

thanks for your co-operation
 
Old 12-14-2012, 04:09 PM   #7
erez.rsd
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
Smile Have the same issue

I'll go ahead and try your workaround which looks promising and get back to let you know who it went.
Thanks
 
Old 03-31-2013, 08:33 AM   #8
benjulios
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
Wink A simpler way ?

First of all thank you for your thread ! I had the same pb with RHEL6.3 + IBM HS23 blades
To put the GPT label i followed the follwoing procedure ( my disk was /dev/sda ) :

inject "CTRL+ALT+F2" during your installation process to go on command line with 'parted' utility.
Code:
# parted   
parted > # print /dev/sda          => check partition type here , it should be set as something different from 'gpt'         
parted > # mklabel gpt /dev/sda    => modify the label 
parted > # print /dev/sda          => Check that label has been taken into account 
parted > # quit
then return to installation process with CTRL+ALT+F1

Everything should now be fine with your custom partitionning . Don't forget to create a /boot/efi by selecting it in the dropdown menu . DO NOT TRY to type it yourself as partition type will not be the good one ( EXT4 instead of EFS File system )

I hope this help!
 
Old 09-06-2013, 05:03 AM   #9
piyush.sh143
LQ Newbie
 
Registered: Sep 2013
Posts: 1

Rep: Reputation: Disabled
hello buddy
i have dual boot system and your above solution is change hard disk label to gpt and it will distory my windows also. so give me a solution by which i can solve gpt label problem with out harming my windows version
 
Old 09-06-2013, 08:38 AM   #10
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,827

Rep: Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369
Quote:
Originally Posted by piyush.sh143 View Post
hello buddy
i have dual boot system and your above solution is change hard disk label to gpt and it will distory my windows also. so give me a solution by which i can solve gpt label problem with out harming my windows version
This original thread is two years old now, and doesn't involve keeping data on the disk. You need to open your own thread for your own question. Also, you need to provide actual details...things like version/distro of Linux, your system setup, your goals, etc.
 
Old 11-05-2013, 02:44 AM   #11
narendra42074
LQ Newbie
 
Registered: Nov 2013
Posts: 3

Rep: Reputation: Disabled
GPT Disk error in duel boot

Hi everyone,

When i installing rhel for duel booting the problem is with GPT disk label error when i click on INSTALL IN FREE SPACE in rhel it is showing that SDA must have a GPT disk label,Please help on this issue.

Thanks
 
Old 11-05-2013, 07:42 AM   #12
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,827

Rep: Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369Reputation: 2369
Quote:
Originally Posted by narendra42074 View Post
Hi everyone,
When i installing rhel for duel booting the problem is with GPT disk label error when i click on INSTALL IN FREE SPACE in rhel it is showing that SDA must have a GPT disk label,Please help on this issue.
As we told piyush.sh143, this original thread was two years old, and to not re-open old threads, nor to post their own question on someone elses. Per the LQ Rules, start a new thread for a new question.

And this has been answered in this thread previously...did you read/understand/try any of the workarounds or suggestions listed? Gparted? Have you contacted Red Hat Support, since you're using RHEL?
 
Old 02-25-2014, 05:34 PM   #13
RV11
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
Thumbs up

Thanks for the info. I have updated user "benjulios" reply to make it correct for my system which did not allow a disk mention in the mklabel command in parted, instead one has to "select" the disk first (this is using centos 6.5);

Quote:
Originally Posted by benjulios View Post
UPDATED procedure ( my disk was /dev/sdb - if yours is /dev/sda then change all commands to /dev/sda ) :

inject "CTRL+ALT+F2" during your installation process to go on command line with 'parted' utility.
Code:
# parted   
(parted) print /dev/sdb         
(parted) select /dev/sdb          
(parted) mklabel gpt 
(parted) yes
(parted) print /dev/sdb    
(parted) quit
then return to installation process with CTRL+ALT+F6 and either follow user "benjulios" instructions, or use the right selection (from the disk partitioning/"what type of installation would you like" menu screen). I just selected "replace existing linux systems", added the right disk for my case and then edited the partitioning layout to suit.)
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl: how to save an e-mail attachment on disk keeping the "&" character (no "%26"!!) d1s4st3r Programming 5 09-29-2010 09:30 PM
anybody familiar with this error "Xlib: connection to ":0.0" refused by server" ? rajnivanza Linux - Newbie 3 03-22-2009 05:10 PM
"Failed Dependency error" while installing RPM for "DateTime" perl modules giridhargopal.cj Linux - Newbie 7 11-19-2008 12:05 AM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
"YOU" says "could not write server list to disk" dushkinup Linux - Distributions 4 07-26-2004 12:01 PM


All times are GMT -5. The time now is 03:09 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