可否新增 ocs_repository 中指定 smb 版本的功能?

142 views
Skip to first unread message

otto...@gmail.com

unread,
Dec 30, 2020, 9:38:35 PM12/30/20
to 再生龍clonezilla
您好,這邊可否新增 ocs_repository 指定 smb 版本的功能,我看了一下 ocs-live-repository:


裡面應該可以多一個判斷 smb 版本的功能,讓 smb 可以指定連線版本,譬如 smb3 可以在後面產生 vers=3.0 的參數

Steven Shiau

unread,
Dec 31, 2020, 1:15:48 AM12/31/20
to ocs-clo...@googlegroups.com
Sure, 之後的版本會加上這個。
謝謝您提供的建議。

Steven
> --
> 這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
> 如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到
> ocs-clonezill...@googlegroups.com
> <mailto:ocs-clonezill...@googlegroups.com>。
> 如要在網路上查看這項討論,請造訪
> https://groups.google.com/d/msgid/ocs-clonezilla/07f7e2e5-daf1-4f69-a0f2-9f94a8b7efc2n%40googlegroups.com
> <https://groups.google.com/d/msgid/ocs-clonezilla/07f7e2e5-daf1-4f69-a0f2-9f94a8b7efc2n%40googlegroups.com?utm_medium=email&utm_source=footer>。

--
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/163E3FB0
Fingerprint: EB1D D5BF 6F88 820B BCF5 356C 8E94 C9CD 163E 3FB0

Steven Shiau

unread,
Jan 5, 2021, 5:28:39 AM1/5/21
to ocs-clo...@googlegroups.com
已經將這個功能加到Clonezilla live >=2.7.1-10, 20200105-*:
http://clonezilla.nchc.org.tw/clonezilla-live/download/

要用的話,可以寫成類似這樣:
ocs_repository="smb3://my_domain;jack:mypa...@192.168.1.1:445/images/"
前面那個scheme可以用:
smb1, smb1.0, smb2, smb2.0, smb2.1, smb3, smb3.0, smb3.11, smb3.1.1
來指定cifs的版本。

另外,更靈活的作法,是可以透過ocs_prerun自己下指令,這樣有需要可以指定更多參數就是了,例如:
ocs_prerun="mount -t cifs //192.168.120.11/images/ /home/partimag -o
user=jack,password=mypasswd,vers=3.11"

若有測試的話,請回報結果。謝謝。

Steven

On 12/31/20 10:32 AM, otto...@gmail.com wrote:

otto...@gmail.com

unread,
Jan 5, 2021, 8:40:27 PM1/5/21
to 再生龍clonezilla
這邊測試 smb3、smb2、smb1都可以,另外建議 smb1 是否要加上警語,不建議使用?畢竟微軟也這麼建議了 https://techcommunity.microsoft.com/t5/storage-at-microsoft/stop-using-smb1/ba-p/425858

Steven Shiau 在 2021年1月5日 星期二下午6:28:39 [UTC+8] 的信中寫道:

Steven Shiau

unread,
Jan 5, 2021, 9:10:00 PM1/5/21
to ocs-clo...@googlegroups.com
OK,謝謝確認。有關smb1的部份,線上文件到時候再寫。

Steven

