Thank you first, I posted this question on debian-boot mailing list too. and I think I got the answer:

# make-kpkg --append-to-version=.0901 kernel-image
I use the above command to compile the kernel, then install it.
and I should add --initrd as argument for make-kpkg.


From: Joachim Fahnenmüller <[EMAIL PROTECTED]>
To: debian-user@lists.debian.org
Subject: Re: help: self compiled kernel reboot problem: unable to mount root fs on unknow
Date: Sat, 3 Sep 2005 13:11:34 +0200

Hi,

On Thu, Sep 01, 2005 at 10:31:26PM +0800, weiyun lv wrote:
> VFS: cann't open root device "hda2" or unknown-block(0,0)
> Please append a correct "root=" boot option.
> Kernel Panic -not syncing: VFS: Unable to mount root fs on unknown
> -block(0,0)
> ...

An idea: Did you compile the drivers for the root fs and harddisk as part of the
kernel (_not_ as modules)?

HTH
--
Joachim Fahnenmüller


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to