PXE booting issues
Jeremy Chadwick
koitsu at FreeBSD.org
Sun Jun 24 21:57:22 UTC 2007
On Sun, Jun 24, 2007 at 09:27:42PM +1000, Morgan Reed wrote:
> ==============
> dd if=pxeboot.tmp of=pxeboot obs=2k conv=osync
> 425+0 records in
> 107+0 records out
> ==============
> The discrepancy in the records in and the records out is concerning
> but I would expect the file to exist regardless, I'm currently using
> the default /boot/pxeboot.
The default blocksize in dd is 512 -- that is, ibs=512 and obs=512. If
you only specify obs, ibs still remains at 512.
2048 / 512 = 4. 107 * 4 == 428, which is about 425; chances are the
file isn't *exactly* on a 2047-byte boundary, which explains the
"missing 3".
If you do "bs=2k", you should see both 107 records in and out.
I hope this helps clear up any concern over that part.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-stable
mailing list