Commit Graph

71 Commits (91f494c567913adb61977b660c18c50b32815fc7)

Author SHA1 Message Date
Hoang-Anh Nguyen 91f494c567 Fix issue #439: Boot to Windows installer not working in UEFI mode.
Copy /efi/boot/bootx64.efi (from Windows ISO) to /EFI/BOOT_WINDOWS/
bootx64.efi in usb (to avoid grub's /efi/boot/bootx64.efi). In UEFI
mode, chainload it instead of bootmgr.efi.
5 years ago
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
Alan D Moore ec34f98244 rename isolinux.cfg to syslinux.cfg in a case-insensitive way\n\n Fixes issue #414, possibly others. isolinux.cfg was not being renamed when it was not all-lowercase. 6 years ago
Alan D Moore 22089c63d3 Merge remote-tracking branch 'upstream/master' into fixes_397 6 years ago
Alan D Moore 75e34c9e02 Catch PartitionNotMounted exceptions\n\nCatch PartitionNotMounted exceptions wherever details() is called. Handle in a context-appropriate manner 6 years ago
Shinji Suzuki 6a6d1382a2 Deal with MX iso that lacks 'version' file.
Prepare for antiX/MX version 18 and beyond.
6 years ago
Shinji Suzuki 9d2575930e Fix booting of MX-17.1 (an antiX derivative). 6 years ago
multibootusb adc5643723
Merge pull request #340 from shinji-s/corruption_check
Address filesystem corruption
6 years ago
shinji-s eaa3b97f1b Add 'cdroot_type=vfat' to get a gentoo (livedvd-amd64-hardened-nomultilib-20170118.iso)
booting off of a vfat formatted stick.
6 years ago
shinji-s 8b5a6e76b5 Use a uuid rather than a device name when specifying 'real_root='. 6 years ago
shinji-s 4ce5277eac Remove os.sync() and a dubug print. 6 years ago
Shinji Suzuki fc56319187 Unmount target partition when running syslinux/dd/qemu to prevent filesystem corruption.
Fix master allocation table and backup allocation table going out of sync after syslinuxing the target.
Detect lvm partition as well.
6 years ago
shinji-s 729400c6fa Unify config update implementations for Fedora and Centos. 6 years ago
Shinji Suzuki d0babd1705 Avoid gfxboot lockup when booting antiX via syslinux. 6 years ago
Shinji Suzuki 437f7264ce Merge branch 'devel' of https://github.com/mbusb/multibootusb into adhoc_fix 6 years ago
Shinji Suzuki 706f9f67d0 Fix code that assumes '.iso' extension in the image_path. 6 years ago
Shinji Suzuki 75dd18880a Hunt gfxboot.c32 hidden under a path-prefix, which fixes the hang
in Manjaro 17.0 syslinux booting.
6 years ago
Shinji Suzuki d43d808ca0 Added note about inability to support recent Salix. 6 years ago
Shinji Suzuki bfc2246472 Merge branch 'devel' of https://github.com/mbusb/multibootusb into manjaro-fix 6 years ago
Shinji Suzuki 3fc6561ec6 Address syslinux boot issues with Manjaro and Slitaz-rolling.
* Manjaro does not provide syslinux config files. Add 'via GRUB' to
the menu title and chain to grub when the menu is select.
* Booting slitaz via syslinux used to give "vesamenu.c32 not COM32R
image" error. Now mbusb overwrites the module with the bundled one
and decompress c32box.c32 module. c32box.c32 needs decompression
because it is compressed with lzma which syslinux.exe bundled with
mbusd can't handle.
6 years ago
Shinji Suzuki e4ac1a0139 Introduced more strict distro detection for those which fail
to be correctly identified. (grml64-full_2017.05.iso,
salixlive-xfce-14.2.1.iso, wifislax64-1.1-final.iso).
Fixed installer to make up for the fixed detection.
Removed a dead code block.
6 years ago
Sundar deec177fff Added PING and include changes parameter to slax config file 6 years ago
Shinji Suzuki 266039675e Guard against tripping on non-utf8 encoded text files. 6 years ago
multibootusb ef7d1a1d89
Merge pull request #319 from shinji-s/devel
Fix exception from opening utf-8 encoded text file
6 years ago
Shinji Suzuki 7e6aa856be Fix exception from opening utf-8 encoded text file under non-utf-8 locale
setting.
Update scanned text files only when desktop-image path was tweaked.
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-s 75b662d8ed Fix rewriting of image-file paths in 'theme.txt'.
* Don't strip space and tabs on the left of a line
* Don't tweak a relative path.
6 years ago
shinji-s e5296b9dfd Add support for AntiX 17.1 6 years ago
shinji-s a94572c2bc Fix a rather critical bug in 'ConfigTweaker.tweak_first_match()' that got 'param_operation' contaminated with 'param_operations_for_persistence' as the recursion progress.
Support CentOS DVD installers. (Full install DVD requires ext3 formatted usb stick because its size exceeds 4GB.)
Straighten Centos Live DVD support. (Those were recognized as 'fedora' before this fix.)
Reorgazined Twaker classes a bit.
Removed control chars and extra spaces in test inputs.
6 years ago
Shinji Suzuki 00f22c5c4e Avoid rewriting paths on a comment line.
Minor change of logged messages about path rewriting.
6 years ago
Shinji Suzuki d659f83925 Report non-existent file references in config files in more concise
manner.
Fix path finding regular expression to properly catch comma-delimited
paths.
6 years ago
Shinji Suzuki 6d0e922568 Log path rewriting exceptions in more concise manner. 6 years ago
Shinji Suzuki ef4d34b05d Convert 'gentoo' rewrite-code to ConfigTweaker based one.
Rename 'ParamTweaker' to 'ConfigTweaker'.

pentoo-amd64-hardened-2018.0_RC5.8_pre20180305 wants 'overlayfs' present
in boot params and 'aufs' absent in order to boot properly.
6 years ago
Shinji Suzuki 4ef4146180 Replace 'live-media=' on non-liveboot lines too. This is for compatibility
with prior implementation. (Perhaps better to have this work on liveboot
lines only like other rewritings?)

Move the test function for rewrite machinary into param_rewrite.py.

Add copyright header.
6 years ago
Shinji Suzuki 7a18b71349 Introduce infrastructure for rewriting boot configs and refreshed
persistence support for debians.
  * Boot parameters have to be 'persistence' and 'persistence-path'
  rather than 'persistent' and 'persistent-path'.
  * Backing file must be named 'persistence' rather than 'live-rw'
  * Filesystem on the backing file must contain 'persistence.conf'.
Avoid rewriting of paths starting with '/cdrom/' or '/dev/'.
Try somedir/vmlinuz if somedir/vmlinuz.efi is unavailable.
Check availability of 'e2fsck' and 'resize2fs'.
Added data/tools/persistence.gz that has initialized ext3 file
system that contains 'persistence.conf' file.
6 years ago
Shinji Suzuki 170b8dcf58 When fixing a path to have /multibootusb/{distro-name} prepended, consider another prefix '/multibootusb/{distro-name}/boot too because some distro uses '/grub/grub.cfg' to refer to a file under boot/ directory. 6 years ago
Shinji Suzuki fa960f1a07 Fix tweaking of 'initrd=...' parameter keyed on 'initrd' because 'initrd'
part in 'initrd.img' gets affected.
6 years ago
multibootusb 0cc1064a57
Merge pull request #284 from shinji-s/devel
Replace '%INSTALL_DIR%' in isolinux.cfg with 'arch' if installing an …
6 years ago
Shinji Suzuki 18331de12e Replace '%INSTALL_DIR%' in isolinux.cfg with 'arch' if installing an arch variant. Needed for Antergos. 6 years ago
Shinji Suzuki f048774f33 Fix typo in log message generation. 6 years ago
Gabriel Magno 1139faa5b8 Fix parted magic grub label 6 years ago
mbusb f868ea85f5 Windows improvements and update extlinux.cfg
1. Hide command wind when multibootusb is launched
2. Update extlinux.cfg to match with updated syslinux.cfg
7 years ago
mbusb 97b3cd830b Improvements to uefi booting.
1. Compiled new efi binary based from latest grub2 source
2. Added grub2 efi modules
3. Corrected partedmagic path issues
4. Added few more text in grub.cfg
7 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 85d3b5b4a4 Improvements, bug fix and new distros:-
1. Simplified 7zip listing to include directories as well
2. Correctly remove files installed outside multibootusb directory when uninstalling
3. Added Liberte
4. Added option to select zip files when choosing files
5. Added INSERT ISO
6. Added option to choose between two methods when syslinux shipped by ISO is version 3 or below
7 years ago
mbusb c918aa4563 Bug fix to setup file and new distros:
1. Added Alpine (you can install one version only)
2. Fix for trinity boot issue
3. Modified setup file for including grub2 modules in correct place
7 years ago
mbusb c168792225 Added ESET Rescue Disk 7 years ago
Alin Trăistaru 36661a767d code cleanup 7 years ago
Alin Trăistaru 92a580d0a4 code cleanup 7 years ago
Alin Trăistaru 7695cc43c2 use os.sync() 7 years ago