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


Groups > linux.debian.user > #240444

Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card to a 16Gb Class 10 A1 MicroSD card?

From Myron <myron@co-hop.uk>
Newsgroups linux.debian.user
Subject Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card to a 16Gb Class 10 A1 MicroSD card?
Date 2021-09-27 14:40 +0200
Message-ID <D1Y5j-8p4-3@gated-at.bofh.it> (permalink)
References <CYH10-1gf-25@gated-at.bofh.it> <CYHaF-1lW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

This is on a Lemaker BananaPro SoC board running on Armbian. There is one
partition on it and it's EXT4 that takes up the entire 32Gb MicroSD card.
Not NTFS.  There are some more replies on this thread I need to read after
I send this, but this SoC card boots off this MicroSD card and the entire
root filesystem is on it.  The MicroSD card is the boot and system drive.

On Sat, 18 Sept 2021 at 12:53, Reco <recoverym4n@enotuniq.net> wrote:

>         Hi.
>
> On Sat, Sep 18, 2021 at 12:35:13PM +0100, Myron wrote:
> > This is relatively easy to do on Windows.
>
> This is true only if you're using that sad excuse for a filesystem
> called NTFS.
>
> > No clue how to do this with Linux.
>
> 1) Plug-in source card, use dump(8) to backup the contents of its
> filesystem.
> 2) Plug-in target card, create appropriate partition(s) on it.
> 3) Make the needed amount of filesystems on a target SD card.
> For ext4 you'll want to use -U option of mkfs to clone filesystem UUIDs
> (i.e. UUID on the target card must be the same compared to the source
> one).
> 4) Use restore(8) to recreate filesystem(s) contents on a target card.
> 5) Unmount filesystems made on a target card.
>
> Reco
>
>

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


Thread

How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card to a  16Gb Class 10 A1 MicroSD card? Myron <myron@co-hop.uk> - 2021-09-18 13:50 +0200
  Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Reco <recoverym4n@enotuniq.net> - 2021-09-18 14:00 +0200
    Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? The Wanderer <wanderer@fastmail.fm> - 2021-09-18 14:10 +0200
      Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Reco <recoverym4n@enotuniq.net> - 2021-09-18 14:40 +0200
        Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? The Wanderer <wanderer@fastmail.fm> - 2021-09-18 14:50 +0200
          Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Reco <recoverym4n@enotuniq.net> - 2021-09-18 15:00 +0200
      Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Myron <myron@co-hop.uk> - 2021-09-27 14:50 +0200
    Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Myron <myron@co-hop.uk> - 2021-09-27 14:40 +0200
      Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Reco <recoverym4n@enotuniq.net> - 2021-09-27 16:40 +0200
        Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Myron <myron@co-hop.uk> - 2021-09-30 17:40 +0200
          Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Reco <recoverym4n@enotuniq.net> - 2021-09-30 21:10 +0200
            Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? "Andrew M.A. Cater" <amacater@einval.com> - 2021-09-30 21:50 +0200
            Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-10-01 08:30 +0200
              Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-10-02 14:10 +0200
          Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-10-02 08:20 +0200
  Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? "Andrew M.A. Cater" <amacater@einval.com> - 2021-09-18 15:40 +0200
  Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? David Christensen <dpchrist@holgerdanske.com> - 2021-09-18 21:30 +0200
    Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Myron <myron@co-hop.uk> - 2021-09-27 15:00 +0200
    Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Myron <myron@co-hop.uk> - 2021-09-27 21:30 +0200
  Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-09-19 07:00 +0200
    Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card  to a 16Gb Class 10 A1 MicroSD card? Myron <myron@co-hop.uk> - 2021-09-27 15:00 +0200

csiph-web