PDA

View Full Version : [REPOST] Enable Persistent Storage on Kali Linux running ISO Directly from Hard Disk in Ubuntu



nkpro
2020-12-02, 18:07
https://forums.kali.org/showthread.php?26503-Enable-Persistent-Storage-on-Kali-Linux-running-ISO-Directly-from-Hard-Disk-in-Ubuntu&p=47728#post47728

I found a solution for the above recently, and i know it is tooooo late but, it may be useful to someone.

Solution:

step1: make a directory for persistence.

mkdir /live/persistence

step2: create a text file 'persistence.conf' in root of a partition and write '/ union,source=live/persistence' in that file. Which will make kali to save changes into the directory '/live/persistence'.

echo '/ union,source=live/persistence' > /persistence.conf

step3: add 'persistence persistence-label=linux' in bootparam. where 'linux' is label of the partision has 'persistence.conf'.
Example:
linux (loop)/live/vmlinuz boot=live components quiet splash noeject findiso="${isofile}" persistence persistence-label=linux

Reference: https://nkpro2000sr.github.io/man-manjaro/AlsoKali

excuse my English.