http://wiki.ubuntu.cz/boot_info_script (http://wiki.ubuntu.cz/boot_info_script)
dd if=/dev/sdX of=/tmp/sda-mbr.bin bs=512 count=1
dd if= sda-mbr.bin of=/dev/sdX bs=1 count=64 skip=446 seek=446
The solution is to wipe the old GPT data. This can be done various ways, but the simplest is probably to use FixParts, which is designed for this and some other partition table repair tasks. Alternatively, you could use dd to wipe sector 1 (numbered from 0) and the final sector on the disk; that's where the GPT signatures that are confusing libparted reside.
Regardless of the sector size, the GPT header begins on the second logical block of the device.Předpokládám, že sektor 0 je OK, sektor 1 je ten druhý logický blok, kde je možná stále uložen GPT header a poslední sektor disku je GPT signature.
o tom, že by šlo přehazovat MSDOS MBR <-> GPT bez ztráty dat jsem nějak neslyšel - co jste ve skutečnosti provedl?
http://wiki.ubuntu.cz/boot_info_script (http://wiki.ubuntu.cz/boot_info_script)
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /grldr /bootmgr /Boot/BCD /grldr
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda6: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: According to the info in the boot sector, sda6 starts
at sector 2048.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 614,402,047 614,195,200 7 NTFS / exFAT / HPFS
/dev/sda3 614,402,048 824,117,247 209,715,200 7 NTFS / exFAT / HPFS
/dev/sda4 824,117,248 2,930,274,303 2,106,157,056 f W95 Extended (LBA)
/dev/sda5 824,119,296 832,507,903 8,388,608 7 NTFS / exFAT / HPFS
/dev/sda6 832,509,952 2,930,274,303 2,097,764,352 7 NTFS / exFAT / HPFS
GUID Partition Table detected, but does not seem to be used.
Partition Start Sector End Sector # of Sectors System
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 C0687FDE687FD1A0 ntfs Rezervováno systémem
/dev/sda2 3CCCC895CCC84B3A ntfs windows
/dev/sda3 84191197-3d60-4e65-9d92-499adccc7257 ext4 linux
/dev/sda5 3ab595fb-865c-4217-8476-349eb96911e9 swap swap
/dev/sda6 E8BE3483BE344BF6 ntfs DATA
/dev/sr0 iso9660 Linux Mint 15 Cinnamon 64-bit
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda3 /media/mint/linux ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sr0 /cdrom iso9660 (ro,noatime)
========================== sda1/grldr embedded menu: ===========================
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
========= Devices which don't seem to have a corresponding hard drive: =========
sdb sdc sdd sde
=============================== StdErr Messages: ===============================
No volume groups found
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start= 2048, size= 204800, Id= 7, bootable
/dev/sda2 : start= 206848, size=614195200, Id= 7
/dev/sda3 : start=614402048, size=209715200, Id= 7
/dev/sda4 : start=824117248, size=2106157056, Id= f
/dev/sda5 : start=824119296, size= 8388608, Id= 7
/dev/sda6 : start=832509952, size=2097764352, Id= 7
Kód: [Vybrat]fixparts /dev/sdaFixParts 0.8.5
Loading MBR data from /dev/sda
NOTICE: GPT signatures detected on the disk, but no 0xEE protective partition!
The GPT signatures are probably left over from a previous partition table.
Do you want to delete them (if you answer 'Y', this will happen
immediately)? (Y/N): y
Erasing GPT data!