When booting a LiveUSB into UEFI mode, persistence is not available. When booting into legacy mode, it works fine. why? And how may I resolve this?
Asked
Active
Viewed 1.1k times
4
1 Answers
2
The easiest way to create USB Live CD with persistence is to manually form the partitions using GParted.
This is what I've done:
- Format your USB with GPT partition table (though, I believe MBR should work fine as well).
- Create two partitions. First is for ISO files and it should be FAT32 (~1100MB for Ubuntu 14.04). Second is for persistence and it should be ext4 with label casper-rw.
- Copy files from your ISO (including hidden) to USB FAT32 partition.
- Edit
boot/grub/grub.cfg
and just add the word persistent (This is the reason why persistence doesn't work for you in UEFI mode.):
menuentry "Start Kubuntu" {
persistent
set gfxpayload=keep
linux /casper/vmlinuz.efifile=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity quiet splash --
initrd /casper/initrd.lz
}
It might be a little slow when you first start it especially if you use USB2.0.

VRR
- 1,270
-
1Yeah, I've noticed how Ubuntu's performance is primarily based on (At least in my experience) disk speed. When loaded into ram, even on older computers, Ubuntu runs much faster when on a 5400 rpm drive or a usb 2.0 flash drive. I recently got a 250gb ssd which has drastically improved performance. I have an fx-8320 overclocked to 4.4 ghz, and a faster storage system improved performance – Hellreaver Apr 27 '15 at 15:06
-
Yes, that is the bottleneck of every OS. Just take note that it has been stated that not every USB 3.0 work well with Ubuntu (not by my experience) at the time being. In case you want to buy one. – VRR Apr 27 '15 at 17:34
Startup Disk Creator
, but I find the app buggy. – VRR Apr 16 '15 at 09:19