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).
??? Is that right? again, sorry for my lack of knowledge! one more thing, what is:grub.cf???? sorry, I have no idea! thanks again, for your help!
– code geek Jul 13 '20 at 18:27