环境:rhel8.0
主要用途:可以创建多个在开机时可以选择的引导项,并且每个引导项访问到的环境都可以是一样的,如果有担心误删重要文件,可以在删除前,这样操作一下;
安装boot管理工具:]# yum install boom-boot -y
查看当前vg的空间:]# vgs

查看当前lvs的空间:]# lvs

创建启动用的空间:]# lvcreate -s rhel/root -n root_snapshot_before_changes -L 25G
-n
是对lv名称的定义;

创建引导文件:]# boom profile create --from-host --uname-pattern el8

创建启动项:]# boom create --title "root LV snapshot before changes" --rootlv ehel/root snapshot_before_changes
--title
定义了启动项的展示的名字

做一些破坏性的动作:rheluser是自己创建的普通用户,用来测试使用

重启一下电脑:]# reboot

可以看到,第一个选项,就是在前面定义的title的值;
访问查看,可以看到前面做过的破坏性操作,在这没有收到影响;

网友评论