修复 initramfs 和修复 grub 也好,都会用到这个模式,这个模式是怎么工作的呢? iso 跟硬盘上的系统又是怎么关联上的呢?下面这几条命令又是什么意思呢?
mount --bind /proc /mnt/sysimage/proc
mount --bind /dev /mnt/sysimage/dev
mount --bind /sys /mnt/sysimage/sys
chroot /mnt/sysimage
在网上基本上都是教大家怎么做的,而没有说为什么
mount --bind /proc /mnt/sysimage/proc
mount --bind /dev /mnt/sysimage/dev
mount --bind /sys /mnt/sysimage/sys
chroot /mnt/sysimage
在网上基本上都是教大家怎么做的,而没有说为什么