Thursday, May 16, 2024
 Popular · Latest · Hot · Upcoming
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 20022  / 1 Year ago, fri, march 10, 2023, 5:24:50

I created a USB-stick with Ubuntu, using the recommended tool "Startup Disk Creator" and the image for Ubuntu 13.10. The very simple interface looks like this:



enter image description here



There can't be much to misunderstand in this GUI. I have chosen to create a USB stick with a live version of Ubuntu, which will save files and settings from session to session, on the USB drive, right?



Well, it just doesn't save anything. I go in, create a file on Desktop, restart and it's gone.



I did the whole procedure three times, i.e. first creating the USB, then testing if I could save.



Have I misunderstood something?


More From » persistence

 Answers
6

Bug 1159016 is for broken presistence on UEFI machines.



The live media has two boot mechanisms, syslinux for non-UEFI and grub for UEFI machines.



The persistence mechanism is simply a word "persistent" on the kernel boot command line, and while the syslinux boot works with persistence, the word was missed in the grub.cfg file.



You can add it yourself. Edit the grub.cfg (usbpen/boot/grub/grub.cfg) file and add persistent just before the file= on the vmlinuz lines. And yes, your desktop will be part of the things which will be saved when things are working.



E.g.



menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi persistent file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}





ISO formats changed about 14.04, making changes as suggested above more difficult (editable FAT filesystems can no longer be used on the USB). The best current way to make a persistent USB is to use the mkusb tool from mkusb download site. The mkusb-installer should set things up for you.


[#28469] Friday, March 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ilityushing

Total Points: 18
Total Questions: 100
Total Answers: 113

Location: Senegal
Member since Wed, May 13, 2020
4 Years ago
ilityushing questions
Sat, Apr 1, 23, 03:07, 1 Year ago
Wed, Mar 2, 22, 12:25, 2 Years ago
Tue, Jun 15, 21, 14:34, 3 Years ago
Sun, Aug 15, 21, 18:44, 3 Years ago
;