个人工具
登录
查看“UbuntuHelp:FeistyLUKSTwoFormFactor”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:FeistyLUKSTwoFormFactor”的源代码
来自Ubuntu中文
←
UbuntuHelp:FeistyLUKSTwoFormFactor
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
=== /usr/share/initramfs-tools/scripts/init-bottom/udev === There is a quirk whereby the ''lvm-on-luks'' mappings are overwritten with the `/dev` filesystem is remounted for read write. We need `mapper` for the lvm mounts to funtion on boot. <pre><nowiki> vi /tmp/patch3 </nowiki></pre> <pre><nowiki> --- udev.orig 2007-04-10 09:03:36.000000000 -0500 +++ udev 2007-07-03 18:13:46.000000000 -0500 @@ -27,5 +27,5 @@ # Move the real filesystem's /dev to beneath our tmpfs, then move it all # to the real filesystem mkdir -m 0700 -p /dev/.static/dev -mount -n -o bind ${rootmnt}/dev /dev/.static/dev +mount -n -o bind /dev/.static/dev ${rootmnt}/dev mount -n -o move /dev ${rootmnt}/dev </nowiki></pre> <pre><nowiki> patch -b -l /usr/share/initramfs-tools/scripts/init-bottom/udev < /tmp/patch3 </nowiki></pre> After patching, if backups were created, remove them so as not to 'corrupt' the initramfs build. <pre><nowiki> rm /usr/share/initramfs-tools/scripts/local-top/cryptroot.orig rm /usr/share/initramfs-tools/hooks/cryptroot.orig rm /usr/share/initramfs-tools/scripts/init-bottom/udev.orig </nowiki></pre>
返回至
UbuntuHelp:FeistyLUKSTwoFormFactor
。