Exercise 02, Chapter 2 - Booting Kali
- Boot the Kali USB drive you created in the previous exercise, and select Live mode
- Create a 6 GB file in /root.
- What happened and why?
- Verify that changes do not persist in live mode by rebooting.
- There a couple ways you can do this. You can reboot your host machine, and boot from the USB. You can also boot VirtualBox with USB (google "boot usb virtualbox") or you can boot the USB from VMWare. See the kali.org article (coming soon) for more info on booting USB from VMWare.
- To create the 6 GB file:
1dd if=/dev/zero of=test.img bs=1M count=6144
- Eventually, you'll get a message that there's "no space on the device", although you configured a 20GB hard drive...what's happening? Well, since you're in live mode, you're working in RAM. Therefore all your "filesystem" writes end up in volatile memory. Once you run out of RAM...you run out of disk space.
- Reboot, and verify your changes.