Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
shared-bootdir-helper
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
shared-bootdir-helper
Commits
be7e82b5
There was an error fetching the commit references. Please try again later.
Commit
be7e82b5
authored
3 years ago
by
Recolic K
Browse files
Options
Downloads
Patches
Plain Diff
init
parents
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+30
-0
30 additions, 0 deletions
README.md
with
30 additions
and
0 deletions
README.md
0 → 100644
+
30
−
0
View file @
be7e82b5
# Shared bootdir helper
## Problem to solve
You may have multiple linux installations, and they want to share the same
`/boot`
directory.
However, each of them want different kernel paramters.
This scenario usually appears while you want to deniable-encrypt all your computers, without
bringing tons of USB sticks with you.
## What this package do
1.
Add a pre-transaction hook to make sure you have inserted your USB stick before upgrading kernel.
2.
Add a post-transaction hook to rename your kernel file basing on hostname, to avoid conflicting with other installations.
3.
Modify
`mkinitcpio.conf`
to tell mkinitcpio about the new filename of your kernel file.
4.
Modify
`/etc/default/grub`
to allow external script to manage kernel parameters.
5.
Add a post-transaction hook after
`grub-mkconfig`
, to automatically set kernel parameters for every boot entry.
> I don't think it's a good idea for a package to modify others configuration file. I'm reviewing the design to see if there's any better solution.
## Support status
### Bootloader
only supports grub
### Distributions
only supports arch-based distributions. Tested on Arch Linux and Manjaro Linux.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment