From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] gentoo-mini-linux (2.6.X + uClibc + busybox + udev + hotplug/coldplug + *fsutils + smb/nfs+ ...) for system-setup
Date: Tue, 7 Dec 2004 18:39:03 +0100 [thread overview]
Message-ID: <20041207183903.04d2d855.hilse@web.de> (raw)
In-Reply-To: <41B5E371.1010907@XLsigned.net>
Hi again
(on list, this time ;-)
On Tue, 07 Dec 2004 18:08:01 +0100
"Buttchereit, Axel (XLsigned)" <XL@XLsigned.net> wrote:
> Something like this should work. Right?
>
> 1. extract stage1 to "rootfs/"
> 2. copy modules from generic i386-kernel to rootfs/lib/modules (???, see below)
not needed. Although there are packages that require an installed configured kernel tree to decide how to proceed (pcmcia comes to my mind).
> 3. configure networking (rootfs/etc/resolv.conf)
> 4. chroot roofs /bin/bash
> - ----------------------------------------------------------------
> 5. emerge sync
> 6. /usr/portage/scripts/bootstrap.sh
> 7. emerge system
> 8. customize and emerge ... udev hotplug coldplug ntfsutils busybox...
> 9. exit
> - -----------------------------------------------------------------
> 10. Create "small" (32MB) ext2-filesytem on flat file "rootfs,ext2"
> 11. mount "rootfs.ext2" using "-o loop"
> 12. Copy all relevant files and folders from "rootfs/" to mounted "rootfs.ext2"
> 13. gzip "rootfs.ext2"
> 14. copy "rootfs.ext2.gz" and "bzImage" (gerneric i386-kernel) to my
> PXE-Server (fli4l) and add a boot menu entry (PXEGRUB, menu.1st)
Yes, this should work.
> Maybe it's a better idea to emerge "gentoo-dev-sources" while "chroot"-ed
> and build the kernel.
It should work with nearly any kernel, no need to compile again what you already have as the kernel doesn't have library dependencies (although the kernel build system may have them, so be careful not to just "mount --bind" your old sources into your chroot).
HWH
--
gentoo-embedded@gentoo.org mailing list
next prev parent reply other threads:[~2004-12-07 17:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-07 17:08 [gentoo-embedded] gentoo-mini-linux (2.6.X + uClibc + busybox + udev + hotplug/coldplug + *fsutils + smb/nfs+ ...) for system-setup Buttchereit, Axel (XLsigned)
2004-12-07 17:39 ` Hans-Werner Hilse [this message]
2004-12-07 21:52 ` Buttchereit, Axel (XLsigned)
[not found] <1102222658.7085.32.camel@valhalla>
2004-12-07 0:51 ` Buttchereit, Axel (XLsigned)
2004-12-07 13:51 ` Hans-Werner Hilse
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=20041207183903.04d2d855.hilse@web.de \
--to=hilse@web.de \
--cc=gentoo-embedded@lists.gentoo.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox