[2013-09-18]更新Archlinux后出现问题 » 荒野无灯weblog

Keep It Simple, Stupid.

荒野无灯weblog

[2013-09-18]更新Archlinux后出现问题

问题1:更新之后,重启开机时console显示根设备未被挂载为读写模式

********************** WARNING ********************** * The root device is not configured to be mounted * * read-write! It may be fsck'd again later. * *****************************************************
sudo pacman -S grub
sudo grub-mkconfig -o /boot/grub/grub.cfg

重装了下grub,grub-mkconfig了一下。。。问题的解决了。 查看下/boot/grub/grub.cfg发现kernel命令行那里已经是 rw 了.

问题2:terminal没法打开

运行terminal 出错: Failed to execute child grantpt failed: Operation not permitted

在这里(http://funfreelance.com/centos-cant-open-terminal/)找到解决方法

After installing GUI on your CentOS server probably you will have a problem where you cannot open terminal. [CentOS] Cant Open Terminal/linux centos When you open terminal it will show you “grantpt failed: Exec format error” [CentOS] Cant Open Terminal/linux centos Access your server using SSH and run this command : mount -o remount,gid=5,mode=620 /dev/pts Source : https://bugzilla.redhat.com/show_bug.cgi?id=509632

我用的是Xfce , terminal也是其自带的。 ctrl + alt + F1 进入console ,然后

mount -o remount,gid=5,mode=620 /dev/pts

terminal 可以打开了。

└─[$] <> cat /etc/group | grep :5 tty:x:5: ID为5的组即是tty组。

3. 注意 Deprecation of /etc/sysctl.conf

如果之前修改过这个文件,比如配置了tcp 转发什么的,那么注意更新后执行:

sudo mv /etc/sysctl.conf.pacsave /etc/sysctl.d/99-sysctl.conf

如果没有修改过此文件,同样建议执行以上命令。 见: https://www.archlinux.org/news/deprecation-of-etcsysctlconf/

Tagged in :

All Comments (0)
Gravatar image
No Comments