My question is as follows: Is there a way for a linux installation disk (ubuntu 18.xx LTS on bootable stick) to know what operating systems computer has on a disk ?
I've found similiar topics here: How do I tell what version and edition of Windows is on the filesystem?
Which give adequate answer regarding Windows side. But what if USB is booted from Macbook or some other LaptopPC that has Linux?
Is there some sort of script or open-source application that (if executed) could detect all operating systems located on system ?