No, /dev/sda
is the whole drive. GRUB is not installed to a partition, but to the drive. On a UEFI system, this will automatically put the boot loader in the /boot/efi
partition — the partition has a special esp
flag in the partition table, and so the kernel will know which one it is — and on a system booting in legacy BIOS mode, GRUB will be installed in the master boot record of the boot drive.
Well, a partitioning tool should tell you which one it is. But /dev/sda
is either way the first SCSI-style drive in your system — this includes SATA, parallel SCSI, SAS, USB and Firewire drives. If your drive is an NVMe drive, then that’s a whole other issue. Then it’ll be something like /dev/nvme0
or something of the likes.
The command…
lsblk --fs
… will tell you what mass storage devices you have in your machine, in a tree format. The root of each tree is the device itself, and the rest will be the partitions on it.