PDA

View Full Version : [all variants] How do I create a live USB for UEFI systems that reads and saves changes?



sdgiffin
January 31st, 2015, 04:07 PM
I have a 16 GB USB stick which runs a live boot of Ubuntu 14.10 with antivirus software, and a few other tools I installed which (obviously) needs to be kept up to date as I use it to boot and clean infected Windows machines.

To make it, I used usb-creator-gtk, a fresh ISO for Utopic x64 Desktop (downloaded from The Official Site (http://www.ubuntu.com/download/desktop)), and a 4 GB persistence file which usb-creator-gtk creates automatically when the option is selected. Nothing fancy, nor anything complicated.

When this is used on (old school) BIOS systems, it's all there. I can update the antivirus software and the changes are saved in the user persistence file (casper-rw I believe?) However, when used to boot UEFI systems, none of that is there and any changes made are not saved.

It's like I have two environments on this stick: The UEFI version which is the same as the default ISO, DOESN'T save changes and is R-O, and the BIOS version which has my tweaks and custom apps, DOES save changes and is R-W.

So - how I do get the UEFI version of the live environment to save any changes made or even better, how can I get the UEFI and BIOS versions of the live environment to share the same environment?

sudodus
January 31st, 2015, 04:59 PM
You have to enter the boot option persistent also in the grub configuration, that is activated in UEFI mode.

Do it

- either during booting (add it to the end of the linux line in the grub sub-menu, press E)

- or by editing the file grub.cfg in order to get persistence every time without entering that sub-menu

sudodus
January 31st, 2015, 05:04 PM
See this link near the end of post #1, the chapter Enjoy

One pendrive for all PC (Intel/AMD) computers (http://ubuntuforums.org/showthread.php?t=2259682)

ajgreeny
January 31st, 2015, 05:33 PM
See http://ubuntuforums.org/showthread.php?t=2165496 for another info thread with same details.