j.k.d 发表于 2003-12-25 10:25:10

编译2.6后进linux出错如下:

mount:error 19 mounting ext3
pivotroot: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

有高手可以为我解释一下发生了什么事?该怎么做?

tigerleo 发表于 2003-12-26 12:49:45

Re: 编译2.6后进linux出错如下:

mount:error 19 mounting ext3
pivotroot: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

j.k.d 发表于 2003-12-28 15:20:46

thank you,i have aleady done it!
页: [1]
查看完整版本: 编译2.6后进linux出错如下: