Jump to content











Photo
* * * * * 5 votes

Easy2Boot Development Discussion

grub4dos multiboot multipass usb boot iso

  • Please log in to reply
1338 replies to this topic

#1301 wimb

wimb

    Platinum Member

  • Developer
  • 2665 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 23 January 2019 - 08:01 PM

The Main menu is not working either.

Scripting for *.grub2 does not work because there is no regexp module loaded, so the script cannot find any files.

 

if exist  fred.grub2   will work, but if exist *.grub2 does not work.

 

OK, so it is not simple to make it working ....

 

It is a pity, since you are so close to having UEFI Secure support for your program.

 

How to make Ubuntu Or Linux ISO booting with persistence support without using extraction of the ISO ? Is it possible ?



#1302 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 23 January 2019 - 09:31 PM

I have managed to make it work by hard-coding the paths to the .grub2 configuration files.

So the .grub2 menu files must be named

antivirus_menu.grub2

backup_menu.grub2

linux_menu.grub2

security_menu.grub2

utilities_menu.grub2

or

custom_menu.grub2 through to custom5_menu.grub2 which can be added by the user.

 

The user can add more .grub files by adding a source command

e.g. /_ISO/MAINMENU/grub2/custom_menu.grub can use

 

source $isofpath/user1.cfg

 

to load more menus.

 

I will tidy it up and test some more before uploading a new version in a day or two.

 

 



#1303 wimb

wimb

    Platinum Member

  • Developer
  • 2665 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 23 January 2019 - 09:36 PM

That sounds great. Nice to hear that a solution  will be possible  B)



#1304 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 23 January 2019 - 09:57 PM

yes, persistence is possible for many linux versions as long as they support the needed kernel parameters.



#1305 wimb

wimb

    Platinum Member

  • Developer
  • 2665 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 24 January 2019 - 10:36 AM

yes, persistence is possible for many linux versions as long as they support the needed kernel parameters.

 

Thanks, I just realised Ubuntu and Linux Mint ISO with persistence using your Make_Ext.exe program to create the casper-rw file with ext3 filesystem.  :)



#1306 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 24 January 2019 - 01:46 PM

Beta10 of the grub2 menu system is now available.

https://rmprepusb.bl...a10-is-now.html

http://www.easy2boot...efi-grub2-ptn2/


  • wimb likes this

#1307 wimb

wimb

    Platinum Member

  • Developer
  • 2665 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 24 January 2019 - 02:54 PM

Beta10 of the grub2 menu system is now available.

https://rmprepusb.bl...a10-is-now.html

http://www.easy2boot...efi-grub2-ptn2/

 

Thanks, Perfect ! 

 

UEFI Secure booting with Grub2 is working OK  :)

 

ubuntu.iso  and  linuxmint.iso and knoppix.iso are all three booting in UEFI Secure mode from Main Menu

 

:cheers:



#1308 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 24 January 2019 - 06:51 PM

Thanks, Perfect ! 

 

UEFI Secure booting with Grub2 is working OK  :)

 

ubuntu.iso  and  linuxmint.iso and knoppix.iso are all three booting in UEFI Secure mode from Main Menu

 

:cheers:

Good.  :smiling9: 

So we can officially start calling it "insecure boot", the only thing that may keep the evil maid  :eek:  out of your precious files is back to "disallow booting from external media AND password protect the BIOS, pardon UEFI".

 

:duff:

Wonko



#1309 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 25 January 2019 - 12:25 PM

TBH - I don't understand why it (grub2) can be allowed to boot unsigned files!

 

It seems to allow the linux command after a secure boot. I thought only the linuxefi command would be allowed which checks for secure boot efi files.

 

It boots clonezilla and gparted with no problem too!


  • wimb likes this

#1310 wimb

wimb

    Platinum Member

  • Developer
  • 2665 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 25 January 2019 - 12:41 PM

TBH - I don't understand why it (grub2) can be allowed to boot unsigned files!

 

It seems to allow the linux command after a secure boot. I thought only the linuxefi command would be allowed which checks for secure boot efi files.

 

It boots clonezilla and gparted with no problem too!

 

Good to hear about it  :)

 

Life is much easier now for Multi-booters .....

 

And such solution is needed since in real life you encounter quite often (and sometimes only) UEFI Secure booting computer

 

However, I can say that bootx64.efi + grubx64.efi signed files of Ubuntu don't support all these ISO's

 

It is the Grub2 files of Linux Mint that opens Pandora's box ....



#1311 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 25 January 2019 - 12:59 PM

Well, Pandora's box has indeed been opened and now cannot be closed!

grub2 can now load pretty much anything from ext2 or FAT volumes on a Secure Boot.

How long will it take Microsoft to realize it...?

Looks like BitLocker is a must now since Secure Boot is completely useless.

So malware could replace the EFI boot files with these files plus a small OS on the EFI partition (or KonBoot) and it would still secure boot to God knows what!



#1312 wimb

wimb

    Platinum Member

  • Developer
  • 2665 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 25 January 2019 - 01:51 PM

Well, Pandora's box has indeed been opened and now cannot be closed!

grub2 can now load pretty much anything from ext2 or FAT volumes on a Secure Boot.

How long will it take Microsoft to realize it...?

Looks like BitLocker is a must now since Secure Boot is completely useless.

So malware could replace the EFI boot files with these files plus a small OS on the EFI partition (or KonBoot) and it would still secure boot to God knows what!

 

Yes, but booting from USB-Stick made with Microsoft MediaCreationTool offers already easy acces to your internal harddisk when BitLocker is not used.

 

Media4_ShowHidden.png


#1313 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 25 January 2019 - 02:14 PM

Well, if you have physical access, you can boot to Ubuntu or many other signed OS's and do anything.

