it could be different from sda
. what if the computer has 4 hard-drives?
You could run fdisk -l
as root (or sudo), check the bootable Device. usually it would be the C:
drive. But it doesn't mean that device contains windows.
One can install Windows on hard-disk(II) but boot from Disk(I).
So the fdisk -l
way can help you find the bootable partition/Disk on that machine. You can check the FS if it could be windows system FS (e.g. FAT32/NTFS). But it cannot tell you if that Disk has windows (those windows system files) installed.
Moreover, if the computer has 4 Disks, and install winOS on each of them, so there are 4 windows installed. say a multi-booting system. I cannot find a proper solution to find those disks except for mounting those partitions and checking FS.