On 2021/1/6 上午 09:39, otto...@gmail.com wrote:
> 這邊測試 smb3、smb2、smb1都可以,另外建議 smb1
> 是否要加上警語,不建議使用?畢竟微軟也這麼建議了
> https://techcommunity.microsoft.com/t5/storage-at-microsoft/stop-using-smb1/ba-p/425858
>
> Steven Shiau 在 2021年1月5日 星期二下午6:28:39 [UTC+8] 的信中寫道:
>
> 已經將這個功能加到Clonezilla live >=2.7.1-10, 20200105-*:
> http://clonezilla.nchc.org.tw/clonezilla-live/download/
> <http://clonezilla.nchc.org.tw/clonezilla-live/download/>
>
> 要用的話,可以寫成類似這樣:
> ocs_repository="smb3://my_domain;jack:mypa...@192.168.1.1:445/images/
> <http://my_domain;jack:mypa...@192.168.1.1:445/images/>"
> 前面那個scheme可以用:
> smb1, smb1.0, smb2, smb2.0, smb2.1, smb3, smb3.0, smb3.11, smb3.1.1
> 來指定cifs的版本。
>
> 另外,更靈活的作法,是可以透過ocs_prerun自己下指令,這樣有需要可以指定更多參數就是了,例如:
>
> ocs_prerun="mount -t cifs //192.168.120.11/images/
> <http://192.168.120.11/images/> /home/partimag -o
> user=jack,password=mypasswd,vers=3.11"
>
> 若有測試的話,請回報結果。謝謝。
>
> Steven
>
> On 12/31/20 10:32 AM, otto...@gmail.com wrote:
> > 您好,這邊可否新增 ocs_repository 指定 smb 版本的功能,我看了一下
> > ocs-live-repository:
> >
> >
> https://gitlab.com/stevenshiau/clonezilla/-/blob/master/sbin/ocs-live-repository
> <https://gitlab.com/stevenshiau/clonezilla/-/blob/master/sbin/ocs-live-repository>
>
> >
> > 裡面應該可以多一個判斷 smb 版本的功能,讓 smb 可以指定連線版本,譬如
> smb3
> > 可以在後面產生 vers=3.0 的參數
> > --
> > 這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
>
> > 如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到
> > ocs-clonezill...@googlegroups.com
> > <mailto:ocs-clonezill...@googlegroups.com>。
> > 如要在網路上查看這項討論,請造訪
> >
> https://groups.google.com/d/msgid/ocs-clonezilla/07f7e2e5-daf1-4f69-a0f2-9f94a8b7efc2n%40googlegroups.com
> <https://groups.google.com/d/msgid/ocs-clonezilla/07f7e2e5-daf1-4f69-a0f2-9f94a8b7efc2n%40googlegroups.com>
>
> >
> <https://groups.google.com/d/msgid/ocs-clonezilla/07f7e2e5-daf1-4f69-a0f2-9f94a8b7efc2n%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/ocs-clonezilla/07f7e2e5-daf1-4f69-a0f2-9f94a8b7efc2n%40googlegroups.com?utm_medium=email&utm_source=footer>>。
>
>
> --
> Steven Shiau <steven _at_ stevenshiau org>
> Public Key Server PGP Key ID: 4096R/163E3FB0
> Fingerprint: EB1D D5BF 6F88 820B BCF5 356C 8E94 C9CD 163E 3FB0
>
> --
> 這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
> 如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到
> ocs-clonezill...@googlegroups.com
> <mailto:ocs-clonezill...@googlegroups.com>。
> 如要在網路上查看這項討論,請造訪
> https://groups.google.com/d/msgid/ocs-clonezilla/1eabb2c5-4df5-403b-8fe6-d0a4f7d91ab8n%40googlegroups.com
> <https://groups.google.com/d/msgid/ocs-clonezilla/1eabb2c5-4df5-403b-8fe6-d0a4f7d91ab8n%40googlegroups.com?utm_medium=email&utm_source=footer>。

otto...@gmail.com

unread,
Jan 13, 2021, 3:53:55 AM1/13/21
to 再生龍clonezilla
另外可否順便更新一下 alternative  版本?

Steven Shiau 在 2021年1月6日 星期三上午10:10:00 [UTC+8] 的信中寫道:

Steven Shiau

unread,
Jan 13, 2021, 3:58:30 AM1/13/21
to ocs-clo...@googlegroups.com
Alternative
testing中的版本一直有跟testing的同步。只要是同一天發行的,就原則上用同一個版本的clonezilla
package.

Steven

