PDA

View Full Version : [ubuntu] Persistent Storage ? on Run Kali Linux , Directly from Hard Disk in Ubuntu



indianosr
August 12th, 2015, 11:21 AM
I followed a tutorial : http://www.tecmint.com/run-linux-live-images-from-hard-disk-in-linux/

I was successfully able to boot Kali by keeping the ISO's in the Ubuntu partitions.

I need to know, how to make persistent storage or utilize Ubuntu's partition to store files/output from Kali ?

yancek
August 12th, 2015, 02:18 PM
The Kali booted from an iso as explained in the tutorial is to boot it from a hard drive and it is a "read-only filesystem". That means changes made will be lost on reboot, it's the nature of the system. It is possible to create persistence although I'm not sure how it would work in your example. Do you have only Kali or have you also used the other distros mentioned in the tutorial.

indianosr
August 13th, 2015, 06:37 AM
I have Kali. In Fact I have Kali Linux 1.0 and 2.0 now.

yancek
August 13th, 2015, 02:43 PM
Booting the iso of Kali from Grub2 will mean it is a read-only filesystem as I stated previously. This means you can't save changes. As I'm sure you know from visiting the Kali site, there are specific instructions for creating a persistent install on a flash drive. I imagine this could be done on a hard drive also but would probably mess up whatevery you have including Ubuntu. Never tried it myself. If you want to save data from Kali, boot it up and then you have the option to create a mount point in Kali, mount the Ubuntu partition, and you could then use a data directory (name it something appropriate like Kali-data) on your Ubuntu partition. Then you would need to mount the partition to have access to it. You could also create a separte additional small partition just for data from within Ubuntu and mount that for your Kali-data. Since you are doing this from a Live install, you would need to repeat this process each time you boot Kali, that is the two simple command to create the directory (mount point) and mount the partition.

ubfan1
August 13th, 2015, 04:46 PM
I could only get persistence to work on my hard disk when I had the persistence file on a FAT partition. I assume a FAT partition labeled "casper-rw" would work too, but I wanted to use files so I could have several different ones. Use "persistent persistent-path=/A" (or whatever directory instead of /A) to indicate which capser-rw file to use. Using the "toram" takes an extra 15-20 seconds at boot, but does noticeably improve performance.

indianosr
September 3rd, 2015, 03:46 PM
Is there a way to install complete Kali tools on Ubunut?