Answer the question
In order to leave comments, you need to log in
Is it possible to mbr to gpt without losing information on the system partition?
The question is - there is an installed windows 7 x64 on a disk with mbr. Recently, the system supports UEFI and I want to create a gpt disk, but there is absolutely no desire to reinstall the system. Google did not help, so I decided to turn to Habr.
Is it possible to do this without reinstalling ?
Answer the question
In order to leave comments, you need to log in
MBR to GPT can be converted using the gdisk utility.
Open the desired disk: gdisk /dev/sdX
Enter the command w
, confirm the changes and the MBR disk will automatically be converted to GPT.
howto-press.blogspot.ru/2012/08/mbr-gpt_6.html
the risk of transfer is that you change the partition table and with any shift in the address space you will lose partitions (not only the system one), so IMHO the game is not worth the candle
Changing the partition table overwrites only its sectors, but does not touch unnecessary data, otherwise it would be terribly slow and sad.
GPT stores itself in the first and last 40 sectors of the disk (like 34 at the beginning and 32 at the end). MBR - in the first 63. In
total, we will certainly operate with sectors! (on the example of GNU parted - unit s)
0) See the existing markup, rewrite it on a piece of paper.
1) check that 40 sectors should be free after the last partition. If not, resize the partition.
There is a priori space in front of the partitions - MBR takes up more space at the beginning of the disk than GPT
2) create a new GPT header (mklabel gpt)
3) create partitions by sectors 1v1 like those that were
4) FS should not notice anything
I can’t guarantee that Windows will start up correctly if it is suddenly slipped the wrong partition table to which it is used.
Well, of course, only having backups of all important data.
IMHO, no. These are two different approaches to disk partitioning. In fact, the operation is correctly called " formatting the disk in GPT format".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question