From owner-freebsd-small@FreeBSD.ORG Fri Jul 1 09:41:31 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B047A16A41C for ; Fri, 1 Jul 2005 09:41:31 +0000 (GMT) (envelope-from joker@init.ru) Received: from wolf.init.ru (wolf.init.ru [195.161.186.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20DD143D1D for ; Fri, 1 Jul 2005 09:41:30 +0000 (GMT) (envelope-from joker@init.ru) Received: from yk.init.ru (yk.init.ru [195.161.186.13]) by wolf.init.ru (8.13.1/8.13.1) with ESMTP id j619fRo3014930; Fri, 1 Jul 2005 13:41:27 +0400 (MSD) (envelope-from joker@init.ru) Received: from [127.0.0.1] (localhost [127.0.0.1]) by yk.init.ru (8.13.3/8.13.3) with ESMTP id j619fP52014088; Fri, 1 Jul 2005 13:41:26 +0400 (MSD) (envelope-from joker@init.ru) Message-ID: <42C50FBA.1000506@init.ru> Date: Fri, 01 Jul 2005 13:41:14 +0400 From: Yuri Kurenkov Organization: JSC INIT User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050614 X-Accept-Language: ru, en MIME-Version: 1.0 Newsgroups: gmane.os.freebsd.devel.small To: Luigi Rizzo , freebsd-small@freebsd.org References: <20050629090033.B43646@xorpc.icir.org> In-Reply-To: <20050629090033.B43646@xorpc.icir.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: updated picobsd build script X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joker@init.ru List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 09:41:31 -0000 Luigi Rizzo wrote: > attached you can find the latest version of the picobsd build script, > that can successfully build 5.x picobsd images hosted on 4.11 and > probably 5.x and 6.x images on 5.x (untested). > The interesting feature is that it uses sysutils/makefs to build > the image so it can run without root privs. The image produced > is bootable in qemu which is pretty nice for testing. I can't build any 1440k images hosted on 4.11 and 5.4 with such problem: ---8<---------------8<-------------------8<--------------- Calculated size of `fs.PICOBSD': 3276800 bytes, 170 inodes Extent size set to 4096 fs.PICOBSD: 3.1MB (6400 sectors) block size 4096, fragment size 512 using 1 cylinder groups of 3.12MB, 800 blks, 192 inodes. super-block backups (for fsck -b #) at: 32, Populating `fs.PICOBSD' Image `fs.PICOBSD' complete -rwxr-xr-x 1 root wheel 3276800 1 ÉÀÌ 13:05 fs.PICOBSD makefs: `/usr/src/release/picobsd/build/build_dir-bridge/image.tree' size of 1556480 is larger than the maxsize of 1474560. *** Error code 1 ---8<---------------8<-------------------8<--------------- "Native" 4.11 script build this images successfully. 2880k images you script build successfully. I try to write builded by Your script 2880k images (4.11 and 5.4) to CD-R and CF and boot. But images don't boot whith diagnostic "Operating System not found". Builded by native 4.11 script (# $FreeBSD: src/release/picobsd/build/picobsd,v 1.1.2.28 2002/12/02 22:33:50 luigi Exp $) images boot succsessfully with same cofig set. Unbootable images successfully mount/umount and readable/writable. I Think, problem with installing /boot/boot* to image.. Thx for works, Luigi!.. > cheers > luigi > -- Yuri V. Kurenkov [YVK9-RIPN] JSC "INIT", 88, Frunze st., Taganrog, 347904 RU http://www.init.ru Ph/Fax: +7-8634-391011 ICQ UIN: 21666578