bootctl.md 812 B

bootctl

EFI ํŽŒ์›จ์–ด ๋ถ€ํŠธ ์„ค์ •์„ ์ œ์–ดํ•˜๊ณ  ๋ถ€ํŠธ ๋กœ๋”๋ฅผ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ๋” ๋งŽ์€ ์ •๋ณด: https://manned.org/bootctl.

  • ์‹œ์Šคํ…œ ํŽŒ์›จ์–ด ๋ฐ ๋ถ€ํŠธ ๋กœ๋”์— ๋Œ€ํ•œ ์ •๋ณด ํ‘œ์‹œ:

bootctl status

  • ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ชจ๋“  ๋ถ€ํŠธ ๋กœ๋” ํ•ญ๋ชฉ ํ‘œ์‹œ:

bootctl list

  • ๋‹ค์Œ ๋ถ€ํŒ… ์‹œ ์‹œ์Šคํ…œ ํŽŒ์›จ์–ด๋กœ ๋ถ€ํŒ…ํ•˜๋„๋ก ํ”Œ๋ž˜๊ทธ ์„ค์ • (sudo systemctl reboot --firmware-setup๊ณผ ์œ ์‚ฌ):

sudo bootctl reboot-to-firmware true

  • EFI ์‹œ์Šคํ…œ ํŒŒํ‹ฐ์…˜ ๊ฒฝ๋กœ ์ง€์ • (๊ธฐ๋ณธ๊ฐ’์€ /efi/, /boot/ ๋˜๋Š” /boot/efi):

bootctl --esp-path={{/๊ฒฝ๋กœ/๋Œ€์ƒ/efi_์‹œ์Šคํ…œ_ํŒŒํ‹ฐ์…˜/}}

  • EFI ์‹œ์Šคํ…œ ํŒŒํ‹ฐ์…˜์— systemd-boot ์„ค์น˜:

sudo bootctl install

  • EFI ์‹œ์Šคํ…œ ํŒŒํ‹ฐ์…˜์—์„œ ์„ค์น˜๋œ ๋ชจ๋“  ๋ฒ„์ „์˜ systemd-boot ์ œ๊ฑฐ:

sudo bootctl remove