Jump to content











Photo
- - - - -

Creating multiboot usb manually?


  • Please log in to reply
14 replies to this topic

#1 Peter80

Peter80

    Frequent Member

  • Advanced user
  • 124 posts

Posted 09 December 2018 - 09:35 AM

I know how to create partitions on hard disk, then install different operating systems on these partitions, and have multiboot system. Is there a similar process for doing that with usb flash drive with Live CD's? I mean something like: create a partition, copy the live iso file, and add the entry in the boot and menu configuration files. Then if you want to add another live cd repeat the process.
Now, i am using multiboot usb creators, like YUMI, but it often do not work well with all live cd, and i don't know why. I want to have more control of how the multiboot usb drive is created, so i can troubleshoot more easy any problems that will occur. 



#2 misty

misty

    Gold Member

  • Developer
  • 1069 posts
  •  
    United Kingdom

Posted 09 December 2018 - 10:05 AM

An old thread on 911cd forum (RIP) covers a manual setup. The Guide for Multi-booting from a USB Drive thread is available at https://archive.is/QsxYT. Note that this is a very old thread and is way out of date, however it may give you an idea about some of the complexities involved in manually setting up a multiboot USB.

If you intend to setup a USB stick for use on BIOS systems, or UEFI systems in compatibility mode, then I would recommend using the GRUB4DOS boot manager. GRUB4DOS supports booting from some .iso files.

Some .iso files simply cannot be booted successfully. You may however be able to extract the required files from the .iso and boot using GRUB4DOS - e.g. using kernel and initrd commands.

There is likely to be lots of trial and error involved.

Good luck - you will likely need it. :thumbsup:

If using GRUB4DOS, then you can always ask for help in the relevant section of the forum (here) for any specific Linux distros or other operating systems.

Also, there are a number of threads in the GRUB4DOS section of the forum specific to booting .iso files - happy reading.

Misty

#3 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 09 December 2018 - 11:02 AM

grub4dos has a way of booting 99% of all linux ISOs correctly by using the partnew command to create a new partition on the USB drive using the ISO file. This mechanism, based on grub4dos, is used by Easy2Boot.

 

