misc/61587: installation problem, disklabel can't write boot code.

n-kogane at syd.odn.ne.jp n-kogane at syd.odn.ne.jp
Mon Jan 19 10:20:50 PST 2004


>Number:         61587
>Category:       misc
>Synopsis:       installation problem, disklabel can't write boot code.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 19 10:20:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nobuyuki Koganemaru
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
KOGANEMARU Computer Engineering Service Corporation.
>Environment:
FreeBSD kcesx21.koganemaru.co.jp 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004     root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386


>Description:
	At upgrade installation, disklabel can't write boot code.
	disklabel must be specified slice name.

>How-To-Repeat:
	5.2-RELEASE upgrade installation.

>Fix:

--- sysinstall/installUpgrade.c.orig	Sat Mar  8 21:07:13 2003
+++ sysinstall/installUpgrade.c	Tue Jan 20 03:09:02 2004
@@ -345,7 +345,7 @@
     }
 
     if (extractingBin)
-	vsystem("disklabel -B `awk '$2~/\\/$/ {print substr($1, 6, 3)}' /etc/fstab`");
+	vsystem("disklabel -B `awk '$2~/\\/$/ {print substr($1, 6, 5)}' /etc/fstab`");
     msgNotify("First stage of upgrade completed successfully!\n\n"
 	       "Next comes stage 2, where we attempt to resurrect your /etc\n"
 	       "directory!");
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list