NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: New hard disk, copying data
On Thu, May 23, 2013 at 05:07:19PM +0200, Riccardo Mottola wrote:
> Hi,
>
> I want to install a new hard disk in my laptop. The previous hard
> diss (traditional winchester) two partition, NetBSD + Windows with
> the boot selection menu. I want to install a new SSD disk, just
> slightly smaller than the existing netbsd partition. I have this
> laptop often in bumpy condition and the current HD seems to fail, so
> I thought trying SSD might be interesting.
>
> How can I copy the existing data, to avoid a reinstall? I thought
>
> 1) attach the hard disk in an external USB enclosure
> 2) Partition int
> 3) Copy the data (how? using tar/untar perhaps?)
> 4) write the MBR (but how, from the command line? and I don't need
> the boot selection anymore, just flat into NetBSD)
>
> Please fill in the voids :) I'm open also to other suggestions
The selection of commands you want to have a look at are
- disklabel
- fdisk
- installboot
The raidframe documentation at
http://www.netbsd.org/docs/guide/en/chap-rf.html#chap-rf-second-disk
can be used as a guide to setting up an ordinary disk without using
sysinst.
Do you also want windows on the SSD?
Cheers,
Patrick
Home |
Main Index |
Thread Index |
Old Index