Subject: install/25138: 2.0: sysinst upgrade broken: fsck_ffs bails out
To: None <gnats-bugs@gnats.NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: netbsd-bugs
Date: 04/11/2004 16:14:06
>Number: 25138
>Category: install
>Synopsis: 2.0: sysinst upgrade broken: fsck_ffs bails out
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 11 14:15:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Hubert Feyrer
>Release: NetBSD 2.0_BETA
>Organization:
bla!
>Environment:
System: NetBSD noon2 1.6.2
Architecture: i386
Machine: i386
>Description:
I tried upgrading a laptop from 1.6.2 to 2.0(_BETA) using
sysinst (after my last manual update triggered nasty errors
in fdisk, and I was asked why I didn't use sysinst), and it
failed due to filesystem incompatibilities. Screens I get
in sysinst:
--- screen #1:
Status: command failed
Command: /sbin/fsck_ffs -p -q /dev/rwd0a
Hit enter to continue
/dev/rwd0a: BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN
FIRST ALTERNATE
/dev/rwd0a: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY
--- screen #2:
It appears that /dev/wd0a is not a BSD file system or the fsck was not
successful. The upgrade has been aborted. (Error number 8.)
--- screen #3:
Status: Command failed
Command: mv /targetroot/etc /targetroot/etc.old
Hit enter to continue
mv: rename /targetroot/etc to /targetroot/etc.old: No such file or directory
--- screenshots (10-finger-dump) end
>How-To-Repeat:
1) Install 1.6.2
2) Upgrade to 2.0 using sysinst's upgrade optioin
>Fix:
The error should be caught, and an option to run
"fsck_ffs -b 16 -c 4" should be given, following src/UPDATING
instructions from 20040109; see also
http://mail-index.NetBSD.org/current-users/2004/01/11/0022.html
--
Hubert Feyrer <hubert@feyrer.de>
>Release-Note:
>Audit-Trail:
>Unformatted:
1.6.2 now, kernel & userland