F5F Stay Refreshed Software Operating Systems Perform a dd backup on the main drive and ensure the backup isn't accessible for booting.

Perform a dd backup on the main drive and ensure the backup isn't accessible for booting.

Perform a dd backup on the main drive and ensure the backup isn't accessible for booting.

S
Spidercyber
Senior Member
673
05-15-2023, 03:29 PM
#1
I performed a complete backup of my root and home partitions onto a USB drive before the system upgrade. If I power on the computer while the USB is active, it boots from that drive. To avoid this, you should remove the /boot folder from the backup drive. This will ensure the correct installation path is used during the next boot.
S
Spidercyber
05-15-2023, 03:29 PM #1

I performed a complete backup of my root and home partitions onto a USB drive before the system upgrade. If I power on the computer while the USB is active, it boots from that drive. To avoid this, you should remove the /boot folder from the backup drive. This will ensure the correct installation path is used during the next boot.

T
TwiceCritical
Member
110
05-17-2023, 04:12 PM
#2
Make sure your BIOS starts from the internal storage right away... Keep the device connected isn’t necessary. The goal is to protect your backup, not to rely on it being powered on.
T
TwiceCritical
05-17-2023, 04:12 PM #2

Make sure your BIOS starts from the internal storage right away... Keep the device connected isn’t necessary. The goal is to protect your backup, not to rely on it being powered on.

J
Jacobche
Junior Member
3
05-19-2023, 12:30 PM
#3
Adjust the boot order in your BIOS settings. Alternatively, detach the drive from your system; removing /boot will prevent booting during restoration. Using dd is not suitable for backing up personal files.
J
Jacobche
05-19-2023, 12:30 PM #3

Adjust the boot order in your BIOS settings. Alternatively, detach the drive from your system; removing /boot will prevent booting during restoration. Using dd is not suitable for backing up personal files.

J
jackster_
Junior Member
6
05-19-2023, 04:31 PM
#4
Use gparted to delete the boot flag
J
jackster_
05-19-2023, 04:31 PM #4

Use gparted to delete the boot flag

X
Xenoram
Member
82
05-28-2023, 01:38 AM
#5
The BIOS boot sequence remains unchanged; the primary SSD is listed first, while the USB drive isn't included in the order. The boot flag setting in GParted hasn't been adjusted. I decided to keep the drive active despite my usual preference, since I had recently moved other file systems there and then restarted overnight. It was an accidental oversight that took some time to catch and fix. Ideally, it would be better if this option wasn't available at all.
X
Xenoram
05-28-2023, 01:38 AM #5

The BIOS boot sequence remains unchanged; the primary SSD is listed first, while the USB drive isn't included in the order. The boot flag setting in GParted hasn't been adjusted. I decided to keep the drive active despite my usual preference, since I had recently moved other file systems there and then restarted overnight. It was an accidental oversight that took some time to catch and fix. Ideally, it would be better if this option wasn't available at all.

C
ColumXB
Member
209
05-29-2023, 12:05 PM
#6
You can recreate it later with ease. With systemd-boot, a simple step is to relocate files from /boot/EFI into the root directory, preventing the UEFI from accessing them.
C
ColumXB
05-29-2023, 12:05 PM #6

You can recreate it later with ease. With systemd-boot, a simple step is to relocate files from /boot/EFI into the root directory, preventing the UEFI from accessing them.

S
sfajar
Member
183
05-31-2023, 06:08 PM
#7
You can simply change the name of one key folder, making it simple to undo changes if needed, and you’ll likely get the effect you want without reaching a functional state when the system attempts to start from it.
S
sfajar
05-31-2023, 06:08 PM #7

You can simply change the name of one key folder, making it simple to undo changes if needed, and you’ll likely get the effect you want without reaching a functional state when the system attempts to start from it.