solve the problem /dev/null: read only filesystem

 

The problem is like :

......

Configuring kernel parameter dup2: bad file or desriptor name [failed]

/etc/rc.d/rc.sysinit 184 /dev/null read only filesystem

/etc/rc.d/rc.sysinit 184 /dev/null read only filesystem

/etc/rc.d/rc.sysinit 200 /dev/null read only filesystem [failed]

..............

Then enter "I" into repair file mode,excute the following command:

mount -o remount, rw /
rm -f /dev/null
mknod -m 666 /dev/null c 1 3

This remounts the root filesystem as writeable, then removes the device /dev/null, then recreates it with the correct permissions as a character device with the correct major/minor number.

The error message you encountered, "Can't load '/usr/local/MATLAB/R2017b/bin/glnxa64/libmwdastudio.so': /lib/x86_64-linux-gnu/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var," suggests a problem with the fontconfig library used by MATLAB. To solve this issue, you can try the following steps: 1. Update fontconfig library: First, try updating the fontconfig library on your system. You can do this by running the following command in your terminal: ``` sudo apt-get update sudo apt-get install libfontconfig1 ``` This will update the fontconfig library to the latest version available in your Linux distribution's package manager. 2. Check library paths: Ensure that the library path for fontconfig is correctly set in MATLAB. You can do this by running the following command in MATLAB's command window: ``` getenv LD_LIBRARY_PATH ``` Make sure the output includes the correct path to the fontconfig library (e.g., `/usr/lib/x86_64-linux-gnu`). 3. Verify system compatibility: Verify that your system is compatible with MATLAB 2017b. Ensure that you are using a supported version of Linux and that all system requirements for MATLAB are met. 4. Reinstall MATLAB: If the above steps do not resolve the issue, you may need to reinstall MATLAB. Uninstall MATLAB completely and then reinstall it, making sure to follow all installation instructions and prompts carefully. If the problem persists after trying these steps, it might be helpful to contact MathWorks support for further assistance, as they can provide more specific guidance tailored to your system and setup.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值