manjaro (arch)安装完成后重启报错:Root device mounted successfully, but sbininit does not exist

manjaro (arch) 安装完成后重启报错:Root device mounted successfully, but /sbin/init does not exist.

前言

这个问题是我的大佬同学赖拐发现的,估计也有很多和他一样被鸟叔带入门linux的童鞋吧?哈哈,只能说实在可惜第三版出的时间太过久远(八年前),据说第四版已经出啦(今年十一),大家有能力去支持一下吧~

问题

言归正传,错误应该是在我们开开心心装好manjaro之后重启,本以为可爱的plasma-kde出现,结果出来了黑不溜秋的报错提示:

ERROR: Root device mounted successfully, but /sbin/init does not exist.

sh:can't access tty; job control turned off

[rootfs /]#

**实际上真正的原因是我们把/usr挂载在了单独的分区上。**具体的原因可以参考stackexchange的一篇问答,很有价值。这里稍作引用

As @Leiaz very correctly pointed out in the comments, /sbin in Arch (and by extension, Manjaro) is now a symlink to /usr/bin. This means that unless /usr is mounted, /usr/sbin/init will not exist. You therefore need to make sure that /usr is mounted by the initial ramdisk. That’s what the Arch wiki quote in your OP means:

If you keep /usr as a separate partition, you must adhere to the following r

  • 3
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 7
    评论
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值