UBUNTU中轉換磁碟partition 從 MBR轉為GPT,不損失資料
使用gdisk指令: sudo gdisk /dev/sdx (x為你的partition 代號) GPT fdisk (gdisk) version 1.0.1 Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present *************************************************************** Found invalid GPT and valid MBR; converting MBR to GPT format. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if you don't want to convert your MBR partitions to GPT format! ************************************************************** MBR 轉 GPT Enter w to write GPT partition on disk. Press y to confirm your choice. GPT 轉 MBR Enter r to enter in recovery and transformation options . Enter g to convert GPT to MBR partition. 注意:如果是開機碟,boot loader會消失。要重新設定將這個磁碟轉為可開機 讓你的 磁碟轉為 bootable 可開機 第一,確定你的磁碟第一partition空間必須要支援開機,使用 fdisk -l 可以顯示第一個partition開始自2048,如下: spp1@my_ubuntu:~$ sudo fdisk -l /dev/sda [...] Device Boot Start End Sectors Size Id...