mint[member=37]mint[/member] ~ $ sudo fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xaede376d
Device Boot Start End Blocks Id System
/dev/sda1 1 976773167 488386583+ ee GPT
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 3997 MB, 3997695488 bytes
255 heads, 63 sectors/track, 486 cylinders, total 7807999 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4093666f
Device Boot Start End Blocks Id System
/dev/sdb1 * 0 2701151 1350576 0 Empty
/dev/sdb2 56228 60771 2272 ef EFI (FAT-12/16/32)
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb1'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb1: 1382 MB, 1382989824 bytes
255 heads, 63 sectors/track, 168 cylinders, total 2701152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4093666f
Device Boot Start End Blocks Id System
/dev/sdb1p1 * 0 2701151 1350576 0 Empty
/dev/sdb1p2 56228 60771 2272 ef EFI (FAT-12/16/32)
mint[member=37]mint[/member] ~ $ parted -l
mint[member=37]mint[/member] ~ $ [ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
Legacy boot on HDD
mint[member=37]mint[/member] ~ $ Legacy boot on HDD
Legacy: command not found
Bende bu sekilde bir yazi cikti