0

I want to Try out a few versions of Linux in some Live USB's, and Don't know a way to make the persistent partition in the main computer/HDD(in a different partition, of course) instead of in the live USB itself. But, is it possible? if so, How? (I use a windows 10) trying to use my work PC with windows as a Linux with live USB with persistent partition:)

thank you very much!

1 Answers1

1

Make a Live USB with the persistent partition in main, internal Hard Drive.

  • A Persistent USB will use the first Persistent partition it sees. Usually a persistent partition on the internal HDD is first.

  • The Persistent partition needs to be an ext partition, say ext4.

  • The partition should be labelled casper-rw, (Labelling it writable is optional for 20.04).

  • A second Persistent partition labelled home-rw can be used for home data and settings.

  • The casper-rw partition will not work with another version of 'Buntu, a home-rw partition will.

  • The word persistent should also be added to the linux line in grub.cfg:

    linux ($root)/casper/vmlinuz boot=casper quiet splash fsck.mode=skip persistent --

  • You can also choose to boot multiple ISO files, each with it's own persistence files. For reference see:

20.04 booting .iso from GRUB menu

In your case the grub boot loader can be on external USB drive. A mkusb persistent drive uses GRUB 2, the menu can be modified to work.

Warning:

Booting a different Persistent USB in the computer will try to use the Persistent partition. If it contains a different version of Ubuntu It may corrupt the casper-rw partition, (but not a home-rw partition).

C.S.Cameron
  • 20,530
  • 12
  • 78
  • 125