logo elektroda
logo elektroda
X
logo elektroda

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

Adam Cisowski 7209 17
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16817263
    Adam Cisowski
    Pupil
    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
  • ADVERTISEMENT
  • #3 16817287
    Adam Cisowski
    Pupil
    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  
    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.
  • #5 16817351
    Adam Cisowski
    Pupil
    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?
  • ADVERTISEMENT
  • #7 16817382
    Adam Cisowski
    Pupil
    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.
  • ADVERTISEMENT
  • #8 16817409
    _jta_
    Electronics specialist
    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
    Sorry, but I don't understand your answer. You are very sad and I think someone will answer you.
  • #10 16817438
    Foxtrott
    Level 34  
    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
    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  
    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
    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  
    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
    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
  • #16 16818663
    Foxtrott
    Level 34  
    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
    Ok, I started live (amd64) and what next?
  • #18 16821757
    tad224
    Level 13  
    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.
Summary generated by the language model.
ADVERTISEMENT