Loader reading FAT

Daniel O'Connor doconnor at gsoft.com.au
Tue Jun 16 14:20:46 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090616/e7def0db/attachment.pgp


More information about the freebsd-hackers mailing list