general:linux:debian_live_with_persistence
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| general:linux:debian_live_with_persistence [2023/01/17 07:44] – sunkan | general:linux:debian_live_with_persistence [2023/01/17 09:17] (current) – sunkan | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| </ | </ | ||
| - | Create filesystem on new partition and configure persistence | + | Create filesystem on new partition and configure persistence |
| + | More info [[https:// | ||
| < | < | ||
| mkfs.ext4 -m 0 -L persistence / | mkfs.ext4 -m 0 -L persistence / | ||
| Line 29: | Line 30: | ||
| umount /mnt | umount /mnt | ||
| </ | </ | ||
| + | |||
| + | For automatic start add a timeout for grub | ||
| + | < | ||
| + | mount / | ||
| + | echo 'set timeout=5' | ||
| + | umount /mnt | ||
| + | </ | ||
| + | |||
| + | ===== Further tweaks ===== | ||
| + | You may want to configure journald.conf to use Storage=volatile and possibly disable rsyslogd. \\ | ||
| + | So that you limit the amount of writes to the USB drive. | ||
| + | |||
| + | Also sysstat might be good do disable in case it has been enabled. | ||
general/linux/debian_live_with_persistence.1673941497.txt.gz · Last modified: 2023/01/17 07:44 by sunkan