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

Re: Best way to copy Linux from one drive to another



Quoting mheyes@lincolnfp.com (mheyes@lincolnfp.com):

> I am trying to do transfer my current install from a smaller drive to a larger
> one. I installed, partitioned and formatted the new drive with the same
> partitions as the smaller one. Then, I copied each partition in turn (/, /root,
> /home, /opt, /var, /usr) to the appropriate partition on the new drive with cp
> -a small-drive-partition /mnt/new-drive-partition.
> 
> When I boot (from floppy) to the new drive, I am told that /var/lock,
> /var/run/utmp don't exist. urandom start: fails. Then, when system switches to
> run level 2, syslogd hangs. But, all the /var files and directories did get
> copied.

Did you check that /etc/fstab is appropriate for the new
configuration? It looks as if /var didn't get mounted.

You may need a rescue disk to effect this change.

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Reply to: