Restoring Timeshift snapshot on encrypted disk: âÂÂBoot device not selectedâ error
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am having a problem restoring a Timeshift snapshot on an encrypted disk. Here are the detailed steps:
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
cat /etc/fstab
output:
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=9738-630B /boot/efi vfat defaults,noatime 0 2
UUID=c630065d-90ce-4212-b613-563b15f74730 / ext4 defaults,noatime 0 1
/dev/mapper/luks-2dbbe0fd-517d-40a4-b6d4-cb0b0f1f8f73 swap swap defaults,noatime 0 2
tree -d /boot
output:
/boot
âÂÂâÂÂâ efi
âÂÂààâÂÂâÂÂâ EFI
âÂÂààâÂÂâÂÂâ boot
âÂÂààâÂÂâÂÂâ Manjaro
âÂÂâÂÂâ grub
âÂÂààâÂÂâÂÂâ fonts
âÂÂààâÂÂâÂÂâ themes
âÂÂààâÂÂààâÂÂâÂÂâ starfield
âÂÂààâÂÂâÂÂâ x86_64-efi
âÂÂâÂÂâ memtest86+
- Open Timeshift and configure it to use rsync snapshots saved to the system disk (i.e. nvme0n1p2):
- Create a snapshot either on-demand or on schedule.
- Now try to restore the snapshot using the default settings suggested by Timeshift:
This results in the "Boot device not selected" error:
Full error text:
Boot device not selected.
An encrypted device is selected for root file system (/). The boot directory (/boot) must be mounted on a non-encrypted device for the system to boot successfully.
Either select a non-encrypted device for boot directory or select a non-encrypted device for root filesystem.
Any ideas on what I am missing here?
backup encryption manjaro
add a comment |Â
up vote
0
down vote
favorite
I am having a problem restoring a Timeshift snapshot on an encrypted disk. Here are the detailed steps:
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
cat /etc/fstab
output:
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=9738-630B /boot/efi vfat defaults,noatime 0 2
UUID=c630065d-90ce-4212-b613-563b15f74730 / ext4 defaults,noatime 0 1
/dev/mapper/luks-2dbbe0fd-517d-40a4-b6d4-cb0b0f1f8f73 swap swap defaults,noatime 0 2
tree -d /boot
output:
/boot
âÂÂâÂÂâ efi
âÂÂààâÂÂâÂÂâ EFI
âÂÂààâÂÂâÂÂâ boot
âÂÂààâÂÂâÂÂâ Manjaro
âÂÂâÂÂâ grub
âÂÂààâÂÂâÂÂâ fonts
âÂÂààâÂÂâÂÂâ themes
âÂÂààâÂÂààâÂÂâÂÂâ starfield
âÂÂààâÂÂâÂÂâ x86_64-efi
âÂÂâÂÂâ memtest86+
- Open Timeshift and configure it to use rsync snapshots saved to the system disk (i.e. nvme0n1p2):
- Create a snapshot either on-demand or on schedule.
- Now try to restore the snapshot using the default settings suggested by Timeshift:
This results in the "Boot device not selected" error:
Full error text:
Boot device not selected.
An encrypted device is selected for root file system (/). The boot directory (/boot) must be mounted on a non-encrypted device for the system to boot successfully.
Either select a non-encrypted device for boot directory or select a non-encrypted device for root filesystem.
Any ideas on what I am missing here?
backup encryption manjaro
Interesting. The directory/boot
is in fact in one of your LUKS containers and the ESP (the real boot directory on EFI systems) is mounted in/boot/efi
. Is that the way it's configured in/etc/fstab
? Can you provide a directory listing of/boot
? Perhaps you have paths like/boot/efi/EFI/...
.
â Emmanuel Rosa
Aug 11 at 11:45
Updated myt question with the info you reauested. And yes, I do have/boot/efi/EFI/
â Igor
Aug 11 at 12:37
Hmm... Manjaro expects the ESP to be mounted at/boot/efi
, oh well. I see you've already reported the issue on Github. It seems like the problem is Timeshift needs GRUB to be on an decrypted partition.
â Emmanuel Rosa
Aug 11 at 12:58
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am having a problem restoring a Timeshift snapshot on an encrypted disk. Here are the detailed steps:
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
cat /etc/fstab
output:
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=9738-630B /boot/efi vfat defaults,noatime 0 2
UUID=c630065d-90ce-4212-b613-563b15f74730 / ext4 defaults,noatime 0 1
/dev/mapper/luks-2dbbe0fd-517d-40a4-b6d4-cb0b0f1f8f73 swap swap defaults,noatime 0 2
tree -d /boot
output:
/boot
âÂÂâÂÂâ efi
âÂÂààâÂÂâÂÂâ EFI
âÂÂààâÂÂâÂÂâ boot
âÂÂààâÂÂâÂÂâ Manjaro
âÂÂâÂÂâ grub
âÂÂààâÂÂâÂÂâ fonts
âÂÂààâÂÂâÂÂâ themes
âÂÂààâÂÂààâÂÂâÂÂâ starfield
âÂÂààâÂÂâÂÂâ x86_64-efi
âÂÂâÂÂâ memtest86+
- Open Timeshift and configure it to use rsync snapshots saved to the system disk (i.e. nvme0n1p2):
- Create a snapshot either on-demand or on schedule.
- Now try to restore the snapshot using the default settings suggested by Timeshift:
This results in the "Boot device not selected" error:
Full error text:
Boot device not selected.
An encrypted device is selected for root file system (/). The boot directory (/boot) must be mounted on a non-encrypted device for the system to boot successfully.
Either select a non-encrypted device for boot directory or select a non-encrypted device for root filesystem.
Any ideas on what I am missing here?
backup encryption manjaro
I am having a problem restoring a Timeshift snapshot on an encrypted disk. Here are the detailed steps:
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
cat /etc/fstab
output:
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=9738-630B /boot/efi vfat defaults,noatime 0 2
UUID=c630065d-90ce-4212-b613-563b15f74730 / ext4 defaults,noatime 0 1
/dev/mapper/luks-2dbbe0fd-517d-40a4-b6d4-cb0b0f1f8f73 swap swap defaults,noatime 0 2
tree -d /boot
output:
/boot
âÂÂâÂÂâ efi
âÂÂààâÂÂâÂÂâ EFI
âÂÂààâÂÂâÂÂâ boot
âÂÂààâÂÂâÂÂâ Manjaro
âÂÂâÂÂâ grub
âÂÂààâÂÂâÂÂâ fonts
âÂÂààâÂÂâÂÂâ themes
âÂÂààâÂÂààâÂÂâÂÂâ starfield
âÂÂààâÂÂâÂÂâ x86_64-efi
âÂÂâÂÂâ memtest86+
- Open Timeshift and configure it to use rsync snapshots saved to the system disk (i.e. nvme0n1p2):
- Create a snapshot either on-demand or on schedule.
- Now try to restore the snapshot using the default settings suggested by Timeshift:
This results in the "Boot device not selected" error:
Full error text:
Boot device not selected.
An encrypted device is selected for root file system (/). The boot directory (/boot) must be mounted on a non-encrypted device for the system to boot successfully.
Either select a non-encrypted device for boot directory or select a non-encrypted device for root filesystem.
Any ideas on what I am missing here?
backup encryption manjaro
backup encryption manjaro
edited Aug 11 at 12:33
asked Aug 11 at 11:34
Igor
12
12
Interesting. The directory/boot
is in fact in one of your LUKS containers and the ESP (the real boot directory on EFI systems) is mounted in/boot/efi
. Is that the way it's configured in/etc/fstab
? Can you provide a directory listing of/boot
? Perhaps you have paths like/boot/efi/EFI/...
.
â Emmanuel Rosa
Aug 11 at 11:45
Updated myt question with the info you reauested. And yes, I do have/boot/efi/EFI/
â Igor
Aug 11 at 12:37
Hmm... Manjaro expects the ESP to be mounted at/boot/efi
, oh well. I see you've already reported the issue on Github. It seems like the problem is Timeshift needs GRUB to be on an decrypted partition.
â Emmanuel Rosa
Aug 11 at 12:58
add a comment |Â
Interesting. The directory/boot
is in fact in one of your LUKS containers and the ESP (the real boot directory on EFI systems) is mounted in/boot/efi
. Is that the way it's configured in/etc/fstab
? Can you provide a directory listing of/boot
? Perhaps you have paths like/boot/efi/EFI/...
.
â Emmanuel Rosa
Aug 11 at 11:45
Updated myt question with the info you reauested. And yes, I do have/boot/efi/EFI/
â Igor
Aug 11 at 12:37
Hmm... Manjaro expects the ESP to be mounted at/boot/efi
, oh well. I see you've already reported the issue on Github. It seems like the problem is Timeshift needs GRUB to be on an decrypted partition.
â Emmanuel Rosa
Aug 11 at 12:58
Interesting. The directory
/boot
is in fact in one of your LUKS containers and the ESP (the real boot directory on EFI systems) is mounted in /boot/efi
. Is that the way it's configured in /etc/fstab
? Can you provide a directory listing of /boot
? Perhaps you have paths like /boot/efi/EFI/...
.â Emmanuel Rosa
Aug 11 at 11:45
Interesting. The directory
/boot
is in fact in one of your LUKS containers and the ESP (the real boot directory on EFI systems) is mounted in /boot/efi
. Is that the way it's configured in /etc/fstab
? Can you provide a directory listing of /boot
? Perhaps you have paths like /boot/efi/EFI/...
.â Emmanuel Rosa
Aug 11 at 11:45
Updated myt question with the info you reauested. And yes, I do have
/boot/efi/EFI/
â Igor
Aug 11 at 12:37
Updated myt question with the info you reauested. And yes, I do have
/boot/efi/EFI/
â Igor
Aug 11 at 12:37
Hmm... Manjaro expects the ESP to be mounted at
/boot/efi
, oh well. I see you've already reported the issue on Github. It seems like the problem is Timeshift needs GRUB to be on an decrypted partition.â Emmanuel Rosa
Aug 11 at 12:58
Hmm... Manjaro expects the ESP to be mounted at
/boot/efi
, oh well. I see you've already reported the issue on Github. It seems like the problem is Timeshift needs GRUB to be on an decrypted partition.â Emmanuel Rosa
Aug 11 at 12:58
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f461975%2frestoring-timeshift-snapshot-on-encrypted-disk-boot-device-not-selected-error%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Interesting. The directory
/boot
is in fact in one of your LUKS containers and the ESP (the real boot directory on EFI systems) is mounted in/boot/efi
. Is that the way it's configured in/etc/fstab
? Can you provide a directory listing of/boot
? Perhaps you have paths like/boot/efi/EFI/...
.â Emmanuel Rosa
Aug 11 at 11:45
Updated myt question with the info you reauested. And yes, I do have
/boot/efi/EFI/
â Igor
Aug 11 at 12:37
Hmm... Manjaro expects the ESP to be mounted at
/boot/efi
, oh well. I see you've already reported the issue on Github. It seems like the problem is Timeshift needs GRUB to be on an decrypted partition.â Emmanuel Rosa
Aug 11 at 12:58