All of lore.kernel.org
 help / color / mirror / Atom feed
From: pa3gcu <pa3gcu@zeelandnet.nl>
To: travis@wsor.net, newbie list <linux-newbie@vger.kernel.org>
Subject: Re: Multi-kernel in grub
Date: Wed, 23 Jul 2003 08:24:35 +0200	[thread overview]
Message-ID: <200307230824.35748.pa3gcu@zeelandnet.nl> (raw)
In-Reply-To: <1058935906.2992.31.camel@localhost.localdomain>

On Wednesday 23 July 2003 06:51, Travis Osterman wrote:
> To eliminate another variable, I tried to run the kernel compilation
> without changing any kernel settings (just to see if the kernel source
> would compile).
>
> Without any configuration changes at all:
> # make mrproper		// no errors
> # make clean		// no errors
> # make xconfig		// no errors
> # make dep		// no errors
> # make bzImage		// below (seems fine)
>
> tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT >
> bzImage
> Root device is (8, 7)
> Boot sector 512 bytes.
> Setup is 2621 bytes.
> System is 1156 kB
> warning: kernel is too big for standalone boot from floppy
> make[1]: Leaving directory `/usr/src/linux-2.4.20-8/arch/i386/boot'
>
> # make modules		// no errors

You missed make modules_install (see comment below).

> # make install		// below
>
> tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT >
> bzImage
> Root device is (8, 7)
> Boot sector 512 bytes.
> Setup is 2621 bytes.
> System is 1156 kB
> warning: kernel is too big for standalone boot from floppy
> sh -x ./install.sh 2.4.20-8custom bzImage
> /usr/src/linux-2.4.20-8/System.map ""
> + '[' -x /root/bin/installkernel ']'
> + '[' -x /sbin/installkernel ']'
> + exec /sbin/installkernel 2.4.20-8custom bzImage
> /usr/src/linux-2.4.20-8/System.map ''
> /lib/modules/2.4.20-8custom is not a directory.

The above is caused because you did not do make modules_install .

> mkinitrd failed
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.20-8/arch/i386/boot'
> make: *** [install] Error 2
>
> # make modules_install	// no errors

Too late, that is of no good at this stage.

I have a help page for makeing a kernel at;

http://people.zeelandnet.nl/pa3gcu/kernel.htm

It may well help you in compiling, there is no ifo on grub tho'.

>
> Thanks again for all your help in sorting through this with me.
>
> -- Travis


Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2003-07-23  6:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-22 15:15 Multi-kernel in grub Travis
2003-07-22 15:19 ` /cdrom fails to unmount Dan Zlotnikov
2003-07-22 15:44   ` Amin
2003-07-22 16:06   ` pa3gcu
2003-07-22 15:43 ` Multi-kernel in grub Amin
     [not found] ` <Pine.LNX.4.43.0307221116460.20338-100000@perpugilliam.cscl ub.uwaterloo.ca>
2003-07-22 15:58   ` /cdrom fails to unmount Ray Olszewski
2003-07-22 16:28     ` Dan Zlotnikov
2003-07-23 14:58       ` pa3gcu
2003-07-22 16:11 ` Multi-kernel in grub pa3gcu
2003-07-22 21:54 ` Travis Osterman
2003-07-23  2:20   ` Ray Olszewski
2003-07-23  4:51     ` Travis Osterman
2003-07-23  6:24       ` pa3gcu [this message]
2003-07-24  3:20         ` Travis Osterman
2003-07-24  7:54           ` Julien Didron
2003-07-24 12:32           ` pa3gcu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200307230824.35748.pa3gcu@zeelandnet.nl \
    --to=pa3gcu@zeelandnet.nl \
    --cc=linux-newbie@vger.kernel.org \
    --cc=travis@wsor.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.