From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 16 14:20:46 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F769106566C for ; Tue, 16 Jun 2009 14:20:46 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id B9C438FC21 for ; Tue, 16 Jun 2009 14:20:45 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-137-119.lns11.adl6.internode.on.net [121.45.137.119]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n5GEKg7s010425 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 16 Jun 2009 23:50:43 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Tue, 16 Jun 2009 23:50:38 +0930 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12330450.xHPjglksFG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200906162350.40221.doconnor@gsoft.com.au> X-Spam-Score: -1.226 () AWL,BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Subject: Loader reading FAT X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 14:20:46 -0000 --nextPart12330450.xHPjglksFG Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I am attempting to get create a FAT FS USB stick to install FreeBSD=20 from. I have it working however I would like to pare back the size of the=20 syslinux memdisk it loads. Currently it has the loader, kernel &=20 sysinstall MFS which is not very small (this isn't an issue for me but=20 I find it less elegant than I'd like). I think it should be possible to just have the loader in the syslinux=20 memdisk and then have that read the rest from the USB stick.=20 Unfortunately I can't get the loader to read a FAT partition which=20 surprises me because I think it should be able to.. I believe that=20 libstand can do it (I can see the code :) however when I list the USB=20 stick device I get an empty directory listing. The partition is marked as type 0x0c (FAT32 LBA) and the loader sees it=20 in lsdev. The FS was made with newfs_msdos with no arguments other than=20 the device. Any ideas? Thanks. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart12330450.xHPjglksFG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iD8DBQBKN6o45ZPcIHs/zowRAp/UAJ4zc876TqMQhm13tlxMtLEmvWjdrACeLWmc ZVp7X74PEe2Ibq8IXfS5y3o= =n7Ic -----END PGP SIGNATURE----- --nextPart12330450.xHPjglksFG--