
최근 업데이트에서는 부팅 섹터를 수정하기 위해 부팅 복구를 사용해야 했습니다.
이전에는 Ubuntu로 부팅할 때 루트 파티션의 암호를 해독하기 위해 부팅 시 비밀번호를 묻는 메시지가 표시되었습니다. 이제 마운트 해제된 루트가 있는 BusyBox로 이동하게 됩니다. BusyBox에서는 cryptsetup open /dev/sda3 crypt
다음을 실행하여 루트를 수동으로 마운트할 수 있습니다 mount /dev/vgkubuntu /
. 그 후 BusyBox를 종료하면 정상적으로 부팅이 재개되는 것 같습니다.
매번 BusyBox에서 수동으로 수행할 필요 없이 루트를 부팅하고 마운트하려면 어떻게 해야 합니까?
그럽 설정:
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
else
search --no-floppy --fs-uuid --set=root aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
fi
linux /vmlinuz-5.11.0-16-generic root=/dev/mapper/vgkubuntu-root ro quiet splash $vt_handoff
initrd /initrd.img-5.11.0-16-generic
감사해요
답변1
커널 이미지를 다시 설치한 것 같습니다.