From 6c6aae38e8803abead71ff8b9256b2c1a90561ec Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Wed, 20 May 2020 01:49:39 +0700 Subject: [PATCH] small --- Applications/README.md | 2 ++ Applications/ventoy.md | 14 ++++++++++++++ install-archlinux.md | 24 ++++++++++++++++++++++-- 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 Applications/ventoy.md diff --git a/Applications/README.md b/Applications/README.md index 692f10c..a4508e9 100644 --- a/Applications/README.md +++ b/Applications/README.md @@ -47,3 +47,5 @@ [Steam](steam.md) [Cheat](cheat.md) + +[Ventoy](ventoy.md) diff --git a/Applications/ventoy.md b/Applications/ventoy.md new file mode 100644 index 0000000..0da92f3 --- /dev/null +++ b/Applications/ventoy.md @@ -0,0 +1,14 @@ +# [Ventoy](https://github.com/ventoy/Ventoy) + +A new bootable USB solution. + +```sh +# Install +sh Ventoy2Disk.sh -i /dev/XXX + +# Force install +sh Ventoy2Disk.sh -I /dev/XXX + +# Update +sh Ventoy2Disk.sh -u /dev/XXX +``` diff --git a/install-archlinux.md b/install-archlinux.md index 8041b6b..0f3e29f 100644 --- a/install-archlinux.md +++ b/install-archlinux.md @@ -8,7 +8,17 @@ Assume your laptop/PC is UEFI-capable. ## [Installation guide](https://wiki.archlinux.org/index.php/Installation_guide) -First [USB flash installation media](https://wiki.archlinux.org/index.php/USB_flash_installation_media). +Remember to check disks carefully: + +```sh +lsblk +``` + +Create USB flash installation media: + +```sh +dd bs=4M if=path/to/archlinux.iso of=/dev/sdx status=progress oflag=sync +``` ### Connect to the internet @@ -34,10 +44,20 @@ cfdisk | Mount point | Partition type | Suggested size | | ----------- | -------------------- | -------------- | -| /mnt/boot | EFI system partition | 1 GiB | +| /mnt/boot | EFI system partition | 512 MiB | | /mnt | Linux | | | /mnt/home | Linux | | +Format: + +```sh +# /boot +mkfs.fat -F32 /dev/sdxY + +# /, /home + +``` + Read [EFI system partition](https://wiki.archlinux.org/index.php/EFI_system_partition) ### Boot loader