差異處
這裏顯示兩個版本的差異處。
兩邊的前次修訂版 前次修改 下次修改 | 前次修改 | ||
tech:pve6_and_pve7 [2022/06/03 18:00] – [讓 PVE 6 內的 CentOS7 的 CT 移轉至 PVE 7 的妥協做法] jonathan | tech:pve6_and_pve7 [2022/06/03 18:50] (目前版本) – [讓 PVE 6 內的 CentOS7 的 CT 移轉至 PVE 7 的妥協做法] jonathan | ||
---|---|---|---|
行 18: | 行 18: | ||
* 儘管這狀況可能在 PVE 8 就無法運作, | * 儘管這狀況可能在 PVE 8 就無法運作, | ||
* 在 PVE 7 的主機 kernel option 加上 systemd.unified_cgroup_hierarchy=0 來改變使用之前 CGroup 版本 | * 在 PVE 7 的主機 kernel option 加上 systemd.unified_cgroup_hierarchy=0 來改變使用之前 CGroup 版本 | ||
- | | + | * 使用 **Systemd-boot 開機方案** |
- | - / | + | - / |
vi / | vi / | ||
root=ZFS=rpool/ | root=ZFS=rpool/ | ||
</ | </ | ||
- | | + | |
- | vi / | + | |
- | : | + | |
- | GRUB_CMDLINE_LINUX=" | + | |
- | : | + | |
- | </ | + | |
- | - 使用 | + | |
root@h470: | root@h470: | ||
Running hook script ' | Running hook script ' | ||
行 38: | 行 32: | ||
Copying kernel and creating boot-entry for 5.13.19-3-pve | Copying kernel and creating boot-entry for 5.13.19-3-pve | ||
</ | </ | ||
- | | + | * 使用 **Grub 開機方案** 進入 PVE 主機修改 |
+ | | ||
+ | vi / | ||
+ | : | ||
+ | GRUB_CMDLINE_LINUX=" | ||
+ | : | ||
+ | </ | ||
+ | - 執行 update-grub 工具來更新修改內容< | ||
+ | root@TP-PVE-249: | ||
+ | Generating grub configuration file ... | ||
+ | Found linux image: / | ||
+ | Found initrd image: / | ||
+ | Found linux image: / | ||
+ | Found initrd image: / | ||
+ | Found linux image: / | ||
+ | Found initrd image: / | ||
+ | Found linux image: / | ||
+ | Found initrd image: / | ||
+ | Found linux image: / | ||
+ | Found initrd image: / | ||
+ | Found memtest86+ image: / | ||
+ | Found memtest86+ multiboot image: / | ||
+ | done | ||
+ | </ | ||
+ | * 重新開機 | ||
* 接下來就可以透過 PBS 將 PVE 6 備份的 CT 一一的還原啟用在 PVE 7 主機上 | * 接下來就可以透過 PBS 將 PVE 6 備份的 CT 一一的還原啟用在 PVE 7 主機上 | ||