Kernel Compilation Problem
prologic at shortcircuit.net.au
Sat May 22 19:19:57 UTC 2010
On Sun, May 23, 2010 at 1:41 AM, justin domingue
<justin.domingue at hotmail.com> wrote:
> I'm starting with CRUX Linux and like it pretty much from what I've seen
> (especially philosophy).
Welcome to CRUX! It rocks :)
> My problem is that I've never compiled my kernel, so I don't know what to
> put and my system would not boot because of that (well I think... I get this
> error : VFS : Unable to mount root fs on block () ).
> So i wanted to know if I could copy the CD kernel image... Would everything
> be okay if I was to do that?
The latest (2.6) CRUX installation CD's Kernel will not work
out of the box (anymore?). It will not have the file system
(likely) that you've probably formatted your disk with.
You must compile the kernel yourself.
Once you've partitioned your disk, formatted it and run setup
chroot into your new system (using setup-chroot helper script)
and perform the following:
$ cd /usr/src/
$ ln -s linux-x.y.z linux # I like doing this
$ cd linux
$ make menuconfig # See notes below
$ make all
$ make modules_install
$ make install
When "configuring your Kernel", be sure to (at the very least):
1. Select your Processor Type.
2. Select your File System Type.
Ensure that the above are "compiled-in" and NOT "modules".
More information about the CRUX