修改filesystem.squashfs裡的 /etc/default/grub

13 views
Skip to first unread message

Clock Chung

unread,
Sep 17, 2025, 4:33:06 AM (4 days ago) Sep 17
to 再生龍clonezilla
Dear Steven,

目前我們用PXE搭配clonezilla live的方式去做還原。
但是因為系統BIOS的某些限制,在還原之前需要先修改/etc/default/grub裡面的
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" 改為
GRUB_CMDLINE_LINUX_DEFAULT="iomem=relaxed quiet splash"
再開機再做相關的還原設定

想請問是否有方法可以達成這個需求

謝謝 !

Steven Shiau

unread,
Sep 17, 2025, 8:21:24 PM (3 days ago) Sep 17
to ocs-clo...@googlegroups.com

若是PXE開機,你要改的應該是PXE server的部份。在PXE server對應的目錄來修改。
例如以DRBL server來說,要改的檔案是:
/tftpboot/nbi_img/grub/grub.cfg (uEFI模式)
或者
/tftpboot/nbi_img/pxelinux.cfg/default (Legacy BIOS模式)

Steven

--
這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 ocs-clonezill...@googlegroups.com
如要查看這個討論,請前往 https://groups.google.com/d/msgid/ocs-clonezilla/ec9e586c-3500-4308-bba4-cf0cd7ebb666n%40googlegroups.com
-- 
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
Reply all
Reply to author
Forward
0 new messages