From 81fc84947832d750b5e055ee1a1f413e1b7f4c8e Mon Sep 17 00:00:00 2001 From: he Date: Thu, 11 Nov 2004 00:19:48 +0000 Subject: [PATCH] For hp300, don't try to install a second-stage boot loader, as none exists, and use the 'c' (raw) partition for boot code installation instead of the 'a' partition (which will not work). This should fix the problem that newly-partitioned and newly-installed disks will not be made bootable by sysinst. --- distrib/utils/sysinst/arch/hp300/md.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/distrib/utils/sysinst/arch/hp300/md.c b/distrib/utils/sysinst/arch/hp300/md.c index fb89b3ca628a..2c3dd0d3a6e4 100644 --- a/distrib/utils/sysinst/arch/hp300/md.c +++ b/distrib/utils/sysinst/arch/hp300/md.c @@ -1,4 +1,4 @@ -/* $NetBSD: md.c,v 1.17 2004/10/16 13:20:11 dsl Exp $ */ +/* $NetBSD: md.c,v 1.18 2004/11/11 00:19:48 he Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -148,9 +148,8 @@ md_post_newfs(void) /* boot blocks ... */ msg_display(MSG_dobootblks, diskdev); - cp_to_target("/usr/mdec/boot", "/boot"); if (run_program(RUN_DISPLAY | RUN_NO_CLEAR, - "/usr/mdec/installboot /usr/mdec/uboot.lif /dev/r%sa", + "/usr/mdec/installboot /usr/mdec/uboot.lif /dev/r%sc", diskdev)) process_menu(MENU_ok, deconst("Warning: disk is probably not bootable"));