logo elektroda
logo elektroda
X
logo elektroda

Launching and Saving Kali Linux Session on USB Pendrive: Prevent Reinstallation & Resume Later

Adam Cisowski 8484 17
Best answers

How can I boot Kali Linux from a USB stick with saved changes so it resumes later instead of starting from scratch each time?

Use a Live USB with persistence, not the Install option, if you want Kali to resume with saved changes on the pendrive [#16818164][#16818663][#16821757] In LiLi, the USB should be made from the Kali image, and for Kali Linux 2.0 it can add persistence mode automatically; if not, you need to set the image to persistence in the settings [#16818432] When booting, choose the Live USB Persistence entry rather than plain Live, because Live does not save anything while Live USB Persistence keeps your progress on the USB flash drive [#16818663] If you want Kali and Windows side by side, do a full installation instead; otherwise, use Live/persistence only [#16818164][#16821757] To avoid pressing F8 every time, set the USB HDD as first boot device in BIOS [#16818164]
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16817263
    Adam Cisowski
    Pupil
    Posts: 174
    Help: 1
    Rate: 9
    Hi, I know this is not a forum but I will probably get a quick answer and I will close the topic immediately.
    I had fun running Kali Linux with a pendrive. I downloaded the Linux applet and installed everything on a USB stick.
    Linux is nice to install and I can use, but can I come back to that later? Because, for example, I start my computer again, Linux with a pendrive is reinstalled from the beginning. How to change that? Delete any file on the pendrive?
  • ADVERTISEMENT
  • #2 16817269
    Foxtrott
    Level 34  
    Posts: 1965
    Help: 253
    Rate: 942
    Hello, download the Linux image and "upload" to the USB stick with this program:
    https://www.linuxliveusb.com/, you'll be able to use it without installing.
  • #3 16817287
    Adam Cisowski
    Pupil
    Posts: 174
    Help: 1
    Rate: 9
    Ok, can you tell me what's going on with the linux image? I will download this program and try. I used linuxusbinstaller from the original linux throne.
  • #4 16817328
    Foxtrott
    Level 34  
    Posts: 1965
    Help: 253
    Rate: 942
    You download the distribution of linux that interests you in the form of a * .bin * .img * .iso file, this is the image, then you run LiLi and intuitively literally 3-4 clicks and you have the entire linux system on your pendrive, you can also choose to use the VM in a virtual machine to run linux on windows.
  • ADVERTISEMENT
  • #5 16817351
    Adam Cisowski
    Pupil
    Posts: 174
    Help: 1
    Rate: 9
    AAA, cool I had linux to start with .img :D Thanks for telling me that. I am just extracting files on a flash drive and trying. What is the virtual machine about? It is such that you, for example, fire up on wine. applet and in it you can run linux?
  • #6 16817375
    Foxtrott
    Level 34  
    Posts: 1965
    Help: 253
    Rate: 942
    just like that, a separate process (machine) e.g. you work on windows and you want to run linux for a moment without the need to boot the computer - you start the virtual machine and linux in it.
    https://pl.wikipedia.org/wiki/Maszyna_wirtualna
  • #7 16817382
    Adam Cisowski
    Pupil
    Posts: 174
    Help: 1
    Rate: 9
    I always have a hook that someone says something, I imagine it, I write and it turns out that I hit 10. Okay, I have linux and windows updates. When it ends I will check immediately. Sorki for spelling but I'm not used to writing from tel.
  • #8 16817409
    _jta_
    Electronics specialist
    Posts: 48808
    Help: 3198
    Rate: 4183
    Knoppix is basically for use with CD / DVD (above 7.2 only with DVD), but it can be installed on a pendrive - the system image itself is in the form of a file, and a second file is created that contains changes to the filesystem, so it effectively has filesystem R / W, but with the option of rolling back all changes.

    The Knoppix image on a CD / DVD needs to be modified with the isohybrid program before saving to a USB flash drive (a regular CD / DVD image starts with 32kB zeros, you have to type something there so that it can boot from the USB flash drive, isohybrid just types it) . But the Knoppix DVD 8.1.0 image already has it.

    Note: this image is not to be saved as a file on a pendrive, but as an entire pendrive (you can then create an additional partition on it so that it can also be used as a pendrive, not only for booting Knoppix); you can also start Knoppix from a CD / DVD and have it installed on a pendrive (then you have a normal partition and Knoppix files on it).

    As you download Knoppix, beware of the language version (English and German), and the version for the blind (Adriana).

    Ubuntu has the program wubi.exe, which does installation under Windows - no separate partition is needed, a file is created on the Windows partition, which is a disk image (probably there may be several files that will be images of several disks); when booting the computer you have the choice Windows / Ubuntu.

    The virtual machine probably requires additional drivers for the system launched in it to see the network. Lilo probably is rarely used anymore, there is grub - lilo needs to be reinstalled every time you change something, grub needs to correct the configuration file (and usually the system does it automatically).
  • #9 16817434
    Adam Cisowski
    Pupil
    Posts: 174
    Help: 1
    Rate: 9
    Sorry, but I don't understand your answer. You are very sad and I think someone will answer you.
  • ADVERTISEMENT
  • #10 16817438
    Foxtrott
    Level 34  
    Posts: 1965
    Help: 253
    Rate: 942
    In post # 4 a typo (already corrected) crept in - obviously I meant Lili not Lilo (linux loader), if you choose the additional option to run linux in the virtual LiLi machine will download the appropriate files.
  • #11 16817960
    Adam Cisowski
    Pupil
    Posts: 174
    Help: 1
    Rate: 9
    I checked how I run this installation just like my way, I take install, it shows that I would give a disc to a dvd-room and if I live (64), I install Linux. I will reset my computer again, I have the installation window, I go to live (64) and I have the system again :( How to make it so that after the second and subsequent times not to install again and run the other one. (When I started it I go to f8 and I want my penfrive to be the first in the priority).
  • #12 16818164
    Foxtrott
    Level 34  
    Posts: 1965
    Help: 253
    Rate: 942
    You wrote it a little chaotically.
    If you just want to "play" with linux without interfering with hdd, select the Live option, you can also choose persistance mode = it will save changes to the pendrive, you want to have both systems "side by side" you need to complete the installation.
    What do you mean by "that" ??
    In the bios, set as the first USB HDD (pendrive) so that you don't have to press F8 every time.
  • #13 16818394
    Adam Cisowski
    Pupil
    Posts: 174
    Help: 1
    Rate: 9
    I have just changed to always run linux with a pendrive (if the pendrive is plugged in). I meant persistance mode, I think. That one in the record, e.g. the record of system 1, if I reset the com, I have system 2 and so from scratch.

    Added after 9 [minutes]:

    And where should I enter persistance mode?
  • #14 16818432
    Foxtrott
    Level 34  
    Posts: 1965
    Help: 253
    Rate: 942
    LiLi recognizes the distribution of the system in this case Kali Linux 2.0 and spontaneously adds persistance mode, if it did not happen in the settings can be changed so that each image treated as .... from persistance.
    When starting at the very beginning you choose, if I remember correctly, from the menu: safe, live, persistance, install .....
  • #15 16818473
    Adam Cisowski
    Pupil
    Posts: 174
    Help: 1
    Rate: 9
    Foxtrott wrote:
    When starting at the very beginning you choose, if I remember correctly, from the menu: safe, live, persistance, install .....

    I only have install live (64 ...)
    and such different versions. I have nothing else. (There are no Polish characters because I'm on linux)

    Added after 6 [minutes]:

    In addition, there is nothing about automatic saving in the general settings or the disk.

    Added after 17 [minutes]:



    Added after 1 [minutes]:

    When I turn on linux
    Attachments:
    • Launching and Saving Kali Linux Session on USB Pendrive: Prevent Reinstallation & Resume Later IMG_20171112_174501.jpg (3.78 MB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • #16 16818663
    Foxtrott
    Level 34  
    Posts: 1965
    Help: 253
    Rate: 942
    Live - without saving to usb
    Live failsafe - the so-called Safe mode of the Live version
    Live USB Persistence - it is possible to save progress on the USB flash drive.
    these 3 should only interest you.
    First, start Live alone (amd64).
  • #17 16819094
    Adam Cisowski
    Pupil
    Posts: 174
    Help: 1
    Rate: 9
    Ok, I started live (amd64) and what next?
  • #18 16821757
    tad224
    Level 13  
    Posts: 181
    Help: 4
    Rate: 21
    I have not read the next threads, but I think (I may be wrong) that the picture you have on a USB stick is the Live version, it is a demonstration and can be run many times but only from the USB stick on which it is recorded. It may also be possible to install the system (based on Linux) if the distributor allows installation from the level of the running LIVE version. So to sum up, there are two possibilities: only the live version. or live version with the possibility of installation.

    Installation is downloading the program to a permanent memory disk in order to be able to run it multiple times, it is installed once.
    And what you do is load, i.e. run the recorded image [img] onto a USB drive. Which you have to repeat every time.

Topic summary

✨ The discussion revolves around running Kali Linux from a USB pendrive and the user's desire to save their session for future use without needing to reinstall. Users suggest using the LinuxLive USB Creator (LiLi) to create a bootable USB with persistence mode, allowing changes to be saved directly on the USB. The importance of selecting the correct boot options, such as "Live USB Persistence," is emphasized to ensure that the system retains changes across sessions. Additionally, there are mentions of using virtual machines to run Linux alongside Windows without rebooting. The conversation also touches on the installation process and the distinction between live versions and installed systems.
Generated by the language model.

FAQ

TL;DR: Kali on USB offers 3 boot modes; choose Live USB Persistence to save and resume later. “It is possible to save progress on the USB flash drive.” [Elektroda, Foxtrott, post #16818663]

Why it matters: This FAQ helps beginners boot Kali from a pendrive, keep their work, and avoid reinstalling every reboot.

Quick Facts

How do I make Kali on a USB save my changes and resume later?

Boot the USB and select Live USB Persistence from the menu. That mode writes your changes back to the pendrive, so your session resumes next time. If you don’t see this option, recreate the USB with a tool that enables persistence. “Live USB Persistence – it is possible to save progress on the USB flash drive.” [Elektroda, Foxtrott, post #16818663]

I only see Install and Live (amd64). Where is Persistence?

Your current USB likely lacks a persistence entry. Recreate the stick using a creator that adds persistence, then reboot and check the menu again. Users reported seeing only Install/Live until recreating with persistence-aware settings. [Elektroda, Adam Cisowski, post #16818473]

What’s the quickest way to put a Kali image on a pendrive?

Use LinuxLive USB Creator (LiLi). Select your ISO/IMG and target USB, then click through. It’s an intuitive 3–4 click process from image to bootable USB. This keeps things simple for first-time users. [Elektroda, Foxtrott, post #16817328]

Does LiLi automatically enable persistence for Kali?

LiLi detects Kali 2.0 and adds persistence automatically. If it doesn’t, change settings so the image is treated as persistent. Then you’ll see the persistence boot entry. [Elektroda, Foxtrott, post #16818432]

What do the boot menu options mean (Live, Failsafe, Persistence)?

Live runs Kali without saving to USB. Live failsafe uses conservative settings for tricky hardware. Live USB Persistence saves your changes on the stick so they survive reboots. “These 3 should only interest you.” [Elektroda, Foxtrott, post #16818663]

How do I stop pressing F8 to boot from the pendrive every time?

Enter BIOS/UEFI and set USB-HDD (your pendrive) as the first boot device. Then it will boot from USB automatically when plugged in. This avoids the F8 menu. [Elektroda, Foxtrott, post #16818164]

I boot Live (amd64). What should I do next to keep changes?

Reboot and choose Live USB Persistence instead of plain Live. Plain Live never saves to the stick. Persistence writes changes back, so your tools and files remain after restart. [Elektroda, Foxtrott, post #16818663]

Is there a simple 3‑step how‑to for enabling persistence with LiLi?

  1. In LiLi, pick your Kali ISO/IMG and target USB.
  2. Enable persistence in settings (if not auto-detected).
  3. Create the USB, boot it, and choose Live USB Persistence. [Elektroda, Foxtrott, post #16818432]

What’s an ISO/IMG, and why can’t I just extract files to the USB?

ISO/IMG are disk images. You must write the image to the USB as a bootable device, not just copy files. A creator tool handles boot sectors and menu entries so the PC can start from it. [Elektroda, Foxtrott, post #16817328]

Can I run Linux inside Windows without rebooting?

Yes, using a virtual machine. Start a VM on Windows and run Linux inside it as a separate process. It avoids rebooting while you test the system. [Elektroda, Foxtrott, post #16817375]

What is a virtual machine, in one sentence?

A virtual machine is software that emulates a separate computer so you can run another OS like Linux within Windows. [Elektroda, Foxtrott, post #16817375]

Are there live systems that support saving changes differently?

Knoppix runs from CD/DVD or USB and stores changes in a separate file, enabling rollbacks. DVD images 8.1.0 include hybrid boot; earlier ones need isohybrid before USB use. [Elektroda, jta, post #16817409]

What bootloader should I expect—LILO or GRUB?

Expect GRUB, not LILO. GRUB updates via configuration changes, while LILO needs reinstalling after each change. This affects dual‑boot or advanced setups. [Elektroda, jta, post #16817409]

Why does my session reset every reboot even in Live mode?

Plain Live never writes changes back. You must boot the Persistence entry to keep files and settings. Edge case: if the menu lacks Persistence, recreate the USB with persistence enabled. [Elektroda, Foxtrott, post #16818663]

How many clicks does LiLi usually take to make a bootable USB?

Approximately 3–4 clicks from selecting the image to finished creation. “Literally 3–4 clicks” makes it approachable for newcomers. [Elektroda, Foxtrott, post #16817328]

What’s the difference between Live and Installed systems here?

Live loads from the USB image each boot. Installed writes the OS to a disk once and reuses it every time. Your situation describes repeatedly loading the image from USB, not a full install. [Elektroda, tad224, post #16821757]
Generated by the language model.
ADVERTISEMENT