0

Well digging through many discussions, but all being from a long time ago (Ubuntu 16 or something) tell to use, LiLi, Universal or something other, but others say that they are no longer in use.

So is there currently an application that allows you to create a persistent live USB from Windows, to a 8GB USB?

  • just saying the one you possible duplicate flagged me on, is not a duplicate, that boi is asking about some uefi and bios, also answer uses an already installed ubuntu and not windows – GrammarsThough Feb 8 '19 at 16:15
  • These installers were working with Windows as of Aug 2018: askubuntu.com/questions/674441/… – C.S.Cameron Feb 9 '19 at 2:57
  • @C.S.Cameron but that post suggests mkusb, which requires you to have ubuntu already, and the windows options dont have persistance options – GrammarsThough Feb 9 '19 at 17:20
  • 1
    @GrammarsThough The persistent installers in that answer are MultiBootUSB, Linux Live USB Creator, UNetbootin, Universal USB Installer and YUMI. Rufus can be made Persistent by adding a casper-rw file. If you plan on keeping the Bootable USB for a while, it may be best to do a Full install to USB. – C.S.Cameron Feb 10 '19 at 3:21
  • 1
    @sudodus: I recall that it is possible to install mkusb on a Live flash drive and boot that drive toram to install a persistent OS to the same drive: askubuntu.com/questions/855696/… – C.S.Cameron Feb 11 '19 at 9:45
2

Rufus Persistent Pendrive install

That works with both BIOS and UEFI

Rufus does an OK job of installing Ubuntu Live to USB. It works with both BIOS and UEFI. It does not do Persistent installs out of the box.

Many people prefer a Persistent pendrive that will save changes.

  • Create a Live pendrive using Rufus.

  • Boot the Rufus pendrive toram to make the drive editable, (press shift when booting, press Esc from language, press F6, press Esc, type a space and "toram" after "quiet splash ---", and press Enter).

  • Create a casper-rw file:

    sudo dd if=/dev/zero of=casper-rw bs=1M count=512

    sudo mkfs.ext3 -L casper-rw -F casper-rw

(where count=512 is persistence size, with max 4GB).

  • Move the new casper-rw file from home to the root of the Live Pendrive.

  • In Terminal edit /isolinux/txt.cfg, (for BIOS boot persistence) and /boot/grub/grub.cfg, (for UEFI boot persistence), add a space and the word "persistent" after "quiet splash ---" in each.

  • Shut down and reboot the persistent drive.

  • A home-rw file can be created by renaming a casper-rw file. It can add extra persistence by storing your home related data in it's own file up to 4GB in size.

*Casper-rw partitions do not work with Rufus.

  • @GrammarsThough, Max file size is 4 GB in a FAT32 file system. You can use all available drive space, if you share the available drive space (approximately 6 GB after using 2 GB for Ubuntu itself) between a casper-rw file for the system files (installed programs and system tweaks) and a home-rw file for personal files (documents, pictures etc and personal tweaks). Maybe use the same size (3 GB for each file), maybe different sizes depending on how you intend to use the persistence. – sudodus Feb 11 '19 at 10:27
  • 1
    @sudodus: I will add a line about home-rw, thanks. with out it, any extra space on a Rufus drive is wasted as cdrom folder is locked. – C.S.Cameron Feb 11 '19 at 10:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.