Linux on a flash drive


  1. Posts : 2,075
    Windows 10 Pro
       #1

    Linux on a flash drive


    Is there a tutorial on how to setup Linux Distro on a large flashdrive where you can add software to the flash drive and a printer. That when you close the linux version and remove the flashdrive and then decide to use it later, all the software is still there?
      My Computer


  2. Posts : 4,779
    Windows 11 Pro 64 Bit 22H2
       #2

    This is called Persistence on Linux distro., Read up on it here: Persistence
      My Computer


  3. Posts : 2,075
    Windows 10 Pro
    Thread Starter
       #3

    Thanks....
      My Computer


  4. Posts : 19,517
    W11+W11 Developer Insider + Linux
       #4

    My favorite program for downloading a live Linux distro and make boot USB with persistance of 4GB: Download
    Need at least 8GB USB drive, anything above that can be used as storage so you can have a full, independent, portable Linux system. I have at least 2 all the time loaded with computer fixing, testing, troubleshooting and file/partition salvage programs. My favorite Linux distro is Mint but almost any can be used.
      My Computers


  5. Posts : 11,247
    Windows / Linux : Arch Linux
       #5

    Hi there

    If you have say an old laptop HDD or an older SSD you will get MUCH better performance if you install to these devices rather than use a USB stick --connect to computer via USB2 or USB3-->SATA connectors (very cheap - couple of EUR / USD)

    Ensure GRUB2 is installed to the external drive so the whole thing will boot from the USB HDD without any impact on the internal HDD's at all.

    I have a Windows VM running on a Centos 7 system which is booted up from an SSD connected to a USB3 slot -- very adequate performance and makes a brilliant portable system since the Windows VM has a virtual BIOS meaning that it is effectively the same on whatever hardware you run it on.

    Tips though -- if you have hardware RAID driver and can get a Linux version then at install time load the driver via a boot command - you can still boot and run the Linux system from computers without RAID.

    Install SAMBA for sharing / access to Windows drives and to read / write NTFS files install (or make sure it's installed) package ntfs-3g.

    Finally brilliant Linux program for syncing files -- e.g copy from A to B files that don't already exist on B - does a lot of other stuff too : GRSYNC

    Linux on a flash drive-snapshot8.png


    Don't forget the final '/' at the end of the SOURCE directory - otherwise you'll create a NEW directory with the original !!!!! plus copy a load of extra files !!!!

    More Reasons Why Grsync Is An Awesome Syncing Tool [Cross-Platform]

    It can be made to run on Windows too -- but I think it's not easy to install on Windows -- on Linux it;s simple -- for some distros yum install / apt get / wget commands depending on your distro will do it.

    Cheers
    jimbo
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:53.
Find Us




Windows 10 Forums