用了 script 擷取了螢幕輸出,感謝教學。另外發現用 USB 開機,有時候 USB 隨身碟會隨機掛載到 sda 或
sdb,沒有很固定,不知道是不是這個原因導致沒辦法掛載
bash -x ocs-find-live-key 指令結果:
Script started on 2025-05-02 09:36:38+00:00 [TERM="linux"
TTY="/dev/tty1" COLUMNS="100" LINES="37"]
[?2004hroot@plucky:~# exit bash -x ocs-find-live-key
[?2004l
+ DRBL_SCRIPT_PATH=/usr/share/drbl
+ . /usr/share/drbl/sbin/drbl-conf-functions
++ '[' -f /etc/rc.d/init.d/functions ']'
++ DRBL_SCRIPT_PATH=/usr/share/drbl
++ '[' '!' -f /etc/drbl/drbl.conf ']'
++ . /etc/drbl/drbl.conf
+++ drbl_setup_path=/usr/share/drbl/setup
+++ drblroot=/tftpboot/nodes
+++ drbl_common_root=/tftpboot/node_root
+++ drbl_nfs_prot=
+++ '[' -e /etc/debian_version ']'
+++ SYSCONF_PATH=/etc/default/
+++ '[' -x /usr/sbin/dhcpd3 ']'
+++ DHCPDCONF_DIR=/etc/dhcp
+++ DHCP_SRV_NAME=isc-dhcp-server
+++ NFS_SRV_NAME=nfs-kernel-server
+++ YP_SRV_NAME=nis
+++ RCX_ROOTDIR=/etc
+++ RCX_REL_INITD=../init.d
+++ query_allpkgs_cmd='dpkg --get-selections'
+++ query_pkglist_cmd='dpkg -L'
+++ query_pkglist_exist_cmd='dpkg -L'
+++ drbl_syscfg=/etc/drbl
+++ cache_dir=/var/cache/apt/archives
+++ drbl_pkgdir=/usr/share/drbl/share
+++ pxecfg_pd=/tftpboot/nbi_img
+++ syslinux_binsrc_url=
http://free.nchc.org.tw/syslinux
+++ SYS_PXELINUX_VER_DEF=6.03
+++ pxelinux_binsrc_dir=/usr/share/drbl/pkg/syslinux/
+++ pxelinux_file=/usr/share/drbl/pkg/syslinux//bios/pxelinux.0
+++ gpxelinux_file=/usr/share/drbl/pkg/syslinux//bios/gpxelinux.0
+++ lpxelinux_file=/usr/share/drbl/pkg/syslinux//bios/lpxelinux.0
+++ pxelinux_memdisk_file=/usr/share/drbl/pkg/syslinux//bios/memdisk
+++ pxelinux_simple_menu=/usr/share/drbl/pkg/syslinux//bios/menu.c32
+++ pxelinux_simple_vesamenu=/usr/share/drbl/pkg/syslinux//bios/vesamenu.c32
+++ pxelinux_chain_file=/usr/share/drbl/pkg/syslinux//bios/chain.c32
+++ pxelinux_mboot_file=/usr/share/drbl/pkg/syslinux//bios/mboot.c32
+++ pxelinux_sanboot_file=/usr/share/drbl/pkg/syslinux//bios/sanboot.c32
+++ sys_pxelinux_v5p_required_c32='ldlinux.c32 libcom32.c32 libutil.c32'
+++ live_efi_boot_loader=grub
+++ pxelinux_bg_img=/usr/share/drbl/image/drblwp.png
+++ PXELINUX_DIR=/tftpboot/nbi_img/pxelinux.cfg
+++ PXE_CONF_DEF=/tftpboot/nbi_img/pxelinux.cfg/default
+++ isolinux_file=/usr/share/drbl/pkg/syslinux//bios/isolinux.bin
+++ grub_bg_img=/usr/share/drbl/image/drblwp.png
+++ GRUB_EFINB_DIR=/tftpboot/nbi_img/grub
+++ GRUB_EFINB_CONF_DEF=/tftpboot/nbi_img/grub/grub.cfg
+++ GRUB_FS_MOD_drbl_ocs='ext2 xfs reiserfs jfs hfsplus fat ntfs'
+++ ocs_logo_img_png=/usr/share/drbl/image/ocswp.png
+++ ocs_logo_img_xpm=/usr/share/drbl/image/ocswp.xpm.gz
+++ ocs_logo_grub2_img_png=/usr/share/drbl/image/ocswp-grub2.png
+++ MEMTEST86_URL=
http://www.memtest.org/download/
+++ MEMTEST86_VER_DEF=6.00
+++ memtest86_dir=/usr/share/drbl/pkg/memtest86+/
+++ fdos_img_src=/usr/lib/freedos/fdos1440.img
+++ fdos_img_output=fdos1440_drbl.img
+++ PXE_RAMDISK_SIZE_DEF=19456
+++ PXE_RAMDISK_BLOCKSIZE=1024
+++ NETINSTALL_RAMDISK_SIZE_DEF=65535
+++ DHCPD_DEFAULT_LEASE_TIME=300
+++ DHCPD_MAX_LEASE_TIME=300
+++ IMG_SHOW_IN_MENU='drbl local memtest drbl-terminal'
+++ powerful_client_menu_label='Linux (DRBL mode, mostly local resources)'
+++ thin_client_menu_label='Linux (Terminal mode, mostly remote resources)'
+++ clonezilla_client_menu_label_prefix=Clonezilla
+++ local_os_menu_label='Local operating system (if available)'
+++ url_prefix=
http://free.nchc.org.tw
+++ graphical_boot=no
+++ ocsroot=/home/partimag
+++ ocs_lock_dir=/var/lock/clonezilla
+++ ocs_log_dir=/var/log/clonezilla/
+++ RESTORE_SFDISK_LOG=/var/log/clonezilla-restore-sfdisk.log
+++ udhdpc_query_result=/tmp/ocs-udhcpc-rlt.txt
+++ MSWIN_ADMIN_ID=Administrator
+++ DEFAULT_LANGUAGE=0
+++ DEFAULT_PXE_TIMEOUT=70
+++ UID_BEGIN_DEFAULT=500
+++ TIMED_GDM_TIME_DEFAULT=30
+++ TIMED_LIGHTDM_TIME_DEFAULT=30
+++ PASSWD_LENGTH_DEFAULT=8
+++ AUTO_LOGIN_ID_PASSWD=/etc/drbl/auto_login_id_passwd.txt
+++ TIME_2_KILL=1200
+++ maxswapsize_default=1024
+++ default_ramdisk_size=9600
+++ common_root_dir='/bin /etc /lib /sbin'
+++ buffer_ratio_for_client_space=1.5
+++ HOST_MAC_TABLE=/etc/drbl/HOST_MAC_TABLE
+++ IP_HOST_TABLE=/etc/drbl/IP_HOST_TABLE
+++ useradd_range_exec_file=drbl-useradd-range
+++ userdel_range_exec_file=drbl-userdel-range
+++ useradd_file_exec_file=drbl-useradd-file
+++ userdel_file_exec_file=drbl-userdel-file
+++ useradd_list_exec_file=drbl-useradd-list
+++ userdel_list_exec_file=drbl-userdel-list
+++ useradd_gen=username_pw.txt
+++ XFS_RATIO=1.2
+++ fs_port=7100
+++ i686_pkg_check_list_RH_like='glibc openssl openssl-perl pm-utils
libbeagle libbeagle-devel libbeagle-python beagle beagle-evolution
beagle-gui'
+++ drbl_server_service_chklist='dhcpd dhcp3-server isc-dhcp-server
xinetd rpcbind iptables nis ypserv ypbind yppasswdd ypxfrd nfs nfslock
rpc-statd statd nfs-common nfs-kernel-server nfs-server unfs3
tftpd-hpa inetd nfsserver SuSEfirewall2_init SuSEfirewall2_setup
drbl-clients-nat tftp dnsmasq'
+++ client_services_chklist='netfs rpcbind crond nfslock rpc-statd
sshd xfs ypbind kudzu harddrake dm alsa sound keytable haldaemon
messagebus nis nfs-common makedev ssh dbus-1 hal dbus kbd acpid
acpi-support powersaved resmgr usplash gpm ConsoleKit consolekit cups
cupsys pcscd cpuspeed abrtd binfmt-support systemd-timesyncd nscd'
+++ dnsmasq_cfg=/etc/dnsmasq.conf
+++ use_existing_dhcp_srv=no
+++ PKG_FROM_RH='dhcp tftp-server nfs-utils ypserv ypbind yp-tools
iptables wget dialog initscripts rsync parted tcpdump bc dos2unix curl
lftp openssh-server openssh-clients coreutils gzip bzip2 nc file
ethtool net-tools syslinux zip unzip iproute binutils expect lzop
ntfsprogs partimage pigz pbzip2 udpcast memtest86+ yum yum-utils
ecryptfs-utils shadow-utils ncurses'
+++ PKG_TO_UNINSTALL_PART1_RH='dhcp tftp-server nfs-utils ypserv
ypbind yp-tools dos2unix'
+++ PKG_TO_UNINSTALL_PART2_RH=
+++ PKG_FROM_MDK='dhcp-server tftp-server nfs-utils ypserv ypbind
yp-tools iptables wget cdialog initscripts rsync parted drakxtools
pciutils autologin tcpdump bc dos2unix curl lftp openssh-server
openssh-clients coreutils gzip bzip2 nc file ethtool net-tools
syslinux glibc-i18ndata zip unzip iproute2 binutils expect lzop
ntfsprogs partimage pigz pbzip2 udpcast ncurses'
+++ PKG_TO_UNINSTALL_PART1_MDK='dhcp-server tftp-server nfs-utils
ypserv ypbind yp-tools dos2unix'
+++ PKG_TO_UNINSTALL_PART2_MDK=
+++ PKG_FROM_SUSE='dhcp-server tftp nfs-utils ypserv ypbind yp-tools
iptables wget dialog rsync parted tcpdump bc dos2unix curl lftp
openssh insserv coreutils gzip bzip2 netcat file ethtool netdiag
syslinux glibc-i18ndata zip unzip iproute2 pbbuttonsd binutils expect
lzop ntfsprogs partimage pigz pbzip2 udpcast memtest86+
ecryptfs-utils'
+++ PKG_TO_UNINSTALL_SUSE='dhcp-server tftp nfs-utils ypserv ypbind
yp-tools ncurses-utils'
+++ PKG_FROM_DBN_MINIMAL_NEED='util-linux tar gzip bzip2 lzop pigz
pbzip2 procps dialog rsync parted pciutils tcpdump bc gawk hdparm
sdparm netcat-traditional file ethtool etherwake ssh mtools
reiserfsprogs e2fsprogs psmisc locales wget disktype zip unzip patch
iproute2 traceroute iputils-ping binutils expect udpcast debconf-utils
txt2html dosfstools init ncurses-bin iptables net-tools chntpw curl'
+++ PKG_FROM_DBN_WHICH_OCS_LIVE_MUST_HAVE='util-linux tar gzip bzip2
lzop pigz pbzip2 procps dialog rsync parted pciutils tcpdump bc gawk
hdparm sdparm netcat-traditional file ethtool etherwake ssh mtools
reiserfsprogs e2fsprogs psmisc locales wget disktype zip unzip patch
iproute2 traceroute iputils-ping binutils expect udpcast debconf-utils
txt2html dosfstools init ncurses-bin iptables net-tools chntpw curl
perl less ntfs-3g screen tmux whiptail sshfs cifs-utils lftp
dhcp*-client$ fbset gddrescue lvm2 xfsprogs xfsdump jfsutils
console-setup console-common kbd hfsutils pwgen testdisk tofrodos
dvd+rw-tools udftools pcmciautils nfs-common man pppoe pppoeconf
ethtool mc wodim lshw efibootmgr lsscsi open-iscsi aoetools mdadm gpm
ifupdown usbutils dmidecode mbr wipe hexedit vim lbzip2 lzma xz-utils
pixz lzip plzip lrzip bsdmainutils iw w3m smartmontools vmfs-tools
dbus dmsetup kpartx wpasupplicant fsarchiver cdrdao bind9-host nano
rsyslog fbcat foremost eject gzrt sudo busybox user-setup xorriso
btrfs-progs gdisk pcscd dirvish rsnapshot pv dnsutils tree exfatprogs
tcplay libdata-validate-ip-perl udisks2 keyutils f2fs-tools
lziprecover nwipe lsof htop bcache-tools diskscan fstransform rfkill
f2fs-tools ntpsec-ntpdate bindfs zbackup ifenslave ca-certificates
s3fs tinc zerofree strace fatresize nilfs-tools fancontrol lm-sensors
dos2unix powertop qemu-utils os-prober dislocker ext4magic myrescue
p7zip-full sysstat iftop nmap sshpass keychain lighttpd dnsmasq
alsa-utils casync hashrat syslinux-common syslinux-efi isolinux
pxelinux lz4 zstd haveged network-manager ldmtool nuttcp rdfind hwinfo
scdaemon xen-tools uuid-runtime jq jc mutt telnet music123 sound-icons
scrub nvme-cli bluetooth bluez bluez-tools mtr-tiny dcfldd iotop pax
pmount util-linux-extra libfsapfs-utils'
+++ PKG_FROM_DBN_WHICH_OCS_LIVE_NICE_TO_HAVE='mpg123 partimage
ecryptfs-utils ipmitool monitoring-plugins-basic encfs davfs2
partclone-utils console-data bogl-bterm vlan brltty espeakup plocate
scsitools blktool safecopy gpart f3 ipv6calc atop usbtop bashtop
python3-psutil vnstat iperf3 glances virt-what ncdu ncdt vifm ytree
lfm openfortivpn openconnect wavemon dtrx memtester edac-utils shc
uml-utilities ngrep duf duff dfc ufw dvtm dtach zfsutils-linux
ntfs2btrfs acpitool pdsh powermgmt-base yq'
+++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED='util-linux tar gzip bzip2 lzop
pigz pbzip2 procps dialog rsync parted pciutils tcpdump bc gawk hdparm
sdparm netcat-traditional file ethtool etherwake ssh mtools
reiserfsprogs e2fsprogs psmisc locales wget disktype zip unzip patch
iproute2 traceroute iputils-ping binutils expect udpcast debconf-utils
txt2html dosfstools init ncurses-bin iptables net-tools chntpw curl
perl less ntfs-3g screen tmux whiptail sshfs cifs-utils lftp
dhcp*-client$ fbset gddrescue lvm2 xfsprogs xfsdump jfsutils
console-setup console-common kbd hfsutils pwgen testdisk tofrodos
dvd+rw-tools udftools pcmciautils nfs-common man pppoe pppoeconf
ethtool mc wodim lshw efibootmgr lsscsi open-iscsi aoetools mdadm gpm
ifupdown usbutils dmidecode mbr wipe hexedit vim lbzip2 lzma xz-utils
pixz lzip plzip lrzip bsdmainutils iw w3m smartmontools vmfs-tools
dbus dmsetup kpartx wpasupplicant fsarchiver cdrdao bind9-host nano
rsyslog fbcat foremost eject gzrt sudo busybox user-setup xorriso
btrfs-progs gdisk pcscd dirvish rsnapshot pv dnsutils tree exfatprogs
tcplay libdata-validate-ip-perl udisks2 keyutils f2fs-tools
lziprecover nwipe lsof htop bcache-tools diskscan fstransform rfkill
f2fs-tools ntpsec-ntpdate bindfs zbackup ifenslave ca-certificates
s3fs tinc zerofree strace fatresize nilfs-tools fancontrol lm-sensors
dos2unix powertop qemu-utils os-prober dislocker ext4magic myrescue
p7zip-full sysstat iftop nmap sshpass keychain lighttpd dnsmasq
alsa-utils casync hashrat syslinux-common syslinux-efi isolinux
pxelinux lz4 zstd haveged network-manager ldmtool nuttcp rdfind hwinfo
scdaemon xen-tools uuid-runtime jq jc mutt telnet music123 sound-icons
scrub nvme-cli bluetooth bluez bluez-tools mtr-tiny dcfldd iotop pax
pmount util-linux-extra libfsapfs-utils mpg123 partimage
ecryptfs-utils ipmitool monitoring-plugins-basic encfs davfs2
partclone-utils console-data bogl-bterm vlan brltty espeakup plocate
scsitools blktool safecopy gpart f3 ipv6calc atop usbtop bashtop
python3-psutil vnstat iperf3 glances virt-what ncdu ncdt vifm ytree
lfm openfortivpn openconnect wavemon dtrx memtester edac-utils shc
uml-utilities ngrep duf duff dfc ufw dvtm dtach zfsutils-linux
ntfs2btrfs acpitool pdsh powermgmt-base yq'
+++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED_X86_ONLY='syslinux acpi extlinux
syslinux-utils grub-pc grub-efi-amd64-bin mbmon vbetool'
+++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED_X86_64_ONLY='syslinux acpi
extlinux syslinux-utils grub-pc grub-efi-amd64-bin mbmon vbetool
grub-efi-amd64-signed shim-signed'
+++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED_ARM64_ONLY='grub-efi-arm64-signed
shim-signed'
+++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED_ARMHF_ONLY=grub-efi-arm
+++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED_RISCV64_ONLY=grub-efi-riscv64
+++ PKG_FROM_DBN='util-linux tar gzip bzip2 lzop pigz pbzip2 procps
dialog rsync parted pciutils tcpdump bc gawk hdparm sdparm
netcat-traditional file ethtool etherwake ssh mtools reiserfsprogs
e2fsprogs psmisc locales wget disktype zip unzip patch iproute2
traceroute iputils-ping binutils expect udpcast debconf-utils txt2html
dosfstools init ncurses-bin iptables net-tools chntpw curl tftpd-hpa
nfs-kernel-server nis lftp ntfs-3g'
+++ PKG_TO_UNINSTALL_PART1_DBN='isc-dhcp-server tftpd-hpa nfs-kernel-server nis'
+++ PKG_TO_UNINSTALL_PART2_DBN=
+++ PKG_TO_QUERY='mkinitrd initscripts lvm2 ntfs-3g xorriso
genisoimage mkisofs lshw hwinfo aoetools dmidecode lzop lzma xz
xz-utils pixz lzip pigz pbzip2 lbzip2 plzip lrzip pv hfsutils hfsprogs
dmsetup dmraid kpartx device-mapper tofrodos dos2unix unix2dos
dhcp3-server isc-dhcp-server gdisk btrfs-progs ufsutils disktype
efibootmgr syslinux syslinux-utils tftp-server iptables-services
grub-efi-amd64-bin grub-efi-arm64-bin grub-efi-ia32-bin
grub2-efi-modules grub2-efi-x64-modules grub2-efi-ia32-modules
monitoring-plugins-basic nmap dnsmasq memtest86+ freedos lz4 zstd nscd
shim-signed grub-efi-amd64-signed grub-efi-arm64-signed ldmtool
ecryptfs-utils partimage thin-provisioning-tools
device-mapper-persistent-data nuttcp cryptsetup'
+++ PKG_TO_QUERY_RH='dracut firstboot'
+++ PKG_FROM_DRBL_FOR_CLONEZILLA_LIVE='clonezilla partclone '
+++ PKG_FROM_DRBL='clonezilla partclone mkpxeinitrd-net ipxe '
+++ i686_pkg_check_list_SUSE='glibc glibc-devel db db-devel db41 db41-devel'
+++ debian_pkgs_for_gparted='gparted hfsutils jfsutils xfsprogs
xfsdump reiserfsprogs btrfs-progs parted ntfs-3g dosfstools mtools
lvm2 mbr vim-common dmsetup kpartx exfatprogs util-linux-extra'
+++ etc_exclude_dirs='/etc/selinux/targeted/ /etc/netplan/'
+++ symbolic_files_in_var_chklist='run lock'
+++ lib_NOT_2_be_copied_2_common_root='modules live/mount'
+++ varlib_NOT_2_be_copied_2_common_root='tftpboot mysql vmware-server
boinc-client/projects hadoop backuppc ntp/proc docker lxcfs'
+++ varcache_2_be_copied_2_common_root='debconf sax man'
+++ varlib_NOT_2_be_copied_2_each_client='dhcp nfs rpm dpkg apt
synaptic yum urpmi snapd'
+++ type whiptail
+++ DIA=whiptail
+++ NFSD_RATIO=2.5
+++ NFSD_MAX=120
+++ nfs_client_extra_opt=
+++ yum_repo_blacklists=
http://ftp.isu.edu.tw
+++ drbl_yum_repo_list='drbl.repo drbl-testing.repo drbl-unstable.repo
drbl-extra.repo drbl-legacy.repo'
+++ rpm_md_conf_dir_path=/usr/share/drbl/setup/rpm-md-repos
+++ set_drbl_gdmgreeter=yes
+++ DRBLPUSH_PRERUN_DIR=/usr/share/drbl/prerun/drbl/
+++ DRBLPUSH_POSTRUN_DIR=/usr/share/drbl/postrun/drbl/
+++ diskless_root_dir_1='home mnt proc tmp usr opt root dev var lib
initrd sys snap'
+++ diskless_root_dir_2='media misc net srv selinux'
+++ memfs_dir_in_rh_client_fstab='/dev/shm /dev/pts /sys /proc'
+++ dummy_eth_nics='eth0 eth1 eth2 eth3'
+++ exclude_eth_nics=
+++ diskless_root_dir_ro_user_add=
+++ diskless_root_dir_rw_user_add=
+++ desktop_user_group_debian='dialout audio cdrom plugdev floppy video'
+++ drbl_client_debian_exclude_kernels='(-xen|-vserver|-openvz|rt|-dbg|-grsec|-unsigned|-cloud)'
+++ secure_boot_client=no
+++ setup_bsd_netinst=no
+++ debian_netinstall_ver=bookworm
+++ debian_netinstall_arch='i386 amd64'
+++ debian_url_site=
http://free.nchc.org.tw
+++ path_to_debian=debian/dists
+++ debian_netinstall_kernel=linux
+++ debian_netinstall_initrd=initrd.gz
+++ ubuntu_netinstall_ver=focal
+++ ubuntu_netinstall_arch='i386 amd64'
+++ ubuntu_url_site=
http://free.nchc.org.tw
+++ path_to_ubuntu=ubuntu/dists
+++ ubuntu_netinstall_kernel=linux
+++ ubuntu_netinstall_initrd=initrd.gz
+++ fedora_netinstall_ver=41
+++ fedora_netinstall_arch=x86_64
+++ fedora_url_site=
http://free.nchc.org.tw
+++ path_to_fedora=fedora/linux
+++ fedora_netinstall_kernel=vmlinuz
+++ fedora_netinstall_initrd=initrd.img
+++ centos_netinstall_ver='7 8'
+++ centos_netinstall_arch=x86_64
+++ centos_url_site=
http://free.nchc.org.tw
+++ path_to_centos=centos
+++ centos_netinstall_kernel=vmlinuz
+++ centos_netinstall_initrd=initrd.img
+++ mandriva_netinstall_ver=2010.0
+++ mandriva_netinstall_arch=i586
+++ mandriva_url_site=
http://free.nchc.org.tw
+++ path_to_mandriva=mandrake/official
+++ mandriva_netinstall_kernel=vmlinuz
+++ mandriva_netinstall_initrd=all.rdz
+++ mageia_netinstall_ver=cauldron
+++ mageia_netinstall_arch=i586
+++ mageia_url_site=
http://free.nchc.org.tw
+++ path_to_mageia=mageia/distrib
+++ mageia_netinstall_kernel=vmlinuz
+++ mageia_netinstall_initrd=all.rdz
+++ scientific_netinstall_ver=7x
+++ scientific_netinstall_arch=x86_64
+++ scientific_url_site=
http://free.nchc.org.tw
+++ path_to_scientific=scientific
+++ scientific_netinstall_kernel=vmlinuz
+++ scientific_netinstall_initrd=initrd.img
+++ opensuse_netinstall_ver=16.0
+++ opensuse_netinstall_arch=x86_64
+++ opensuse_url_site=
http://free.nchc.org.tw
+++ path_to_opensuse=opensuse/distribution
+++ opensuse_netinstall_kernel=linux
+++ opensuse_netinstall_initrd=initrd
+++ freebsd_netinstall_ver=8.0
+++ freebsd_netinstall_arch=i386
+++ freebsd_url_site=
ftp://ftp.twaren.net
+++ path_to_freebsd=BSD/FreeBSD/
+++ openbsd_netinstall_ver=4.6
+++ openbsd_netinstall_arch=i386
+++ openbsd_url_site=
ftp://ftp.twaren.net
+++ path_to_openbsd=BSD/OpenBSD/
+++ drbl_live_private_IP_alias_eth_def=100
+++ sanboot_img_dump_dir=/home/sanboot-img
+++ aoe_shelf_max=15
+++ aoe_slot_max=15
++ '[' '!' -f /usr/share/drbl/sbin/drbl-functions ']'
++ . /usr/share/drbl/sbin/drbl-functions
+++ DRBL_SCRIPT_PATH=/usr/share/drbl
+++ . /etc/drbl/drbl.conf
++++ drbl_setup_path=/usr/share/drbl/setup
++++ drblroot=/tftpboot/nodes
++++ drbl_common_root=/tftpboot/node_root
++++ drbl_nfs_prot=
++++ '[' -e /etc/debian_version ']'
++++ SYSCONF_PATH=/etc/default/
++++ '[' -x /usr/sbin/dhcpd3 ']'
++++ DHCPDCONF_DIR=/etc/dhcp
++++ DHCP_SRV_NAME=isc-dhcp-server
++++ NFS_SRV_NAME=nfs-kernel-server
++++ YP_SRV_NAME=nis
++++ RCX_ROOTDIR=/etc
++++ RCX_REL_INITD=../init.d
++++ query_allpkgs_cmd='dpkg --get-selections'
++++ query_pkglist_cmd='dpkg -L'
++++ query_pkglist_exist_cmd='dpkg -L'
++++ drbl_syscfg=/etc/drbl
++++ cache_dir=/var/cache/apt/archives
++++ drbl_pkgdir=/usr/share/drbl/share
++++ pxecfg_pd=/tftpboot/nbi_img
++++ syslinux_binsrc_url=
http://free.nchc.org.tw/syslinux
++++ SYS_PXELINUX_VER_DEF=6.03
++++ pxelinux_binsrc_dir=/usr/share/drbl/pkg/syslinux/
++++ pxelinux_file=/usr/share/drbl/pkg/syslinux//bios/pxelinux.0
++++ gpxelinux_file=/usr/share/drbl/pkg/syslinux//bios/gpxelinux.0
++++ lpxelinux_file=/usr/share/drbl/pkg/syslinux//bios/lpxelinux.0
++++ pxelinux_memdisk_file=/usr/share/drbl/pkg/syslinux//bios/memdisk
++++ pxelinux_simple_menu=/usr/share/drbl/pkg/syslinux//bios/menu.c32
++++ pxelinux_simple_vesamenu=/usr/share/drbl/pkg/syslinux//bios/vesamenu.c32
++++ pxelinux_chain_file=/usr/share/drbl/pkg/syslinux//bios/chain.c32
++++ pxelinux_mboot_file=/usr/share/drbl/pkg/syslinux//bios/mboot.c32
++++ pxelinux_sanboot_file=/usr/share/drbl/pkg/syslinux//bios/sanboot.c32
++++ sys_pxelinux_v5p_required_c32='ldlinux.c32 libcom32.c32 libutil.c32'
++++ live_efi_boot_loader=grub
++++ pxelinux_bg_img=/usr/share/drbl/image/drblwp.png
++++ PXELINUX_DIR=/tftpboot/nbi_img/pxelinux.cfg
++++ PXE_CONF_DEF=/tftpboot/nbi_img/pxelinux.cfg/default
++++ isolinux_file=/usr/share/drbl/pkg/syslinux//bios/isolinux.bin
++++ grub_bg_img=/usr/share/drbl/image/drblwp.png
++++ GRUB_EFINB_DIR=/tftpboot/nbi_img/grub
++++ GRUB_EFINB_CONF_DEF=/tftpboot/nbi_img/grub/grub.cfg
++++ GRUB_FS_MOD_drbl_ocs='ext2 xfs reiserfs jfs hfsplus fat ntfs'
++++ ocs_logo_img_png=/usr/share/drbl/image/ocswp.png
++++ ocs_logo_img_xpm=/usr/share/drbl/image/ocswp.xpm.gz
++++ ocs_logo_grub2_img_png=/usr/share/drbl/image/ocswp-grub2.png
++++ MEMTEST86_URL=
http://www.memtest.org/download/
++++ MEMTEST86_VER_DEF=6.00
++++ memtest86_dir=/usr/share/drbl/pkg/memtest86+/
++++ fdos_img_src=/usr/lib/freedos/fdos1440.img
++++ fdos_img_output=fdos1440_drbl.img
++++ PXE_RAMDISK_SIZE_DEF=19456
++++ PXE_RAMDISK_BLOCKSIZE=1024
++++ NETINSTALL_RAMDISK_SIZE_DEF=65535
++++ DHCPD_DEFAULT_LEASE_TIME=300
++++ DHCPD_MAX_LEASE_TIME=300
++++ IMG_SHOW_IN_MENU='drbl local memtest drbl-terminal'
++++ powerful_client_menu_label='Linux (DRBL mode, mostly local resources)'
++++ thin_client_menu_label='Linux (Terminal mode, mostly remote resources)'
++++ clonezilla_client_menu_label_prefix=Clonezilla
++++ local_os_menu_label='Local operating system (if available)'
++++ url_prefix=
http://free.nchc.org.tw
++++ graphical_boot=no
++++ ocsroot=/home/partimag
++++ ocs_lock_dir=/var/lock/clonezilla
++++ ocs_log_dir=/var/log/clonezilla/
++++ RESTORE_SFDISK_LOG=/var/log/clonezilla-restore-sfdisk.log
++++ udhdpc_query_result=/tmp/ocs-udhcpc-rlt.txt
++++ MSWIN_ADMIN_ID=Administrator
++++ DEFAULT_LANGUAGE=0
++++ DEFAULT_PXE_TIMEOUT=70
++++ UID_BEGIN_DEFAULT=500
++++ TIMED_GDM_TIME_DEFAULT=30
++++ TIMED_LIGHTDM_TIME_DEFAULT=30
++++ PASSWD_LENGTH_DEFAULT=8
++++ AUTO_LOGIN_ID_PASSWD=/etc/drbl/auto_login_id_passwd.txt
++++ TIME_2_KILL=1200
++++ maxswapsize_default=1024
++++ default_ramdisk_size=9600
++++ common_root_dir='/bin /etc /lib /sbin'
++++ buffer_ratio_for_client_space=1.5
++++ HOST_MAC_TABLE=/etc/drbl/HOST_MAC_TABLE
++++ IP_HOST_TABLE=/etc/drbl/IP_HOST_TABLE
++++ useradd_range_exec_file=drbl-useradd-range
++++ userdel_range_exec_file=drbl-userdel-range
++++ useradd_file_exec_file=drbl-useradd-file
++++ userdel_file_exec_file=drbl-userdel-file
++++ useradd_list_exec_file=drbl-useradd-list
++++ userdel_list_exec_file=drbl-userdel-list
++++ useradd_gen=username_pw.txt
++++ XFS_RATIO=1.2
++++ fs_port=7100
++++ i686_pkg_check_list_RH_like='glibc openssl openssl-perl pm-utils
libbeagle libbeagle-devel libbeagle-python beagle beagle-evolution
beagle-gui'
++++ drbl_server_service_chklist='dhcpd dhcp3-server isc-dhcp-server
xinetd rpcbind iptables nis ypserv ypbind yppasswdd ypxfrd nfs nfslock
rpc-statd statd nfs-common nfs-kernel-server nfs-server unfs3
tftpd-hpa inetd nfsserver SuSEfirewall2_init SuSEfirewall2_setup
drbl-clients-nat tftp dnsmasq'
++++ client_services_chklist='netfs rpcbind crond nfslock rpc-statd
sshd xfs ypbind kudzu harddrake dm alsa sound keytable haldaemon
messagebus nis nfs-common makedev ssh dbus-1 hal dbus kbd acpid
acpi-support powersaved resmgr usplash gpm ConsoleKit consolekit cups
cupsys pcscd cpuspeed abrtd binfmt-support systemd-timesyncd nscd'
++++ dnsmasq_cfg=/etc/dnsmasq.conf
++++ use_existing_dhcp_srv=no
++++ PKG_FROM_RH='dhcp tftp-server nfs-utils ypserv ypbind yp-tools
iptables wget dialog initscripts rsync parted tcpdump bc dos2unix curl
lftp openssh-server openssh-clients coreutils gzip bzip2 nc file
ethtool net-tools syslinux zip unzip iproute binutils expect lzop
ntfsprogs partimage pigz pbzip2 udpcast memtest86+ yum yum-utils
ecryptfs-utils shadow-utils ncurses'
++++ PKG_TO_UNINSTALL_PART1_RH='dhcp tftp-server nfs-utils ypserv
ypbind yp-tools dos2unix'
++++ PKG_TO_UNINSTALL_PART2_RH=
++++ PKG_FROM_MDK='dhcp-server tftp-server nfs-utils ypserv ypbind
yp-tools iptables wget cdialog initscripts rsync parted drakxtools
pciutils autologin tcpdump bc dos2unix curl lftp openssh-server
openssh-clients coreutils gzip bzip2 nc file ethtool net-tools
syslinux glibc-i18ndata zip unzip iproute2 binutils expect lzop
ntfsprogs partimage pigz pbzip2 udpcast ncurses'
++++ PKG_TO_UNINSTALL_PART1_MDK='dhcp-server tftp-server nfs-utils
ypserv ypbind yp-tools dos2unix'
++++ PKG_TO_UNINSTALL_PART2_MDK=
++++ PKG_FROM_SUSE='dhcp-server tftp nfs-utils ypserv ypbind yp-tools
iptables wget dialog rsync parted tcpdump bc dos2unix curl lftp
openssh insserv coreutils gzip bzip2 netcat file ethtool netdiag
syslinux glibc-i18ndata zip unzip iproute2 pbbuttonsd binutils expect
lzop ntfsprogs partimage pigz pbzip2 udpcast memtest86+
ecryptfs-utils'
++++ PKG_TO_UNINSTALL_SUSE='dhcp-server tftp nfs-utils ypserv ypbind
yp-tools ncurses-utils'
++++ PKG_FROM_DBN_MINIMAL_NEED='util-linux tar gzip bzip2 lzop pigz
pbzip2 procps dialog rsync parted pciutils tcpdump bc gawk hdparm
sdparm netcat-traditional file ethtool etherwake ssh mtools
reiserfsprogs e2fsprogs psmisc locales wget disktype zip unzip patch
iproute2 traceroute iputils-ping binutils expect udpcast debconf-utils
txt2html dosfstools init ncurses-bin iptables net-tools chntpw curl'
++++ PKG_FROM_DBN_WHICH_OCS_LIVE_MUST_HAVE='util-linux tar gzip bzip2
lzop pigz pbzip2 procps dialog rsync parted pciutils tcpdump bc gawk
hdparm sdparm netcat-traditional file ethtool etherwake ssh mtools
reiserfsprogs e2fsprogs psmisc locales wget disktype zip unzip patch
iproute2 traceroute iputils-ping binutils expect udpcast debconf-utils
txt2html dosfstools init ncurses-bin iptables net-tools chntpw curl
perl less ntfs-3g screen tmux whiptail sshfs cifs-utils lftp
dhcp*-client$ fbset gddrescue lvm2 xfsprogs xfsdump jfsutils
console-setup console-common kbd hfsutils pwgen testdisk tofrodos
dvd+rw-tools udftools pcmciautils nfs-common man pppoe pppoeconf
ethtool mc wodim lshw efibootmgr lsscsi open-iscsi aoetools mdadm gpm
ifupdown usbutils dmidecode mbr wipe hexedit vim lbzip2 lzma xz-utils
pixz lzip plzip lrzip bsdmainutils iw w3m smartmontools vmfs-tools
dbus dmsetup kpartx wpasupplicant fsarchiver cdrdao bind9-host nano
rsyslog fbcat foremost eject gzrt sudo busybox user-setup xorriso
btrfs-progs gdisk pcscd dirvish rsnapshot pv dnsutils tree exfatprogs
tcplay libdata-validate-ip-perl udisks2 keyutils f2fs-tools
lziprecover nwipe lsof htop bcache-tools diskscan fstransform rfkill
f2fs-tools ntpsec-ntpdate bindfs zbackup ifenslave ca-certificates
s3fs tinc zerofree strace fatresize nilfs-tools fancontrol lm-sensors
dos2unix powertop qemu-utils os-prober dislocker ext4magic myrescue
p7zip-full sysstat iftop nmap sshpass keychain lighttpd dnsmasq
alsa-utils casync hashrat syslinux-common syslinux-efi isolinux
pxelinux lz4 zstd haveged network-manager ldmtool nuttcp rdfind hwinfo
scdaemon xen-tools uuid-runtime jq jc mutt telnet music123 sound-icons
scrub nvme-cli bluetooth bluez bluez-tools mtr-tiny dcfldd iotop pax
pmount util-linux-extra libfsapfs-utils'
++++ PKG_FROM_DBN_WHICH_OCS_LIVE_NICE_TO_HAVE='mpg123 partimage
ecryptfs-utils ipmitool monitoring-plugins-basic encfs davfs2
partclone-utils console-data bogl-bterm vlan brltty espeakup plocate
scsitools blktool safecopy gpart f3 ipv6calc atop usbtop bashtop
python3-psutil vnstat iperf3 glances virt-what ncdu ncdt vifm ytree
lfm openfortivpn openconnect wavemon dtrx memtester edac-utils shc
uml-utilities ngrep duf duff dfc ufw dvtm dtach zfsutils-linux
ntfs2btrfs acpitool pdsh powermgmt-base yq'
++++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED='util-linux tar gzip bzip2 lzop
pigz pbzip2 procps dialog rsync parted pciutils tcpdump bc gawk hdparm
sdparm netcat-traditional file ethtool etherwake ssh mtools
reiserfsprogs e2fsprogs psmisc locales wget disktype zip unzip patch
iproute2 traceroute iputils-ping binutils expect udpcast debconf-utils
txt2html dosfstools init ncurses-bin iptables net-tools chntpw curl
perl less ntfs-3g screen tmux whiptail sshfs cifs-utils lftp
dhcp*-client$ fbset gddrescue lvm2 xfsprogs xfsdump jfsutils
console-setup console-common kbd hfsutils pwgen testdisk tofrodos
dvd+rw-tools udftools pcmciautils nfs-common man pppoe pppoeconf
ethtool mc wodim lshw efibootmgr lsscsi open-iscsi aoetools mdadm gpm
ifupdown usbutils dmidecode mbr wipe hexedit vim lbzip2 lzma xz-utils
pixz lzip plzip lrzip bsdmainutils iw w3m smartmontools vmfs-tools
dbus dmsetup kpartx wpasupplicant fsarchiver cdrdao bind9-host nano
rsyslog fbcat foremost eject gzrt sudo busybox user-setup xorriso
btrfs-progs gdisk pcscd dirvish rsnapshot pv dnsutils tree exfatprogs
tcplay libdata-validate-ip-perl udisks2 keyutils f2fs-tools
lziprecover nwipe lsof htop bcache-tools diskscan fstransform rfkill
f2fs-tools ntpsec-ntpdate bindfs zbackup ifenslave ca-certificates
s3fs tinc zerofree strace fatresize nilfs-tools fancontrol lm-sensors
dos2unix powertop qemu-utils os-prober dislocker ext4magic myrescue
p7zip-full sysstat iftop nmap sshpass keychain lighttpd dnsmasq
alsa-utils casync hashrat syslinux-common syslinux-efi isolinux
pxelinux lz4 zstd haveged network-manager ldmtool nuttcp rdfind hwinfo
scdaemon xen-tools uuid-runtime jq jc mutt telnet music123 sound-icons
scrub nvme-cli bluetooth bluez bluez-tools mtr-tiny dcfldd iotop pax
pmount util-linux-extra libfsapfs-utils mpg123 partimage
ecryptfs-utils ipmitool monitoring-plugins-basic encfs davfs2
partclone-utils console-data bogl-bterm vlan brltty espeakup plocate
scsitools blktool safecopy gpart f3 ipv6calc atop usbtop bashtop
python3-psutil vnstat iperf3 glances virt-what ncdu ncdt vifm ytree
lfm openfortivpn openconnect wavemon dtrx memtester edac-utils shc
uml-utilities ngrep duf duff dfc ufw dvtm dtach zfsutils-linux
ntfs2btrfs acpitool pdsh powermgmt-base yq'
++++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED_X86_ONLY='syslinux acpi extlinux
syslinux-utils grub-pc grub-efi-amd64-bin mbmon vbetool'
++++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED_X86_64_ONLY='syslinux acpi
extlinux syslinux-utils grub-pc grub-efi-amd64-bin mbmon vbetool
grub-efi-amd64-signed shim-signed'
++++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED_ARM64_ONLY='grub-efi-arm64-signed
shim-signed'
++++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED_ARMHF_ONLY=grub-efi-arm
++++ PKG_FROM_DBN_WHICH_OCS_LIVE_NEED_RISCV64_ONLY=grub-efi-riscv64
++++ PKG_FROM_DBN='util-linux tar gzip bzip2 lzop pigz pbzip2 procps
dialog rsync parted pciutils tcpdump bc gawk hdparm sdparm
netcat-traditional file ethtool etherwake ssh mtools reiserfsprogs
e2fsprogs psmisc locales wget disktype zip unzip patch iproute2
traceroute iputils-ping binutils expect udpcast debconf-utils txt2html
dosfstools init ncurses-bin iptables net-tools chntpw curl tftpd-hpa
nfs-kernel-server nis lftp ntfs-3g'
++++ PKG_TO_UNINSTALL_PART1_DBN='isc-dhcp-server tftpd-hpa
nfs-kernel-server nis'
++++ PKG_TO_UNINSTALL_PART2_DBN=
++++ PKG_TO_QUERY='mkinitrd initscripts lvm2 ntfs-3g xorriso
genisoimage mkisofs lshw hwinfo aoetools dmidecode lzop lzma xz
xz-utils pixz lzip pigz pbzip2 lbzip2 plzip lrzip pv hfsutils hfsprogs
dmsetup dmraid kpartx device-mapper tofrodos dos2unix unix2dos
dhcp3-server isc-dhcp-server gdisk btrfs-progs ufsutils disktype
efibootmgr syslinux syslinux-utils tftp-server iptables-services
grub-efi-amd64-bin grub-efi-arm64-bin grub-efi-ia32-bin
grub2-efi-modules grub2-efi-x64-modules grub2-efi-ia32-modules
monitoring-plugins-basic nmap dnsmasq memtest86+ freedos lz4 zstd nscd
shim-signed grub-efi-amd64-signed grub-efi-arm64-signed ldmtool
ecryptfs-utils partimage thin-provisioning-tools
device-mapper-persistent-data nuttcp cryptsetup'
++++ PKG_TO_QUERY_RH='dracut firstboot'
++++ PKG_FROM_DRBL_FOR_CLONEZILLA_LIVE='clonezilla partclone '
++++ PKG_FROM_DRBL='clonezilla partclone mkpxeinitrd-net ipxe '
++++ i686_pkg_check_list_SUSE='glibc glibc-devel db db-devel db41 db41-devel'
++++ debian_pkgs_for_gparted='gparted hfsutils jfsutils xfsprogs
xfsdump reiserfsprogs btrfs-progs parted ntfs-3g dosfstools mtools
lvm2 mbr vim-common dmsetup kpartx exfatprogs util-linux-extra'
++++ etc_exclude_dirs='/etc/selinux/targeted/ /etc/netplan/'
++++ symbolic_files_in_var_chklist='run lock'
++++ lib_NOT_2_be_copied_2_common_root='modules live/mount'
++++ varlib_NOT_2_be_copied_2_common_root='tftpboot mysql
vmware-server boinc-client/projects hadoop backuppc ntp/proc docker
lxcfs'
++++ varcache_2_be_copied_2_common_root='debconf sax man'
++++ varlib_NOT_2_be_copied_2_each_client='dhcp nfs rpm dpkg apt
synaptic yum urpmi snapd'
++++ type whiptail
++++ DIA=whiptail
++++ NFSD_RATIO=2.5
++++ NFSD_MAX=120
++++ nfs_client_extra_opt=
++++ yum_repo_blacklists=
http://ftp.isu.edu.tw
++++ drbl_yum_repo_list='drbl.repo drbl-testing.repo
drbl-unstable.repo drbl-extra.repo drbl-legacy.repo'
++++ rpm_md_conf_dir_path=/usr/share/drbl/setup/rpm-md-repos
++++ set_drbl_gdmgreeter=yes
++++ DRBLPUSH_PRERUN_DIR=/usr/share/drbl/prerun/drbl/
++++ DRBLPUSH_POSTRUN_DIR=/usr/share/drbl/postrun/drbl/
++++ diskless_root_dir_1='home mnt proc tmp usr opt root dev var lib
initrd sys snap'
++++ diskless_root_dir_2='media misc net srv selinux'
++++ memfs_dir_in_rh_client_fstab='/dev/shm /dev/pts /sys /proc'
++++ dummy_eth_nics='eth0 eth1 eth2 eth3'
++++ exclude_eth_nics=
++++ diskless_root_dir_ro_user_add=
++++ diskless_root_dir_rw_user_add=
++++ desktop_user_group_debian='dialout audio cdrom plugdev floppy video'
++++ drbl_client_debian_exclude_kernels='(-xen|-vserver|-openvz|rt|-dbg|-grsec|-unsigned|-cloud)'
++++ secure_boot_client=no
++++ setup_bsd_netinst=no
++++ debian_netinstall_ver=bookworm
++++ debian_netinstall_arch='i386 amd64'
++++ debian_url_site=
http://free.nchc.org.tw
++++ path_to_debian=debian/dists
++++ debian_netinstall_kernel=linux
++++ debian_netinstall_initrd=initrd.gz
++++ ubuntu_netinstall_ver=focal
++++ ubuntu_netinstall_arch='i386 amd64'
++++ ubuntu_url_site=
http://free.nchc.org.tw
++++ path_to_ubuntu=ubuntu/dists
++++ ubuntu_netinstall_kernel=linux
++++ ubuntu_netinstall_initrd=initrd.gz
++++ fedora_netinstall_ver=41
++++ fedora_netinstall_arch=x86_64
++++ fedora_url_site=
http://free.nchc.org.tw
++++ path_to_fedora=fedora/linux
++++ fedora_netinstall_kernel=vmlinuz
++++ fedora_netinstall_initrd=initrd.img
++++ centos_netinstall_ver='7 8'
++++ centos_netinstall_arch=x86_64
++++ centos_url_site=
http://free.nchc.org.tw
++++ path_to_centos=centos
++++ centos_netinstall_kernel=vmlinuz
++++ centos_netinstall_initrd=initrd.img
++++ mandriva_netinstall_ver=2010.0
++++ mandriva_netinstall_arch=i586
++++ mandriva_url_site=
http://free.nchc.org.tw
++++ path_to_mandriva=mandrake/official
++++ mandriva_netinstall_kernel=vmlinuz
++++ mandriva_netinstall_initrd=all.rdz
++++ mageia_netinstall_ver=cauldron
++++ mageia_netinstall_arch=i586
++++ mageia_url_site=
http://free.nchc.org.tw
++++ path_to_mageia=mageia/distrib
++++ mageia_netinstall_kernel=vmlinuz
++++ mageia_netinstall_initrd=all.rdz
++++ scientific_netinstall_ver=7x
++++ scientific_netinstall_arch=x86_64
++++ scientific_url_site=
http://free.nchc.org.tw
++++ path_to_scientific=scientific
++++ scientific_netinstall_kernel=vmlinuz
++++ scientific_netinstall_initrd=initrd.img
++++ opensuse_netinstall_ver=16.0
++++ opensuse_netinstall_arch=x86_64
++++ opensuse_url_site=
http://free.nchc.org.tw
++++ path_to_opensuse=opensuse/distribution
++++ opensuse_netinstall_kernel=linux
++++ opensuse_netinstall_initrd=initrd
++++ freebsd_netinstall_ver=8.0
++++ freebsd_netinstall_arch=i386
++++ freebsd_url_site=
ftp://ftp.twaren.net
++++ path_to_freebsd=BSD/FreeBSD/
++++ openbsd_netinstall_ver=4.6
++++ openbsd_netinstall_arch=i386
++++ openbsd_url_site=
ftp://ftp.twaren.net
++++ path_to_openbsd=BSD/OpenBSD/
++++ drbl_live_private_IP_alias_eth_def=100
++++ sanboot_img_dump_dir=/home/sanboot-img
++++ aoe_shelf_max=15
++++ aoe_slot_max=15
+++ path_to_add='/usr/share/drbl/sbin /usr/share/drbl/bin /usr/sbin
/usr/bin /sbin'
+++ for i in $path_to_add
++++ grep -Fw /usr/share/drbl/sbin
++++ echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin:/usr/sbin:/usr/share/drbl/sbin:/usr/share/drbl/bin:
+++ '[' -z /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin:/usr/sbin:/usr/share/drbl/sbin:/usr/share/drbl/bin:
']'
+++ for i in $path_to_add
++++ echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin:/usr/sbin:/usr/share/drbl/sbin:/usr/share/drbl/bin:
++++ grep -Fw /usr/share/drbl/bin
+++ '[' -z /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin:/usr/sbin:/usr/share/drbl/sbin:/usr/share/drbl/bin:
']'
+++ for i in $path_to_add
++++ echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin:/usr/sbin:/usr/share/drbl/sbin:/usr/share/drbl/bin:
++++ grep -Fw /usr/sbin
+++ '[' -z /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin:/usr/sbin:/usr/share/drbl/sbin:/usr/share/drbl/bin:
']'
+++ for i in $path_to_add
++++ echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin:/usr/sbin:/usr/share/drbl/sbin:/usr/share/drbl/bin:
++++ grep -Fw /usr/bin
+++ '[' -z /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin:/usr/sbin:/usr/share/drbl/sbin:/usr/share/drbl/bin:
']'
+++ for i in $path_to_add
++++ echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin:/usr/sbin:/usr/share/drbl/sbin:/usr/share/drbl/bin:
++++ grep -Fw /sbin
+++ '[' -z /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin:/usr/sbin:/usr/share/drbl/sbin:/usr/share/drbl/bin:
']'
+++ export PATH
++++ LC_ALL=C
++++ tput colors
+++ colors_no=8
+++ BOOTUP=
+++ '[' -n 8 ']'
+++ '[' 8 -ge 8 ']'
+++ '[' -z '' ']'
+++ SETCOLOR_SUCCESS='echo -en \033[1;32m'
+++ '[' -z '' ']'
+++ SETCOLOR_FAILURE='echo -en \033[1;31m'
+++ '[' -z '' ']'
+++ SETCOLOR_WARNING='echo -en \033[1;33m'
+++ '[' -z '' ']'
+++ SETCOLOR_NORMAL='echo -en \033[0;39m'
+++ BOOTUP=color
+++ GREP_NEWER='
# Function newer:
# Return 1 if second arg is "newer" than the first arg, else return 0.
#
# Because extra dotted fields before a hyphen are more significant
# than those after a hyphen, first split on hyphens, then loop over
# dotted fields passing the hard alphanumerics to function "compare"
# for further splitting and comparing.
#
# eg. older bind-utils-8.2.2_P5-9 and older gzip-1.2.4-14
# newer bind-utils-8.2.2_P7-0.6.2 and newer gzip-1.2.4a-2
#
# older apmd-3.0beta9-3 and older rmt-0.4b4-11
# newer apmd-3.0final-2 and newer rmt-0.4b19-5.6x
function newer(a, b, na1, nb1, na, nb, minn, i, j) {
#printf("newer called with %s %s\n", a, b)
if (0) return a!=b
if (O) {na=a; a=b; b=na}
na1 = split(a, A1, /-/)
nb1 = split(b, B1, /-/)
if (na1 != nb1) {
#printf "unsure about %s and %s\n", a, b > "/dev/stderr"
return 1 }
for (j=1; j<=na1; ++j) {
na = split(A1[j], A, /\./)
nb = split(B1[j], B, /\./)
minn = na < nb ? na : nb
for (i=1; i<=minn; ++i) {
if (0) \
printf(" newer%d comparing %s %s\n", i, A[i], B[i])>"/dev/stderr"
if ((A[i] B[i]) ~ /^[0-9]+$/) {
if (A[i]+0 < B[i]+0) return 1
if (A[i]+0 > B[i]+0) return 0 }
else if (A[i] "" != B[i] "") return compare(A[i], B[i])
}
if (nb > na) return 1
if (nb < na) return 0
}
return 0
}
# Function compare (called only by function newer):
# Return 1 if second arg is "newer" than the first arg, else return 0.
#
# This is harder than it looks: consider "v9" vs "v10a", etc.
# split out and compare alternating fields of numeric and non-numeric
function compare (a, b, xa, xb) {
#printf(" compare called with %s %s\n", a, b)
while (length(a) && length(b)) {
if (a ~ /^[0-9]/) {
match(a, /^[0-9]+/)
xa = substr(a, 1, RLENGTH); a = substr(a, RLENGTH+1) }
else {
match(a, /^[^0-9]+/)
xa = substr(a, 1, RLENGTH); a = substr(a, RLENGTH+1) }
if (b ~ /^[0-9]/) {
match(b, /^[0-9]+/)
xb = substr(b, 1, RLENGTH); b = substr(b, RLENGTH+1) }
else {
match(b, /^[^0-9]+/)
xb = substr(b, 1, RLENGTH); b = substr(b, RLENGTH+1) }
#printf(" compare2 %s %s <%s> <%s>\n", xa, xb, a, b)
if ( (xa xb) ~ /^[0-9]+$/) {
if (xa+0 < xb+0) return 1
if (xa+0 > xb+0) return 0 }
else {
if (xa "" < xb "") return 1
if (xa "" > xb "") return 0 }
}
if (length(b)) return 1
else return 0
}
'
+ . /etc/drbl/drbl-ocs.conf
++ OCSMGRD_PORT=6461
++ VOL_LIMIT_DEFAULT=0
++ VOL_LIMIT_IN_INTERACTIVE=0
++ split_suf_len=2
++ MULTICAST_ALL_ADDR=224.0.0.1
++ MULTICAST_PORT=2232
++ TIME_TO_LIVE_OPT='--ttl 1'
++ udp_sender_extra_opt_default=
++ udp_receiver_extra_opt_default=
++ PART_PREPARE_TIME=30
++ SLEEP_TIME_AFTER_PART_CLONED=15
++ TIME_TO_WAIT_DEFAULT=120
++ MAX_TIME_TO_WAIT_DEFAULT=300
++ BT_PORT_INIT=6969
++ metainfo_creator_def=ezio-ptcl
++ p_length_ctorrent=16777216
++ p_length_mktorrent=24
++ p_length_transmission=16384
++ ocsroot_btzone=/home/partimag/btzone
++ btlog_dir=/var/log/clonezilla/
++ bt_client_def=ezio
++ ctorrent_extra_opt='-M 4 -m 4'
++ aria2c_extra_opt='--bt-max-peers 4'
++ partclone_make_slice_opt=extract
++ bt_buffer_size=16777216
++ partclone_dd_bs=16777216
++ dd_buffer_size=1048576
++ DEFAULT_PARTIMAGE_SAVE_OPT='-M -f3 -o -d -b -c -z0 --volume=0'
++ DEFAULT_PARTIMAGE_RESTORE_OPT='-M -f3 -b'
++ rsyncable_opt_gzip=
+++ LC_ALL=C
+++ gzip --help
+++ grep -Ew -- --rsyncable
++ '[' -n ' --rsyncable make rsync-friendly archive' ']'
++ rsyncable_opt_gzip=--rsyncable
++ extra_gzip_opt='--fast --rsyncable'
++ extra_bzip2_opt=-3
++ extra_lzop_opt=-3
++ extra_lzma_opt=-3
++ extra_xz_opt=-3
++ extra_lzip_opt=-3
++ extra_lrzip_opt='-L 3'
++ extra_lz4_opt='-T0 -1'
++ extra_lz4_dc_opt=-T0
++ extra_lz4_opt_onthefly='-T0 -1'
++ extra_lz4_dc_opt_onthefly=-T0
++ extra_zstd_opt='-T0 -3'
++ extra_zstd_dc_opt=-T0
++ extra_zstd_opt_onthefly='-T0 -3'
++ extra_zstd_dc_opt_onthefly=-T0
++ use_parallel_decompression=yes
++ parallel_bzip2_prog=lbzip2
++ rsyncable_opt_pigz=
+++ LC_ALL=C
+++ pigz --help
+++ grep -Ew -- --rsyncable
++ '[' -n ' -R, --rsyncable Input-determined block locations for
rsync' ']'
++ rsyncable_opt_pigz=--rsyncable
++ extra_pigz_opt='--fast -b 1024 --rsyncable'
++ extra_pbzip2_opt=-3
++ extra_lbzip2_opt=-3
++ extra_plzip_opt=-3
++ ntfsclone_save_extra_opt_def=
++ ntfsclone_restore_extra_opt_def=
++ partimage_support_fs='ext2 ext3 reiserfs xfs jfs fat16 fat32 vfat
hpfs ufs hfs ntfs'
++ partclone_support_fs='apfs btrfs hfs+ hfsplus reiser4 reiserfs xfs
jfs ext2 ext3 ext4 ext4dev fat12 fat16 fat32 vfat ntfs ufs exfat minix
vmfs3 vmfs5 f2fs nilfs2 dd'
++ PARTCLONE_SAVE_OPT_INIT='-z 10485760'
++ PARTCLONE_RESTORE_OPT_INIT='-z 10485760'
++ debug_level=1
++ MAX_DIALOG_HEIGHT=10
++ RESTORE_DIA_WIDTH=70
++ POSTACTION_DEF=reboot
++ HALT_REBOOT_OPT=-f
++ NOTIFY_OCS_SERVER_TIME_LIMIT=20
++ OCS_PRERUN_DIR=/usr/share/drbl/prerun/ocs/
++ OCS_POSTRUN_DIR=/usr/share/drbl/postrun/ocs/
++ WIN_HOSTNAME_PREFIX=PC
++ ocs_client_trig_type=both
++ modify_client_etc_inittab=no
++ clean_client_all_ocs_related_srv=no
++ clean_dhcpd_lease_in_clone_box_mode=no
++ regen_drbl_ssi_template_tarball=no
++ re_put_ocs_related_srv_in_client_rc1d=no
++ copy_rc1d_for_drbl_ssi_clone_box=no
++ S2S_IMAGE_PROG_IN_OCS=partclone
++ dd_report_interval=20
++ type zstdmt
++ mcast_rawdev_zip_std='zstd -T0 -c'
++ mcast_rawdev_unzip_std='zstd -T0 -dc'
++ USE_NTFSCLONE_IN_OCS_ONTHEFLY=no
++ USE_PARTCLONE_IN_OCS_ONTHEFLY=yes
++ S2S_CLONE_PROG_IN_OCS_ONTHEFLY=partclone
++ ONTHEFLY_NET_PIPE_DEFAULT=netcat
++ NC_PORT_DEFAULT=9000
++ NUTTCP_SRV_EXTRA_OPT=
++ NUTTCP_CLI_EXTRA_OPT=-a
++ hidden_data_after_mbr_limit=1024
++ savedisk_preset=sda
++ saveparts_preset='sda1 sda2'
++ ocs_ecryptfs_cipher=aes
++ ocs_ecryptfs_key_bytes=16
++ checksum_method_for_img='md5sum sha1sum b2sum'
++ chksum_cmd_for_files_in_dev=b2sum
++ ocsroot_def_mnt_opt=noatime
++ davfs2_buf_size=10240
++ davfs2_use_locks=0
++ davfs2_use_expect100=1
++ davfs2_use_compression=1
++ davfs2_cache_size_def=64
++ davfs2_delay_upload=0
++ ratio_davfs2_cache_2_free_disk=0.2
++ davfs2_split_suf_len_def=3
++ debian_mirror_url_def=
http://free.nchc.org.tw/debian
++ debian_mirror_security_url_def=
http://security.debian.org/debian-security
++ ubuntu_mirror_url_def=
http://free.nchc.org.tw/ubuntu
++ ubuntu_mirror_security_url_def=
http://free.nchc.org.tw/ubuntu
++ DRBL_REPOSITORY_URL_def=
http://free.nchc.org.tw/drbl-core
++ DRBL_GPG_KEY_URL=
http://drbl.org/GPG-KEY-DRBL
++ DEBIAN_ISO_DEF=debian-live-for-ocs.iso
++ md5_file=MD5SUMS
++ uni_font_file=unifont.bgf
++ syslinux_exe_file=syslinux.exe
++ makeboot_exe_file=MakeBoot.exe
++ wget_opt='-r -l1 --no-parent --passive-ftp -e robots=off -q -nd
--retr-symlinks'
++ CD_FILE_LIMIT=650
++ FILE_LIMIT=4500
++ kernel_file=vmlinuz1
++ initrd_file=initrd1.img
++ ocs_live_exclude_kernels='(-dbg|-aws|-azure|-gcp|-lowlatency|-kvm|-oem|-oracle|-rt|-snapdragon|-unsigned|-cloud)'
++ ocs_live_only_kernels='(-[3456]86|-generic|-amd64|-arm64|-armmp|-riscv64|-generic-lpae)'
++ VGA_MODE_DEF=788
++ BG_MODE_DEF=graphic
++ console_prefer_font=TerminusBold
++ console_prefer_cols=100
++ BOOT_PARAM_DEFAULT='boot=live union=overlay'
++ supp_boot_param_ocs_live_iso='noswap edd=on nomodeset enforcing=0'
++ supp_boot_param_ocs_live_dev='noswap edd=on nomodeset enforcing=0 noeject'
++ live_media_path_chklist='/run/live/medium /lib/live/mount/medium
/lib/live/image /live/image /live_media /cdrom /run/live/persistence'
++ live_sys_files_dir_list='live / isolinux casper'
++ live_pkg_hook_dir=/usr/share/make-live/hooks
++ locale_need_bterm='zh_TW zh_CN zh_HK zh_SG ja_JP ko_KR'
++ uni_font=/usr/share/drbl/lib/unifont.bgf
++ fb_term=
++ lh_ver_required=1:20170920
++ debootstrap_ver_required=1.0.92
++ mmdebstrap_ver_required=1.3.5
++ use_RawCHS_from_EDD_for_ntfsreloc=yes
++ use_RawCHS_from_sfdisk_for_ntfsreloc=yes
++ run_grub2_from_restored_os_mode=
++ pre_ocsroot_path=/tmp/ocsroot_bind_root
++ pre_bitlocker_path=/tmp/ocsroot_bitlocker_root
++ use_dev_list_cache=no
++ dev_list_cache_dir=/tmp/ocs-cache/
++ OCS_LOGFILE=/var/log/clonezilla//clonezilla.log
++ export OCS_LOGFILE
++ OCS_NETCFG_LOG=/var/log/clonezilla//ocs-netcfg.log
++ export OCS_NETCFG_LOG
++ OCS_MOUNT_LOG=/var/log/clonezilla//ocs-mount.log
++ export OCS_MOUNT_LOG
++ PARTCLONE_LOG=/var/log/clonezilla//partclone.log
++ export PARTCLONE_LOG
++ default_link_det_timeout=30
++ link_max_cache_sec=180
++ diskless_client_os=nfsroot
++ iso_url_for_pxe_ocs_live_default=
++ remove_some_boot_param_for_pxe_ocs_live=yes
++ boot_param_2_be_removed_in_pxe_ocs_live='quiet splash vga video'
++ ocs_live_keymap_for_pxe_ocs_live=NONE
++ ocs_lang_for_pxe_ocs_live=en_US.UTF-8
++ ocs_daemonon_for_pxe_ocs_live=ssh
++ ocs_live_username=user
++ ocs_live_passwd=live
++ ocs_prompt_mode=
++ ocs_prerun_for_pxe_ocs_live=
++ ocs_job_done_ok_sound=/usr/share/sounds/sound-icons/trumpet-12.wav
++ ocs_job_done_error_sound=/usr/share/sounds/sound-icons/gummy-cat-2.wav
++ ocs_reserved_dev_name='auto ask_user all unmounted_disk
unmounted_parts all-but-usb'
++ efi_netboot_1st_in_nvram=yes
+ . /usr/share/drbl/sbin/ocs-functions
+ '[' -e /etc/ocs/ocs-live.conf ']'
+ . /etc/ocs/ocs-live.conf
++ drbl_ocs_live_ver=clonezilla-live-20250408-plucky-amd64
++ ocs_live_run=ocs-live-general
++ ocs_live_extra_param=
++ ocs_live_batch=no
++ ocs_lang=en_US.UTF-8
++ ocs_live_run_tty=
++ ocs_ecryptfs_cipher=aes
++ ocs_ecryptfs_key_bytes=16
++ secure_boot_client=no
++ use_dev_list_cache=no
++ extra_pigz_opt='--fast -b 1024 --rsyncable'
++ extra_pbzip2_opt=-3
++ extra_lbzip2_opt=-3
++ extra_plzip_opt=-3
++ extra_lz4_opt='-T0 -1'
++ extra_lz4_dc_opt=-T0
++ extra_lz4_opt_onthefly='-T0 -1'
++ extra_lz4_dc_opt_onthefly=-T0
++ extra_zstd_opt='-T0 -3'
++ extra_zstd_dc_opt=-T0
++ extra_zstd_opt_onthefly='-T0 -3'
++ extra_zstd_dc_opt_onthefly=-T0
++ extra_xz_opt=-3
++ live_keyboard_layouts=us
++ LC_ALL=C
++ lsblk -Arnp -o NAME,RM,FSTYPE
++ awk '$2 == "1" && $1 !~ /^sr/ && $1 ~ /[0-9]$/ && $3 == "vfat" {print $1}'
+ USB_parts_vfat=
++ mktemp -d /tmp/ocslive_tmp.XXXXXX
+ live_mntpnt=/tmp/ocslive_tmp.GbYYs7
+ ocs_live_part=
++ echo /tmp/ocslive_tmp.GbYYs7
++ grep ocslive_tmp
+ '[' -d /tmp/ocslive_tmp.GbYYs7 -a -n /tmp/ocslive_tmp.GbYYs7 ']'
+ rm -rf /tmp/ocslive_tmp.GbYYs7
+ echo
[?2004hroot@plucky:~# bash -x ocs-find-live-key
[C [C [C [C [C [C [C [C [C [C [C [C [C [C [Cexit [K
[?2004l
exit
Script done on 2025-05-02 09:36:50+00:00 [COMMAND_EXIT_CODE="0"]
Steven Shiau <
ste...@narlabs.org.tw> 於 2025年5月1日 週四 下午2:11寫道:
> 如要查看這個討論,請前往
https://groups.google.com/d/msgid/ocs-clonezilla/df8e6865-6edc-4f1a-974e-3ed417f0af96%40narlabs.org.tw。