On 2021/1/13 下午 04:46, otto...@gmail.com wrote:
> 另外可否順便更新一下 *alternative *版本?
>
> Steven Shiau 在 2021年1月6日 星期三上午10:10:00 [UTC+8] 的信中寫道:
>
> OK,謝謝確認。有關smb1的部份,線上文件到時候再寫。
>
> Steven
>
> On 2021/1/6 上午 09:39, otto...@gmail.com wrote:
> > 這邊測試 smb3、smb2、smb1都可以,另外建議 smb1
> > 是否要加上警語,不建議使用?畢竟微軟也這麼建議了
> >
> https://techcommunity.microsoft.com/t5/storage-at-microsoft/stop-using-smb1/ba-p/425858
> <https://techcommunity.microsoft.com/t5/storage-at-microsoft/stop-using-smb1/ba-p/425858>
>
> >
> > Steven Shiau 在 2021年1月5日 星期二下午6:28:39 [UTC+8] 的信中寫道:
> >
> > 已經將這個功能加到Clonezilla live >=2.7.1-10, 20200105-*:
> > http://clonezilla.nchc.org.tw/clonezilla-live/download/
> <http://clonezilla.nchc.org.tw/clonezilla-live/download/>
> > <http://clonezilla.nchc.org.tw/clonezilla-live/download/
> <http://clonezilla.nchc.org.tw/clonezilla-live/download/>>
> >
> > 要用的話,可以寫成類似這樣:
> >
> ocs_repository="smb3://my_domain;jack:mypa...@192.168.1.1:445/images/
> <http://my_domain;jack:mypa...@192.168.1.1:445/images/>
> > <http://my_domain
> <http://jack:mypa...@192.168.1.1:445/images/>>"
> > 前面那個scheme可以用:
> > smb1, smb1.0, smb2, smb2.0, smb2.1, smb3, smb3.0, smb3.11, smb3.1.1
> > 來指定cifs的版本。
> >
> >
> 另外,更靈活的作法,是可以透過ocs_prerun自己下指令,這樣有需要可以指定更多參數就是了,例如:
>
> >
> > ocs_prerun="mount -t cifs //192.168.120.11/images/
> <http://192.168.120.11/images/>
> > <http://192.168.120.11/images/ <http://192.168.120.11/images/>>
> <https://groups.google.com/d/msgid/ocs-clonezilla/1eabb2c5-4df5-403b-8fe6-d0a4f7d91ab8n%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/ocs-clonezilla/1eabb2c5-4df5-403b-8fe6-d0a4f7d91ab8n%40googlegroups.com?utm_medium=email&utm_source=footer>>。
>
>
> --
> Steven Shiau <steven _at_ stevenshiau org>
> Public Key Server PGP Key ID: 4096R/163E3FB0
> Fingerprint: EB1D D5BF 6F88 820B BCF5 356C 8E94 C9CD 163E 3FB0
>
> --
> 這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
> 如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到
> ocs-clonezill...@googlegroups.com
> <mailto:ocs-clonezill...@googlegroups.com>。
> 如要在網路上查看這項討論,請造訪
> https://groups.google.com/d/msgid/ocs-clonezilla/7623945b-e3ee-4d79-9aa5-39570f50fbb2n%40googlegroups.com
> <https://groups.google.com/d/msgid/ocs-clonezilla/7623945b-e3ee-4d79-9aa5-39570f50fbb2n%40googlegroups.com?utm_medium=email&utm_source=footer>。

otto...@gmail.com

unread,
Apr 24, 2025, 2:08:11 AMApr 24
to 再生龍clonezilla
這邊測試會出現找不到儲存區,程式中止

參數如下:
append initrd=/live/initrd.img boot=live union=overlay username=user hostname=plucky config quiet loglevel=3 ocs_1_cpu_udev noswap edd=on nomodeset enforcing=0 noeject locales=en_US.UTF-8 keyboard-layouts=us ocs_repository="dev:///OCS_LIVE_USB" ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788 toram=live,syslinux,EFI,boot,.disk,utils net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1



Steven Shiau 在 2021年1月13日 星期三下午4:58:30 [UTC+8] 的信中寫道:

Steven Shiau

unread,
Apr 24, 2025, 4:57:52 AMApr 24
to ocs-clo...@googlegroups.com

請進入命令列,執行:
1. sudo -i
2. cat /proc/cmdline
3. mount
4. cat /proc/partitions
5. ocs-live-repository

請將2-5的結果提供出來供參考。Thanks.

Steven

如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 ocs-clonezill...@googlegroups.com
如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/7f2aa09a-7c9f-44c3-a20c-e3009d304259n%40googlegroups.com

康家豪

unread,
Apr 28, 2025, 10:57:53 PMApr 28
to ocs-clo...@googlegroups.com
1. cat /proc/cmdline

BOOT_IMAGE=/live/vmlinuz initrd=/live/initrd.img boot=live
union=overlay username=user hostname=plucky config quiet loglevel=3
ocs_1_cpu_udev noswap edd=on nomodeset enforcing=0 noeject
locales=en_US.UTF-8 keyboard-layouts=us
ocs_repository="dev:///OCS_LIVE_USB" ocs_live_run="ocs-live-general"
ocs_live_extra_param="" ocs_live_batch="no" vga=788
toram=live,syslinux,EFI,boot,.disk,utils net.ifnames=0 splash
i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes
vmwgfx.enable_fbdev=1

2. mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs
(rw,nosuid,relatime,size=1792080k,nr_inodes=448020,mode=755,inode64)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000)
tmpfs on /run type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=366068k,mode=755,inode64)
tmpfs on /run/live/medium type tmpfs (rw,relatime,size=601072k,inode64)
/dev/loop0 on /run/live/rootfs/filesystem.squashfs type squashfs
(ro,noatime,errors=continue,threads=single)
tmpfs on /run/live/overlay type tmpfs
(rw,noatime,size=1830324k,mode=755,inode64)
overlay on / type overlay
(rw,noatime,lowerdir=/run/live/rootfs/filesystem.squashfs/,upperdir=/run/live/overlay/rw,workdir=/run/live/overlay/work,redirect_dir=on,uuid=on,nouserxattr)
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2
(rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1001)
tmpfs on /run/credentials/systemd-journald.service type tmpfs
(ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs
(rw,nosuid,nodev,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/lock type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
fusectl on /sys/fs/fuse/connections type fusectl
(rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,inode64)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,nosuid,nodev,noexec,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /run/credentials/ge...@tty1.service type tmpfs
(ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
tmpfs on /run/user/1000 type tmpfs
(rw,nosuid,nodev,relatime,size=366064k,nr_inodes=91516,mode=700,uid=1000,gid=1000,inode64)


3. cat /proc/partitions
major minor #blocks name

7 0 463072 loop0
8 0 120692736 sda
8 1 120691680 sda1
8 16 125034840 sdb
8 17 125031284 sdb1



4. ocs-live-repository

Preparing the mount point /home/partimag...
Clonezilla live USB drive not found!
Program terminated!.

Steven Shiau <ste...@narlabs.org.tw> 於 2025年4月24日 週四 下午4:57寫道:
> 這是 Google 網路論壇針對「再生龍clonezilla」群組發送的主題訂閱通知郵件。
> 如要取消訂閱這個主題,請前往 https://groups.google.com/d/topic/ocs-clonezilla/M0eEV9ClO4k/unsubscribe
> 如要取消訂閱這個群組和所有主題,請傳送電子郵件到 ocs-clonezill...@googlegroups.com
> 如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/ca8f0a27-27e9-4b75-98ce-e0d77b354a6c%40narlabs.org.tw

Steven Shiau

unread,
Apr 30, 2025, 8:09:42 PMApr 30
to ocs-clo...@googlegroups.com
確認一下,你的USB key是vFAT的檔案格式?若是,假設放Clonezilla
live的是/dev/sdb1好了,請:
1. mount /dev/sdb1 /mnt
2. ls -l /mnt/
3. cat /mnt/Clonezilla-Live-Version
4. mount
5. bash -x ocs-find-live-key

請把2-5的結果告知。
Thanks.

Steven

康家豪

unread,
May 1, 2025, 1:42:19 AMMay 1
to ocs-clo...@googlegroups.com
USB 是 vFAT 格式,放在 /dev/sda1 中

2. ls -l /mnt/
total 576
drwxr-xr-x 2 root root 32768 Apr 24 12:30 $RECYCLE.BIN
-rwxr-xr-x 1 root root 36 Apr 24 12:29 amd64-release.txt
-rwxr-xr-x 1 root root 34494 Apr 24 12:30 autorun.ico
-rwxr-xr-x 1 root root 248 Apr 24 12:30 autorun.inf
drwxr-xr-x 3 root root 32768 Apr 24 12:29 boot
drwxr-xr-x 2 root root 32768 Apr 24 12:29 [BOOT]
-rwxr-xr-x 1 root root 197 Apr 24 12:29 Clonezilla-Live-Version
drwxr-xr-x 3 root root 32768 Apr 24 12:29 EFI
-rwxr-xr-x 1 root root 18092 Apr 24 12:29 GPL
-r-xr-xr-x 1 root root 69623 Apr 24 12:29 ldlinux.sys
drwxr-xr-x 2 root root 32768 Apr 24 12:29 live
drwxr-xr-x 2 root root 32768 Apr 24 12:30 syslinux
-rwxr-xr-x 1 root root 94 Apr 24 12:30 syslinux.cfg
drwxr-xr-x 2 root root 32768 Apr 24 12:29 System Volume Information
drwxr-xr-x 6 root root 32768 Apr 24 12:30 utils


3. cat /mnt/Clonezilla-Live-Version
clonezilla-live-20250408-plucky-amd64
This Clonezilla live iso file was created by this command:
ocs-iso -n a -s --extra-boot-param quiet loglevel=3 ocs_1_cpu_udev -y
6.03 -i 20250408-plucky-amd64


4. mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs
(rw,nosuid,relatime,size=1792080k,nr_inodes=448020,mode=755,inode64)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000)
tmpfs on /run type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=366068k,mode=755,inode64)
tmpfs on /run/live/medium type tmpfs (rw,relatime,size=601072k,inode64)
/dev/loop0 on /run/live/rootfs/filesystem.squashfs type squashfs
(ro,noatime,errors=continue,threads=single)
tmpfs on /run/live/overlay type tmpfs (rw,noatime,mode=755,inode64)
overlay on / type overlay
(rw,noatime,lowerdir=/run/live/rootfs/filesystem.squashfs/,upperdir=/run/live/overlay/rw,workdir=/run/live/overlay/work,redirect_dir=on,uuid=on,nouserxattr)
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2
(rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1364)
tmpfs on /run/credentials/systemd-journald.service type tmpfs
(ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
hugetlbfs on /dev/hugepages type hugetlbfs
(rw,nosuid,nodev,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/lock type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl
(rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,inode64)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,nosuid,nodev,noexec,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /run/credentials/ge...@tty1.service type tmpfs
(ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
tmpfs on /run/user/1000 type tmpfs
(rw,nosuid,nodev,relatime,size=366064k,nr_inodes=91516,mode=700,uid=1000,gid=1000,inode64)
/dev/sda1 on /mnt type vfat
(rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


5. bash -x ocs-find-live-key
這個是列出 CloneZilla 的參數,但是我沒辦法重新導向(>)到文字檔輸出

Steven Shiau <ste...@narlabs.org.tw> 於 2025年5月1日 週四 上午8:09寫道:
> 如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/1900de6b-1248-4bfe-8aa5-0d04388623d1%40narlabs.org.tw

Steven Shiau

unread,
May 1, 2025, 2:11:14 AMMay 1
to ocs-clo...@googlegroups.com
5這裡的執行是關鍵,要看到底你那邊的狀態,是否有沒考慮到的。
若你熟悉screen或者tmux,可以用其來剪貼螢幕的輸出。要不然用script指令:
https://www.geeksforgeeks.org/script-command-in-linux-with-examples/
Thanks.

Steven

康家豪

unread,
May 1, 2025, 10:03:28 PMMay 1
to ocs-clo...@googlegroups.com
用了 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

Steven Shiau

unread,
May 1, 2025, 10:07:56 PMMay 1
to ocs-clo...@googlegroups.com

謝謝協助除錯,看來好像沒找到你的USB key有vfat的檔案系統。
請在命列列上,執行:
lsblk -Arnp -o NAME,RM,FSTYPE

然後把結果分享。謝謝。

Steven

康家豪

unread,
May 5, 2025, 7:58:53 PMMay 5
to ocs-clo...@googlegroups.com
lsblk -Arnp -o NAME,RM,FSTYPE

NAME RM FSTYPE
/dev/loop0 0 squashfs
/dev/sda 0
└─/dev/sda1 0 ntfs
/dev/sdb 0
└─/dev/sdb1 0 vfat

sda 是電腦中原本的 SSD

Steven Shiau <ste...@narlabs.org.tw> 於 2025年5月2日 週五 上午10:07寫道:
> 如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/e2495d8c-dc2d-43f0-a57a-3a1d4312adca%40narlabs.org.tw

Steven Shiau

unread,
May 5, 2025, 8:02:51 PMMay 5
to ocs-clo...@googlegroups.com
你的/dev/sdb1看來不是USB隨身碟?lsblk的回報並不是可移除裝置(RM=0).
所以是外接硬碟?

Steven

康家豪

unread,
May 5, 2025, 9:31:52 PMMay 5
to ocs-clo...@googlegroups.com

是 USB 隨身碟,那可能用 Rufus 製作開機 USB 的時候,他把 USB 隨身碟當成硬碟製作

Steven Shiau

unread,
May 5, 2025, 9:42:43 PMMay 5
to ocs-clo...@googlegroups.com

Rufus製作USB key的時候,是從Clonezilla的iso檔來做的?

Steven

如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 ocs-clonezill...@googlegroups.com
如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/CAMxJy5U-%3D6LfViudOe360WLYwrg6gRYo7a4yGBdznewt7u8niQ%40mail.gmail.com

康家豪

unread,
May 5, 2025, 9:46:01 PMMay 5
to ocs-clo...@googlegroups.com
對的,直接用 ISO 檔製作

Steven Shiau <ste...@narlabs.org.tw> 於 2025年5月6日 週二 上午9:42寫道:
> 這是 Google 網路論壇針對「再生龍clonezilla」群組發送的主題訂閱通知郵件。
> 如要取消訂閱這個主題,請前往 https://groups.google.com/d/topic/ocs-clonezilla/M0eEV9ClO4k/unsubscribe
> 如要取消訂閱這個群組和所有主題,請傳送電子郵件到 ocs-clonezill...@googlegroups.com
> 如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/b2382879-ac32-4595-8b04-6647f4012608%40narlabs.org.tw

Steven Shiau

unread,
May 5, 2025, 9:48:08 PMMay 5
to ocs-clo...@googlegroups.com
這樣你用rufus做的Clonezilla live開機隨身碟可以掛載起來,存資料嗎?

另外,其實uEFI的USB key開機,只要切一個vfat的分割區,然後把clonezilla live
zip解開,放在該分割區即可。
可以參考:
https://clonezilla.nchc.org.tw/clonezilla-live/liveusb.php

Steven

康家豪

unread,
May 5, 2025, 9:57:22 PMMay 5
to ocs-clo...@googlegroups.com
USB 隨身碟可以掛載,像這次開機我就可以掛載 mount /dev/sda /mnt/,然後資料放到裡面使用


我是用 MBR 開機(Legacy BIOS)進去測試,不過用 Rufus 製作的 USB 隨身碟也可以在 UEFI 開機

如果不下這次新增的 OCS_LIVE_USB 參數,用 to_ram 模式,進去之後用 TUI,是可以偵測到隨身碟,然後正確掛載使用的

Steven Shiau <ste...@narlabs.org.tw> 於 2025年5月6日 週二 上午9:48寫道:
> 如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/b741b91b-e4e0-47a0-8c44-2b95ad82c8fb%40narlabs.org.tw

Steven Shiau

unread,
May 8, 2025, 11:39:23 PMMay 8
to ocs-clo...@googlegroups.com
怪,我今天測試,用rufus做一個Clonezilla
live的USB隨身碟,然後用該隨身碟開機,選To RAM之後:
root@debian:~# lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0         7:0    0 386.7M  1 loop /run/live/rootfs/filesystem.squashfs
sda           8:0    1  14.5G  0 disk
└─sda1        8:1    1  14.5G  0 part

sda1的RM是1,也就是是removable device,然後:
root@debian:~# ocs-find-live-key
/dev/sda1

也是可以找到。所以,還真的不確認你那邊為何有這樣問題。

Steven

康家豪

unread,
May 15, 2025, 9:41:08 PMMay 15
to ocs-clo...@googlegroups.com
找到到原因,如果用超過 32GB 的隨身碟,在 Rufus 格式會設定為 Large FAT32,這樣子 sda1 的 RM 就會是
0。如果用 32GB 以下的隨身碟,格式化為 FAT32,ocs_repository="dev:///OCS_LIVE_USB"
就可以正常運作,再看後面要不要針對這個情況做修正。

Steven Shiau <ste...@narlabs.org.tw> 於 2025年5月9日 週五 上午11:39寫道:
> 如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/45be0831-f4d3-4390-a67b-7fa43cf27265%40narlabs.org.tw

康家豪

unread,
May 15, 2025, 9:43:57 PMMay 15
to ocs-clo...@googlegroups.com
螢幕擷取畫面 2025-05-16 094109.png


康家豪 <otto...@gmail.com> 於 2025年5月16日 週五 上午9:35寫道:

Steven Shiau

unread,
May 16, 2025, 4:43:14 AMMay 16
to ocs-clo...@googlegroups.com
我在Debian Linux上用fdisk切一個64 GB的分割區,用mkfs.vfat來格式化,
然後掛載起來後,將clonezilla live姐開放到該分割區。開機後:
root@debian:~#  lsblk -d -o name,type,size,model,fstype,rm /dev/sda*
NAME TYPE   SIZE MODEL         FSTYPE RM
sda  disk 234.8G Ultra USB 3.0         1
sda1 part    64G               vfat    1

root@debian:~# ocs-find-live-key
/dev/sda1

可以明顯看到64GB的分割區的RM是1,也就是可以寫入。ocs-find-live-key也是找的到。
並不清楚怎樣的large FAT32會有RM是0。至少Debian
Linux上格式化成64GB的分割區,沒啥問題。
所以,要看Rufus到底在那動怎樣的手腳,造成這樣的問題。

Steven
Reply all
Reply to author
Forward
0 new messages