Commit Graph

79 Commits (master)

Author SHA1 Message Date
Martin f28d48962f
Fix typo
sleceted > selected
6 years ago
Alan D Moore 32cbe9add8 Replace tabs with spaces to match the rest of the project 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-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
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
shinji-s c71ed97282 Catch an error generated while copying iso image to the target. 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
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 Suzuki 008f8d1d4e Catch exceptions raised during install_syslinux() and make effort to undo
partially completed installation.
Qualify symobols in uninstall_distro with the module name. (Unqualified
reference to symbols in other modules is rather difficult to track.)
Fix a doc string to keep up with the function signature change.
6 years ago
multibootusb fe02cea56d
Merge pull request #348 from shinji-s/devel
Reformat mbusb_gui.py
6 years ago
Shinji Suzuki 848a606d51 Reformat to fit mostly within 80 columns. 6 years ago
Shinji Suzuki aff42c027e Remove an extra indentation that has been kept to avoid creating large
diff.
6 years ago
Shinji Suzuki ad0abd6079 Avoid repetitive initialization. 6 years ago
Shinji Suzuki ace09b4d7e Fix exception from os.path.basename(None). 6 years ago
Shinji Suzuki 670a18b966 Refuse to process an iso file whose name contains space(s)
because syslinux does not seem to be able to handle a
pathname that contains space(s).
6 years ago
shinji-s 9c6af84f72 Undo 'tabify' on comments.
Remove redundant code for updating mount point display.
6 years ago
shinji-s 4ce5277eac Remove os.sync() and a dubug print. 6 years ago
shinji-s fc7e988cbf Fix mishaps in merging (lost code for handling 'protected_drives', bad qemu command building.)
Fix an attemp to os.chdir('')
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 Suzuki 43439a9c2b Allow protection of drives through 'config.protected_drives'
variable by not showing them in the target drive listbox.
6 years ago
Sundar 0003e3c08a Updated the CHANGELOG for new release 6 years ago
shinji-s 896b7314e6 Prevent mbusb_cli from installing over existing installation.
Support persistence size specification in mbusb_cli.
Line break adjustment to fit 80 cols.
6 years ago
multibootusb fe6e475d73
Merge pull request #306 from shinji-s/adhoc_fix
Change wording of a message slightly so that a user will not
6 years ago
Shinji Suzuki 8ae3ee1d17 Change wording of a message slightly so that a user will not
misunderstand that the distro does not implement persistence at all.
6 years ago
multibootusb 27d653e213
Merge pull request #303 from shinji-s/fix_distro_detection
* Fix distro detection going out of sync after uninstalling a distro
6 years ago
Shinji Suzuki dd0d23ec68 * Fix distro detection going out of sync after uninstalling a distro
because config.distro gets overwritten during uninstallation.
* Fix missed call to update_list_box() when performing config-files-only
uninstallation, which happens because distro dir is already gone.
* Fix missed update of grub.cfg when performing config-files-only
uninstallation.
* Fix multiple calls to delete_frm_file_list() when uninstalling
'windows', 'alpine' and 'generic'.
* Fix multiple calls to update_sys_cfg_file() when uninstalling a distro.
* Escape distro name when using it within regular expressions.
* Adjust line breaking to fit 80 cols.
6 years ago
multibootusb ea809a12c9
Merge pull request #299 from shinji-s/devel
Introduce infrastructure for rewriting boot configs and refreshed
6 years ago
Shinji Suzuki d75642ac62 Detect running 7zip on a currupted iso as well as the lack of 7z
executable.
Remove repeated call to _7zip.list_iso(iso_link)
Adjusted line breaking to fit within 80 columns.
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 a3542439f7 Previous commit fixed a runtime error but was not correct in what it does.
Avoid overwriting syslinux.cfg and extlinux.cfg.
6 years ago
Shinji Suzuki 9f28a1d756 Fix failure of "Install syslinux and copy all required files." 6 years ago
mbusb 3136ffe4fa Fix for crash on windows:
1. This is yet another fix for crash under windows due to detecttion in partition type
2. Fix for syslinux install when USB disk is not inserted.
3. Now syslinux install properly copy required files after install
4. Intimate users if USB disk not inserted when trying to install syslinux
5. Update version to 9.2.0
6 years ago
mbusb d5882766a3 Added option to choose install distro using memdisk 7 years ago
Sundar 2394e15ff8 Merge branch 'devel' of https://github.com/mbusb/multibootusb.git 7 years ago
mbusb b5725a0c92 Merge branch 'devel' of https://github.com/mbusb/multibootusb.git into devel 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 D Moore 0f6603dcf6 Display an error when ISO is invalid
Previous behavior was to crash the program when an iso file was
unreadable or had 0 length.

This patch has the program display an error dialog and not select the file.
7 years ago
Alan Moore 31a44e5628 Fix hyperlinks in about dialog
Correct the hyperlinks in the about dialog and make them open a web
browser tab to the link when clicked.  Fixes. #193.
7 years ago
mbusb 1a4e2520e6 GPT partition table support and more
1.  Support for GPT partition table (only under Linux as of now)
2.  Added various binaries to source for GPT partition table support
3.  Added command line option to install sysinux (use -s or --syslinux)
4.  Added command line option to direct ISO writing to USB disk (use -r or --raw)
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 a0fca202ab Added distro and functionality...
1. Added Nano Linux
2. Ability to select *.img files for writing to USB (dd method)
7 years ago
Mohammad Etemaddar adaf07c00b Update msgBox.exec() to msgBox.exec_()
It crashed on startup.
So it works with PyQt4 too.
http://stackoverflow.com/a/22619556/1951027
7 years ago
mbusb d9863ac9b5 Version 8.8.0 update 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 4428d0e962 Bug fix for:
1. Crash when listing fixed partition
2. Crash when uninstalling distros (tested on windows) due to permission error of ldlinux.sys and ldlinux.c32
7 years ago
mbusb e3a2d84ffc Code cleanup
1. Foremat code
2. Fix for crash when trying to uninstall a distro due to presence of ldlinux.c32 and ldlinux.sys (tested on windows)
7 years ago