Commit Graph

38 Commits

Author SHA1 Message Date
hashemim66110
5aab680e8f
Little Appearance Changes
variable Header added to script .
Simple Text Logo Made using figlet tool .
text "WARNING: this program will delete all existing data on your drive!" is changed
so it makes more Attention now (color changed to Red and get Blinking now)

thanks for develop it ValdikSS :) 👍
2022-06-24 17:32:19 +04:30
ValdikSS
9f855faabd Merge branch 'master' of https://github.com/recolic/windows2usb 2022-01-09 18:11:44 +03:00
ValdikSS
905f95ae7b Final fix for wim file size detection 2022-01-09 18:11:34 +03:00
Recolic K
2af0bed0df Document improvement: add feature matrix #23
Squashed commit of the following:

commit c279195a08
Author: Recolic K <bensl@microsoft.com>
Date:   Thu Nov 25 17:50:06 2021 +0800

    doc improvement: add feature matrix

commit 7b0f5d9912
Author: Recolic K <bensl@microsoft.com>
Date:   Thu Nov 25 17:43:26 2021 +0800

    doc improvement: add feature matrix

commit 60d1f7d758
Author: Recolic K <bensl@microsoft.com>
Date:   Thu Nov 25 17:41:52 2021 +0800

    doc improvement: add feature matrix

commit f8d27f725d
Author: Recolic K <bensl@microsoft.com>
Date:   Thu Nov 25 17:39:57 2021 +0800

    doc improvement: add feature matrix

Signed-off-by: ValdikSS <iam@valdikss.org.ru>
2022-01-09 17:36:45 +03:00
ValdikSS
bcc7f08832 Fix for 1786bd582d 2022-01-09 17:28:03 +03:00
ValdikSS
0ad90c7ef7 Do not try to split WIM if install.wim is missing 2022-01-09 17:27:55 +03:00
ValdikSS
9361a3cd4b Extract bootmgfw.efi from both .wim and .esd (customized Win7 ISO) 2022-01-09 16:15:38 +03:00
ValdikSS
6fc6f0ad94 Mount FAT32 partitions in UTF-8 mode
Fixes #21
2022-01-09 16:14:46 +03:00
ValdikSS
8354ffdc14 Use C.utf8 locale for customized ISO with non-latin filenames
Fixes #21
2022-01-09 16:14:18 +03:00
ValdikSS
68b616a916 Fix bootmgfw.efi extraction with split wim activated
Fixes #25
2022-01-08 14:15:26 +03:00
ValdikSS
fd26a51536 Wait 3 seconds inside format_drive function, not in the caller 2022-01-07 04:14:57 +03:00
ValdikSS
00d4a7ea5a Make mode optional and assume MBR by default 2022-01-07 04:13:55 +03:00
ValdikSS
1786bd582d Wait 1 second for new patition table to apply.
Hopefully fix #24
2022-01-07 04:05:34 +03:00
Recolic
ed82962bae
Bug fix: MBF-FAT32 mode not working on /dev/loop0
```
 == Writing bootloader ==
/dev/loop0 seems to be a disk partition device,
use the switch -f to force writing of a master boot record
```
2021-11-25 17:25:40 +08:00
ValdikSS
5d803853aa Update readme 2021-08-16 01:15:12 +03:00
ValdikSS
5129e8c868 Add a note about dirty buffers on unmount. Fixes #3. 2021-08-16 00:55:31 +03:00
ValdikSS
25abfc4a9f Major changes: mbr/fat32, gpt/fat32, gpt/ntfs, gpt+uefintfs
* Use FAT32 partition in MBR mode and also install EFI bootloader
* Use wimsplit to split 4+ GiB install.wim file to fit FAT32 partition
* Rework partitioning modes
2021-08-16 00:46:55 +03:00
ValdikSS
df471fd672 Print message when no removable storage is detected 2021-08-16 00:43:51 +03:00
ValdikSS
35565d0ce6
Merge pull request #17 from akvadrako/akvadrako-patch-1
Update WoeUSB info
2020-11-04 17:33:36 +03:00
Devin Bayer
de1306da0b
Update WoeUSB info 2020-11-04 13:57:50 +01:00
ValdikSS
f0679bfe39
Update README.md 2020-08-15 11:31:45 +03:00
ValdikSS
4dbe548678 Wait 3 seconds after formatting the drive. Fixes #10. 2020-08-15 10:59:06 +03:00
ValdikSS
79aa386d84 Perfer ntfs-3g for NTFS mounting. Fixes #13. 2020-08-15 10:58:55 +03:00
ValdikSS
b0d00df519
Also search for uefi-ntfs.img in /usr/share/windows2usb 2019-02-24 04:53:53 +03:00
ValdikSS
6bc0ae55c2 Use msftdata for GPT partition 2018-06-06 19:41:32 +03:00
ValdikSS
dad6eeacef Change shell to /usr/bin/env bash 2018-06-06 19:41:32 +03:00
ValdikSS
e9e324bf89
Update README.md 2018-05-27 13:19:26 +03:00
ValdikSS
86bfabe76f Check that ISO file and device exist 2018-05-27 12:37:16 +03:00
ValdikSS
1821638f34 Set partition label as ISO label. Fixes #4 2018-05-27 12:36:46 +03:00
ValdikSS
208609e09c Fix detection of install.wim > 4GiB 2018-05-07 19:23:56 +03:00
ValdikSS
618f507a0a Handle relative paths before running pkexec
Fixes #1
2018-05-05 02:33:06 +03:00
ValdikSS
b2977a144b README update 2018-05-01 13:57:44 +03:00
ValdikSS
9816f27ffd Add more warnings 2018-05-01 13:17:44 +03:00
ValdikSS
941f0d6be2 Extract UEFI bootloader from install.wim if it's missing in iso root (for Windows 7) 2018-05-01 13:17:15 +03:00
ValdikSS
6a6b942dbd Handle ctrl+c and errors better 2018-05-01 13:16:46 +03:00
ValdikSS
5cc82bf38c Use function to determine device partitions 2018-05-01 13:15:46 +03:00
ValdikSS
e56ae29ad6 Initial commit 2018-04-30 22:58:53 +03:00
ValdikSS
f992411b15
Initial commit 2018-04-30 21:32:38 +03:00