Is there a clean way to quickly/automatically determine which mount holds the frugal install?
To explain: I'm running Core within a VM, and the Core files normally exist under /mnt/sda1/tce. However, when I add a few extra drives to the system, Core is now mounting the "main" drive as /mnt/sdc1 instead, which is breaking a few scripts that were hard linked to /mnt/sda1 paths. I never did like my hard paths for exactly this reason, and now I'm bitten by it. What I'm doing now is trying to set up bootlocal.sh to figure out which mount is the right one. A crude script for prowling the mounts and looking for a certain signature (eg: existence of tce/boot off the root) works well enough, but is too klugey.
I figure there must be a quick way to identify the location of the kernel file (vmlinuz) in extlinux (or grub or whatever), or something along that lines, but can't find it.