Booting linux ISOs in other ways is always problematic because of the 101 different ways the ISOs are created and the many different 'cheat codes' they use (or don't use). See https://rmprepusb.bl...-boot-iso.html for one of my blog articles.

 

With E2B, once you have created the USB drive, you simply copy over the ISOs and boot (though most ISOs need to be made contiguous in order to use the partnew command).



#4 Peter80

Peter80

    Frequent Member

  • Advanced user
  • 124 posts

Posted 09 December 2018 - 01:21 PM

I used Easy2Boot to create multiboot usb and i copy the Clonezilla and Parted Magic .iso files in Utilities folder. Then i tested the usb drive and Clonezilla booted fine, it even loaded from RAM mode, which do not work if i create the usb with YUMI.
But there is a issue with Parted Magic, which i am not sure it is related with Easy2Boot or YUMI, because i see this issue in both cases. If i use the default loading method, from RAM, no tools practically runs fine. GParted takes for ever just to scan drives on startup and i have to kill it. And if i try to load Parted Magic from the usb it won't boot at all, it just reboots the laptop.
But so far i like Easy2Boot. Maybe it will be a better replacement of YUMI.         



#5 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 09 December 2018 - 01:42 PM

Not quite sure what you mean about Parted Magic?

And if i try to load Parted Magic from the usb it won't boot at all, it just reboots the laptop

 

How else are you running it - if you are not running from USB ???

 

Do you get the menu when booting from the ISO? If so, which menu option does not work?

 

Parted Magic 2018_08_06.iso works fine for me  - you can test it using \QEMU_MENU_TEST (run as admin).cmd on the E2B USB drive and boot to a 32-bit menu entry.  There won't be enough RAM in QEMU, but at least is should start to boot and not reset.



#6 Peter80

Peter80

    Frequent Member

  • Advanced user
  • 124 posts

Posted 09 December 2018 - 02:50 PM

 

How else are you running it - if you are not running from USB ???

 

 

I mean when you boot Parted Magic from usb you see this menu:

xEHAgcf.png

If i choose the first two options it loads parted magic fine from RAM, but the tools do not work very well, and specially GParted. It runs very slow and sometimes it's stuck on implementing operation, so i have to kill it.
If i choose the third option it do not load parted magic but restarts the laptop.
The fourth option loads parted magic fine, but again the tools are running very slow.

I have these issues if i create the usb using YUMI.

I don't have cd rom on my laptop - Thinkpad T420, i replaced it with second hard disk, so i can't test how parted magic will perform if i burn it on a cd. But i test the .iso on virtualbox, and it is loading fine from all four options and the tools are running fine, so that might be a issue only for running parted magic from usb.



#7 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 09 December 2018 - 02:55 PM

@Peter80

 

Basically there are two ways to boot a Linux .iso.

#1 if the Linux .iso has been designed to be booted as a .iso, by using a more or less "standard" set of commands (these may vary from distro to distro, but basically they are just a set of kernel and initrd commands)

#2 since a number of .iso's for *whatever reason* don't like to be booted as .iso, the "trick" is to write for the extents they occupy on the disk-like device a "fake" (id 00) partition in the MBR, most Linux distro's will see it and "find themselves".

 

The trick was found/invented by cdob, around here:

http://reboot.pro/to...brided/?p=88531

 

:duff:

Wonko 



#8 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 09 December 2018 - 03:11 PM

You probably need to add a cheat code like nomodeset or edd=on or edd=off or noacpi or something for your particular hardware

 

My version has extra menu options for 'black screen'

 

If you Google for similar problems you will probably find the cheat code you require. It sounds like a hardware/driver issue to me.

Attached Thumbnails

  • pmagicfu.JPG


#9 Peter80

Peter80

    Frequent Member

  • Advanced user
  • 124 posts

Posted 09 December 2018 - 03:38 PM

Will test these boot codes to see if it will make any difference.

Does Easy2Boot work with hiren cd's? I have Hiren PE x64 and Hiren 15.2 versions. Can Easy2Boot use both and in which folder i have to copy the .iso files?



#10 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 09 December 2018 - 04:17 PM

Yes, it supports a few different ISOs including those

http://www.easy2boot...-payload-files/

http://www.easy2boot...-payload-files/



#11 Peter80

Peter80

    Frequent Member

  • Advanced user
  • 124 posts

Posted 09 December 2018 - 05:09 PM

I copy Hiren PE x64 .iso file in WINPE folder, but when i booted it showed a message to press any key to boot from cd or dvd. If i press a key it shows the Windows 10 login screen and stuck there. Nothing happens after that.    



#12 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 09 December 2018 - 05:15 PM

It is a 64-bit WinPE ISO - it will need a compatible 64-bit system with 2GB of RAM.

It works for everyone else, so either the ISO is corrupt, you have a bad flash drive or something about your system is flaky.

DId you try a VBox boot using VMUB?



#13 Peter80

Peter80

    Frequent Member

  • Advanced user
  • 124 posts

Posted 09 December 2018 - 06:11 PM

I think my laptop, Thinkpad T420, is enough powerful and compatible to run Hiren PE x64. It has 4GB of RAM and i run Windows 7 x64 and Debian X64 with dual boot on it.
I don't think the .iso is corrupt because i downloaded it from the developers website, and it runs fine on vritualbox.



#14 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 09 December 2018 - 06:15 PM

Try booting from the E2B USB drive using VirtualBox + VMUB.

http://www.easy2boot...lper-usb-drive/



#15 Peter80

Peter80

    Frequent Member

  • Advanced user
  • 124 posts

Posted 10 December 2018 - 07:50 AM

This seems to require second usb drive which i don't have at the moment. I will just assume that this is a issue with my hardware and move on testing other .iso files.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users