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

Re: Attempt to Move Root



On 12/21/2015 01:50 AM, David Baron wrote:
On Monday 21 December 2015 00:50:43 David Christensen wrote:
On 12/20/2015 03:36 AM, David Baron wrote:
my goal is to remove and older 80gig IDE disk from the system
Debian version?
Sid

What drive is root on?  How is the drive partitioned?  RAID?  LVM?
LUKS? Other?  What is the file system type?   How big?
Currently on partition of old IDE drive. Nothing  else remaining on
this drive. Partition is 10gig

Where do you want to move root?
To an available partition of similar size on the first SATA drive.

What else is on the same drive as root?  Boot?  Swap?  Do you want
to move these?  Where?
These are currently on first and second SATA drives, all set up and
working.

On 12/21/2015 07:36 AM, David Baron wrote:
The boot is not a separate partition but is a directory on the root
so travels with it. Copy on both old and new directories.

So, what do I do next?

You information regarding /boot is unclear. I will assume /boot and root are on the same file system in the same partition of the 80 GB IDE.


I would:

1.  Backup everything on the source and destination drives.

2.  Move everything off the destination drive.

3. Run the factory diagnostics on the destination drive to verify it is good.

4.  Wipe the destination drive.

5. dd the contents of the source drive from sector 0 through the last sector of the partition containing root to the destination drive.

6. Alternative to #5, or if #5 doesn't produce good results, do a fresh install on the destination drive and restore/ configure.


David


Reply to: