I fiddled a bit with creating a Live USB stick for creating a LFS system on my new computer. To make this easier I wanted to store some persistent data on it as well (settings, GCC, make and such things). I created following partitions (gpt):sdb1 8 MiB unformattad label: none flags: bios_grubsdb2 100 MiB FAT32 label: EFI flags: boot, espsdb3 2.00 GiB FAT32 label: BOOT flags:msftdatasdb4 11.77 GiB Ext4 label: casper-rw flags: nonesdb5 1.00 GiB swap label: none flags: noneI used Ubuntu 16.04 in my last test the system has no optical drives. It runs the Live-Image fine as long as I don't boot it persistent.The last outputs on the console are:done.Begin: Setting up autologin... ..doneBegin Disablig systemd's GPT auto generator... ..donebegin: Setting hostname... ... /scripts/casper-bottom/18hostname: line 23: can't create /root//etc/hostname: nonexist directory/scripts/casper-bottom/18hostname: line 25: can't create /root/etc/host/scripts/casper-bottom/07remove_oem_config: .: line 20: can't open '/root/usr/share/debconf/(here is something missing I could recreate between reboots)Begin: running /scripts/nfs-bottom ... done.Begin: Running /scrips/init-bottom ... muont: mounting /dev on /root/dev failed: No such file or directorydone.mount: mounting /run on /root/run failed: No such file or directoydone.run-init: current dirctory on the same filesystem as root: error 0Target filesystem doesn't have requested /sbin/init.run-init: current dirctory on the same filesystem as root: error 0run-init: current dirctory on the same filesystem as root: error 0run-init: current dirctory on the same filesystem as root: error 0run-init: current dirctory on the same filesystem as root: error 0run-init: current dirctory on the same filesystem as root: error 0No init found. try passing init= bootargBusybox shellI needed several reboots to type all in my kvm switch, messed up the outputs after switching system back and forth (doesn't be problematic once I get a real shell or being under X, but during this stage it messes a bit, may be a better one would have done this, but the errors occurs even without the KVM switch.I wonder what I am making wrong, forgotten to consider etc. I hope you can help me here as i was redirected to try again on this board. Here is the first topic I asked specifically there.Feel free to comment if you have further questions that need to be answered in order to help me and may be other that have the same or similar issues.I found new info on the Problem. During the manual installation the boot files later accessible in /boot/efi didn't go into the ESP as intented by me.
BusyBox on persistent USB Livesystem
boot;grub2;live usb;uefi;initramfs