-
Fototrend
Linux kezdőknek - érdemes beleolvasni, mielőtt kérdezel
Új hozzászólás Aktív témák
-
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
A topik célja: Segítségnyújtás a Linux disztribúciókkal még csak ismerkedők számára. A szerveres kérdések nem ebbe a topicba tartoznak.
Kérdés előtt olvasd el a topik összefoglalóját!
Haladó Linuxos kérdések topikja.
Linux felhasználók OFF topikja
Milyen program ami... [link]
Shell script kérdésekkel látogassatok el a topikjába
- Teszt Már csak két hónap van hátra a Windows 10 nyugdíjazásáig, ideje előrelépni
- Teszt [Linux] Vanilla OS, egy Debian alapú immutable operációs rendszer
- Teszt [Linux] Aeon Desktop, egy immutable operációs rendszer az OpenSUSE-tól
- Teszt [Linux] A Flatpak
- Bejegyzés MS Office365 Linuxon
- Bejegyzés [Linux] Futtassunk bármely disztrót a terminálunkban
- Bejegyzés Alpine Linux telepítés mindenféle low-end dologra
- Hír Zöld utat adott a nyílt forráskódú Linux meghajtóknak az NVIDIA
- Hardcore café
- Samsung Galaxy S25 Ultra - titán keret, acélos teljesítmény
- OLED TV topic
- Xiaomi 15T - reakció nélkül nincs egyensúly
- Milyen monitort vegyek?
- Samsung Galaxy S24 - nos, Exynos
- Fujifilm X
- Linux Mint
- Intel Core Ultra 3, Core Ultra 5, Ultra 7, Ultra 9 "Arrow Lake" LGA 1851
- Milyen videókártyát?
- További aktív témák...
- GYÖNYÖRŰ iPhone 12 Mini 64GB Black -1 ÉV GARANCIA - Kártyafüggetlen, MS3647
- Apple iPhone 15 128 GB Kék 12 hónap Garancia Beszámítás Házhozszállítás
- HIBÁTLAN iPhone 13 Pro 256GB Silver -1 ÉV GARANCIA - Kártyafüggetlen, MS4079, 100% Akkumulátor
- Bomba ár! Lenovo ThinkPad L490 - i5-G8 I 16GB I 256SSD I 14" FHD Touch I HDMI I Cam I W11 I Gari!
- Apple iPhone 14 128GB, Kártyafüggetlen, 1 Év Garanciával
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
CPT.Pirk
