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

2021-10-02 Thread Andrei POPESCU
On Vi, 01 oct 21, 09:23:52, Andrei POPESCU wrote: > On Jo, 30 sep 21, 21:51:20, Reco wrote: > > > > On Thu, Sep 30, 2021 at 04:26:18PM +0100, Myron wrote: > > > > > Does it mean that if I remove the partition and then re-create the > > > partition from the same starting block as the old

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

2021-10-02 Thread Andrei POPESCU
On Jo, 30 sep 21, 16:26:18, Myron wrote: > > I know. It's not advisable to resize a live root partition. Maybe create a > live boot Linux CD or USB with Gparted on it and do it that way? It would > be a lot simpler if I can just resize the file system, which seems to be > the simple part using

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

2021-10-01 Thread Andrei POPESCU
On Jo, 30 sep 21, 21:51:20, Reco wrote: > > On Thu, Sep 30, 2021 at 04:26:18PM +0100, Myron wrote: > > > Does it mean that if I remove the partition and then re-create the > > partition from the same starting block as the old partition, that the data > > on the MicroSD card will not actually be

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

2021-09-30 Thread Andrew M.A. Cater
On Thu, Sep 30, 2021 at 09:51:20PM +0300, Reco wrote: > Hi. > > On Thu, Sep 30, 2021 at 04:26:18PM +0100, Myron wrote: > > Armbian's website was not clear which one was "Debian" and which > > one was "Ubuntu". > > Well, Armbian is a separate distribution which is not Debian and not >

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

2021-09-30 Thread Reco
Hi. On Thu, Sep 30, 2021 at 04:26:18PM +0100, Myron wrote: > Armbian's website was not clear which one was "Debian" and which > one was "Ubuntu". Well, Armbian is a separate distribution which is not Debian and not Ubuntu. Whichever distribution they choose to "base" their userland

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

2021-09-30 Thread Myron
Rico, I now realise I started with Ubuntu thinking that Focal was another release od Debian and now gone doen the route of getting that Linux distro operating nicely for me and really don't want to change things over to Buster. Armbian's website was not clear which one was "Debian" and which one

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

2021-09-27 Thread Myron
Oops. I didn't fully answer all the questions, On Sat, 18 Sept 2021 at 20:20, David Christensen 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

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

2021-09-27 Thread Reco
Hi. Please do not top-post. On Mon, Sep 27, 2021 at 01:36:59PM +0100, Myron wrote: > This is on a Lemaker BananaPro SoC board running on Armbian. I.e. - not Debian, but Debian derivative. In this particular case it actually matters. > There is one partition on it and it's EXT4 that

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

2021-09-27 Thread Myron
Hello Andei. As requested. What I've got running Armbian Linux on is . . . https://linux-sunxi.org/LeMaker_Banana_Pro 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

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

2021-09-27 Thread Myron
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 |

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

2021-09-27 Thread Myron
It's Armbian Focal on a Lemaker BananaPro AllWinner ARM A20 SoC device. Boots off the card and is also the root filesystem. No other physical storage is attached to. On Sat, 18 Sept 2021 at 13:02, The Wanderer wrote: > On 2021-09-18 at 07:53, Reco wrote: > > > Hi. > > > > On Sat, Sep 18,

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

2021-09-27 Thread Myron
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

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

2021-09-18 Thread Andrei POPESCU
On Sb, 18 sep 21, 12:35:13, 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

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

2021-09-18 Thread David Christensen
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

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

2021-09-18 Thread Andrew M.A. Cater
On Sat, Sep 18, 2021 at 12:35:13PM +0100, 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

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

2021-09-18 Thread Reco
On Sat, Sep 18, 2021 at 08:39:41AM -0400, The Wanderer wrote: > I'm used to seeing ISOLINUX for bootable CDs, and something (I've never > been sure what) for bootable USB drives, but have/had never learned what > was/is used for bootability on SD cards. It's simple. First, you look at the

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

2021-09-18 Thread The Wanderer
On 2021-09-18 at 08:34, Reco wrote: > On Sat, Sep 18, 2021 at 08:01:34AM -0400, The Wanderer wrote: > >> On 2021-09-18 at 07:53, Reco wrote: >>> 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.

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

2021-09-18 Thread Reco
On Sat, Sep 18, 2021 at 08:01:34AM -0400, The Wanderer wrote: > On 2021-09-18 at 07:53, Reco wrote: > >> 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.

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

2021-09-18 Thread The Wanderer
On 2021-09-18 at 07:53, Reco 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

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

2021-09-18 Thread Reco
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

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

2021-09-18 Thread Myron
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