由于/dev/shm是在较新的Debian和Ubuntu系统上的/run/shm的符号链接,因此发生以下故障。 有没有办法在Kickstart中调整这个行为,所以它也试图从/run/shm挂载? 我会发现这更好的改变我的默认符号链接到绑定安装。 理想情况下,这是我可以在.ks文件中定义的.ks 。
chroot builddir/media/centos6/x86_64/tools livecd-creator --config /build/livecd.ks ## Snip -- output from mke2fs and tune2fs mount: special device /dev/shm does not exist Error creating Live CD : Bind-mounting '/dev/shm' to '/var/tmp/imgcreate-ubTScl/install_root//dev/shm' failed make: *** [builddir/media/centos6/x86_64/image.iso] Error 1 user@host:/tmp/workspace$ ls -lh /dev/shm lrwxrwxrwx 1 root root 8 Aug 24 14:21 /dev/shm -> /run/shm
你好,我正在chroot中尝试相同的
[] $ sudo livecd-creator -c fedora-live-base.ks -f rhel6.2 Error creating Live CD : Bind-mounting '/dev/shm' to '/var/tmp/imgcreate-O5IVB2/install_root//dev/shm' failed
我碰到
https://wiki.archlinux.org/index.php/Install_from_Existing_Linux
当chroot基于Debian的主机系统时, /dev/shm指向/run/shm 。 /run/shm在chroot环境中不存在,因此链接被破坏,并且pacstrap返回一个错误。
在基于Debian的主机系统进行chroot时,在chroot环境中创build一个目录/run/shm
一旦我在chroot中创build/run/shm ,我就可以创buildliveCD了。