Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootloader: Make bind mounts recursive for EFI vars support #1248

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions content/bootloader.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ First, we need to mount the OS partitions. Run these commands based on what type
Then continue with the following commands for either disk type:

```bash
for i in dev dev/pts proc sys run; do sudo mount -B /$i /mnt/$i; done
for i in dev dev/pts proc sys run; do sudo mount -R /$i /mnt/$i; done
sudo chroot /mnt
apt install --reinstall linux-image-generic linux-headers-generic
update-initramfs -c -k all
Expand Down Expand Up @@ -180,7 +180,7 @@ If you are using a non-default partitioning scheme (such as a dual boot), replac
Then continue with the following commands for either disk type:

```bash
for i in dev dev/pts proc sys run; do sudo mount -B /$i /mnt/$i; done
for i in dev dev/pts proc sys run; do sudo mount -R /$i /mnt/$i; done
sudo chroot /mnt
apt install --reinstall linux-image-generic linux-headers-generic
update-initramfs -c -k all
Expand Down Expand Up @@ -224,7 +224,7 @@ Then continue with the following commands for either disk type:
After the partitions are mounted, we'll ensure the internet settings from the OS are coped over, as well as reinstall the kernel and the bootloader.

```bash
for i in dev dev/pts proc sys run; do sudo mount -B /$i /mnt/$i; done
for i in dev dev/pts proc sys run; do sudo mount -R /$i /mnt/$i; done
sudo chroot /mnt
apt install --reinstall grub-efi-amd64 linux-generic linux-headers-generic
update-initramfs -c -k all
Expand Down Expand Up @@ -267,7 +267,7 @@ Then continue with the following commands for either disk type:
After the partitions are mounted, we'll ensure the internet settings from the OS are coped over, as well as reinstall the kernel and the bootloader.

```bash
for i in dev dev/pts proc sys run; do sudo mount -B /$i /mnt/$i; done
for i in dev dev/pts proc sys run; do sudo mount -R /$i /mnt/$i; done
sudo chroot /mnt
apt install --reinstall grub-efi-amd64 linux-generic linux-headers-generic
update-initramfs -c -k all
Expand Down
Loading