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


Groups > alt.os.linux > #75572

Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)?

From Paul <nospam@needed.invalid>
Newsgroups alt.os.debian, alt.os.linux, alt.os.linux.debian, alt.linux, alt.uu.comp.os.linux.questions
Subject Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)?
Date 2022-05-20 02:03 -0400
Organization A noiseless patient Spider
Message-ID <t67auo$613$1@dont-email.me> (permalink)
References <SL-dnZNbAZEsxxv_nZ2dnUU7-RvNnZ2d@earthlink.com>

Cross-posted to 5 groups.

Show all headers | View raw


On 5/19/2022 10:56 AM, Ant wrote:
> Hello.
> 
> What's the best and easy way to copy/move my old slow 320 GB SATA HDD's
> updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe
> it clean)? Yes, SSD is smaller but my Debian's installation only uses
> about 8 GB. I installed Debian use the whole 320 GB drive. I will still
> be using the same 13 yrs. old PC.
> 
> Thank you for reading and hopefully answering soon. :)
> 

The presumption would be, that the real amount of data, fits on a
120GB SSD.

It sounds like it does.

You can use GParted, to shrink and move partitions on the 320GB drive.

Since this is risky, a backup of the drive should be made first.

You want the overall layout, to be a slight bit smaller than 115GB.
You can make it smaller than that if you like.

Once it's smaller than that, you can clone it with Macrium.
A Macrium Rescue CD can do the final step (clones EXT and swap).

*******

If you accepted some "defaults" during installation, you may
be the recipient of an Extended with a Logical partition for
slash in it.

To shrink that, you shrink the Logical first. That would be /dev/sda5 .

The envelope it lives in, is /dev/sda2, and you shrink the envelope
last. Once the envelope is small enough, it should no longer
extend past 115GB. And then you're ready for a clone.

The Macrium Rescue CD should handle

    MBR
    Primary and secondary GPT partition tables (if present)
    Boot track
    Partitions

I simulated the whole thing here, using the Mint on my laptop
as a source of an image. I put it in a VM and simulated the
whole thing. And the resultant "small disk" booted just fine.
I did not do any BLKID checks, but the BLKIDs must be the
same, since Macrium does not edit anyones /etc/fstab for them :-)
This means you don't run the 320GB and the 120GB drives
at the same time, after the clone is done. You would need to
change BLKIDs and /etc/fstab, as a separate venture, if you
want to do a thorough job.

The objective of doing it this way, is I did not want to
know anything about the files in the partitions. I just
wanted a recipe that would work at the partition level.

    Paul

Back to alt.os.linux | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? ant@zimage.comANT (Ant) - 2022-05-19 09:56 -0500
  Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? ant@zimage.comANT (Ant) - 2022-05-19 14:16 -0500
    Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Kirk_Rockstein <Kirk_Rockstein@nowhere.invalid> - 2022-05-19 22:27 +0000
    Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? bad sector <forgetski@postit_INVALID_.gov> - 2022-05-21 09:51 -0400
      Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Dustin Crook <frelwizzen@gmail.com> - 2022-05-21 09:48 -0700
    Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? ant@zimage.comANT (Ant) - 2022-05-21 14:24 -0500
      Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Bit Twister <BitTwister@mouse-potato.com> - 2022-05-21 18:40 -0500
      Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2022-05-21 19:52 -0400
        Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? ant@zimage.comANT (Ant) - 2022-05-22 19:45 -0500
          Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Bit Twister <BitTwister@mouse-potato.com> - 2022-05-22 20:57 -0500
            Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? William Unruh <unruh@invalid.ca> - 2022-05-23 15:44 +0000
              Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Smit Michael Glaser <frelwizzen@gmail.com> - 2022-05-23 09:17 -0700
              Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Bit Twister <BitTwister@mouse-potato.com> - 2022-05-23 13:43 -0500
                Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Ann Glaser <frelwizzen@gmail.com> - 2022-05-24 00:26 -0700
              Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Dustin Cook <frelwizzen@gmail.com> - 2022-05-23 23:54 -0700
          Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2022-05-22 23:27 -0400
            Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Bit Twister <BitTwister@mouse-potato.com> - 2022-05-22 23:02 -0500
              Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? William Unruh <unruh@invalid.ca> - 2022-05-23 15:55 +0000
            Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Smit Michael Glaser <frelwizzen@gmail.com> - 2022-05-23 02:34 -0700
              Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Steve Carroll <frelwizzen@gmail.com> - 2022-05-23 10:36 -0700
    Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? ant@zimage.comANT (Ant) - 2022-05-22 20:06 -0500
  Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? "J.O. Aho" <user@example.net> - 2022-05-19 21:50 +0200
    Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Bit Twister <BitTwister@mouse-potato.com> - 2022-05-19 15:00 -0500
      Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? "J.O. Aho" <user@example.net> - 2022-05-20 08:02 +0200
  Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-05-19 20:03 +0000
    Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? "J.O. Aho" <user@example.net> - 2022-05-20 08:10 +0200
      Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Steve Carroll - frelwizzer <frelwizzen@gmail.com> - 2022-05-20 05:37 -0700
      Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Steve <frelwizzen@gmail.com> - 2022-05-21 05:16 -0700
    Syslinux (was: what's the best and easy way to copy/move ...) Ivan Shmakov <ivan@siamics.netREMOVE.invalid> - 2022-06-24 10:30 +0000
      Re: Syslinux Computer Nerd Kev <not@telling.you.invalid> - 2022-07-11 18:12 +1000
  Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Paul <nospam@needed.invalid> - 2022-05-20 02:03 -0400
    Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Stephen Carrolll 8768 <frelwizzen@gmail.com> - 2022-05-20 06:57 -0700
      Re: What's the best and easy way to copy/move my old slow 320 GB SATA HDD's updated Debian bullseye v11.3 to an old fast 115 GB SSD (going to wipe it clean)? Steven Carroll <frelwizzen@gmail.com> - 2022-05-20 14:56 -0700

csiph-web