After the kernel is compiled, the host cannot be started.
Source: Internet
Author: User
After the kernel is compiled, the host cannot be started-Linux general technology-Linux programming and kernel information. The following is a detailed description. Configuration: T7250/1g ddr/sata 160g/pm965 chipset
One primary partition xp; one primary partition/(18 GB); one primary partition is swap (2 GB); the remaining space is all extended partitions, divided into three logical partitions
6. vi/boot/gurb/menu. list
The Startup menu has been automatically generated:
Title # centos
Kernel/boot/vmlinuz-2.6.25.4 ro root =/LABEL =/1 quiet
Initrd/boot/initrd-2.6.25.4.img
(The kernel is the same as that of 2.6.18, except for the version number)
The following error is prompted after the restart:
...........
Decompressing Linux... done
Boot the kernel
Redhat nash version 5.1.19.6 starting
Usb 4-1: device descriptor read/all error-71
Hub 4-0: 1. 0: unable to enumerate USB device on port 1
Hub 7-0:1. 0: unable to enumerate USB device on port 3
Mount: cocould 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 keill init!
Later I made a connection: ln-s/usr/src/linux-2.6.25.4 linux, make clean; make mropoper; Re-compile, the problem is as old;
Modify/boot/grub/menu. list:
Kernel/boot/vmlinuz-2.6.25.4 ro root =/dev/sda3 quiet, restart, the problem is as old;
(Is there/I don't know before LABEL? In short, I use the 2.6.18-53 kernel and it is normal .)
I hope the experts will give me a prompt: If there is no mount/, how can I read the/boot/vmlinuz file? I think it's mount/, but the mount cannot reach/dev,/dev/root,/sys,/proc.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service