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?

  • 1
    How did you set the persistence? – VRR Apr 15 '15 at 9:22
  • @VRR By using LiLi to create the bootable usb with ~100mb of persistence, and then deleting the file and creating an ext4 partition named casper-rw. – Hellreaver Apr 15 '15 at 19:46
  • Can you use LiLi to even create bootable USB drive for UEFI? I don't think so. If you want persistence read this post at 2.3. – VRR Apr 15 '15 at 20:55
  • I know what I'm booting in UEFI mode, I see the UEFI splash screen. It looks different from the legacy boot. I've tried those methods, and they don't work any different from what i've done. – Hellreaver Apr 15 '15 at 23:15
  • 1
    I wasn't able to create bootable USB using Lili for UEFI and there is no info about it on their site. Maybe you have combo UEFI BIOS . Others gain persistence using this method involving Startup Disk Creator , but I find the app buggy. – VRR Apr 16 '15 at 9:19

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" {
set gfxpayload=keep
linux /casper/vmlinuz.efi
persistentfile=/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.

| improve this answer | |
  • Yeah, 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.