Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #161968

Re: Attempt to Move Root

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: Attempt to Move Root
Date 2015-12-21 20:00 +0100
Message-ID <qIdQB-1Js-7@gated-at.bofh.it> (permalink)
References <qHK2e-8f2-13@gated-at.bofh.it> <qI4tY-4fy-35@gated-at.bofh.it> <qI5q2-4Ow-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-20 12:10 +0100
  Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-20 19:20 +0100
    Re: Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-20 22:00 +0100
      Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-20 22:40 +0100
  Re: Attempt to Move Root David Christensen <dpchrist@holgerdanske.com> - 2015-12-21 10:00 +0100
    Re: Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-21 11:00 +0100
      Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-21 16:30 +0100
        Re: Attempt to Move Root Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-21 16:40 +0100
          Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-21 21:40 +0100
        Re: Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-21 16:40 +0100
          Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-21 21:00 +0100
            Re: Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-21 21:50 +0100
              Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-21 22:20 +0100
                Re: Attempt to Move Root David Baron <d_baron@012.net.il> - 2015-12-22 08:50 +0100
            Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-22 17:00 +0100
              Re: Attempt to Move Root John Hasler <jhasler@newsguy.com> - 2015-12-22 18:40 +0100
                Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-22 18:40 +0100
                Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-22 19:50 +0100
                Re: Attempt to Move Root Sven Hartge <sven@svenhartge.de> - 2015-12-22 20:50 +0100
                Re: Attempt to Move Root Brian <ad44@cityscape.co.uk> - 2015-12-22 21:20 +0100
                Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-22 23:10 +0100
                Re: Attempt to Move Root Sven Hartge <sven@svenhartge.de> - 2015-12-22 23:30 +0100
                Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-23 10:40 +0100
                Re: Attempt to Move Root Sven Hartge <sven@svenhartge.de> - 2015-12-24 02:20 +0100
                Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-24 12:20 +0100
                Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-27 14:10 +0100
                Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-27 14:50 +0100
                Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-27 15:20 +0100
                Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-27 15:40 +0100
                Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-27 16:00 +0100
                Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-27 16:20 +0100
                Re: Attempt to Move Root Nicolas George <george@nsup.org> - 2015-12-28 03:50 +0100
                Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-28 03:50 +0100
                Re: Attempt to Move Root Gene Heskett <gheskett@shentel.net> - 2015-12-27 16:10 +0100
                Re: Attempt to Move Root Petter Adsen <petter@synth.no> - 2016-01-01 10:20 +0100
                Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-01-01 11:40 +0100
                Re: Attempt to Move Root Sven Hartge <sven@svenhartge.de> - 2015-12-28 03:50 +0100
                Re: Attempt to Move Root Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-28 03:50 +0100
                Re: Attempt to Move Root Brian <ad44@cityscape.co.uk> - 2015-12-22 23:40 +0100
                Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-25 17:10 +0100
                Re: Attempt to Move Root John Hasler <jhasler@newsguy.com> - 2015-12-22 19:50 +0100
                Re: Attempt to Move Root (SOLVED!!) David Baron <d_baron@012.net.il> - 2015-12-23 10:00 +0100
                Re: Attempt to Move Root (SOLVED!!) Anders Andersson <pipatron@gmail.com> - 2015-12-23 12:50 +0100
                Re: Attempt to Move Root (SOLVED!!) David Baron <d_baron@012.net.il> - 2015-12-23 13:20 +0100
              Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-25 16:40 +0100
                Re: Attempt to Move Root Stephen Powell <zlinuxman@wowway.com> - 2015-12-28 05:00 +0100
      Re: Attempt to Move Root David Christensen <dpchrist@holgerdanske.com> - 2015-12-21 20:00 +0100

csiph-web