Re: Booting 2.6.8 on x686 Sarge without initrd: VFS: Unable to mount root fs
Hi;
I got it working now. The problem is I didn't read the MAKE-KPKG(1).
The sequence to build a customized kernel version is `make xconfig`,
`make-kpkg clean`, `make-kpkg --revision=<foo> kernel_image`.
Regards,
TEH
Wackojacko <wackojacko32@ntlworld.com> on 11/11/2005 12:04:36 AM
To: debian-user@lists.debian.org
cc:
Subject: Re: Booting 2.6.8 on x686 Sarge without initrd: VFS: Unable to
mount root fs
KokHow Teh wrote:
> Hmmm, no, it doesn't boot yet. Attached is my .config. Another problem
that
> I see when I ran `make-kpkg modules_image` is that it doesn't seem to do
> anything at all....:
>
> debian:/usr/src/kernel-source-2.6.8# make-kpkg modules_image
> for module in ; do \
> if test -d $module; then \
> (cd $module; \
> if ./debian/rules KVERS="2.6.8"
KSRC="/usr/src/kernel-source-2.6.8" \
> KMAINT="Unknown Kernel Package Maintainer"
KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" \
>
KPKG_DEST_DIR="/usr/src/kernel-source-2.6.8/.." \
> KPKG_MAINTAINER="Unknown Kernel Package
Maintainer" \
> KPKG_EXTRAV_ARG="" \
> ARCH="i386" \
> KDREV="custom.2.6.8" kdist_image; then \
> echo "Module $module processed fine"; \
> else \
> echo "Module $module failed."; \
> if [ "X" != "X" ]; then \
> echo "Perhaps $module does not understand
--rootcmd?"; \
> echo "If you see messages that indicate that it is
not"; \
> echo "in fact being built as root, please file a
bug "; \
> echo "against $module."; \
> fi; \
> echo "Hit return to Continue"; \
> read ans; \
> fi; \
> ); \
> else \
> echo "Module $module does not exist"; \
> echo "Hit return to Continue?"; \
> fi; \
> done
> debian:/usr/src/kernel-source-2.6.8#
>
> (See attached file: Debian_config)
>
> Regards,
> TEH
I'm still fairly new to linux myself but AFAIK the modules_image flag of
make-kpkg is to build external modules where the source is in the
/usr/src/module directory and not when changing the modules of the kernel.
Try
#make-kpkg clean
#make-kpkg -append-to-version foo kernel_image
HTH
Wackojacko
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: