Please notice that without any casper-rw (and maybe home-rw) partition modifications of the Ubuntu system will not persist shutdown and reboot. In that context it is a live-only drive, where you can use the drive space behind the system to store data and exchange data with other systems, also Windows systems.
I then went into system preferences and then startup disk and selected Macintosh HD (the only drive listed) and restarted. After restart I held down the option key and when the bootloader comes up it is named "Macintosh HD" which is correct. I tried script it to set startup disk to see if I could do this via script, but it didn't work. It would reboot and come back up fine, but the name of the HD in the bootloader was still "EFI Boot". Here is the script that I tried running that didn't reset the name.
To heck with restoration of a disc image, I personally prefer cloning. That way, right after the clone, I just reboot the computer, hit F11 and select the cloned disc to boot and voila, it's tested. I now have a full backup that I don't have to take time to restore.
Here I've copied the contents of the casper directory into a directory named /lucid32 on the root of a data partition. It's the UUID of the data partition that's added to GRUB's boot option. The option 'live-media-path=' tells casper, the Ubuntu live boot software, where to look for the filesystem image so you can create the directory by whatever name you like.
I have got Unetbootin and have put the files onto my drive which is properly formatted as MS-DOS(FAT) and GUID. I have several folders and files: [BOOT], boot, casper, dists, EFI, install, isolinux, md5sum.txt, pics, pool, preseed, README.deskdefines. When I go in Startup Disk in System Preferences, or press option in startup, it doesn't show the drive, when I go in Disk Utility, click on the drive, then info, the table shows Bootable: no. I do not know why this is happening, as I followed the legitimate steps. I would like still to install Ubuntu on my MacBook Pro 2018, thank you.
Have you tried LinuxLive USB? If so and it failed, I think it may be your USB stick. What brand is it and how large is it? Also, what method did you use to attempt installation (I need to know which you already tried)? Did you have the installer on the same stick you are wanting to install on? If so, create a bootable disc (or another USB) and select "Something else" and see if it will allow you to install onto the stick (warning: it will take far longer to install and longer to boot when done).
The easiest way to test this out is when booting, hit the 'e' key to edit the boot options of Ubuntu. Add the word 'toram' right after the word 'boot=casper' and before 'quiet' then hit F10 or Ctrl+X to boot. Booting will take a little longer as everything is being copied from the USB to memory.
Guyz, i need help.. i did the above steps.. im using 3.8 Gig flash drive.. imgiving 3.1GB reserved space for my document.. but when i boot from USB drive andstore data in my documents its getting discarded when i restart or shutdown.. imean nothing is getting saved.. its working just as live disk.. can anyone tellme how to store my file in mydocument folder.. sorry for bad English.. Thanks..
To use it you need to insert the stick into your target PC or laptop and reboot the device. It should recognise the installation media automatically during startup but you may need to hold down a specific key (usually F12) to bring up the boot menu and choose to boot from USB.
Important This method is available only if Startup Repair is a preinstalled recovery option on your computer.
If you do not have a Windows installation disc, and Startup Repair is a preinstalled recovery option on your computer, follow these steps to repair startup files:
The concept of persistence has come a long way too. The casper filesystem basically overlays the live USB session, so you actually can install programs in your live session and have those programs remain installed the next time you boot. The same is true with files you might create and store in your home directory as well. If you've ever liked the concept of a live USB, but felt limited by the default set of applications, persistence is for you. In fact, with a sizable USB stick and a little more work, you can make a multiboot USB stick with persistence as well.
Acronis True Image's rescue boot disc does not support cloning an encrypted drive, even when unlocked: "encrypted and unlocked disks cannot be read by Acronis Bootable Media". Further, "This is expected behavior, current by-design limitation."
Step Six: Open the Startup Disk preferences and select the new internal volume. Click on the Restart button. You should boot from the new drive. Eject the external drive and disconnect it from the computer.
okay, I think I fixed that. turns out I needed to do "cd /media/cdrom" for step 6.
So I did it and now there are a bunch of files on my drive. I edited isolinux.cfg (by the way, the original was like five lines long and looked nothing like the new version) and booted into OSX to change the boot order. However, my flash drive doesn't show up in the available disks for startup.
If it helps, I'm doing this in system preferences --> startup disk and am dual booting ubuntu and OSX. I followed all the steps in ubuntu, of course.
To find out what that 150mb of first-time boot space is used by, you can mount the usb stick on another linux system, and then inside of it's root dir you'll see a file called "casper-rw" of the same size as the persistence file you created. That's actually an ext2 filesystem-in-a-file, so you can mount it to a dir with "-o loop" as you'd do for a cdrom iso. Inside you will see a file structure mimicking the main one, but only containing files that have changed since the original squash filesystem was made. Examining my first-boot 150mb I saw about 2mb taken up by /home, and the other 148mb taken up by /var. The filelight and 'du -sh' tools are nice for seeing who's the space hog.
aa06259810