From owner-freebsd-small Wed Dec 22 17:10:39 1999 Delivered-To: freebsd-small@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id D628D14D7F for ; Wed, 22 Dec 1999 17:10:35 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA07919; Thu, 23 Dec 1999 11:40:52 +1030 (CST) Date: Thu, 23 Dec 1999 11:40:52 +1030 From: Greg Lehey To: Nathan Patwardhan Cc: freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD and sysinstall Message-ID: <19991223114052.Y1316@freebie.lemis.com> References: <19991222095543.B25359@colltech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <19991222095543.B25359@colltech.com> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 22 December 1999 at 9:55:43 -0500, Nathan Patwardhan wrote: > Hi there, > > I've been tooling around with PicoBSD under 3.x-STABLE and am curious > how to boot sysinstall instead of init. To date, I've been working > with the boot_crunch.conf.generic crunchgen "script" and a "custom" > version of the "dial" PicoBSD distribution; so far, I can build an > image that "seems" to have a /stand/sysinstall or /stand/init but when > I boot with a '-v' option: /stand/oinit, /stand/init, > /stand/sysinstall and /stand/sysinstall.bak aren't found and I'm > prompted that the system will auto reboot in 15 seconds. *sigh* > > What might I be missing here? I do recall a similar posting to the > freebsd-small mailing list awhile back but I wonder if there's an > easier way. At a guess, you've modified the loader scripts, and the loader isn't loading the MFS file system. I spent a few days tearing my hair out with this problem earlier this month. The method I settled on was to remove almost everything from /boot on the floppy. I'm left with: -rwxr-xr-x 1 root lemis 73470 Dec 20 13:19 loader -rw-r--r-- 1 root lemis 40 Dec 19 09:33 loader.rc loader is compressed with kgzip, so it might be slightly smaller. loader.rc contains: load kernel load -t mfs_root fs.PICOBSD You may find things easier if you update to a recent -CURRENT and use the picobsd/custom build tree as a basis. It's set to generate two floppies, but it doesn't have to be that way (just remove the hierarchy crunch2/ to generate a single floppy). Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message