tips:linux:arch:0-install

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
tips:linux:arch:0-install [2025/09/01 05:56] – [ArchISO ブート] asaasatips:linux:arch:0-install [2025/09/02 19:35] (現在) – [ArchISO ブート] asaasa
行 176: 行 176:
 archiso# df archiso# df
 ディスクの状況を確認する。 ディスクの状況を確認する。
-</code> 
- 
-== 暗号化する:共通実施 == 
-<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' in capital letters): 
-( *** 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 /dev/sda2:  
 </code> </code>
  
行 308: 行 289:
 === ブートローダの登録 === === ブートローダの登録 ===
 GRUB例。systemdのやり方もあるけど面倒なのでここでは省略。 GRUB例。systemdのやり方もあるけど面倒なのでここでは省略。
-BIOS系 # grub-install --target=i386-pc --recheck /dev/sda 
-EFI 系 # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=archboot 
  
-共通実施 # grub-mkconfig -/boot/grub/grub.cfg+<code bash> 
 +BIOS系  
 +chroot# grub-install --target=i386-pc --recheck /dev/sda
  
-rEFInd の場合のみ +EFI 系  
-rEFInd系 # pacman -S refind; refind-install+chrootgrub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=archboot
  
 +共通実施 
 +chroot# grub-mkconfig -o /boot/grub/grub.cfg
 +</code>
 +
 +rEFInd の場合のみ
 +<code bash>
 +rEFInd系
 +chroot# pacman -S refind; refind-install
 +</code>
  
 === ユーザーを登録 === === ユーザーを登録 ===
  • tips/linux/arch/0-install.1756673771.txt.gz
  • 最終更新: 2025/09/01 05:56
  • by asaasa