From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30937 invoked from network); 7 Dec 2004 17:33:16 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 7 Dec 2004 17:33:16 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CbjDA-0000vu-Hs for arch-gentoo-embedded@lists.gentoo.org; Tue, 07 Dec 2004 17:33:16 +0000 Received: (qmail 22894 invoked by uid 89); 7 Dec 2004 17:33:16 +0000 Mailing-List: contact gentoo-embedded-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Received: (qmail 23023 invoked from network); 7 Dec 2004 17:33:15 +0000 Date: Tue, 7 Dec 2004 18:39:03 +0100 From: Hans-Werner Hilse To: gentoo-embedded@lists.gentoo.org Message-Id: <20041207183903.04d2d855.hilse@web.de> In-Reply-To: <41B5E371.1010907@XLsigned.net> References: <41B5E371.1010907@XLsigned.net> X-Mailer: Sylpheed version 0.9.99-gtk2-20041024 (GTK+ 2.4.13; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-embedded] gentoo-mini-linux (2.6.X + uClibc + busybox + udev + hotplug/coldplug + *fsutils + smb/nfs+ ...) for system-setup X-Archives-Salt: 5b272503-5920-4fe0-9972-775dc7e6f07b X-Archives-Hash: 13c470177da0d55a59829b1089ab4337 Hi again (on list, this time ;-) On Tue, 07 Dec 2004 18:08:01 +0100 "Buttchereit, Axel (XLsigned)" 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