Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

installing bootxx_fat16 on USB stick doesn't work



Just tried to do what is described in the installboot(8) manpage,
without luck:

# fdisk sd0
Disk: /dev/rsd0d
[...]
Partition table:
0: DOS (16-bit FAT) - LBA (sysid 14)
    start 32, size 2015200 (984 MB, Cyls 0/0/33-999/19/51), Active
[...]
# disklabel sd0
# /dev/rsd0d:
type: SCSI
disk: USB FLASH DRIVE
label: fictitious
[...]
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d:   2015232         0     unused      0     0        # (Cyl.      0 -   3935)
 e:   2015200        32      MSDOS                     # (Cyl.      0*-   3935)
# 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
# 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


Particulary nasty that installboot(8) exits with non-zero, but does
not tell what it doesn't like.

best regards
Matthias




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index