Hirdetés

Új hozzászólás Aktív témák

  • csixy

    addikt

    válasz ubyegon2 #70783 üzenetére

    Na ezt a partíciós táblát már most nem értem, de így hagyom, mert működik. Az MBR-nek hybridnek kellene lenni ,s nem protectivnek és a 0xEE-nek 1-től 2047-es szektorig kellene tartania. Gondolom, hogy ez blokkolósdi veszélye. Egy h betűs akcióval helyre lehetne hozni gdiskkel, de nem nyúlok bele, mert félek, hogy elrontom a belakott jól működő rosszul configolt partíciós táblájú rendszert. Reménykedem, hogy a Legacy nem rondít bele a GPT rendszerbe és csak a swapot, meg a két ext4-es partíciót fogja kezelgetni.

    [noki@no-kipc ~]$ sudo gdisk /dev/sdb
    [sudo] noki jelszava:
    GPT fdisk (gdisk) version 1.0.4
    Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: present
    Found valid GPT with protective MBR; using GPT.
    Command (? for help): r
    Recovery/transformation command (? for help): p
    Disk /dev/sdb: 488397168 sectors, 232.9 GiB
    Model: Disk
    Sector size (logical/physical): 512/512 bytes
    Disk identifier (GUID): 3342A4F5-BD19-4286-B229-DA231F69C3CF
    Partition table holds up to 128 entries
    Main partition table begins at sector 2 and ends at sector 33
    First usable sector is 34, last usable sector is 488397134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 2349 sectors (1.1 MiB)
    Number Start (sector) End (sector) Size Code Name
    1 2048 16779263 8.0 GiB 8200
    2 16779264 251660287 112.0 GiB 8300
    3 251660288 486541311 112.0 GiB 8300
    4 486541312 488396799 906.0 MiB EF00
    Recovery/transformation command (? for help): o
    Disk size is 488397168 sectors (232.9 GiB)
    MBR disk identifier: 0xA60A1D89
    MBR partitions:
    Number Boot Start Sector End Sector Status Code
    1 1 488397167 primary 0xEE
    Recovery/transformation command (? for help): q
    [noki@no-kipc ~]$

    De mégiscsak megcsináltam, mert ezt a desznóságot nem hagyhattam úgy. Remélem hogy újraindítás után is fog mindenhogy menni.
    [noki@no-kipc ~]$ sudo gdisk /dev/sdb
    [sudo] noki jelszava:
    GPT fdisk (gdisk) version 1.0.4
    Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: present
    Found valid GPT with protective MBR; using GPT.
    Command (? for help): r
    Recovery/transformation command (? for help): p
    Disk /dev/sdb: 488397168 sectors, 232.9 GiB
    Model: Disk
    Sector size (logical/physical): 512/512 bytes
    Disk identifier (GUID): 3342A4F5-BD19-4286-B229-DA231F69C3CF
    Partition table holds up to 128 entries
    Main partition table begins at sector 2 and ends at sector 33
    First usable sector is 34, last usable sector is 488397134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 2349 sectors (1.1 MiB)
    Number Start (sector) End (sector) Size Code Name
    1 2048 16779263 8.0 GiB 8200
    2 16779264 251660287 112.0 GiB 8300
    3 251660288 486541311 112.0 GiB 8300
    4 486541312 488396799 906.0 MiB EF00
    Recovery/transformation command (? for help): h
    WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
    just hit the Enter key at the below prompt and your MBR partition table will
    be untouched.
    Type from one to three GPT partition numbers, separated by spaces, to be
    added to the hybrid MBR, in sequence: 1 2 3
    Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y
    Creating entry for GPT partition #1 (MBR partition #2)
    Enter an MBR hex code (default 82): 82
    Set the bootable flag? (Y/N): n
    Creating entry for GPT partition #2 (MBR partition #3)
    Enter an MBR hex code (default 83): 83
    Set the bootable flag? (Y/N): y
    Creating entry for GPT partition #3 (MBR partition #4)
    Enter an MBR hex code (default 83): 83
    Set the bootable flag? (Y/N): n
    Recovery/transformation command (? for help): o
    Disk size is 488397168 sectors (232.9 GiB)
    MBR disk identifier: 0xA60A1D89
    MBR partitions:
    Number Boot Start Sector End Sector Status Code
    1 1 2047 primary 0xEE
    2 2048 16779263 primary 0x82
    3 * 16779264 251660287 primary 0x83
    4 251660288 486541311 primary 0x83
    Recovery/transformation command (? for help): w
    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
    PARTITIONS!!
    Do you want to proceed? (Y/N): y
    OK; writing new GUID partition table (GPT) to /dev/sdb.
    Warning: The kernel is still using the old partition table.
    The new table will be used at the next reboot or after you
    run partprobe(8) or kpartx(8)
    The operation has completed successfully.
    [noki@no-kipc ~]$

    [noki@no-kipc ~]$ sudo gdisk /dev/sdb
    [sudo] noki jelszava:
    GPT fdisk (gdisk) version 1.0.4
    Partition table scan:
    MBR: hybrid
    BSD: not present
    APM: not present
    GPT: present
    Found valid GPT with hybrid MBR; using GPT.
    Command (? for help): r
    Recovery/transformation command (? for help): p
    Disk /dev/sdb: 488397168 sectors, 232.9 GiB
    Model: Disk
    Sector size (logical/physical): 512/512 bytes
    Disk identifier (GUID): 3342A4F5-BD19-4286-B229-DA231F69C3CF
    Partition table holds up to 128 entries
    Main partition table begins at sector 2 and ends at sector 33
    First usable sector is 34, last usable sector is 488397134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 2349 sectors (1.1 MiB)
    Number Start (sector) End (sector) Size Code Name
    1 2048 16779263 8.0 GiB 8200
    2 16779264 251660287 112.0 GiB 8300
    3 251660288 486541311 112.0 GiB 8300
    4 486541312 488396799 906.0 MiB EF00
    Recovery/transformation command (? for help): o
    Disk size is 488397168 sectors (232.9 GiB)
    MBR disk identifier: 0xA60A1D89
    MBR partitions:
    Number Boot Start Sector End Sector Status Code
    1 1 2047 primary 0xEE
    2 2048 16779263 primary 0x82
    3 * 16779264 251660287 primary 0x83
    4 251660288 486541311 primary 0x83
    Recovery/transformation command (? for help): q
    [noki@no-kipc ~]$

Új hozzászólás Aktív témák