building the kernel

From: Paul (Xmafia88_at_verizon.net)
Date: 11/28/03


Date: 28 Nov 2003 10:57:33 -0800

I posted a message here a while ago about building the kernel and
after more then 10 tries I still cant get it to work *sigh* Iam going
to throw this computer out the windows if I cant get this thing right
in the next 2 days....

These are all the different things I have tried to build the kernel

current kernel version: 2.4.20
/usr/src/-there was no directory called linux

1.) Downloaded kernel version 2.4.20 from kernel.org

2.) Extracted it to my /home/user directory

3.) cd linux-2.4.20 (I went into the folder)

4.) make xconfig (after configuring all the option I saved and exited)

4.) make dep

5.) make bzImage

6.) make bzDisk

7.) make modules

8.) make modules_install

9.) rebooted the system put the floppy inside that I made with bzDisk
then I think it
    said it cannot find vmlinux or vmlinuz Iam not totally sure since
this was a while
    ago.

My Next attemp I got a little farther after instead of doing make
bzDisk I copied bzImage from /linux-2.4.20/arch/i386/boot/bzImage to
my floppy. I restarted my computer the kernel was booting until I got
this error "kernel panic:VFS: cannot mount root directory on 3:05" Iam
not sure if that was the exact error though. I restarted my computer
again but this time I put the floppy that always worked which
Slackware made when I was installing slackware and it booted up fine
but when I started kde I got an error that it cannot find /dev/sdo or
the sound file. Also I tried to go on the internet and that didnt work
either. I formated my Slackware partition and started over again.

So today I found another set of instructions on how to build the linux
kernel from here http://linuxnovice.org/main_how.php3?VIEW=VIEW&t_id=1

So I followed the directions and I thought Iam finally going to get
this thing running well after giving the command make bzImage I get
this error "make: *** [vmlinux] Error 1" I tried to ignore it and I
went to their next direction which was "# cp
/usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-test

but their is no bzImage in /usr/src/linux/arch/i386/boot so now I dont
know what to do and Iam very frustrated and Iam going to give up on
this If I dont get it right in the next two days can someone please
help me.



Relevant Pages

  • Re: building the kernel
    ... When I installed AMR winmodem driver into kernel, I did a symlink from the ... > Slackware made when I was installing slackware and it booted up fine ... > So I followed the directions and I thought Iam finally going to get ...
    (comp.os.linux)
  • Re: Compiling Vanilla 2.4.22 Kernel Help Needed
    ... > I have Installed Debian Sarge on to the systems of our research lab ... I installed the kernel ... cramfs filesystem found at block 0 ... > Can somebody tell me where exactly iam going wrong ...
    (Debian-User)
  • Re: Serious ppp failure on 5.1
    ... > The ppp.conf is the same as described in the handbook (pppoe). ... > mpd still works. ... All modules are compiled into the kernel. ... Iam using now the ...
    (freebsd-current)
  • to mount the HD with EXT2FS
    ... Iam having problems with one HD Maxtor of 40 GB. ... trying to mount the HD with EXT2FS. ... I recompiled the kernel with the option ...
    (FreeBSD-Security)
  • to mount the HD with EXT2FS
    ... Iam having problems with one HD Maxtor of 40 GB. ... trying to mount the HD with EXT2FS. ... I recompiled the kernel with the option ...
    (FreeBSD-Security)