rework reform-boot-config
rework reform-boot-config
- support all combinations of:
- new root partition is already monted as /
- new root partition lives elsewhere
- new /boot partition is the same as the already configured one
- new /boot is already mounted
- new /boot device doesn't exist
- error out if anything is still mounted that shouldn't be mounted
- only mount when necessary
- only use chroot if new root device is not /
- use traps to always unmount everything and clean tmpfiles uponfailure
- consult /etc/fstab of new root for location of old /boot
- copy over contents of old /boot to new one if necessary
Edited by Johannes Schauer Marin Rodrigues
Merge request reports
Activity
added 3 commits
-
1c8f66a1...4f9cfa8f - 2 commits from branch
reform:main
- 5161e077 - rework reform-boot-config
-
1c8f66a1...4f9cfa8f - 2 commits from branch
added 5 commits
-
5161e077...a76f207e - 4 commits from branch
reform:main
- 991515db - rework reform-boot-config
-
5161e077...a76f207e - 4 commits from branch
added 3 commits
-
991515db...bbbaf79f - 2 commits from branch
reform:main
- 7a2e959d - rework reform-boot-config
-
991515db...bbbaf79f - 2 commits from branch
mentioned in commit bb81c730
Please register or sign in to reply