invalid main GPT header after a memory swap
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I'm trying to safely move space from Windows 7/8/10 to Ubuntu (GPT + UEFI Mode) with this tutorial.
I tried to edit /etc/fstab
to tell it about the new swap and check if there were any changes in the UUIDs of any partitions in order to edit them if there were any. But when I launched the text-mode partitioning tools for Linux gparted it told me that the older Master Boot Record was valid
root@ubuntu:/home/ubuntu# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1
Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!
Caution! After loading partitions, the CRC doesn't check out!
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!
Warning! One or more CRCs don't match. You should repair the disk!
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: damaged
Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
1 - MBR
2 - GPT
3 - Create blank GPT
Your answer: 2
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6FAF53FA-01E2-4754-A71C-9AF3A67E5F84
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 1953525101 sectors (931.5 GiB)
Number Start (sector) End (sector) Size Code Name
root@ubuntu:/home/ubuntu#
Yet I had a quite different system :
And it should have been more or less like this :
dual-boot partitioning uefi gparted gdisk
add a comment |Â
up vote
1
down vote
favorite
I'm trying to safely move space from Windows 7/8/10 to Ubuntu (GPT + UEFI Mode) with this tutorial.
I tried to edit /etc/fstab
to tell it about the new swap and check if there were any changes in the UUIDs of any partitions in order to edit them if there were any. But when I launched the text-mode partitioning tools for Linux gparted it told me that the older Master Boot Record was valid
root@ubuntu:/home/ubuntu# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1
Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!
Caution! After loading partitions, the CRC doesn't check out!
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!
Warning! One or more CRCs don't match. You should repair the disk!
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: damaged
Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
1 - MBR
2 - GPT
3 - Create blank GPT
Your answer: 2
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6FAF53FA-01E2-4754-A71C-9AF3A67E5F84
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 1953525101 sectors (931.5 GiB)
Number Start (sector) End (sector) Size Code Name
root@ubuntu:/home/ubuntu#
Yet I had a quite different system :
And it should have been more or less like this :
dual-boot partitioning uefi gparted gdisk
You have Windows installed in BIOS boot mode which requires MBR. If you convert drive to gpt, then you destroy Windows. Your video is for a Windows in UEFI boot mode which is on a gpt partitioned drive. If you want UEFI with gpt, you will have to reinstall Windows in UEFI boot mode which only works on gpt drives. msdn.microsoft.com/en-us/library/windows/hardware/⦠& msdn.microsoft.com/en-us/library/windows/hardware/â¦
â oldfred
May 26 at 14:30
@oldfred Ha okay ! No, I just want to increase the Ubuntu size whatever maybe the Windows boot mod. Should I select1 - MBR
then ?
â ThePassenger
May 27 at 11:53
Use Windows to shrink NTFS partition(s). but it looks like you have to move multiple partitions as you have to move left and expand right. And move can be very slow. And interruption usually destroys partition as half of data is moved & half not or totally corrupted. So be sure to have good backups. I often find it easier to reinstall and restore from backups. Also confirms backups are valid. But most of my earlier restoreswere to a totally new partition, so I have old partition to fall back on for anything I missed.
â oldfred
May 27 at 20:19
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to safely move space from Windows 7/8/10 to Ubuntu (GPT + UEFI Mode) with this tutorial.
I tried to edit /etc/fstab
to tell it about the new swap and check if there were any changes in the UUIDs of any partitions in order to edit them if there were any. But when I launched the text-mode partitioning tools for Linux gparted it told me that the older Master Boot Record was valid
root@ubuntu:/home/ubuntu# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1
Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!
Caution! After loading partitions, the CRC doesn't check out!
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!
Warning! One or more CRCs don't match. You should repair the disk!
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: damaged
Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
1 - MBR
2 - GPT
3 - Create blank GPT
Your answer: 2
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6FAF53FA-01E2-4754-A71C-9AF3A67E5F84
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 1953525101 sectors (931.5 GiB)
Number Start (sector) End (sector) Size Code Name
root@ubuntu:/home/ubuntu#
Yet I had a quite different system :
And it should have been more or less like this :
dual-boot partitioning uefi gparted gdisk
I'm trying to safely move space from Windows 7/8/10 to Ubuntu (GPT + UEFI Mode) with this tutorial.
I tried to edit /etc/fstab
to tell it about the new swap and check if there were any changes in the UUIDs of any partitions in order to edit them if there were any. But when I launched the text-mode partitioning tools for Linux gparted it told me that the older Master Boot Record was valid
root@ubuntu:/home/ubuntu# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1
Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!
Caution! After loading partitions, the CRC doesn't check out!
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!
Warning! One or more CRCs don't match. You should repair the disk!
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: damaged
Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
1 - MBR
2 - GPT
3 - Create blank GPT
Your answer: 2
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6FAF53FA-01E2-4754-A71C-9AF3A67E5F84
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 1953525101 sectors (931.5 GiB)
Number Start (sector) End (sector) Size Code Name
root@ubuntu:/home/ubuntu#
Yet I had a quite different system :
And it should have been more or less like this :
dual-boot partitioning uefi gparted gdisk
edited May 26 at 12:05
asked May 26 at 8:52
![](https://i.stack.imgur.com/qCcfH.jpg?s=32&g=1)
![](https://i.stack.imgur.com/qCcfH.jpg?s=32&g=1)
ThePassenger
3951520
3951520
You have Windows installed in BIOS boot mode which requires MBR. If you convert drive to gpt, then you destroy Windows. Your video is for a Windows in UEFI boot mode which is on a gpt partitioned drive. If you want UEFI with gpt, you will have to reinstall Windows in UEFI boot mode which only works on gpt drives. msdn.microsoft.com/en-us/library/windows/hardware/⦠& msdn.microsoft.com/en-us/library/windows/hardware/â¦
â oldfred
May 26 at 14:30
@oldfred Ha okay ! No, I just want to increase the Ubuntu size whatever maybe the Windows boot mod. Should I select1 - MBR
then ?
â ThePassenger
May 27 at 11:53
Use Windows to shrink NTFS partition(s). but it looks like you have to move multiple partitions as you have to move left and expand right. And move can be very slow. And interruption usually destroys partition as half of data is moved & half not or totally corrupted. So be sure to have good backups. I often find it easier to reinstall and restore from backups. Also confirms backups are valid. But most of my earlier restoreswere to a totally new partition, so I have old partition to fall back on for anything I missed.
â oldfred
May 27 at 20:19
add a comment |Â
You have Windows installed in BIOS boot mode which requires MBR. If you convert drive to gpt, then you destroy Windows. Your video is for a Windows in UEFI boot mode which is on a gpt partitioned drive. If you want UEFI with gpt, you will have to reinstall Windows in UEFI boot mode which only works on gpt drives. msdn.microsoft.com/en-us/library/windows/hardware/⦠& msdn.microsoft.com/en-us/library/windows/hardware/â¦
â oldfred
May 26 at 14:30
@oldfred Ha okay ! No, I just want to increase the Ubuntu size whatever maybe the Windows boot mod. Should I select1 - MBR
then ?
â ThePassenger
May 27 at 11:53
Use Windows to shrink NTFS partition(s). but it looks like you have to move multiple partitions as you have to move left and expand right. And move can be very slow. And interruption usually destroys partition as half of data is moved & half not or totally corrupted. So be sure to have good backups. I often find it easier to reinstall and restore from backups. Also confirms backups are valid. But most of my earlier restoreswere to a totally new partition, so I have old partition to fall back on for anything I missed.
â oldfred
May 27 at 20:19
You have Windows installed in BIOS boot mode which requires MBR. If you convert drive to gpt, then you destroy Windows. Your video is for a Windows in UEFI boot mode which is on a gpt partitioned drive. If you want UEFI with gpt, you will have to reinstall Windows in UEFI boot mode which only works on gpt drives. msdn.microsoft.com/en-us/library/windows/hardware/⦠& msdn.microsoft.com/en-us/library/windows/hardware/â¦
â oldfred
May 26 at 14:30
You have Windows installed in BIOS boot mode which requires MBR. If you convert drive to gpt, then you destroy Windows. Your video is for a Windows in UEFI boot mode which is on a gpt partitioned drive. If you want UEFI with gpt, you will have to reinstall Windows in UEFI boot mode which only works on gpt drives. msdn.microsoft.com/en-us/library/windows/hardware/⦠& msdn.microsoft.com/en-us/library/windows/hardware/â¦
â oldfred
May 26 at 14:30
@oldfred Ha okay ! No, I just want to increase the Ubuntu size whatever maybe the Windows boot mod. Should I select
1 - MBR
then ?â ThePassenger
May 27 at 11:53
@oldfred Ha okay ! No, I just want to increase the Ubuntu size whatever maybe the Windows boot mod. Should I select
1 - MBR
then ?â ThePassenger
May 27 at 11:53
Use Windows to shrink NTFS partition(s). but it looks like you have to move multiple partitions as you have to move left and expand right. And move can be very slow. And interruption usually destroys partition as half of data is moved & half not or totally corrupted. So be sure to have good backups. I often find it easier to reinstall and restore from backups. Also confirms backups are valid. But most of my earlier restoreswere to a totally new partition, so I have old partition to fall back on for anything I missed.
â oldfred
May 27 at 20:19
Use Windows to shrink NTFS partition(s). but it looks like you have to move multiple partitions as you have to move left and expand right. And move can be very slow. And interruption usually destroys partition as half of data is moved & half not or totally corrupted. So be sure to have good backups. I often find it easier to reinstall and restore from backups. Also confirms backups are valid. But most of my earlier restoreswere to a totally new partition, so I have old partition to fall back on for anything I missed.
â oldfred
May 27 at 20:19
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040525%2finvalid-main-gpt-header-after-a-memory-swap%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
You have Windows installed in BIOS boot mode which requires MBR. If you convert drive to gpt, then you destroy Windows. Your video is for a Windows in UEFI boot mode which is on a gpt partitioned drive. If you want UEFI with gpt, you will have to reinstall Windows in UEFI boot mode which only works on gpt drives. msdn.microsoft.com/en-us/library/windows/hardware/⦠& msdn.microsoft.com/en-us/library/windows/hardware/â¦
â oldfred
May 26 at 14:30
@oldfred Ha okay ! No, I just want to increase the Ubuntu size whatever maybe the Windows boot mod. Should I select
1 - MBR
then ?â ThePassenger
May 27 at 11:53
Use Windows to shrink NTFS partition(s). but it looks like you have to move multiple partitions as you have to move left and expand right. And move can be very slow. And interruption usually destroys partition as half of data is moved & half not or totally corrupted. So be sure to have good backups. I often find it easier to reinstall and restore from backups. Also confirms backups are valid. But most of my earlier restoreswere to a totally new partition, so I have old partition to fall back on for anything I missed.
â oldfred
May 27 at 20:19