[deepin exploration] 在自治linux live 中持久化
Tofloor
poster avatar
酷谷的谷子
deepin
2025-11-18 13:39
Author

在自制linux live 中持久化 测试系统linux mint 21.3

这个持久化是映射casper-rw分区到内核加载的根分区里 这样恢复只需要格式化casper-rw分区卷标名保持不变即可

https://www.doubao.com/thread/wa7ba0b921008b341

创建一个ext4卷标设置成

casper-rw

配置 GRUB 启动参数

在 Live 系统的 GRUB 配置(grub.cfg)中,为启动项添加 persistent 参数,示例:

menuentry "Linux Mint Live (带硬盘持久化)" {
    set root=(hd0,msdos1)  # 假设 Live 系统文件在 /dev/sda1
    linux /casper/vmlinuz boot=casper persistent quiet splash
    initrd /casper/initrd.lz
}

这个

Reply Favorite View the author
All Replies

No replies yet