Vmware编译内核switchroot: mount failed: No such file or directory的解决方法
在Vmware虚拟机上编译新内核重启报错
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

解决方法:
make menuconfig 选上以下模块
Linux Kernel Configuration
-> Device Drivers
-> SCSI device support
-> SCSI disk support
Linux Kernel Configuration
-> Device Drivers
-> SCSI device support
-> SCSI low-level drivers
-> BusLogic SCSI support
Linux Kernel Configuration
-> Device Drivers
-> Fusion MPT device support
-> Fusion MPT (base + ScsiHost) drivers
Linux Kernel Configuration
-> Filesystem
-> Partition Types
-> Advanced partition selection
-> PC BIOS(MSDOS partition tables)support
-> BSD disklabel(FreeBSD partition tables) support
Linux Kernel Configuration
-> General setup
-> Enable deprecated sysfs features which may confuse old userspace tools
# 编辑内核编译配置文件
# vi .config
找到# CONFIG_SYSFS_DEPRECATED_V2 is not set并修改为CONFIG_SYSFS_DEPRECATED_V2=y
然后编译重启就可以了.

辛卯新春佳节即将来临,中国美术馆精心策划筹办的“中国美术馆50年捐赠作品大展”西安人才网:http://www.xa198.com
中国画廊网:http://www.hl198.com
中国画家网:http://www.rc900.com在岁末年初之际隆重推出,为欢度春节的全国观众献上一次异彩纷呈的新年贺岁文化盛宴。