Date: Fri, 01 Jul 2005 13:41:14 +0400 From: Yuri Kurenkov <joker@init.ru> To: Luigi Rizzo <rizzo@icir.org>, freebsd-small@freebsd.org Subject: Re: updated picobsd build script Message-ID: <42C50FBA.1000506@init.ru> In-Reply-To: <20050629090033.B43646@xorpc.icir.org> References: <20050629090033.B43646@xorpc.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42C50FBA.1000506>
