1. Kernel panic: VFS: Unable to mount root FS on xxx
Solution:
I. Ensure that the file system option is correctly configured when kernel options are configured. It is best to compile ext2 and ext3 into the kernel.
Ii. Select initial Ram filesystem and RAM disk (initramfs/initrd) support in Block devices
If not all modules required to start the computer are compiled in the kernel, it cannot be started.
2. Unable to find device_mapper major/minor
The possible cause is that the kernel does not support LVM logical volume management, and your system uses logical volumes.
Solution:
Select device mapper support in Multi-Device Support (raid and LVM)
3.
Mount: Error 6 mounting ext3
Mount: Error 2 mounting none
Switchroot: Mount failed: 22
Unmount/initrd/dev failed: 2
Kernel panic-not syncing: attempted to kill Init! "
Using SCSI hard disks in virtual machines is required:
Device Drivers ---> <*> SCSI Device Support
Device Drivers ---> <*> SCSI device support ---> <*> SCSI disk support
Device Drivers ---> <8> SCSI device support ---> SCSI low-level drivers --> <*> buslogic SCSI support
The lowest part of my kernel is not selected by default.
If not, copy the following file.
CP/usr/src/linux-2.6.X/Drivers/SCSI/buslogic. O/lib/modules/2.6.x/kernel/Drivers/SCSI
Then make install. It should be done.