diff --git a/configs/iso/airootfs/root/INSTALL.md b/configs/iso/airootfs/root/INSTALL.md index e2b743f..2cfef33 100644 --- a/configs/iso/airootfs/root/INSTALL.md +++ b/configs/iso/airootfs/root/INSTALL.md @@ -1,10 +1,16 @@ -This document is extracted `Install` section from [README.md]. +This document is extracted `Manual Install to EFI system` section from [README.md]. --- +## Install + +### Manual Install to EFI system + +First, prepare Quilt bootable device, referring to [Example to create bootable device]. + 1. Launch the ISO env 2. In `ranger` interface, press `Shift s` key combi to enter the shell -3. If necessary, perform [partitioning] using `cfdisk` or similar +3. If necessary, perform [partitioning] using `cfdisk` or similar, referring to [Example to partitioning] 4. Run the below ```bash @@ -20,5 +26,29 @@ arch-chroot /mnt /bin/sh -c 'efi_dir=/boot && grub-install --efi-directory="$efi Finally, run `reboot`. Installation complete! +## Misc + +### Example to create bootable device + +```bash +echo label: gpt | sudo sfdisk --wipe always path/to/device +sudo dd bs=100M if=path/to/iso of=path/to/device status=progress +``` + +- `path/to/device` is a device file (e.g. `/dev/sda`) + +### Partitioning Example + +```bash +sfdisk path/to/device << /sfdisk +label: gpt + +size=300MiB, type=U +type=L +/sfdisk +``` + +[Example to create bootable device]: #example-to-create-bootable-device +[Partitioning Example]: #partitioning-example [README.md]: https://raw.githubusercontent.com/sakkke/quilt/main/README.md [partitioning]: https://wiki.archlinux.org/title/Partitioning