Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst/arch/hp300 For hp300, don't try to ins...



details:   https://anonhg.NetBSD.org/src/rev/d9b07d3fcbda
branches:  trunk
changeset: 571095:d9b07d3fcbda
user:      he <he%NetBSD.org@localhost>
date:      Thu Nov 11 00:19:48 2004 +0000

description:
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.

diffstat:

 distrib/utils/sysinst/arch/hp300/md.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 7e0fa183eda4 -r d9b07d3fcbda distrib/utils/sysinst/arch/hp300/md.c
--- a/distrib/utils/sysinst/arch/hp300/md.c     Thu Nov 11 00:09:07 2004 +0000
+++ b/distrib/utils/sysinst/arch/hp300/md.c     Thu Nov 11 00:19:48 2004 +0000
@@ -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 @@
 
        /* 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"));



Home | Main Index | Thread Index | Old Index