tech-kern archive

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

Re: error adding a new system call





2011/6/18 David Laight <david%l8s.co.uk@localhost>
On Fri, Jun 17, 2011 at 09:08:16PM +0200, Martin Husemann wrote:
> On Fri, Jun 17, 2011 at 11:36:43PM +0800, Charles Zhang wrote: 
> > Does NetBSD have a rescue mode where I can recover my system?
> > If I have to re-install the system, can I install it without formatting the
> > disk?(so my source file is not lost)
>
> Yes, boot -sa and use /rescue/init as init, /rescue/sh as shell, and /rescue/mv
> to fix your filesystem.


If the system is still running, just use the commands for /rescue,
no need to reboot.


Thanks! /rescue/mv works and save my system.

--
regards,
Charles Zhang



Home | Main Index | Thread Index | Old Index