[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel Panic: VFS Unable to mount root fs on 03:01



>      VFS: Can't open root device 03:01
>      Kernel Panic: VFS unable to mount root fs on 03:01

strange
maybe you compiled the root fs as a module (which is not to be
done), but how would you boot?...
ah there's the answer:

> I installed the 2.0.34 kernel source package.  I think I'm following the instructions in /usr/doc/kernel-source-2.0.34/README.  I do:
>
>     make mrproper
>     make menuconfig
>     make dep
>     make clean
>     make zImage
>     make modules
>     make modules_install
>     cp /usr/src/linux/arch/i386/boot/zImage /boot/vmlinuz-2.0.34
>     lilo

dear mister, that's the orginal doc from de kernel source, not the
Debianized one.
well, with Debian there are some more files that are necessary for the
kernel to work
(e.g. : /boot/SystemMap)
you have to use the make-kernel package tools, or whatever is its name :

# cd /usr/src/linux
# make-kpkg clean
# make xconfig  /* sorry I like it :) */
# make-kpkg -r custom.1.0 binary

which buils all you need in /usr/src

then

# cd /usr/src
# dpkg -BRGiE kernel-image 2.0.34_custom.1.0.deb

but before :
$ man make-kpkg
$ cd /usr/doc/kernel-(uh what's its name? look for it!)
and rtfd
:)
you're welcome
--
Samuel Landau


Reply to: