Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: installing bootxx_fat16 on USB stick doesn't work
On Thu, Mar 06, 2008 at 08:49:58PM +0100, Matthias Drochner wrote:
>
> Just tried to do what is described in the installboot(8) manpage,
> without luck:
...
> # installboot -v /dev/rsd0e /usr/mdec/bootxx_fat16
> File system: /dev/rsd0e
> Primary bootstrap: /usr/mdec/bootxx_fat16
> installboot: Old BPB too big, use -f
> installboot: Set bootstrap operation failed
> # installboot -v -f /dev/rsd0e /usr/mdec/bootxx_fat16;echo $?
> 1
>
> Particulary nasty that installboot(8) exits with non-zero, but does
> not tell what it doesn't like.
It didn't like the '-f'! I've fixed that, and also extended the original
message to indicate that -f might trash the fs.
> # dd if=/dev/rsd0d count=1 skip=32|hexdump -C
> [...]
> 000001e0 53 59 53 4d 53 44 4f 53 20 20 20 53 59 53 80 01 |SYSMSDOS SYS..|
> 000001f0 00 57 49 4e 42 4f 4f 54 20 53 59 53 00 00 55 aa |.WINBOOT SYS..U.|
> 00000200
The first part of the sector is what is causing the problem...
Down to 0x80 should be enough.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index