Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #240447
| 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 15:00 +0200 |
| Message-ID | <D1YoG-8vP-3@gated-at.bofh.it> (permalink) |
| References | <CYH10-1gf-25@gated-at.bofh.it> <CYOca-5NU-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hello David. As requested . . . .
2021-09-27 13:49:50 root@loki ~
# cat /etc/debian_version ; uname -a
bullseye/sid
Linux loki 5.10.60-sunxi #21.08.2 SMP Tue Sep 14 16:28:44 UTC 2021 armv7l
armv7l armv7l GNU/Linux
2021-09-27 13:50:06 root@loki ~
# egrep 'vendor_id|model name' /proc/cpuinfo | head -n 2
model name : ARMv7 Processor rev 4 (v7l)
model name : ARMv7 Processor rev 4 (v7l)
2021-09-27 13:50:53 root@loki ~
# fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mmcblk0: 29.74 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe069b87e
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 61702143 61693952 29.4G 83 Linux
Disk /dev/zram0: 483.64 MiB, 507117568 bytes, 123808 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/zram1: 50 MiB, 52428800 bytes, 12800 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
On Sat, 18 Sept 2021 at 20:20, David Christensen <dpchrist@holgerdanske.com>
wrote:
> On 9/18/21 4:35 AM, Myron wrote:
> > Never done this one with Linux before. I know that there is less than
> 16Gb
> > of data written to the Class 10 32Gb MicroSD card which is used as the
> > primary system storage on a single board system-on-a-chip computer. What
> > I'm after is getting a 16 Gb Class 10 A1 MicroSD card and clone the
> entire
> > system from the 32Gb card to the 16Gb card.
> >
> > What I'm after is when I start the SOC computer from the replacement 16Gv
> > Class 10 A1 MicroSD card, it will just start like there have been no
> > changes, well, apart from there being 16Gb storage and not slower 32Gb
> > storage.
> >
> > This is relatively easy to do on Windows. No clue how to do this with
> > Linux.
> >
>
>
> Backup your data. I would take a raw binary image of the entire 32 GB
> MicroSD card as well.
>
>
> My guess is that you should resize the contents of the 32 GB MicroSD
> card to fit onto the 16 GB MicroSD card, and then clone.
>
>
> But, the devil is in the details and it would be helpful if we had more
> information...
>
>
> What is the make and model of your "single board system-on-a-chip
> computer" (SBC)? What CPU, memory, or other options does it have? What
> is the technical support URL?
>
>
> Is the SBC connected to a keyboard, mouse, and monitor, to a serial
> console, or to some other console? Can you SSH into it?
>
>
> How did you create a working Debian (?) GNU/Linux instance on the 32 GB
> MicroSD card? If you followed some instructions, what is the URL?
>
>
> On the 32 GB MicroSD card Debian instance, please login as root, run the
> following commands, and reply with the complete console session --
> prompts, commands entered, output obtained:
>
> # /bin/bash -l
>
> # export PS1='\n\D{%Y-%m-%d %H:%M:%S} \u@\h \w\n\$ '
>
> # cat /etc/debian_version ; uname -a
>
> # egrep 'vendor_id|model name' /proc/cpuinfo | head -n 2
>
> # grep MemTotal /proc/meminfo
>
> # fdisk -l
>
>
> David
>
>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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