Coder Social home page Coder Social logo

mexit / multios-usb Goto Github PK

View Code? Open in Web Editor NEW
214.0 9.0 25.0 19.18 MB

Boot operating systems directly from ISO files

License: GNU General Public License v3.0

Shell 100.00%
grub2 multiboot usb bootable-usb iso-image boot linux loopback uefi-boot liveusb

multios-usb's Issues

Black screen

After installing to a drive from Linux and copying an ISO to the appropriate folder, my computer boots to a black screen. No messages, menu or other display at all. Secure boot is disabled. Other removable drives boot without issue. Can anyone suggest any troubleshooting tips?

Not all ISO files detected

Is it possible to boot undetected files such as a Windows 10 installation ISO? After placing it in the ISOs folder, only some Linux ISO's are detected and displayed. Is it a case of making a config file for the missing images or can I force GRUB to display all files found?

Installer options?

Usage: sudo $scriptname [options] device [data_size]

What options are available for the installer? I cannot find any documentation.

Unable to locate .SQFS file

I am trying to boot the latest Parted Magic ISO

Snipped contents of grub.cfg:

set default_settings=""
set live_settings="boot=live eject=no"
set linux="/pmagic/bzImage"
set initrd_img="/pmagic/initrd.img /pmagic/fu.img /pmagic/m.img"
set default=2
set message="Loading kernel and initramfs. Please wait..."

menuentry "1. Default settings (Runs from RAM 4GB+)"{
	echo $message
	set gfxpayload=keep
	linux $linux $default_settings
	initrd $initrd_img
}

This is what I am testing:

# For Parted Magic

iso_subdir="partedmagic"
iso_pattern="pmagic_*.iso"
grub_configfile=""

for isofile in $iso_dir/$iso_pattern $iso_dir/$iso_subdir/$iso_pattern; do
	if [ -e "$isofile" ]; then
		regexp --set=isoname "$iso_dir/(.*)" "$isofile"

		submenu "$isoname ->" "$isofile" {
			iso_path="$2"
			loopback loop $iso_path
			isocfg=""
			bootoptions=""
			linux_path="(loop)/pmagic/bzImage"
			initrd_path="(loop)/pmagic/initrd.img (loop)/pmagic/fu.img (loop)/pmagic/m.img"

			menuentry "Parted Magic - 1. Default settings (Runs from RAM 4GB+)" {
				echo "Loading kernel and initramfs. Please wait..."
				set gfxpayload=keep
				linux $linux_path $bootoptions $isocfg
				initrd $initrd_path
			}
		}
	fi
done

The ISO boots correctly and loads the above images.

Then it tries to load a .SQFS file which is the main OS in a compressed file. But it fails to locate it and drops out to a shell.

Frome there I try to locate the contents of the ISO but cannot find where it is mounted.

Any ideas what I can do to locate the file and boot?

certificate ubuntu 22

ubuntu image file name:
ubuntu-22.10-desktop-amd64.iso

motherboard:
gigabyte z2709-D3

i installed certificate from EFI/BOOT/cert/MultiOS-USB.cer
Select Continue and confirm (Yes) key enrolling
but security violation error
i disabled secure boot but same error again

error: device not found

2
3
4

  1. Three ISO files of linuxmint are correctly recognized.
  2. Choose any file -> Enter -> Esc
  3. Choose any file again, error: device not found.

How to fix it, thanks.

Boot Windows directly from the ISO

Nice project.
I see on windows_support.md that it says

Currently, you have to extract the files from the ISO image. In the future, we plan to run Windows directly from the ISO image.

How are you going to implement it? Any good ideas? I might be able to help you.

Read-only partition with extx filesystems

Hello and thank you for your usefull project !

I installed a first time my USB key on default fs, but Ubuntu complete iso is 5Go… So fat32 is not sufficient.

I installed the tool with ext4 and… the partition is now read-only, I can only write it with sudo rights.

Do you have any idea why ?

Command used to install the tool
sudo ./multios-usb.sh -f ext4 /dev/sdb 20G

Thanks !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.