(Solved) How can I use GParted to convert MBR to GPT without data loss?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 5
- Posts: 522
- Joined: Sun Jun 07, 2015 10:42 am
- Location: China
(Solved) How can I use GParted to convert MBR to GPT without data loss?
I have Linux Mint 17.3 "Rosa" - Cinnamon (64-bit) on a live DVD.
I have an MBR HDD containing a system reserved partition, a Windows partition (C) and a data partition (D).
A new version of Windows 10 will be released next month, and I will clean install it.
Assuming I want to use GParted to convert MBR to GPT without data loss on partition D before clean installation in the UEFI mode, what should I do? Does the following work?
http://slavisa-jovanovic.com/linux/2015 ... o-gpt.html
I have an MBR HDD containing a system reserved partition, a Windows partition (C) and a data partition (D).
A new version of Windows 10 will be released next month, and I will clean install it.
Assuming I want to use GParted to convert MBR to GPT without data loss on partition D before clean installation in the UEFI mode, what should I do? Does the following work?
http://slavisa-jovanovic.com/linux/2015 ... o-gpt.html
Last edited by Matthew_Wai on Tue Apr 09, 2019 9:06 am, edited 1 time in total.
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
- austin.texas
- Level 20
- Posts: 12003
- Joined: Tue Nov 17, 2009 3:57 pm
- Location: at /home
Re: How can I use GParted to convert MBR to GPT without data loss?
Back up the data you want to keep to an external storage, and use Gparted > Device menu > New partition table > GPT
That will delete all existing data on the hard drive - which is why you need a complete backup.
That will delete all existing data on the hard drive - which is why you need a complete backup.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Linux Linx 2018
Re: How can I use GParted to convert MBR to GPT without data loss?
Yes, in my experience gdisk does work. But do make a backup, just in case.Matthew_Wai wrote: Does the following work?
http://slavisa-jovanovic.com/linux/2015 ... o-gpt.html
-
- Level 5
- Posts: 522
- Joined: Sun Jun 07, 2015 10:42 am
- Location: China
Re: How can I use GParted to convert MBR to GPT without data loss?
Open Terminal after booting it from the Linux DVD and then run the following (sda = my hard disk):
1. sudo gdisk /dev/sda
2. W
3. Y
Is that correct? Do I have to call GParted before running them?
1. sudo gdisk /dev/sda
2. W
3. Y
Is that correct? Do I have to call GParted before running them?
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
Re: How can I use GParted to convert MBR to GPT without data loss?
GParted isn't involved. You need a CD or DVD which has the gdisk command and that could be the GParted Live CD.
Assuming sda is still the hard disk if you boot from the CD/DVD, /dev/sda should be correct. And that looks like a lower case w on the site you linked to.
Sorry, but it's been a while since I converted the partition tables of my machines.
Assuming sda is still the hard disk if you boot from the CD/DVD, /dev/sda should be correct. And that looks like a lower case w on the site you linked to.
Sorry, but it's been a while since I converted the partition tables of my machines.
-
- Level 5
- Posts: 522
- Joined: Sun Jun 07, 2015 10:42 am
- Location: China
Re: How can I use GParted to convert MBR to GPT without data loss?
On GParted there is no way to convert MBR to GPT, but on Terminal there is. See the screenshot below.
What is the difference between gdisk and GParted?
If it were a GPT HDD, would the 'W' command convert it to MBR?
What is the difference between gdisk and GParted?
If it were a GPT HDD, would the 'W' command convert it to MBR?
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
Re: How can I use GParted to convert MBR to GPT without data loss?
What do you mean what's the difference between gdisk and GParted? They're two different programs! Why would you expect them to be the same?
According to gdisk's man page, the w command writes the changes made in the program's memory to disk. So if you started by asking gdisk to change a GPT disk to MBR (assuming there is such a function - I didn't check) then w would be the last step in the process.
Check out the man page for more info on gdisk.
According to gdisk's man page, the w command writes the changes made in the program's memory to disk. So if you started by asking gdisk to change a GPT disk to MBR (assuming there is such a function - I didn't check) then w would be the last step in the process.
Check out the man page for more info on gdisk.
-
- Level 5
- Posts: 522
- Joined: Sun Jun 07, 2015 10:42 am
- Location: China
Re: How can I use GParted to convert MBR to GPT without data loss?
GParted, Gdisk, and Fdisk are three different partition tools, and all of them are part of Linux Mint, right?
What is the URL of the Gdisk main page?
What is the URL of the Gdisk main page?
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
Re: How can I use GParted to convert MBR to GPT without data loss?
The gdisk webpage is http://www.rodsbooks.com/gdisk/
It has a link to the man page, among lots of other things, but using the command man gdisk in a terminal should bring that up as well.
It has a link to the man page, among lots of other things, but using the command man gdisk in a terminal should bring that up as well.
-
- Level 5
- Posts: 522
- Joined: Sun Jun 07, 2015 10:42 am
- Location: China
Re: How can I use GParted to convert MBR to GPT without data loss?
I did it without data loss.
I have Windows, UnionTech OS, and Linux Mint on the same HDD.
Re: (Solved) How can I use GParted to convert MBR to GPT without data loss?
Why are the jpg screenshots not visible in this thread?
Re: (Solved) How can I use GParted to convert MBR to GPT without data loss?
They were lost because it's such an old thread. If you have a question about this, please start a new thread. Thanks!
If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!