Subject: RE: Transferring system
To: None <port-hpcmips@netbsd.org>
From: Tim Underwood <tim@underwoodfamily.org>
List: port-hpcmips
Date: 08/08/2004 08:15:36
> > I am currently testing/playing with 1.6.2 on my MobilePro 
> 880.  NetBSD 
> > is installed on a PCMCIA hard drive (since all of my CF cards are 
> > 128MB or less).
> >
> > In a few months, I expect the price to come down on a 512 
> or 1GB card 
> > dramatically, and I'm wondering what it takes to transfer a working 
> > image from the PCMCIA hard drive to the CF card.
> >
> > Anyone done this sort of thing before?
> 
>   I have not done this directly, but I think it should work: 
> fdisk, disklabel, and newfs, mount and cd to the new card 
> then use this command: tar cplf - / | tar xpf -

Wouldn't a change be required to /etc/fstab as well?


>   This assumes you have one file system.  

Right now, except for swap, everything is on one filesystem, "root".  I
know that isn't the proper way, but when I'm playing with it I hate
running out of space on a filesystem.

I've done this with Linux before, and even changing /etc/fstab, it was
definitely not happy, and I wound up having to re-install.  Since I have
to do so much juggling (at this time) to get software on the system, if
I can I'd rather copy it than re-install.