Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 23:50:38 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-hackers@freebsd.org
Subject:   Loader reading FAT
Message-ID:  <200906162350.40221.doconnor@gsoft.com.au>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,
I am attempting to get create a FAT FS USB stick to install FreeBSD 
from.

I have it working however I would like to pare back the size of the 
syslinux memdisk it loads. Currently it has the loader, kernel & 
sysinstall MFS which is not very small (this isn't an issue for me but 
I find it less elegant than I'd like).

I think it should be possible to just have the loader in the syslinux 
memdisk and then have that read the rest from the USB stick. 

Unfortunately I can't get the loader to read a FAT partition which 
surprises me because I think it should be able to.. I believe that 
libstand can do it (I can see the code :) however when I list the USB 
stick device I get an empty directory listing.

The partition is marked as type 0x0c (FAT32 LBA) and the loader sees it 
in lsdev. The FS was made with newfs_msdos with no arguments other than 
the device.

Any ideas?

Thanks.

-- 
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iD8DBQBKN6o45ZPcIHs/zowRAp/UAJ4zc876TqMQhm13tlxMtLEmvWjdrACeLWmc
ZVp7X74PEe2Ibq8IXfS5y3o=
=n7Ic
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906162350.40221.doconnor>