Can't install Ubuntu 18.04
Sorry, failed in examining "/home/USERNAME/Downloads/ubuntu-18.04-desktop-amd64.iso" to detect distro type due to the following reason.
"Command '7z l "/home/USERNAME/Downloads/ubuntu-18.04-desktop-amd64.iso" 2> /dev/null' returned non-zero exit status 2".
Is your iso corrupt?
On Sun 10 Jun, 2018, 2:59 PM sevku, [email protected] wrote:
Sorry, failed in examining "/home/USERNAME/Downloads/ubuntu-18.04-desktop-amd64.iso" to detect distro type due to the following reason.
"Command '7z l "/home/USERNAME/Downloads/ubuntu-18.04-desktop-amd64.iso" 2> /dev/null' returned non-zero exit status 2".
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mbusb/multibootusb/issues/392, or mute the thread https://github.com/notifications/unsubscribe-auth/AEC34FRJvOcqIPwo5yqtueyhoe2hOYfOks5t7ObwgaJpZM4UhpXR .
Did you get this to work? I want to use the Ubuntu 18.04.1 server image with MultiBootUSB with persistent storage.
@sevku Off the top of my head. 7z is having trouble in parsing the iso. You'll need to upgrade 7z or re-master the iso so that 7z can handle it.
It works with Ubuntu Server 18.04.1 server image without persistent storage. But with persistent storage fails with:
... overlayfs: unrecognized mount option "lowerdir=" or missg value
...
mounting /cow on root failed: Invalid argument
overlay mount failed
I'm trying to repair an Ubuntu Server install, so need to run a live Ubuntu image. I've now realised that I need the Ubuntu desktop image to provide the try ubuntu option. I'll try this image with persistent storage. I expect this will have the same problem.
I've just tried the desktop image and the try option doesn't work with persistent storage. I can't see what the error message is. Any idea how to fix it?
I got the persistence working using https://www.pendrivelinux.com/yumi-multiboot-usb-creator/
I had the same problem reported however I get a message in the terminal on installation that says p7zip-full is not installed. Once I installed it the error no longer occurs.
The "working-without-persistence-but-fails-with-persistence" is due to a bug in casper that affects partition-based persistence, such as used by Rufus. See https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1489855
There are three solutions (not counting not using persistence, which is not a solution):
- Use a live USB creator that uses file-based casper (e.g., YUMI) rather than partition-based casper (e.g., Rufus) for persistence. (In this case, if you want persistence > 4GB you'll have to format the USB as NTFS instead of the default FAT32.)
- For some non-obvious reason, if your USB drive is formatted as NTFS instead of the more common (and often default) FAT32, this bug does not seem to manifest itself. Rufus with persistence DID work on an NTFS USB, but gave the "mounting /cow on root failed: Invalid argument" error on a FAT32 USB. YMMV.
- Use Ubuntu 19.10 (and presumably onwards) where this casper bug has allegedly been fixed, according to https://askubuntu.com/questions/1176134/couldnt-get-size-0x800000000000000e-when-trying-to-install-ubuntu-18-04-from
I have verified that solutions (1) and (2) work (for a Linux Mint 19.3 live installation where I had this problem). I.e., with either solution (1) or (2), it installed and ran with no (obvious) errors and that a simple persistence test worked as well.