將 live 版安裝在 PXE 伺服器上,用戶端為 UEFI 開機模式無法使用

480 views
Skip to first unread message

Moira Chang

unread,
Aug 10, 2021, 5:11:25 AM8/10/21
to 再生龍clonezilla
你好,

近日在安裝 live 版到 PXE server 上遇到了些問題
用戶端會在下載 NBP 檔案時,下載到一半會跳到直接回到 BIOS 選單。(如附圖)
截圖 2021-08-10 下午5.07.15.png

想了解是哪邊設定有問題,附上相關資訊,非常感謝。

截圖 2021-08-10 下午4.41.28.png
grub.cfg
截圖 2021-08-10 下午4.46.34.png

tftp server 能正常做下載。
下載版本:clonezilla-live-20210609-hirsute-amd64.iso
將其版本燒進 USB 並用在同電腦,是可使用的。

Steven Shiau

unread,
Aug 10, 2021, 6:48:02 AM8/10/21
to ocs-clo...@googlegroups.com
請問是依照以下這個方式做的還是?
http://clonezilla.nchc.org.tw/clonezilla-live/doc/fine-print.php?path=11_lite_server

Steven

On 8/10/21 5:08 PM, Moira Chang wrote:
> 你好,
>
> 近日在安裝 live 版到 PXE server 上遇到了些問題
> 用戶端會在下載 NBP 檔案時,下載到一半會跳到直接回到 BIOS 選單。(如附圖)
> 截圖 2021-08-10 下午5.07.15.png
>
> 想了解是哪邊設定有問題,附上相關資訊,非常感謝。
>
> 截圖 2021-08-10 下午4.41.28.png
> grub.cfg
> 截圖 2021-08-10 下午4.46.34.png
>
> tftp server 能正常做下載。
> 下載版本:clonezilla-live-20210609-hirsute-amd64.iso
> 將其版本燒進 USB 並用在同電腦,是可使用的。
> --
> 這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
> 如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到
> ocs-clonezill...@googlegroups.com
> <mailto:ocs-clonezill...@googlegroups.com>。
> 如要在網路上查看這項討論,請造訪
> https://groups.google.com/d/msgid/ocs-clonezilla/697a1e15-19b1-43e0-a180-5f438d12a54an%40googlegroups.com
> <https://groups.google.com/d/msgid/ocs-clonezilla/697a1e15-19b1-43e0-a180-5f438d12a54an%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

Moira Chang

unread,
Aug 10, 2021, 11:25:02 PM8/10/21
to 再生龍clonezilla
你好,

在 PXE server 上的做法是參考這個,是使用了 tftp 不是使用 http。
 
因為是為了用在 UEFI 開機模式的電腦,將光碟裡的 /boot/grub/grub.cfg 以及 /EFI/boot/grubx64.efi ,直接整個複製到 /var/lib/tftpboot/ 底下。
將 /var/lib/tftpboot/grub.cfg 新增一行 fetch=tftp://10.24.7.1/filesystem.squashfs
截圖 2021-08-11 上午11.16.34.png

謝謝。
Steven Shiau 在 2021年8月10日 星期二下午6:48:02 [UTC+8] 的信中寫道:

Steven Shiau

unread,
Aug 10, 2021, 11:39:00 PM8/10/21
to ocs-clo...@googlegroups.com

因為Debian和CentOS/Fedora不同,所以要用在網路開機的檔案不能直接複製/EFI/boot/grubx64.efi,對以Debian/Ubuntu為基底的Clonezilla live而言,那個檔案是給USB drive或者硬碟等本機裝置使用的。
網路開機要用另外的檔案,可以參考這個:
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/2fb63a98d4/#3c8e

Steven

如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 ocs-clonezill...@googlegroups.com
如要在網路上查看這項討論,請造訪 https://groups.google.com/d/msgid/ocs-clonezilla/e29ea596-8913-4e06-846d-3652f499c9b7n%40googlegroups.com

Moira Chang

unread,
Aug 11, 2021, 3:05:45 AM8/11/21
to 再生龍clonezilla
了解,想再請問下,照了以下的方法做了後,也是一樣下載失敗了,還是說這方法僅適用於 Debain 的 PXE server 呢?謝謝
不好意思前面沒有說清楚,我的 PXE server 是 CentOS 7。
截圖 2021-08-11 下午2.45.29.png

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

Steven Shiau

unread,
Aug 11, 2021, 3:09:36 AM8/11/21
to ocs-clo...@googlegroups.com
建議將Clonezilla
live開機,然後將/usr/lib/grub/x86_64-efi-signed/grubnetx64.efi.signed複製到你的CentOS的/var/lib/tftpboot/grubx64.efi。

使用CentOS的grub-mkimage也許也是可以。但是,對於secure
boot一定會失敗就是了。畢竟沒有sign key.

Steven

On 8/11/2021 2:51 PM, Moira Chang wrote:
> 了解,想再請問下,照了以下的方法做了後,也是一樣下載失敗了,還是說這方法僅適用於
> Debain 的 PXE server 呢?謝謝
> 不好意思前面沒有說清楚,我的 PXE server 是 CentOS 7。
> 截圖 2021-08-11 下午2.45.29.png
>
> Steven Shiau 在 2021年8月11日 星期三上午11:39:00 [UTC+8] 的信中寫道:
>
> 因為Debian和CentOS/Fedora不同,所以要用在網路開機的檔案不能直接複製/EFI/boot/grubx64.efi,對以Debian/Ubuntu為基底的Clonezilla
> live而言,那個檔案是給USB drive或者硬碟等本機裝置使用的。
> 網路開機要用另外的檔案,可以參考這個:
> https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/2fb63a98d4/#3c8e
> <https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/2fb63a98d4/#3c8e>
>
> Steven
>
> On 8/11/2021 11:17 AM, Moira Chang wrote:
>> 你好,
>>
>> 在 PXE server 上的做法是參考這個,是使用了 tftp 不是使用 http。
>> https://blog.csdn.net/qq_34885184/article/details/101620695
>> <https://blog.csdn.net/qq_34885184/article/details/101620695>
>> 因為是為了用在 UEFI 開機模式的電腦,將光碟裡的 /boot/grub/grub.cfg
>> 以及 /EFI/boot/grubx64.efi ,直接整個複製到 /var/lib/tftpboot/ 底下。
>> 將 /var/lib/tftpboot/grub.cfg
>> 新增一行 fetch=tftp://10.24.7.1/filesystem.squashfs
>> <http://10.24.7.1/filesystem.squashfs>
>> <https://groups.google.com/d/msgid/ocs-clonezilla/697a1e15-19b1-43e0-a180-5f438d12a54an%40googlegroups.com?utm_medium=email&utm_source=footer
>> <https://groups.google.com/d/msgid/ocs-clonezilla/697a1e15-19b1-43e0-a180-5f438d12a54an%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
>> 如要在網路上查看這項討論,請造訪
>> https://groups.google.com/d/msgid/ocs-clonezilla/e29ea596-8913-4e06-846d-3652f499c9b7n%40googlegroups.com
>> <https://groups.google.com/d/msgid/ocs-clonezilla/e29ea596-8913-4e06-846d-3652f499c9b7n%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/f85a563c-26a7-47fa-87fc-87abde2e1cb6n%40googlegroups.com
> <https://groups.google.com/d/msgid/ocs-clonezilla/f85a563c-26a7-47fa-87fc-87abde2e1cb6n%40googlegroups.com?utm_medium=email&utm_source=footer>。
Reply all
Reply to author
Forward
0 new messages