Commit Graph

5 Commits

Author SHA1 Message Date
Luis Marsano
1749789f9a define uninstall subcommand for ubuntu setup
parse options and subcommands in setup script
update readme
2023-01-15 14:26:08 -05:00
Luis Marsano
695f4b06ba add setup instructions for ubuntu initramfs 2022-12-20 20:23:43 -05:00
Luis Marsano
d5541253d3 specialize overlay script & refactor
kernel parameters normally identify root filesystem as readonly before boot process remounts them writable, so the readonly parameter does not identify readonly filesystems
the script reduces scope to btrfs for simplicity
as a standard linux util, findmnt is copied & used
arrange commands so executables are checked before file system queries and short-circuit evaluation skips unavailable commands
for robustness, trap on error & exit events
replace panic with failure logging, since panic doesn't appear to break to shell
2022-12-20 20:23:38 -05:00
Luis Marsano
4e4e853f2d define initramfs scripts for ubuntu
provide a hook to require overlayfs module so the file system is available
define a general script to overlay any readonly root filesystem into a non-persistent, writable filesystem
2022-12-20 12:36:42 -05:00
Antynea
9adce629f7 Boot on read-only snapshot (#115)
* Create a initramfs folder & configuration files
  * create a initramfs folder
  * create Arch Linux folder
  * Add `HOOK/INSTALL` files to generate a custom initrafms for boot on read-only snapshot for Arch Linux.
  * Add readme file to initramfs folder

* Makefile changes
  * Add readme file
  * Add readme file of initramfs-overlayfs
  * Add HOOK/INSTALL files for Arch Linux

* Readme changes
  * Updates the documentation to be able to boot on a read-only snapshot.
  * Redesign readme again.
2020-10-14 15:17:07 +02:00