Skip to content
This repository was archived by the owner on Oct 16, 2022. It is now read-only.
This repository was archived by the owner on Oct 16, 2022. It is now read-only.

"Boot device not selected" when trying to restore a snapshot on a system with full disk encryption #280

@IgorKrupenja

Description

@IgorKrupenja

Steps to reproduce:

  1. Install Manjaro Linux 17.1.11 in UEFI mode using default settings except enabling full disk encryption. This will create three partitions: root, swap and EFI. My fdisk v-l output:
Disk /dev/nvme0n1: 238,5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 24BD641B-F706-4C3A-BBEA-77A2094BF117

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      4097    618497    614401   300M EFI System
/dev/nvme0n1p2    618498 481648510 481030013 229,4G Linux filesystem
/dev/nvme0n1p3 481648511 500103449  18454939   8,8G Linux filesystem


Disk /dev/mapper/luks-cf34ea3e-2eac-4506-88df-299d01ff70be: 229,4 GiB, 246285269504 bytes, 481025917 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/luks-2dbbe0fd-517d-40a4-b6d4-cb0b0f1f8f73: 8,8 GiB, 9446831616 bytes, 18450843 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

My df -h output:

Filesystem      Size  Used Avail Use% Mounted on
dev             3,9G     0  3,9G   0% /dev
run             3,9G  9,7M  3,9G   1% /run
/dev/dm-0       225G   68G  147G  32% /
tmpfs           3,9G   64M  3,8G   2% /dev/shm
tmpfs           3,9G     0  3,9G   0% /sys/fs/cgroup
tmpfs           3,9G  7,1M  3,9G   1% /tmp
/dev/nvme0n1p1  300M  408K  299M   1% /boot/efi
tmpfs           789M   20K  789M   1% /run/user/120
tmpfs           789M   15M  775M   2% /run/user/1000
  1. Open Timeshift and configure it to use rsync snapshots saved to the system disk (i.e. nvme0n1p2):

image

  1. Create a snapshot either on-demand or on schedule.
  2. Now try to restore the snapshot using the default settings suggested by Timeshift:

image

This results in the "Boot device not selected" error:

image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions