請教使用硬盘或隨身碟製作自動備份和自動還原代码函数的写法?

35 views
Skip to first unread message

will jake

unread,
Jul 14, 2023, 7:32:10 AM7/14/23
to 再生龍clonezilla
自己编写的:

menuentry "Auto-BackUp-System"{
  search --set -f /live-hd/vmlinuz
  linux /live-hd/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset enforcing=0 noprompt ocs_prerun="mount /dev/nvme0n1p4 /home/partimag/" ocs_prerun1="mount --bind /home/partimag/home/partimag /home/partimag/" ocs_live_run="ocs-sr -q2 -batch -j2 -z1p -i 4096 -sfsck -scs -senc -p poweroff saveparts BackUp-img nvme0n1p1 nvme0n1p2 nvme0n1p3 nvme0n1p4" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 ip= nosplash
  initrd /live-hd/initrd.img
}

报错为如下:
efi:Failed to lookup EFI memory descriptor for 0*00000000415bd00

請教代码如何修改?

Reply all
Reply to author
Forward
0 new messages