User Tools

Site Tools


general:linux:debian_live_with_persistence

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
general:linux:debian_live_with_persistence [2023/01/17 07:44] sunkangeneral:linux:debian_live_with_persistence [2023/01/17 09:17] (current) sunkan
Line 22: Line 22:
 </code> </code>
  
-Create filesystem on new partition and configure persistence+Create filesystem on new partition and configure persistence \\ 
 +More info [[https://live-team.pages.debian.net/live-manual/html/live-manual/customizing-run-time-behaviours.en.html#556|Here]]
 <code> <code>
 mkfs.ext4 -m 0 -L persistence /dev/<usbdrive>3 mkfs.ext4 -m 0 -L persistence /dev/<usbdrive>3
Line 29: Line 30:
 umount /mnt umount /mnt
 </code> </code>
 +
 +For automatic start add a timeout for grub
 +<code>
 +mount /dev/<usbdrive>2 /mnt
 +echo 'set timeout=5' >> /mnt/efi/debian/grub.cfg
 +umount /mnt
 +</code>
 +
 +===== 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

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki