
내 매개변수를 사용하여 사용자 정의 Clonezilla iso를 만들려고 했지만 실패했습니다. 나는 사용했다이것그리고이것설명서를 작성하고 설명된 대로 모든 작업을 수행했습니다.
여기 나의syslinux.cfg:
# Created by generate-pxe-menu! Do NOT edit unless you know what you are doing!
# Keep those comment "MENU DEFAULT" and "MENU HIDE"! Do NOT remove them.
# Note!!! If "serial" directive exists, it must be the first directive
default vesamenu.c32
timeout 0
prompt 0
noescape 1
MENU MARGIN 5
MENU BACKGROUND ocswp.png
# Set the color for unselected menu item and timout message
MENU COLOR UNSEL 7;32;41 #c0000090 #00000000
MENU COLOR TIMEOUT_MSG 7;32;41 #c0000090 #00000000
MENU COLOR TIMEOUT 7;32;41 #c0000090 #00000000
MENU COLOR HELP 7;32;41 #c0000090 #00000000
# MENU MASTER PASSWD
say **********************************************************************
say Clonezilla, the OpenSource Clone System.
say NCHC Free Software Labs, Taiwan.
say clonezilla.org, clonezilla.nchc.org.tw
say THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
say **********************************************************************
# Allow client to edit the parameters
ALLOWOPTIONS 1
# simple menu title
MENU TITLE clonezilla.org, clonezilla.nchc.org.tw
MENU BEGIN Other modes of Clonezilla live
label Clonezilla live 1024x768
# MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live (Default settings, VGA 1024x768)
# MENU PASSWD
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user hostname=bionic config quiet components noswap edd=on nomodeset noeject locales=en_US.UTF-8 keyboard-layouts=NONE ocs_live_run="ocs-sr -q2 -j2 -z5p -i 5300 -p true saveparts autoproductname" ocs_live_extra_param="" ocs_live_batch="no" vga=791 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
TEXT HELP
VGA mode 1024x768. OK for most of VGA cards.
ENDTEXT
label local
# MENU DEFAULT
# MENU HIDE
MENU LABEL Local operating system in harddrive (if available)
# MENU PASSWD
# 2 method to boot local device:
# (1) For localboot 0, it is decided by boot order in BIOS, so uncomment the follow 1 line if you want this method:
# localboot 0
# (2) For chain.c32, you can assign the boot device.
# Ref: extlinux.doc from syslinux
# Syntax: APPEND [hd|fd]<number> [<partition>]
# [<partition>] is optional.
# Ex:
# Second partition (2) on the first hard disk (hd0);
# Linux would *typically* call this /dev/hda2 or /dev/sda2, then it's "APPEND hd0 2"
#
kernel chain.c32
append hd0
TEXT HELP
Boot local OS from first hard disk if it's available
ENDTEXT
MENU BEGIN Memtest & FreeDOS
# Note! *.bin is specially purpose for syslinux,
# Do NOT use memtest.bin, use memtest instead of memtest.bin
label memtest
# MENU DEFAULT
# MENU HIDE
MENU LABEL Memory test using Memtest86+
# MENU PASSWD
kernel /live/memtest
TEXT HELP
Run memory test using Memtest86+
ENDTEXT
label FreeDOS
# MENU DEFAULT
# MENU HIDE
MENU LABEL FreeDOS
# MENU PASSWD
kernel memdisk
append initrd=/live/freedos.img
TEXT HELP
Run FreeDOS
ENDTEXT
MENU END
label iPXE
# MENU DEFAULT
# MENU HIDE
MENU LABEL Network boot via iPXE
# MENU PASSWD
kernel /live/ipxe.lkn
TEXT HELP
Run iPXE to enable network (PXE) boot
ENDTEXT
MENU END
실험의 순수성을 위해 1024x768을 제외한 Clonezilla의 다른 항목을 모두 삭제했습니다.
이 모든 것이 도움이 되지 않습니다. ISO를 생성할 때마다 다음으로 부팅됩니다.기본설정 및 기본 메뉴 항목,사실에도 불구하고iso의 syslinux.cfg는수정됨.
e
GRUB를 누르면 부팅 시 다음과 같은 기본 매개변수가 표시됩니다 .
그리고 모든 syslinux 항목도 기본값입니다. 도대체 뭐야???
내가 도대체 뭘 잘못하고있는 겁니까?
다양한 도구를 사용하여 ISO를 만들려고 했습니다.
결과는 동일합니다. 왜?
답변1
문제는 부팅 모드에 있었습니다.
syslinux.cfg
UEFI 모드로 부팅하는 경우 syslinux 디렉토리가 아닌 편집해야 합니다 .
/EFI/boot/grub.cfg