Commit Graph

317 Commits (master)

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
Hoang-Anh Nguyen 0b504f2a8c Fix issue #459: Wrong detection of Windows ISO, detect as memdisk_iso instead of Windows 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
Martin 5cded85bf4
Fix typo
tis > this
6 years ago
Martin 093cbde253
Fix typo
tis > this
6 years ago
Martin d92f2f58e9
Fix typo
log used 'a' in both MBR and GPT, but  it should be 'an MBR'
6 years ago
Martin f28d48962f
Fix typo
sleceted > selected
6 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 32cbe9add8 Replace tabs with spaces to match the rest of the project 6 years ago
Alan D Moore d25b730075 fix merge cruft 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
Sundar 0d34d70c38 Merge branch 'devel' of https://github.com/mbusb/multibootusb.git into devel 6 years ago
Sundar 1eb0d61b82 Merge branch 'HEAD' of https://github.com/mbusb/multibootusb.git into devel 6 years ago
Alan D Moore 0f331e9b04 Throw exception when partition is not mounted.
Instead of returning strings for partition size value,
throw an exception when the partition is not (and presumably cannot be) mounted
in `details_udisks2()`.

Also, return 0s instead of empty strings in a similar situation in `details_udev()`

This changes prevent the conversion error reported in issue #397; however,
additional changes will be needed to catch the `PartitionNotMounted` exception
now potentially thrown by a call to `details()` on Linux.
6 years ago
Alan D Moore 789fdf66a4 Call correct function to uninstall. Fixes issue #409. 6 years ago
Shinji Suzuki c43a7659b9 Set 'win_gdisk' on Windows only to avoid getting a warning. (Could have just removed the assignment entirely but I'm
playing it safe here.)
6 years ago
Shinji Suzuki 3753f20d71 Fix bug of not having osdriver.Windows.add_dd_args() defined. 6 years ago
Shinji Suzuki 2b40966081 Defer check for SuperGrubDisk so that more specific distro checks take precedence.
Improved a comment.
6 years ago
shinji-s 30128a7933 Show phyiscal disks on Windows too.
Unmount partitions and lock physical drive when dd-ing iso on Windows
Reset progres before starting dd-iso thread.
6 years ago
Shinji Suzuki 9d349c7c64 Check physical disk capacity, not the size of the partition, before imaging.
Raise exception when partition size detection fails.
Fix description of an exception which gets raised of diskpart.exe fails.
6 years ago
Shinji Suzuki 635f4f5677 Stop catching subprocess.CalledProcessError. (No point in re-raising a degraded exception.) 6 years ago
Shinji Suzuki 225872d5f0 Fix unintended reference to a variable (which is unlikely to be evaluated though). 6 years ago
shinji-s 77599ff679 Fix hang from parted not exiting. (See issue 380 for details.)
Fix repeated calls to self.ui.combo_drives.setCurrentIndex(0) when refreshing the combo-box.
Wait for command completion when checking tool availability.
6 years ago
Shinji Suzuki e42ff77bd8 Log the last 16(max) lines of dd output.
Rename variables and fix a comment for clarity.
Fix syntax of an exception description.
6 years ago
Shinji Suzuki 7f3fe377c3 Unify imager code again.
Disable assignment to 'config.imager_return' as it is not used elsewhere yet.
6 years ago
Sundar 60a56576a7 Merge branch 'devel' of https://github.com/mbusb/multibootusb.git into devel 6 years ago
Sundar 7fd063e497 Add text to file system integrity checking and add indicate free space in selected USB. 6 years ago
mbusb 696b1ff8f0 Include imager functionality again which was removed by previous git commit 6 years ago
mbusb 0e4e8dfa8a Merge branch 'devel' of https://github.com/mbusb/multibootusb.git into devel
# Conflicts:
#	scripts/imager.py
6 years ago
mbusb 84393b83f8 Make Imager writing to entire disk rather than partition. 6 years ago
mbusb 24871b5af6 Fix for crash when using iso imager 6 years ago
multibootusb 042717492b
Merge pull request #376 from shinji-s/devel
Fix on Imager and add warning about running 'mbr_install_cmd'.
6 years ago
shinji-s 5b496c3a83 Write to \\.\PhysicalDriveN instead of \\.\X: 6 years ago
shinji-s 354a8e6688 Unmount partitions before dding iso image.
Catch more exceptions.
Avoid using keyword 'type' for a variable name.
6 years ago
Shinji Suzuki 6f75388450 Add warning about running 'mbr_install_cmd'. 6 years ago
Shinji Suzuki e53bd53e47 Merge branch 'devel' of https://github.com/shinji-s/multibootusb into devel 6 years ago
shinji-s 4cd545c3ac Unmount before dding iso. 6 years ago
Shinji Suzuki 7e3ef9795a Log OSError/IOError while attempting to unlzma syslinux modules.
Fix typo in a log message.
Perform syslinux module replacement for ubuntu.
Remove no-op assignment.
6 years ago
Shinji Suzuki 6c8e518876 Windows fix 6 years ago
shinji-s c71ed97282 Catch an error generated while copying iso image to the target. 6 years ago
Shinji Suzuki 674a06b88a Fix uuid generation from NTFS/FAT32 partition on Windows.
* avoid zero-suppression
* avoid truncation of upper 32 bits of NTFS serial number.
6 years ago
multibootusb 1fb5a14498
Merge pull request #366 from shinji-s/logging-fix
Delay initialisation of the python logging so that running setup.py u…
6 years ago
Shinji Suzuki a1922b871d Delay initialisation of the python logging so that running setup.py under unpriviledged user will not raise an exception. 6 years ago
multibootusb abe5ac16cd
Merge pull request #351 from shinji-s/adhoc_fix
Catch exceptions raised during install_syslinux() and make effort to …
6 years ago
Sundar db1dc7ca89 Merge branch 'devel' of https://github.com/mbusb/multibootusb.git into devel 6 years ago
Sundar 71b8e0f25c Disable repair filesystem check for distro install 6 years ago
shinji-s a184219436 Set log location at '/var/log/multibootusb.log' and show that info before installation of a distro commences.
Use 'RotatingFileHandler' instead of 'os.remove()' to rotate log because trying to remove file without closing the open handle causes exception on Windows.
Move a handleful of funtions from gen.py to osdriver.py to avoid cyclic dependency.
6 years ago
shinji-s 9fa2d1d834 Restore 'shell=True" arg when executing chmod.(It can not be omitted unless the command is given as a list or the command is a fullpath to an executable without args.) 6 years ago
multibootusb f3623a2b06
Merge pull request #359 from shinji-s/syslinux-bin
Recreate syslinux.bin upon distro installation.
6 years ago