Compare commits

..

2 Commits

Author SHA1 Message Date
2b53db337c
windows2usb 2023-06-09 23:21:34 +03:00
06ebf2d54d
packages from aur 2023-06-09 23:06:33 +03:00
2 changed files with 128 additions and 0 deletions

View File

@ -0,0 +1,54 @@
---
title: "📦 Получить список установленных пакетов из AUR"
date: 2023-06-09T23:05:34+03:00
draft: false
tags: [archlinux, linux, tips]
---
## Метод №1
**Команда:**
```sh
pacman -Qemq
```
**Вывод:**
```text
arduino-ide-bin
cadzinho
chocolate-doom
cnijfilter2
cups-bjnp
defold
dropbox
fontforge-git
...
```
## Метод №2
Необходимо установить `expac` и репозитория `extra`.
**Команда:**
```sh
pacman -Qem | expac --timefmt='%F %T' '%n %v %l' - | sort -k3
```
**Вывод:**
```text
sublime-text-4 4.4143-4 2023-04-03 21:12:41
defold 1.4.4-1 2023-04-06 13:46:47
inochi-creator 0.7.4.1-1 2023-04-09 09:45:03
chocolate-doom 3.0.1-1 2023-04-11 00:39:31
qflipper-git 1.3.0-1 2023-04-17 20:32:34
fontforge-git 1:20220308.r60.g4f4907d95-1 2023-04-18 20:23:27
cups-bjnp 2.0.3-3 2023-04-26 23:20:46
arduino-ide-bin 2.1.0-1 2023-04-27 22:02:45
myoffice-standard-home-edition-bin 2.3.0-1 2023-05-01 20:59:37
cnijfilter2 6.40-1 2023-05-01 21:56:50
...
```

View File

@ -0,0 +1,74 @@
---
title: "💽 Создание загрузочной флешки с Windows под Linux | windows2usb"
date: 2023-06-09T23:21:05+03:00
draft: false
tags: [tips, tools, linux, windows]
---
```text
| __ _____ _ _ ____ _ _ ____ ____ |
| \ \ / /_ _| \ | | |___ \ | | | / ___|| __ ) |
| \ \ /\ / / | || \| | __) | | | | \___ \| _ \ |
| \ V V / | || |\ | / __/ | |_| |___) | |_) | |
| \_/\_/ |___|_| \_(_) |_____| \___/|____/|____/ |
========================================================
. Windows 7+ ISO to Flash Drive burning utility .
```
Известный безопасник и просто уважаемый человек **ValdikSS** написал скрипт
[windows2usb](https://raw.githubusercontent.com/ValdikSS/windows2usb/master/windows2usb),
который умеет создавать загрузочные USB с ОС Windows под Linux.
[Ссылка](https://github.com/ValdikSS/windows2usb) на репозиторий.
[AppImage](https://github.com/ValdikSS/windows2usb/releases/latest) пакет.
## Инструкция по использованию
```sh
windows2usb <device> <windows iso> [mbr/gpt/gptntfs/gpt+uefintfs]
```
- `<device>` — целевое устройство, список доступных появляется
при запуске скрипта без аргументов и флагов.
- `<windows iso>` — путь к ISO образу.
- `[mbr/gpt/gptntfs/gpt+uefintfs]` — необзяательный агрумент, тип ФС.
```text
Windows 7/8/8.1/10/11 ISO to Flash Drive burning utility
WARNING: this program will delete all existing data on your drive!
windows2usb <device> <windows iso> [mbr/gpt/gptntfs/gpt+uefintfs]
mbr mode: the most universal, RECOMMENDED and DEFAULT method.
This mode creates MBR partition table with FAT32 partition,
installs BIOS and UEFI bootloaders, supports Secure Boot.
install.wim file larger than 4 GiB will be split.
Suitable for all computers (UEFI/CSM/BIOS).
gpt mode: less universal mode, for modern (UEFI) computers.
GPT+FAT32, UEFI only, supports Secure Boot.
gptntfs mode: all the same as 'gpt' but NTFS is used.
GPT+NTFS, UEFI only, supports Secure Boot.
Large install.wim file will not be split.
NOTE: not all UEFI are compatible with this mode,
NTFS driver should be present on the motherboard.
gpt+uefintfs mode: alternative hacky installation method, not recommended.
This mode uses NTFS partition and third-party 'uefintfs' bootloader.
GPT+NTFS(data)+FAT32(efi), UEFI only, supports Secure Boot
(since uefintfs Oct 23, 2021 release).
Large install.wim file will not be split.
```
## Зависимости
- `mkfs.ntfs` — пакет `ntfs-3g`.
- `wimsplit` — пакет `wimlib`.
- `ms-sys` — есть в AUR.
## Альтернативы
- [WoeUSB](https://github.com/WoeUSB/WoeUSB) — uses GRUB for BIOS Boot.
- [bootiso](https://github.com/jsamr/bootiso/) — supports Windows and Linux ISOs.
- [Ventoy](https://www.ventoy.net/en/index.html) — Booting multi-tool with brilliant support of Windows ISO direct loading.