Device memory full on multi-boot SD card - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +--- Thread: Device memory full on multi-boot SD card (/showthread.php?tid=16637) |
Device memory full on multi-boot SD card - Peter Gamma - 05-11-2022 I tried to install Waydroid on PostmarketOS on the multi-boot SD card, but I get the error message "device memory full" . Is there a way to enlarge the memory of the PostmarketOS partition? RE: Device memory full on multi-boot SD card - Peter Gamma - 05-14-2022 Found the answer here : https://xnux.eu/log/#toc-resizing-the-partition-after-flashing-the-image RE: Device memory full on multi-boot SD card - Eugo - 08-27-2022 (05-14-2022, 09:26 AM)Peter Gamma Wrote: Found the answer here : It's a bit confusing there... it says „you can do this on your PC“ but then instead of /dev/sdh or some such, it's /dev/mmcblk0 as it is on the phone, not on PC. I remember I did it once, on my first, 16G µSD card, but I don't remember where was I at the time - on the PC (just substituting device names), or on the phone - but then in which distro? I've flashed Megi's distro to the new 32G µSD card and it works, but the trouble is exactly in resizing afterwards, because I didn't remember this method (now that I re-read what you linked, yup, that's it, did that on the PC) so I went the parted way, as described on P64 wiki, but keep getting the „no superblock found / magic number doesn't match“ or something to that effect, in serbian, when I try to resize2fs, and then each OS just shows it's boot image but nothing boots, perhaps just Jumpdrive. So thanks for finding it again for me... Maybe this time I'll be done before lunch. Back to the flasher... RE: Device memory full on multi-boot SD card - Eugo - 08-27-2022 Except I'm getting a different runaround this time. After flashing, I discovered that it was automounted by DoubleCommander, so okay I turned it off, flashed again, resized partition and then needed to mount it to resize the filesystem. This is where it gets weird. When I issue sudo df, it finde it as /dev/sdk2. Then blkid finds it as /dev/sdh2. Any attempt to mount fails. If I try to set up a mount point from the disks app (Mint 20.3), it gives me various kinds of errors, depending on options I choose, but it's either that the mount point doesn't exist or that there's already a file with such a name. I've already learned that trying out a SD with resized partition but not resized filesystem won't work... so... now what. Will try resize2fs, just for kicks... and it still reports „bad magic number in superblock“. So, guys... what am I doing wrong? RE: Device memory full on multi-boot SD card - Eugo - 08-27-2022 Okay, just not to leave this unresolved: I did almost everything right, just did it in the wrong place. The correct procedure to https://xnux.eu/log/#toc-resizing-the-partition-after-flashing-the-image... the first two paragraphs should read like this: Quote:To get more free space when using the multi-image, you can resize it to the full size of your SD card. You can do this from a PC using a SD card reader, but if you run into trouble, use the option (first on top when u-boot meny comes up) to boot from the eMMC. There (at least in Manjaro it is proven to work) open a terminal and do as follows. So. And tomorrow to apply whatever it says at https://forum.pine64.org/showthread.php?tid=17205... half of which I probably don't need, but now that I have 20G to spare, it'll be fun to try out things. |