Commit Graph

43 Commits (master)

Author SHA1 Message Date
Martin d92f2f58e9
Fix typo
log used 'a' in both MBR and GPT, but  it should be 'an MBR'
6 years ago
Alan D Moore 22089c63d3 Merge remote-tracking branch 'upstream/master' into fixes_397 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
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-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-s 354a8e6688 Unmount partitions before dding iso image.
Catch more exceptions.
Avoid using keyword 'type' for a variable name.
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
Sundar 57c30ea587 GUI improvement and bug fix.
1. Place the push button under imager tab to its original place
2. Extract additional files from ISO for proper booting of wifislax
3. PEP improvements
6 years ago
Shinji Suzuki 695262ffd9 Call os.sync() before UDISKS.unmount() becase the latter will timeout if buffer flush takes too long.
Fix failure to capture exception into a variable.
6 years ago
shinji-s 6588648fc5 Add gui for fsck.
Fix bug that re-enables gui controls before distro installation finishes.
Have udisks not attempt mount if the target is already mounted.
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 9f60b92be4 FIX/improve partition type detection. 6 years ago
Shinji Suzuki 1ac993077d Have gpt_device() use 'wmi' module rather than spawn diskpart.exe 6 years ago
Shinji Suzuki 7657e7c70c Fixed dependency of get_physical_disk_number() on locale setting and
removed code duplication.
6 years ago
mbusb 77be8a47ca Fix for crash under windows when system language is not an English 7 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 67f57a8d88 Improve GPT detection code under Windows
This commit improves the GPT detection code under Windows and also avoide crashing application crash due to host system lanuage other than English.
7 years ago
Sundar 2c91ed4c7f Fix import error under Linux correct the gpt detection code under Linux 7 years ago
Sundar 2394e15ff8 Merge branch 'devel' of https://github.com/mbusb/multibootusb.git 7 years ago
mbusb ed820167e6 Upgrade to version 8.9.0
* Improved the GPT detecttion under Windows
* Support for GPT based USB disks. BIOS and UEFI mode works only under USB created under Linux.
* Added command line option to install sysinux on multibootusb director (use -s or --syslinux)
* Added command line option to direct ISO writing to USB disk (use -r or --raw)
* Boot ISO and IMG directly using memdisk
* Added feature for selecting ISO, IMG, Zip and all files options in file chooser dialog
* Corrected path to menu.lst file for distrs based on grub4dos
* Fix for crash when multicard reader is inserted on the system without a SD card
* Correctly detect USB disk information using udisk2-dbus without crash under Linux
* Fixed an issue where using a path with spaces would cause a qemu boot error
* If distro is not supported, ISO is automatically added using memdisk. You can uninstall later if it does not work
* Added Nano Linux
7 years ago
Alan Moore 800e07aa96 Fix crash when fdisk fails on usb disk device
In the event that `fdisk -l` fails on a partition or device (e.g., a
usb card reader has no media), don't crash the program.  Just return
None, since this is just a partition that the program can't use.

Fixes #180.
7 years ago
mbusb ea2e3ce9ed Partital GPT disk support under Windows (No BIOS boot). 7 years ago
mbusb 7b70def279 Added CLI option and simplified USB detection logic.
1. Added '-r' '--raw' option to direct writing of ISO image to USB disk
2. Simplified USB detection logic to reduce looping
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
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 79e88874b1 linux: display total size of disk 7 years ago
mbusb 11096af0d8 User improvements and version bump
1. Warn users when using partition/disk for dd and normal disto install through a message
2. Bumped the version to 8.6.0
3. Updated changelog for version 8.6.0
4. Changes logic for Slackware mini
5. Check for host pyudev and use inbuilt if not available
6. Updated setup.py for inclusion of newer files towards new release
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 42f97f3a3c linux: rethink device detection logic
Don't rely on ID_USB udev item
Should fix #110
7 years ago
mbusb 7c98ec00a0 Windows Fix for commit 0e73b8b
1. Activate listing of devices when All drives option is enabled and disabled
2. Add a dummy devtype to usb.py module to avoid crash under Windows
7 years ago
Alin Trăistaru 3f55b26bfe Fix device information display 7 years ago
Alin Trăistaru a18c3be489 re-enable "All drives" functionality 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
mbusb f6b6d1c0e5 Update to new release - 8.5.0 7 years ago
Göktürk Yüksek 938d31412e
scripts/usb.py: use device.get() instead of device[''] to handle KeyError
The devices returned by list_devices() may not always have all the
properties and referencing them raises a KeyError. Use the .get()
interface as suggested by the upstream[0] to avoid such exceptions.

[0] http://pyudev.readthedocs.io/en/latest/guide.html#id6
7 years ago
mbusb be4c8d9763 update to version 8.4.0 8 years ago
mbusb 890c266342 Inform user about the requirement of admin privilege. Added option to list all drives (including fixed). Fixed the bug 'maximum 2047 mb allowed'. 8 years ago
mbusb 5aaa28c4b2 Update files to version 8.1.0 8 years ago
mbusb 2c33ed73de Upgrading to version 8.0.0 8 years ago