编译2.6后进linux出错如下:
mount:error 19 mounting ext3pivotroot:pivot_root(/sys root,/sysroot/initrd) failed:2
freeing unused kernel memory:384k freed
kernel panic:No init found.Try passing init=option to kernel
有高手可以为我解释一下发生了什么事?该怎么做?
Re: 编译2.6后进linux出错如下:
mount:error 19 mounting ext3pivotroot:pivot_root(/sys root,/sysroot/initrd) failed:2
freeing unused kernel memory:384k freed
kernel panic:No init found.Try passing init=option to kernel
有高手可以为我解释一下发生了什么事?该怎么做?
Rerun make xconfig(or any choice you like), check on the ext3 built-in support(that means not as a module), rebuild the kernel. Replace root=LABEL=/ with root=/dev/hda1(or what ever your root filesystem reside in) and comment the line initrd=***.img out in 2.6.0 section in your /etc/grub.conf(or lilo.conf).
Reboot. Good luck! If secceed, recover the line initrd=***.img thank you,i have aleady done it!
页:
[1]