LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-15-2013, 12:16 PM   #1
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Rep: Reputation: 21
Moving from MBR to GPT on a 3 year old T4400, Intel ICH9 based laptop.


Since GPT has some advantages MBR doesn't have, I would like to ask this pertinent question:
Is it possible to keep all data on the HD and upgrade from MBR to GPT? I learnt that GRUB PC can recognize GPT even though the mobo's firmware might not have an idea.

Last edited by edbarx; 09-15-2013 at 12:23 PM.
 
Old 09-15-2013, 02:55 PM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,900
Blog Entries: 31

Rep: Reputation: 181Reputation: 181
Maybe ... maybe not. GPT needs more space at the front AND at the end of the drive. If your existing partitions occupy those spaces, then the answer is no. But you might be able to move or shrink partitions a bit before the change. I always recommend making TWO backups before any change like this.

Sorry, I don't know about GRUB. I suspect only the latest version is usable for this. Linux will recognize the GPT partitions at boot or by running partprobe.
 
Old 09-15-2013, 07:49 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,385

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
You can do almost anything to partitions - including screw them royally. See the comment above re backups. Plural.

You (probably) can't simply convert to gpt and expect everything to "just work". Grub will need a separate boot partition - plenty of article on the web, but will re-install cleanly if that exists.
 
Old 09-16-2013, 04:48 AM   #4
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
It is difficult to imagine why my post should cause irritation. GPT has obvious advantages over MBR for at least two reasons which are very relevant to a situation like mine. With MBR, my data and bootability is at the mercy of the first sector, 512 bytes in all with the partition table taking just 64 bytes. These 64 bytes of data comprise an array of 4 records which determine the bounds of the four primary partitions that an MBR disk can hold. Extended partitions are nothing more than a primary partition seen as a linked list of partitions. If one link within this chain of partitions is damaged, the rest is lost! GPT neatly resolves these limitations with the added benefit of dublication at the end of the disk.

Even though the BIOS might be unaware of GPT, grub-pc can still boot because its primary stage is stored in the first sector which is not used by GPT. Since, the primary bootloader (a mere 446 bytes of executable code) only reads a series of sectors, logic dictates that booting should be unaffected.

The above two advantages are inviting me to consider upgrading from MBR to GPT.

Last edited by edbarx; 09-16-2013 at 04:50 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed Ubuntu on Win8 laptop - but only MBR works, GPT does not...? JaSauders Linux - Hardware 2 04-23-2013 02:58 PM
GPT vs MBR asipper Linux - General 9 12-23-2011 08:29 PM
GPT MBR Mismatch NickL Linux - Newbie 0 08-20-2011 06:31 AM
[SOLVED] Slackware 13.37 - gdisk choices, MBR, GPT or Blank GPT CFet Slackware - Installation 3 04-01-2011 04:46 PM
GPT to MBR mrwall-e Linux - Software 3 08-26-2010 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration