Re: What offset in losetup /dev/loop0 bin/gpxe.dsk -o OFFSET ?

Joshua Oreman <[email protected]> Tue, 13 Oct 2009 17:34:58 -0400
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
On Tue, Oct 13, 2009 at 5:27 PM, sobtwmxt <[email protected]> wrote:
>  How can I use losetup (on Linux) to mount bin/gpxe.dsk?  I think my
> main problem is the required offset in:
>
>    losetup /dev/loop0 bin/gpxe.dsk -o OFFSET

The gpxe.dsk image is a raw binary; you can't put anything on it
except gPXE, and you can't mount it.

If you're looking for a floppy image that will boot gPXE but also be
usable as a regular filesystem, try gpxe.sdsk (requires Syslinux).

-- Josh

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference