Skip to content

Commit

Permalink
update INSTALL.md in /root
Browse files Browse the repository at this point in the history
  • Loading branch information
sakkke committed Mar 30, 2022
1 parent 0031351 commit c702321
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions configs/iso/airootfs/root/INSTALL.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit c702321

Please sign in to comment.