Commit Graph

31 Commits (master)

Author SHA1 Message Date
Martin Whitaker 67b3f6fc30 Fix Mageia support.
Works cleanly with Mageia 7, which no longer uses isolinux. Mageia 6.1
can be booted using grub2, albeit only with a text menu, but syslinux
boot is still broken.
5 years ago
Shinji Suzuki daead673a8 Postfix menu-entry with an architecture name when generating
loopback.cfg so that one for i686 won't hide another for x86_64
or vice versa.
6 years ago
Shinji Suzuki 1a7ca3bc02 Fix loopback.cfg file generation when working on "PING is not Ghost 4.00".
(syslinux config of this iso contains only one menu item and it
excercised a code path that had a bug but have not been been taken
before.)
Rewrite relative paths as well when generating loopback.cfg.
Deal with the case where isolinuxbin_dir is None.
6 years ago
Shinji Suzuki f1c057ea77 Get salitaz-rolling booting.
* Deal with syslinux config file lacking 'kernel' line.
* Fix misdetection as 'centos'
6 years ago
Shinji Suzuki ea8a6d0b49 Get WifiSlax64-1.1-final booting.
* Prefer 'grub.cfg' over other variants like 'grub-embedded.cfg'
* Extract the tree rooted at EFI/ as well.
* Probe .txt files other than 'thema.txt' for rewriting desktop-image:
setting.
* Add 'legacy_tweak()' method to ConfigTweakers to keep old behaviour.
* Add SalixConfigTweaker.
6 years ago
Shinji Suzuki 03077403d2 Fix regression introduced by 8ea5932bdc.
With the change in the commit, loopback.cfg got regenerated at the
location of file determined by scanning iso tree. If no loopback.cfg was
found, it was assumed to be at the distribution root directory. In either
case, loopback.cfg was generated/overwritten at the determined location
and the file was chosen for booting.
Now, if no loopback.cfg is found, grub.cfg is sought. It is only in the
case where neither is found that loopback.cfg gets generated and used.
Therefore no config files provided by distro get overwritten.
6 years ago
Shinji Suzuki a3ff878087 Remove a code that does not seem essential but can potentially hurts. 6 years ago
Shinji Suzuki 0669b962ed * Split the 'kernel ...' parameter not by ',/' but by ',' because some distro contains relative paths there and then we don't see './' there.
* Fix the last block of syslinux config file being picked up but being partially extracted (only to the end of the line rather than to the end of the block). => Took $ out of the regular expression and handles the last block separately.
* Don't use 'menu label' as a key to split a syslinux config file into blocks. Solely use 'label' as the separator for extracting menu items out of syslinux config file. If 'menu label' is also considered, then we may split halfway within a block. => Removed 'menu label' from the regular expression.
6 years ago
Shinji Suzuki 8ea5932bdc Fixes/Enhancements on loopback.cfg generation.
* Be more consistent about location of 'loopback.cfg'. (Use the first
one found in the iso image.)
* Fixed failure to pick the last menu item defined in syslinux config file.
* Pick 'initrd=...' parameter in 'append ...' line and generate 'initrd
...' line.
* Keep the previous content when updating.updating
* Removed redundant open/close in write_to_file().
* Fixed error message in write_to_file()
* Reduced the number of open/close in iso2grub2().
* Avoid adding a menu item withe a given name more than once.
* Keep, within the generated file, record of the source files from which menu items were picked up.
6 years ago
Shinji Suzuki d9290c543a Fix an excess level of indirection when processing more than one match
results.
6 years ago
Shinji Suzuki 088a285375 Remove optimization in favour of reduced redundancy and code lines. 6 years ago
Shinji Suzuki b437771c2e Reduce indentation level. 6 years ago
Shinji Suzuki a3b7af23c2 Avoid having a match of (menu label|label) in the middle of a line.
Avoid loading cfg file twice.
6 years ago
mbusb 815241572c Improvements and memdisk for ISO boot:
1. Catch 7zip error while listing ISO content
2. Way to detect .ISO and .IMG files for direct booting using memdisk
3. Added a class for finding available RAM size
4. Added feature for selecting ISO, IMG, Zip and all files options in file chooser dialog
5. Added generic menu entry for memdisk
6. Corrected path to menu.lst file for distrs based on grub4dos
7. Fix for crash when multicard reader is inserted on the system without a SD card
8. Correctly detect USB disk information using udisk2-dbus without crash
7 years ago
mbusb 6beacbf175 Added Avira Rescue System 7 years ago
mbusb 72f7c6e0e1 Added Rising Anti Virus ISO 7 years ago
Alin Trăistaru 36661a767d code cleanup 7 years ago
Alin Trăistaru 2a21a37ab4 code cleanup 7 years ago
Alin Trăistaru 92a580d0a4 code cleanup 7 years ago
Alin Trăistaru f3c0b800ee grub.py: display human readable size 7 years ago
mbusb 2331f51c0b Added distro and few other improvements
1. Added vba32 rescue
2. Temproraily remove 'remove ANSI color codes from logs' patch as it crash under windows
7 years ago
mbusb 75c787077e Removed dependency and few other improvements
1. Droped p7zip-plugin for suse and mageia
2. Added PC Tool. But does not seems to work
3. Added custom functions for writing custom loopback.cfg file
4. Improved CLI working
5. Added custom menu entry file
6. Removed unnecessary codes
7. Removed windows line ending which prevented application not to start
7 years ago
mbusb 4ca22ff1fd Bug fix
1.  GRUB command not found error
2.  Added missing command.lst file
3.  Crash while writing ISO to USB disk under Windows
7 years ago
mbusb ec637515f8 Improvement in loopback.cfg creation
1. Changed logic to convert syslinux config files to loopback.cfg
2. Added improvement in GUI (install and uninstall icons on buttons). But this does not work at the moment.
7 years ago
mbusb cb3bd559e2 Merge branch 'devel' of https://github.com/mbusb/multibootusb.git into devel 7 years ago
mbusb 5cdf831892 Improvements in loopback.cfg conversion 7 years ago
Alin Trăistaru 374d494f16 fix typos and reword 7 years ago
mbusb 9ffb4ba5e5 Merge branch 'devel' of https://github.com/mbusb/multibootusb.git into devel
Also fixed crash on windows when detect usb drive button is clicked.
7 years ago
mbusb 7b92c2021b Improvements and bug fixes
1. Added Finnix
2. Check for EFI binary after uninstalling a distro (and copy mbusb binary if not present)
3. Added Fatdog
4. Improved way to detect grub*.cfg file
5. Corrected spelling mistake
7 years ago
Alin Trăistaru 78ebfaf7e4 rework ui/core (partial) 7 years ago
mbusb d8b485efda 1. Initial UEFI support
2. Added PLOP boot manager
3. Added netboot.iso
4. Added latest memtest
5. Added slack mini boot
6. Improved fedora detection script

This commit provide initial and bare minimum support to UEFI boot.
The support will be improved upon users feedback and raising issues.
7 years ago