mirror of https://git.48k.eu/ogclient
grub: skip OS guess if partition cannot be mounted
otherwise, _get_os_entries() fails when it finds a swap partition: (2025-01-23 17:44:30) ogClient: [ERROR] - Error generating /mnt/nvme0n1p4/EFI/grub/Boot/grub.cfg: Unable to mount /dev/nvme0n1p3 into /mnt/nvme0n1p3master v1.3.2-28
parent
30e0e1dca3
commit
574822907d
|
@ -279,7 +279,7 @@ def _get_os_entries(esp_mountpoint):
|
|||
continue
|
||||
|
||||
if not mount_mkdir(p.padev, mountpoint):
|
||||
raise OgError(f'Unable to mount {p.padev} into {mountpoint}')
|
||||
continue
|
||||
|
||||
try:
|
||||
os_family = get_os_family(mountpoint)
|
||||
|
|
Loading…
Reference in New Issue