Subject: Re: problem during an ugrade to 1.5
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Steven M. Bellovin <smb@research.att.com>
List: port-i386
Date: 04/26/2001 15:12:52
In message <20010426200433.A239@antioche.eu.org>, Manuel Bouyer writes:
>On Thu, Apr 26, 2001 at 05:21:20PM +0200, Richard PLOIX wrote:
>> hello,
>> I had an i386 NetBSD installation in 1.4.2.
>> I mad an upgrading from the cdrom, during whitch
>> i have an error message : cannot copy file 
>> /usr/xxx... because the file system /usr is full.
>> the problem is that now i boot in 1.5 with the
>> read only mode.
>> if i do a mount -u /usr, the system respond that 
>> it can't find /etc/fstab.
>> I see the /etc directory, but i can't copy it to the new /etc
>> because the file system is read only.
>
>Once booted to single user:
>mount -u /dev/wd0a / (or sd0a if scsi)
>rm -rf /etc
>mv /etc.old /etc
>mount /usr
>free some space in /usr
>and now you should be able to do again an upgrade.
>

It would be a very good thing if sysinst were to do that itself if it's 
aborting an installation.


		--Steve Bellovin, http://www.research.att.com/~smb