Results 1 to 6 of 6

Thread: Linux partition resize from MBR to > 2TB GPT

  1. #1
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts

    Linux partition resize from MBR to > 2TB GPT

    I'm resizing a partition that was created with fdisk. I want to resize from a partition less than 2TB to one greater than 2TB so I would need to use a GPT partition table. My question is if I delete the old partition (BIOS-based MBR) and create the new partition (as GPT) will it corrupt the partition table for my old data and make it inaccessible?

    Cheers
    To err is human. To really foul things up ... you need a computer.

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: Linux partition resize from MBR to > 2TB GPT

    That's a bit of a fringe question. Congratulations!

    The problem here is that it's not a MBR/GPT-based partition, it's a MBR/GPT-based partition table. And I don't know of a safe way to convert your partition table from one format to the other. So-called "hybrid" tables (where data exists for both formats) can't work, as the MBR table can't represent the >2TiB partition adequately

    Have you considered using multiple <2TiB partitions and joining them in software via something like LVM?

  3. #3
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts

    Re: Linux partition resize from MBR to > 2TB GPT

    Well I expected as much a response to be honest . It was a difficult one to Google for, but what did turn up was pretty much indeterminate.

    I have considered LVM, but next will be the carving support on the RAID card. I should have considered that first I think to be fair.

    Thanks for your help.
    To err is human. To really foul things up ... you need a computer.

  4. #4
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: Linux partition resize from MBR to > 2TB GPT

    Quote Originally Posted by yamangman View Post
    Well I expected as much a response to be honest . It was a difficult one to Google for, but what did turn up was pretty much indeterminate.

    I have considered LVM, but next will be the carving support on the RAID card. I should have considered that first I think to be fair.

    Thanks for your help.
    If you have no valuable data yet (crossed fingers), the carve a space, about 8 gig, for a MBR-based virtual disk to boot/install to, and the rest of your space as a >2TB GPT disk, for important data. Any distro will cope with the mix fine, and I did this myself last week

  5. #5
    Registered User
    Join Date
    Jul 2009
    Posts
    1
    Thanks
    0
    Thanked
    0 times in 0 posts
    • skodabenz's system
      • CPU:
      • Intel Core 2 Duo 2.26 GHz
      • Memory:
      • 4 GB RAM
      • Storage:
      • 320 GB HDD
      • Operating System:
      • Windows 7 x64, Fedora 11 x64

    Re: Linux partition resize from MBR to > 2TB GPT

    Try GPT fdisk - rodsbooks.com/gdisk . It has the ability to convert a disk from MBR (msdos disklabel) to GPT.

  6. #6
    Senior Member oolon's Avatar
    Join Date
    Mar 2007
    Location
    London
    Posts
    2,294
    Thanks
    150
    Thanked
    302 times in 248 posts
    • oolon's system
      • Motherboard:
      • Asus P6T6
      • CPU:
      • Xeon w3680
      • Memory:
      • 3*4GB Kingston ECC
      • Storage:
      • 160GB Intel G2 SSD
      • Graphics card(s):
      • XFX HD6970 2GB
      • PSU:
      • Corsair HX850
      • Case:
      • Antec P183
      • Operating System:
      • Windows 7 Ultimate and Centos 5
      • Monitor(s):
      • Dell 2408WFP
      • Internet:
      • Be* Unlimied 6 down/1.2 up

    Re: Linux partition resize from MBR to > 2TB GPT

    If you can carve it on your raid card you could also chop the disk space into 2000GiB sections, to allow for maximum compatibility, carving a boot space is also a good idea as suggested above is also. Generally its good idea to have the diskspace in a few sections so you don't have to everything off the array if you decide you want to carve some special spaces, but its of less use on a single computer raid card than a san, as you less likely to move things arround.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Looking Through Windows
    By Paul Adams in forum Software
    Replies: 16
    Last Post: 19-10-2018, 09:07 AM
  2. EEE 901 - Linux -> XP?
    By DevilMayCry42 in forum Help! Quick Relief From Tech Headaches
    Replies: 17
    Last Post: 22-08-2008, 02:57 PM
  3. GPT or MBR?
    By zaphox in forum Software
    Replies: 3
    Last Post: 06-06-2008, 11:37 AM
  4. can't resize partition
    By tommason in forum Software
    Replies: 1
    Last Post: 05-04-2008, 03:34 PM
  5. We heard your feedback on Newegg....
    By DR in forum General Discussion
    Replies: 33
    Last Post: 05-03-2005, 08:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •