dslotter / HamPi

HamPi
GNU General Public License v3.0
508 stars 59 forks source link

Hampi V3.3 32 bit will not run #224

Open Harry-1167 opened 1 year ago

Harry-1167 commented 1 year ago

Hi, I have downloaded the image twice and installed on 64gb sd card 3 times all was successful but the program will not run it shows some errors which i can't remember at moment but will open up terminal mode which functions. question is what am i doing wrong all other versions worked ok I also found a short V3.3 program that looks like a checksum how does it work. cheers Harry

rag2 commented 1 year ago

There is a problem with the partition for the rootfs filesystem on the V3.3 image. The filesystem is around 19 GB, but the partition has been set to 120 GB (111.54 GiB). Thus: a) any medium smaller than 128 GB (nominal) will fail to install HamPi b) even after adjustment, the rootfs is not auto-adjusted to fill the available space c) something is clearly amiss at the tail end (or perhaps beginning) of the build process.

There is a fuller description and discussion of this in a short report, which is available at https://groups.io/g/linuxham/files/Note%20on%20HamPi%20V3.3.pdf if you have access to the groups.io linuxham group.

A copy has also been sent directly to Dave Slotter.

filipjonckers commented 1 year ago

Issue confirmed here - RPI 3B+ with brand new 64GB high quality SD card Did not start in graphical mode and after first boot refuses to enable WiFi - giving the dreaded: Wi-Fi is currently blocked by rfkill error Maybe best to remove the image from Sourceforge until fixed. v3.2 is working fine

filipjonckers commented 1 year ago

Linked to #220

Harry-1167 commented 1 year ago

Hi All, I fixed the problem on my raspberry pi 4b 8gb Hampi 3.3 using gparted with the help of Robin G8DQX see below copy of email below hope it helps cheers Harry VK2DWT

Hello Robin, Well i am using ubuntu 23.04 and my hp laptop has a
card reader so placed the 64gb sd in and ran gparted amazing how the
rootfs was 111 gb anyway took a little bit of head scratching as I
have only looked at it once before, so finally figured out how to
apply your suggestions resized and now runs 100% fine thanks so much
i learnt a bit with your help and others too, be interesting to see
what else you came up with wen you get the time thanks again all
cheers Harry 73 vk2dwt

On 6/3/23 10:27, G8DQX wrote:

    Harry,

    I've done some digging, in amongst various other duties. The
    long & the short of it is:

        1. You can successfully install HamPI V3.3 to a 128 GB
        medium (medium = microSD card or USB flash storage device)

        2. Installation to a 32 GB or 64 GB medium requires a *hack*
        to make it work

        3. That hack works on a Linux box, such as your Raspberry
        Pi, if one has a *USB card reader*

            a) boot up the Pi with standard Pi OS (minimal desktop)
            (16 GB is more than enough medium)

            b) install *GParted*

            c) connect the USB card reader, and insert the HamPi
            card in it

            d) bring up GParted

            e) every time it complains about excess size, click the
            *Ignore* box. [Do *not* select cancel!] This will happen
            quite frequently at various later stages of this procedure

            f) select the HamPi medium (*probably /dev/sdb*), locate
            the *rootfs* partition. Note that the size of the
            partition is somewhat greater than the size of the
            medium in use. This is not good, and is the direct
            source of the failure to boot

            g) make sure that the partition is not shown as mounted.
            Then *shrink* the rootfs partition to the smallest size
            (that smallest size will be indicated in the dialog box)

            h) and now *expand *the rootfs partition to the largest
            size (GParted will set that largest size to that which
            the card correctly allows)

            i) one should now, with a following wind, have a
            bootable HamPi medium, using all available storage!

    There is more, which I hope to put out on Saturday (my time, not
    yours, and no guarantees.)

    73, Stay Safe,

    Robin, G8DQX

On 7/26/23 23:48, Filip Jonckers wrote:

Linked to #220 https://github.com/dslotter/HamPi/issues/220

— Reply to this email directly, view it on GitHub https://github.com/dslotter/HamPi/issues/224#issuecomment-1651848539, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARGGGCQ4FHFACSS5O63N4YTXSEN4XANCNFSM6AAAAAAXT3JUN4. You are receiving this because you authored the thread.Message ID: @.***>

--------------sXlyvAV3WecRaKaRN8sXVeT2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi All, I fixed the problem on my raspberry pi 4b 8gb Hampi 3.3 using gparted with the help of Robin G8DQX see below copy of email below hope it helps cheers Harry VK2DWT

Hello Robin, Well i am using ubuntu 23.04 and my hp laptop has a card reader so placed the 64gb sd in and ran gparted amazing how the rootfs was 111 gb anyway took a little bit of head scratching as I have only looked at it once before, so finally figured out how to apply your suggestions resized and now runs 100% fine thanks so much i learnt a bit with your help and others too, be interesting to see what else you came up with wen you get the time thanks again all cheers Harry 73 vk2dwt

On 6/3/23 10:27, G8DQX wrote:

Harry,

I've done some digging, in amongst various other duties. The long & the short of it is:

1. You can successfully install HamPI V3.3 to a 128 GB medium (medium = microSD card or USB flash storage device)

2. Installation to a 32 GB or 64 GB medium requires a hack to make it work

3. That hack works on a Linux box, such as your Raspberry Pi, if one has a USB card reader

a) boot up the Pi with standard Pi OS (minimal desktop) (16 GB is more than enough medium)

b) install GParted

c) connect the USB card reader, and insert the HamPi card in it

d) bring up GParted

e) every time it complains about excess size, click the Ignore box. [Do not select cancel!] This will happen quite frequently at various later stages of this procedure

f) select the HamPi medium (probably /dev/sdb), locate the rootfs partition. Note that the size of the partition is somewhat greater than the size of the medium in use. This is not good, and is the direct source of the failure to boot

g) make sure that the partition is not shown as mounted. Then shrink the rootfs partition to the smallest size (that smallest size will be indicated in the dialog box)

h) and now expand the rootfs partition to the largest size (GParted will set that largest size to that which the card correctly allows)

i) one should now, with a following wind, have a bootable HamPi medium, using all available storage!

There is more, which I hope to put out on Saturday (my time, not yours, and no guarantees.)

73, Stay Safe,

Robin, G8DQX


On 7/26/23 23:48, Filip Jonckers wrote:

Linked to #220


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: <dslotter/HamPi/issues/224/1651848539@github.com>

--------------sXlyvAV3WecRaKaRN8sXVeT2--

recycled-again commented 8 months ago

Thank you Harry-1167 for supplying the solution to this frustrating problem. I am surprised, however, that this problem has not been addressed yet or not even flagged on the download page - I can't imagine that many people have used 128GB SD cards!