差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
tips:linux:arch:0-install [2025/09/01 06:45] – [ArchISO ブート] asaasa | tips:linux:arch:0-install [2025/09/02 19:35] (現在) – [ArchISO ブート] asaasa | ||
---|---|---|---|
行 176: | 行 176: | ||
archiso# df | archiso# df | ||
ディスクの状況を確認する。 | ディスクの状況を確認する。 | ||
- | </ | ||
- | |||
- | == 暗号化する:共通実施 == | ||
- | <code bash> | ||
- | archiso# cryptsetup -v --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 5000 --use-random --verify-passphrase luksFormat /dev/sda2 | ||
- | WARNING! | ||
- | ======== | ||
- | This will overwrite data on /dev/sda2 irrevocably. | ||
- | |||
- | Are you sure? (Type ' | ||
- | ( *** YES と「大文字で」入力 *** ) | ||
- | Enter passphrase for /dev/sda2: | ||
- | Verify passphrase: | ||
- | Key slot 0 created. | ||
- | Command successful. | ||
- | |||
- | archiso# cryptsetup open --type luks /dev/sda2 cryptroot | ||
- | cryptsetup open --type luks /dev/sda2 cryptroot | ||
- | Enter passphrase for / | ||
</ | </ | ||
行 310: | 行 291: | ||
<code bash> | <code bash> | ||
- | BIOS系 | + | BIOS系 |
- | EFI 系 root# grub-install --target=x86_64-efi --efi-directory=/ | + | chroot# grub-install --target=i386-pc --recheck /dev/sda |
+ | |||
+ | EFI 系 | ||
+ | chroot# grub-install --target=x86_64-efi --efi-directory=/ | ||
- | 共通実施 | + | 共通実施 |
+ | chroot# grub-mkconfig -o / | ||
</ | </ | ||
rEFInd の場合のみ | rEFInd の場合のみ | ||
<code bash> | <code bash> | ||
- | rEFInd系 | + | rEFInd系 |
+ | chroot# pacman -S refind; refind-install | ||
</ | </ | ||