To check the boot path (partition) on a Linux system, you can use the findmnt
command.
Here's an example of how to use findmnt
to display the boot partition:
$ findmnt --target /boot
This will display the mount point and device of the partition that contains the /boot
directory.
You can also use the df
command to display the boot partition. Here's an example:
$ df -h /boot
This will display the mount point and size of the partition that contains the /boot
directory.
Note: The specific options and syntax for these commands may vary depending on your Linux distribution and version. Consult the
findmnt
anddf
man pages or documentation for your system for more information.
It's also important to note that the boot partition may be located on a separate physical device, such as a USB drive or network file system, rather than on the main hard drive. In this case, the findmnt
and df
commands will show the mount point and device of the boot device, rather than the boot partition.