bash-4.4# gdisk -l /dev/sda GPT fdisk (gdisk) version 1.0.3 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sda: 937703088 sectors, 447.1 GiB Model: INTEL SSDSC2BW48 Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): 2CC0140B-213C-4298-ADF8-603284119E49 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 937703054 Partitions will be aligned on 2048-sector boundaries Total free space is 3693 sectors (1.8 MiB) Number Start (sector) End (sector) Size Code Name 1 2048 43007 20.0 MiB EF00 EFI System 2 43008 1026047 480.0 MiB EF02 BIOS boot partition 3 1026048 937701375 446.6 GiB 8E00 Linux LVM
bios_grub 開啟。
bash-4.4# parted /dev/sda GNU Parted 3.2 Using /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) set 2 boot off (parted) set 2 bios_grub on (parted) q Information: You may need to update /etc/fstab.
bash-4.4# grub2-install --target=i386-pc /dev/sda
bash-4.4# exit exit