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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-15-2013, 12:16 PM
|
#1
|
Member
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373
Rep:
|
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.
|
|
|
09-15-2013, 02:55 PM
|
#2
|
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
Rep: 
|
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.
|
|
|
09-15-2013, 07:49 PM
|
#3
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,385
|
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.
|
|
|
09-16-2013, 04:48 AM
|
#4
|
Member
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|