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


Groups > linux.debian.user > #205653

Re: Swapping Drives - Sanity Check

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Swapping Drives - Sanity Check
Date 2019-02-22 16:10 +0100
Message-ID <xukCC-4gZ-7@gated-at.bofh.it> (permalink)
References <xuiU9-3dG-1@gated-at.bofh.it> <xujQe-3LO-13@gated-at.bofh.it> <xujZU-3OR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 22 Feb 2019 at 09:19:53 (-0500), Stephen P. Molnar wrote:
> On 02/22/2019 09:13 AM, Dan Ritter wrote:
> > Stephen P. Molnar wrote:
> > > My Debian Stretch system has three HD's. I want to remove one of the HD's
> > > (not sda) and replace it with a new HD..
> > > What I need to be sure of is, if I remove the old drive from the fstab and
> > > delete the mount point will the system boot after I put in the new HD. so
> > > that I can edit the fstab and create a mount point for the new drive?
> > > Hence, the request for the sanity check.
> > > 
> > The system needs the following to boot:
> > - the BIOS or UEFI needs to know which drive has a boot loader.
> > - that drive needs a boot loader (usually grub)
> > - the boot loader needs to know where to load the kernel and
> >    possibly an init filesystem from
> > - the kernel needs to be able to mount /, the root partition.
> > 
> > Typically, all of those things will be on one drive, and that's
> > usually /dev/sda. However, it's possibly to change all of them.
> > 
> > You're probably safe. If you want to be sure, run a test:
> > - shutdown to power off
> > - unplug power from the drive you're going to replace
> > - try to boot
> > 
> > If that succeeds, shut down again and go ahead with the
> > replacement. If it fails, you need to trace the boot process
> > above and find out what's on the drive you're replacing,
> > and arrange for that to be changed or copied.
> > 
> Thanks for the reply.
> 
> The OS is on dev/sda.  The disk I changing is /dev/sdc

I think we're assuming that you have something better than
/dev/sdaX in your /etc/fstab, UUIDs or LABELs. With modern
PCs, you can be surprised by how these device names are
assigned.

Cheers,
David.

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


Thread

Swapping Drives - Sanity Check "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-02-22 14:20 +0100
  Re: Swapping Drives - Sanity Check songbird <songbird@anthive.com> - 2019-02-22 15:20 +0100
    Re: Swapping Drives - Sanity Check David Christensen <dpchrist@holgerdanske.com> - 2019-02-23 09:00 +0100
      Re: Swapping Drives - Sanity Check songbird <songbird@anthive.com> - 2019-02-23 13:10 +0100
        Re: Swapping Drives - Sanity Check Michael Stone <mstone@debian.org> - 2019-02-23 17:20 +0100
          Re: Swapping Drives - Sanity Check Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-23 19:00 +0100
            Re: Swapping Drives - Sanity Check Michael Stone <mstone@debian.org> - 2019-02-23 20:20 +0100
              Re: Swapping Drives - Sanity Check Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-23 23:00 +0100
              Re: Swapping Drives - Sanity Check Felix Miata <mrmazda@earthlink.net> - 2019-02-23 23:40 +0100
                Re: Swapping Drives - Sanity Check Michael Stone <mstone@debian.org> - 2019-02-24 16:50 +0100
                Re: Swapping Drives - Sanity Check Felix Miata <mrmazda@earthlink.net> - 2019-02-24 18:40 +0100
      Re: Swapping Drives - Sanity Check Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-23 14:00 +0100
        Re: Swapping Drives - Sanity Check rhkramer@gmail.com - 2019-02-23 15:50 +0100
          Re: Swapping Drives - Sanity Check Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-23 17:00 +0100
            Re: Swapping Drives - Sanity Check rhkramer@gmail.com - 2019-02-23 17:30 +0100
              Re: Swapping Drives - Sanity Check <tomas@tuxteam.de> - 2019-02-23 18:10 +0100
                Re: Swapping Drives - Sanity Check mick crane <mick.crane@gmail.com> - 2019-02-23 22:00 +0100
                Re: Swapping Drives - Sanity Check <tomas@tuxteam.de> - 2019-02-23 22:10 +0100
              Re: Swapping Drives - Sanity Check Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-23 19:10 +0100
          Re: Swapping Drives - Sanity Check <tomas@tuxteam.de> - 2019-02-23 17:00 +0100
            Re: Swapping Drives - Sanity Check rhkramer@gmail.com - 2019-02-23 17:20 +0100
          Re: Swapping Drives - Sanity Check <tomas@tuxteam.de> - 2019-02-23 17:20 +0100
          Re: Swapping Drives - Sanity Check Michael Stone <mstone@debian.org> - 2019-02-23 17:20 +0100
          Re: Swapping Drives - Sanity Check John Hasler <jhasler@newsguy.com> - 2019-02-23 18:00 +0100
        Re: Swapping Drives - Sanity Check David Christensen <dpchrist@holgerdanske.com> - 2019-02-23 23:20 +0100
          Re: Swapping Drives - Sanity Check Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-23 23:40 +0100
  Re: Swapping Drives - Sanity Check Dan Ritter <dsr@randomstring.org> - 2019-02-22 15:20 +0100
    Re: Swapping Drives - Sanity Check "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-02-22 15:30 +0100
      Re: Swapping Drives - Sanity Check David Wright <deblis@lionunicorn.co.uk> - 2019-02-22 16:10 +0100
        Re: Swapping Drives - Sanity Check "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-02-22 17:40 +0100
          Re: Swapping Drives - Sanity Check Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-22 20:20 +0100
          Re: Swapping Drives - Sanity Check Michael Stone <mstone@debian.org> - 2019-02-22 20:30 +0100
            Re: Swapping Drives - Sanity Check David Wright <deblis@lionunicorn.co.uk> - 2019-02-23 03:00 +0100
              Re: Swapping Drives - Sanity Check Jimmy Johnson <field.engineer@gmail.com> - 2019-02-23 09:00 +0100
                Re: Swapping Drives - Sanity Check Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-23 09:40 +0100
          Re: Swapping Drives - Sanity Check Felix Miata <mrmazda@earthlink.net> - 2019-02-22 23:40 +0100

csiph-web