But now we don't need physical access as it can Secure Boot from the internal hard disk...

Say we have a Windows system which runs a virus\malware (e.g. you open an attachment in an email) which can replace the EFI boot files with this grub2 which could then run any sort of unsigned mini OS root kit code which could log passwords, or infect unencrypted Windows files on NTFS partitions, or just encrypt the drive and ask for a ransom, etc. - all with Secure Boot enabled in the BIOS and no physical access required.



#1314 wimb

wimb

    Platinum Member

  • Developer
  • 2665 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 25 January 2019 - 02:36 PM

You are right. :)

 

Houston we have a problem .... :ph34r:



#1315 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 29 January 2019 - 08:53 AM

E2B v1.A9e Beta can now directly boot from an unmodified Windows NT6-based (Vista to SVR2019) ISO and then load the same ISO into WinNTSetup ready for you to deploy. This means you can MBR boot from a Windows ISO and do a GPT\UEFI install to the target disk without needing to boot via UEFI or using .imgPTN files on the E2B drive.

 

You can even make an install batch file yourself to run a diskpart script first and then launch WinNTSetup with any parameters you wish.

 

https://rmprepusb.bl...-available.html


  • devdevadev likes this

#1316 AnonVendetta

AnonVendetta

    Silver Member

  • Advanced user
  • 737 posts
  • Location:A new beginning.....
  • Interests:Self-development, computing

Posted 12 February 2019 - 06:43 PM

I am having a bit of trouble getting E2B working on a Kingston SSD in my iODD. It previously had a 1TB HDD, but I have a new use for that, so I installed a Kingston 250GB SSD.

My steps:
1. Diskpart, select disk, clean command
2. Boot into Parted Magic USB flash drive, attach iODD, then do a partial zerofill with dd:

dd if=/dev/zero of=/dev/sdX

At this point it should be clean and free of old partitions. Next I run the E2B DPMS installer and select the drive. It works, I just ignore the large/fixed drive warning.

The iODD now complains about "1st partition missing" and "no _ISO folder". _ISO is definitely present, both the iODD and E2B can use it. Disk is listed in Windows/Linux, along with the partitions E2B created.

I redid the above steps again, except this time I chose command line option in E2B installer, same results.

What am I missing here? Thanks!

#1317 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 12 February 2019 - 06:50 PM

So you are using the standard NTFS IODD firmware and you have formatted the disk as NTFS?



#1318 AnonVendetta

AnonVendetta

    Silver Member

  • Advanced user
  • 737 posts
  • Location:A new beginning.....
  • Interests:Self-development, computing

Posted 12 February 2019 - 07:54 PM

@steve6375: Yes, I installed the standard iODD NTFS firmware months ago. I did not manually create partitions after cleaning the disk, I let the E2B installer handle that. This same procedure worked fine for the old HDD that was in the iODD. The SSD is a standard HDD-shaped SSD with SATA 3 slot/pin connectors, I dont see why it should be any different.

Thanks!

#1319 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 12 February 2019 - 07:59 PM

Did you reset the IODD? It may be trying to load a specific ISO which was on the previous drive because it remembers the previous payload files and always tries to reload them on power on, so you must reset it.

https://www.rmprepus...tutorials/ve200

 

If you fiddled with the firmware 'months ago' are you sure you didn't leave it with exFAT firmware?

 

If that does not work, go back to basics.

Format the USB drive using Windows as a Primary NTFS partition and make a \_ISO folder and copy over a iso file.

Make sure the disk is in MBR format by using diskpart  convert MBR.



#1320 AnonVendetta

AnonVendetta

    Silver Member

  • Advanced user
  • 737 posts
  • Location:A new beginning.....
  • Interests:Self-development, computing

Posted 13 February 2019 - 04:14 AM

Fixed.....steps:

1. Cleared drive again
2. Reflashed the latest iODD NTFS firmware, just to be sure
3. Started E2B installer in command line mode and did the setup
4. "No first partition" and "No _ISO folder" errors are gone, but I couldnt select menu entries other than Auto, so I reset device to defaults, all working
5. Also powered off/on laptop, seemed to help

Having an iODD/Zalman do double duty as an E2B drive is immensely useful, I just couldnt give up. An SSD does also provide a night and day difference when used this way, even though the drive is throttled down from SATA3 to USB3/2 speeds, depending on your PC's USB ports.

#1321 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 13 February 2019 - 08:29 AM

Glad I could help.

The latest E2B v1.A9 Beta adds useful new features for IODD such as extension overrides.

http://www.easy2boot...ognised-by-e2b/

http://www.easy2boot...a-zalman-ve200/



#1322 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 25 March 2019 - 05:01 PM

https://rmprepusb.bl...ith-refind.html

 

Latest E2B and MPI Tool Kit now allows you to select and boot UEFI-bootable images on UEFI-only systems without needing to boot in CSM mode first or use Easy2Boot.



#1323 Alhaitham

Alhaitham

    Newbie

  • Members
  • 11 posts
  •  
    Egypt

Posted 27 March 2019 - 10:02 AM

Thanks a lot for this great tool.



#1324 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 304 posts
  • Location:USA

Posted 27 March 2019 - 03:17 PM

Steve, thanks for the update, I've been wanting a tool to do what E2B does but with EFI and this looks like it.

 

I'm working through the winbuilder to try and get the miniwinpe now.  Any guidlines on what packages to choose and what to disable? 



#1325 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 27 March 2019 - 03:52 PM

Link is in this blog article

https://rmprepusb.bl...ith-refind.html

 

 

at very bottom of page.







Also tagged with one or more of these keywords: grub4dos, multiboot, multipass, usb boot, iso

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users