Date: Tue, 20 Jan 2004 03:16:40 +0900 (JST) From: n-kogane@syd.odn.ne.jp To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/61587: installation problem, disklabel can't write boot code. Message-ID: <200401191816.DAA01189@kces1.koganemaru.co.jp> Resent-Message-ID: <200401191820.i0JIKHrj056755@freefall.freebsd.org>
index | next in thread | raw e-mail
>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@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:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401191816.DAA01189>
