From ae59d02e12ba26edec124ba6f0d73698c717d79b Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 30 Oct 2002 20:52:07 +0000 Subject: [PATCH] Write out 15 sectors of boot code. --- lib/libdisk/write_sparc64_disk.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libdisk/write_sparc64_disk.c b/lib/libdisk/write_sparc64_disk.c index 9431907a6b48..87b67a53d5bc 100644 --- a/lib/libdisk/write_sparc64_disk.c +++ b/lib/libdisk/write_sparc64_disk.c @@ -89,6 +89,10 @@ Write_Disk(const struct disk *d1) } write_block(fd, 0, sl, sizeof *sl); + + for(i = 1; i < 16; i++) + write_block(fd, i * 512, d1->boot1 + 512 * (i - 1), 512); + close(fd); return 0; }