Monday, January 10, 2022

[fedora-arm] Re: Moving headless install from 2GB rpi4 to 4GB rpi4

(parted) p free
Model: Generic Mass-Storage (scsi)
Disk /dev/sdf: 31.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
       1024B   1049kB  1048kB           Free Space
1      1049kB  630MB   629MB   primary  fat32        boot
2      630MB   1704MB  1074MB  primary  ext4
3      1704MB  8514MB  6811MB  primary  ext4
       8514MB  31.9GB  23.4GB           Free Space


On 09/01/2022 16:44, Dennis Gilmore wrote:
> Subject:
> Re: [fedora-arm] Re: Moving headless install from 2GB rpi4 to 4GB rpi4
> From:
> Dennis Gilmore <dennis@ausil.us>
> Date:
> 09/01/2022, 16:44
>
> To:
> David Legg <dwlegg@gmail.com>
>
>
> I would then use parted to check that if it thinks the disk is valid.
> In cases like this, I always copy the whole disk.
>
> Dennis
>
> On Sun, Jan 9, 2022 at 8:07 AM David Legg<dwlegg@gmail.com> wrote:
>> The count is to avoid copying the whole card. I use 9000 going both ways so that it can't go wrong, i.e. get chopped
>> Good thought, though. Thanks.
>>
>> On Sun, 9 Jan 2022, 13:35 Dennis Gilmore,<dennis@ausil.us> wrote:
>>> Adding count probably cut the image short, it is not necessary, I generally always us bs=4MiB
>>>
>>> Dennis
>>>
>>> On Sun, Jan 9, 2022, 03:54 David W. Legg<dwlegg@gmail.com> wrote:
>>>> Well, I copied the card from the 2GB rpi4 using:
>>>>
>>>> dd if=/dev/sdf of=card.img bs=1M count=9000 status=progress
>>>>
>>>> and wrote another card using the reverse command:
>>>>
>>>> dd if=card.img of=/dev/sdf bs=1M count=9000 status=progress
>>>>
>>>> So, I expected it just to*work* when I put the card into a brand new
>>>> 4GB rpi4.
>>>>
>>>> Alas, all I get is the steady red LED and a handful of flashes from the
>>>> yellow ACT LED. The 2 Ethernet LEDs come on steadily too.
>>>>
>>>> That's why I was asking whether you experts would know about going from
>>>> a 2GB to 4GB machine would normally just*work* or not.
>>>>
>>>> Thanks in advance for any insights.
>>>>
>>>> :D
>>>>
>>>> On 08/01/2022 21:59, Nathan Giovannini wrote:
>>>>> Subject:
>>>>> Re: [fedora-arm] Re: Moving headless install from 2GB rpi4 to 4GB rpi4
>>>>> From:
>>>>> Nathan Giovannini<nathan95@live.it>
>>>>> Date:
>>>>> 08/01/2022, 21:59
>>>>>
>>>>> To:
>>>>> Peter Robinson<pbrobinson@gmail.com>
>>>>> CC:
>>>>> "dwlegg@gmail.com" <dwlegg@gmail.com>,"arm@lists.fedoraproject.org"
>>>>> <arm@lists.fedoraproject.org>
>>>>>
>>>>>
>>>>> Could you provide more details....
>>>>>
>>>>> This will make it easier to help you.
>>>>>
>>>>>> Il giorno 8 gen 2022, alle ore 21:14, Peter Robinson<pbrobinson@gmail.com> ha scritto:
>>>>>>
>>>>>> On Sat, Jan 8, 2022 at 8:09 PM David W. Legg<dwlegg@gmail.com> wrote:
>>>>>>> Just wondering why my attempt to move a working headless Fedora 34 build
>>>>>>> from a 2 GB rpi4 to a 4 GB rpi4 fails even to boot. In fact, it never
>>>>>>> even puts out the steady red LED. I copied the micro SD card (from the 2
>>>>>>> GB pi) directly over USB and wrote the build to another SD card using dd
>>>>>>> using a set of commands that has always been reliable in the past.
>>>>>>>
>>>>>>> Any thoughts, please?
>>>>>> Why not just physically move the SD card from one to the other?
>>>>>>
>>>>>> It's ultimately hard to know why without including the commands you
>>>>>> used as what you describe is a fairly high level overview.
>>>>>> _______________________________________________
>>>>>> arm mailing list --arm@lists.fedoraproject.org
>>>>>> To unsubscribe send an emailtoarm-leave@lists.fedoraproject.org
>>>>>> Fedora Code of Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>>>>>> List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
>>>>>> List Archives:https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
>>>>>> Do not reply to spam on the list, report it:https://pagure.io/fedora-infrastructure
>>>> _______________________________________________
>>>> arm mailing list --arm@lists.fedoraproject.org
>>>> To unsubscribe send an email toarm-leave@lists.fedoraproject.org
>>>> Fedora Code of Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>>>> List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
>>>> List Archives:https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
>>>> Do not reply to spam on the list, report it:https://pagure.io/fedora-infrastructure
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

No comments:

Post a Comment