vgscan
vgchange -ay
mkdir /media/rescue
mount /dev/pve/root /media/rescue
mount /dev/sda2 /media/rescue/boot/efi
mount -t proc proc /media/rescue/proc
mount -t sysfs sys /media/rescue/sys
mount -o bind /dev /media/rescue/dev
mount -o bind /run /media/rescue/run
chroot /media/rescue
proxmox-boot-tool format /dev/sda2
proxmox-boot-tool init /dev/sda2
出現 /usr/sbin/grub-probe: error: disk `lvmid/********' not found. 增加以下指令
lvextend -L +1g /dev/pve/root
resize2fs /dev/pve/root
update-grub
reboot
沒有留言:
張貼留言