亚洲午夜无码久久,今天高清视频免费观看,欧美一夜爽爽爽爽爽爽,在线亚洲欧美日韩精品专区

行業(yè)資訊

解決linux內(nèi)核升級(jí)后不能重啟系統(tǒng)的故障-宇眾網(wǎng)絡(luò)


2020年11月04日

1.升級(jí)完后,重啟系統(tǒng),發(fā)現(xiàn)系統(tǒng)無(wú)法啟動(dòng),具體原因是系統(tǒng)無(wú)法掛載文件系統(tǒng)。

 

2.在網(wǎng)上找了下資料,原因出在了initrd是舊版本mkinitrd生成的。

所以導(dǎo)致文件系統(tǒng)無(wú)法正常掛載

3.解決方法就是加入對(duì)舊版sysfs路徑的支持,方法如下:

a.通過(guò)make menuconfig選中以下對(duì)應(yīng)的選項(xiàng)

General setup -->

enable deprecated sysfs features to support old userspace tools

4.在這個(gè)前面加上* 是系統(tǒng)能支持。

5.然后我對(duì)內(nèi)核文件進(jìn)行了重新編譯。

6.重啟后成功加載文件系統(tǒng),并使用了新的內(nèi)核。

 

一下是系統(tǒng)報(bào)錯(cuò)內(nèi)容,有些出入,可以參考:

 

Volume group "VolGroup00" not found

Unalbe to access resume device (/dev/VolGroup00/LogVol00)

mount: could not find filesystem '/dev/root'

setuproot:moving /dev failed: No such file or directory

setuproot:error mounting /proc: No such file or directory

setuproot:error mounting /sys: No such file or directory

switchroot: mount failed: No such file or directory

Kernel panic - not syncing:Attempted to kill init!

 

租用Linux服務(wù)器找宇眾網(wǎng)絡(luò)yelaoxs.com


客服