geev03
Posts: 261
Joined: Thu Jun 07, 2012 12:40 pm
Location: London, UK

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Tue Oct 27, 2020 12:58 pm

m][sko wrote:
Tue Oct 27, 2020 12:19 pm

Any progress with ubuntu 20.10 based image?
Ubuntu 20.10 server on a ESXi Bare Metal Hypervisor on rPi4/8 can be modified to Desktop version of choice. Mine is now Ubuntu MATE (as shown in the attached screenshot)
Attachments
ESXi_ubuntu_2010.jpg
ESXi_ubuntu_2010.jpg (149 KiB) Viewed 3048 times

Spencer.chen7
Posts: 2
Joined: Thu Aug 27, 2020 4:10 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Wed Oct 28, 2020 5:14 pm

loboris wrote:
Fri Oct 23, 2020 1:12 pm
thatchunkylad198966 wrote:
Fri Oct 23, 2020 11:07 am
Will you be updating to 20.10? I'm curious! :D :mrgreen:
m][sko wrote:
Thu Oct 22, 2020 7:01 pm
Can you plz also build ubuntu 20.10 images
thx
Yes, next week, I'm testing it now...
Looking forward to version 20.10

thatchunkylad198966
Posts: 576
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Thu Oct 29, 2020 10:08 pm

Thanks for 5.9.2!
Just saw it and upgraded.
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

thatchunkylad198966
Posts: 576
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Oct 31, 2020 8:53 pm

Image

:mrgreen: :mrgreen: :mrgreen: :mrgreen:
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

thatchunkylad198966
Posts: 576
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Tue Nov 03, 2020 2:11 pm

Any update on 20.10?? :mrgreen:
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

John600
Posts: 8
Joined: Mon Jul 20, 2020 6:28 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sun Nov 08, 2020 2:24 am

Anyone is using docker with this distribution? I've tried to install and got error:

Code: Select all

pi@RaspberryPi:~$ sudo apt-get install apt-transport-https ca-certificates software-properties-common -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ca-certificates is already the newest version (20201027ubuntu0.20.04.1).
ca-certificates set to manually installed.
apt-transport-https is already the newest version (2.0.2ubuntu0.1).
The following package was automatically installed and is no longer required:
  libegl1-mesa
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  python3-software-properties software-properties-common software-properties-gtk
3 upgraded, 0 newly installed, 0 to remove and 252 not upgraded.
Need to get 99.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-security/main armhf software-properties-common all 0.98.9.2 [10.6 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-security/main armhf software-properties-gtk all 0.98.9.2 [64.0 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-security/main armhf python3-software-properties all 0.98.9.2 [25.2 kB]
Fetched 99.8 kB in 1s (108 kB/s)                      
apt-listchanges: Reading changelogs...
(Reading database ... 179896 files and directories currently installed.)
Preparing to unpack .../software-properties-common_0.98.9.2_all.deb ...
Unpacking software-properties-common (0.98.9.2) over (0.98.9.1) ...
Preparing to unpack .../software-properties-gtk_0.98.9.2_all.deb ...
Unpacking software-properties-gtk (0.98.9.2) over (0.98.9.1) ...
Preparing to unpack .../python3-software-properties_0.98.9.2_all.deb ...
Unpacking python3-software-properties (0.98.9.2) over (0.98.9.1) ...
Setting up python3-software-properties (0.98.9.2) ...
Setting up software-properties-common (0.98.9.2) ...
Setting up software-properties-gtk (0.98.9.2) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:armhf (2.64.3-1~ubuntu20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...
pi@RaspberryPi:~$ 
pi@RaspberryPi:~$ 
pi@RaspberryPi:~$ 
pi@RaspberryPi:~$ 
pi@RaspberryPi:~$ sudo curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
# Executing docker install script, commit: 26ff363bcf3b3f5a00498ac43694bf1c7d9ce16c
+ sudo -E sh -c apt-get update -qq >/dev/null
+ sudo -E sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sudo -E sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sudo -E sh -c echo "deb [arch=armhf] https://download.docker.com/linux/ubuntu focal stable" > /etc/apt/sources.list.d/docker.list
+ sudo -E sh -c apt-get update -qq >/dev/null
+ [ -n  ]
+ sudo -E sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
E: Package 'docker-ce' has no installation candidate
pi@RaspberryPi:~$

John600
Posts: 8
Joined: Mon Jul 20, 2020 6:28 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sun Nov 08, 2020 4:43 am

Never mind, even official guide didn't work but this worked: https://linuxconfig.org/how-to-install- ... ocal-fossa

Code: Select all

pi@RaspberryPi:~$ docker run hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (arm32v7)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

pi@RaspberryPi:~$ 
Last edited by John600 on Mon Nov 09, 2020 12:14 am, edited 1 time in total.

lcleve
Posts: 4
Joined: Sun Oct 25, 2020 4:11 am

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sun Nov 08, 2020 10:03 pm

I attempted to install your image according to your instructions on a Raspberry Pi 4B, 8 GB.. I updated the firmware using the image on the link given. Afterwards, when I booted the pi without microSDcard or SSD, the screen message showed bootloader: 45291ce6 Jul 16, 2020. Booting from the 240 GB Kingston drive, which was flashed with your image using raspberry Pi imager yielded the start screen with the rocks and planet as well as the password dialog. However, the mouse and keyboard used previously on the same device via bluetooth did not work. I then tried a wired Apple keyboard and the same logitech mouse using the wireless dongle instead of bluetooth. Neither worked. If I boot the device with Buster 10 microSD card, I can mount the Kingston SSD with the Ubuntu Mate drive and examine files.

Any help would be greatly appreciared.

lcleve

thatchunkylad198966
Posts: 576
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Tue Nov 10, 2020 1:19 pm

lcleve wrote:
Sun Nov 08, 2020 10:03 pm
I attempted to install your image according to your instructions on a Raspberry Pi 4B, 8 GB.. I updated the firmware using the image on the link given. Afterwards, when I booted the pi without microSDcard or SSD, the screen message showed bootloader: 45291ce6 Jul 16, 2020. Booting from the 240 GB Kingston drive, which was flashed with your image using raspberry Pi imager yielded the start screen with the rocks and planet as well as the password dialog. However, the mouse and keyboard used previously on the same device via bluetooth did not work. I then tried a wired Apple keyboard and the same logitech mouse using the wireless dongle instead of bluetooth. Neither worked. If I boot the device with Buster 10 microSD card, I can mount the Kingston SSD with the Ubuntu Mate drive and examine files.

Any help would be greatly appreciared.

lcleve
You're not the only one. Had the exact same thing happen, doesn't happen with the server image, though.
I thought it was my wireless keyboard/mouse - tried wired and nope, still happens.

With this problem and the "kernel panic" kinda makes me sad.
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

thatchunkylad198966
Posts: 576
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 14, 2020 5:11 pm

Saves people wasting their time with this image, until 20.10 is released from lobo...

USB-BOOT via server image and desktop image stops booting from USB even though you add quirks, gets stuck looking for the USB drive.
Tried multiple times, couldn't get it working. booting from SD has no problems. using the latest 3rd September EEPROM.

And mouse/keyboard stops working after doing a full upgrade with apt update -y && apt upgrade -y but you can fix this with installing the 5.9 kernel. so something with 5.4 breaks our mouse/keyboard. and when booting it moans about not loading kernel modules.

Nothing but problems :lol: hopefully lobo's 20.10 fixes this issues................ :oops:
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

User avatar
loboris
Posts: 138
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Fri Nov 27, 2020 4:41 pm

Ubuntu 20.10 (Groovy Gorilla) are now prepared for download:

64-bit Mate desktop on btrfs recommended
64bit Mate desktop on ext4

32-bit Mate desktop on btrfs
32bit Mate desktop on ext4

64-bit Minimal image on btrfs
64-bit Minimal image on ext4

64-bit Server image on btrfs
64-bit Server image on ext4

MD5 files can be downloaded from the Mega directory.

Kernel 5.9 is installed by default and vc4-kms-v3d-pi4 is used which ensures the desktop experience with no tearing at all.

32-bit desktop image has Firefox installed, Chromium has issues with sandbox and it is not recommended for use.
Last edited by loboris on Sun Nov 29, 2020 11:38 am, edited 1 time in total.

thatchunkylad198966
Posts: 576
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Fri Nov 27, 2020 10:02 pm

loboris wrote:
Fri Nov 27, 2020 4:41 pm
Ubuntu 20.10 (Groovy Gorilla) are now prepared for download:

64-bit Mate desktop on btrfs recommended
64bit Mate desktop on ext4

32-bit Mate desktop on btrfs
32bit Mate desktop on ext4

64-bit Minimal image on btrfs
64-bit Minimal image on ext4

MD5 files can be downloaded from the Mega directory.

Kernel 5.9 is installed by default and vc4-kms-v3d-pi4 is used which ensures the desktop experience with no tearing at all.

32-bit desktop image has Firefox installed, Chromium has issues with sandbox and it is not recommended for use.


For the last hour, I've been trying to get your images to work. here's what I done:

Flashed to a USB3 to SATA (eletung that's highly recommended on this forum) through RPI's imager on my gaming PC that's running Ubuntu 20.04.1. as soon as I try to boot from the SSD, I get a kernel panic. pretty much the same as your 20.04.1 image. anyway, so...

I flashed again via RPI's imager, added usb-storage.quirks to the cmdline, it booted. it didn't automatic restart to resize but I thought yes! it works. so I went back to my PC and resized the rootfs with gparted to enable it to have the 120GB space instead of 1.29GB. anyway, put the SSD back into my RPI4, I'm now stuck at a scsi drive detected and it doesn't go any further than that!

So it's either a kernel panic or you can use your RPI4 but can't install anything because you don't have enough free space........

Ubuntu 20.10 works great - out of the box. I have no idea what you're doing to your images but whatever it is, it's breaking something.

PS: tried the minimal ext4, the mate desktop btrfs and ext4; all the same.

PSS: I'm using the 3rd of September EEPROM so that's not the problem. it goes past the boot screen then to a kernel panic or it stays at the scis and doesn't go further.....

Can you explain? probably best in English.........

EDIT: Finally got it working! without the device error and no kernel panic.
All I did was, boot this image from an sdcard, plug in my USB3 to SATA SSD and copy everything over with DD: sudo dd bs=8M if=/dev/mmcblk0 of=/dev/your/device conv=notrunc,noerror && sync
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

larryr
Posts: 28
Joined: Mon Jul 20, 2020 7:28 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 1:21 am

I had no issues with this image "64bit Mate desktop on ext4" - are you using linux app "disks" to make your image with to micro card? It is designed to move the image to the micro card - no expansion required.

I wonder if there is a way to update 10.04 to 10.10 without starting over. My 10.04 has all my apps installed and working - I hate to have to figure out how to put everything that the last 4 months I did back to a new image.

User avatar
loboris
Posts: 138
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 12:19 pm

larryr wrote:
Sat Nov 28, 2020 1:21 am
I wonder if there is a way to update 10.04 to 10.10 without starting over. My 10.04 has all my apps installed and working - I hate to have to figure out how to put everything that the last 4 months I did back to a new image.
Ubuntu 20.04 can be upgraded to 20.10, here is the recommended procedure:
Backup your installation first, in case something goes wrong!
WiFi will be disabled during the upgrade process, you must have wired ethernet connection to perform the upgrade.

Open mate-terminal.
Update your system:

Code: Select all

sudo apt update
sudo apt upgrade
Some packages must be removed before upgrade to 20.10:
(execute all commands, exactly in the following order)

Code: Select all

sudo rm /var/lib/dpkg/info/pi-bluetooth.p*
sudo rm /lib/firmware/brcm/*
sudo apt remove --purge pi-bluetooth linux-firmware-raspi2 apt-listchanges
sudo apt autoremove --purge
sudo apt clean
Enable upgrade from lts to normal Ubuntu release:

Code: Select all

sudo nano /etc/update-manager/release-upgrades
Change Prompt=lts to Prompt=normal

Reboot your RPi.

After reboot execute in mate-terminal:

Code: Select all

sudo do-release-upgrade
Press y on all confirmation requests, accept default values when asked.

Depending on installed software it can take from 30 minutes to more than an hour to complete.
After the upgrade accept query to reboot or reboot with

Code: Select all

sudo reboot
Important: After reboot edit /etc/apt/sources.list (as root), remove the # infront of the last deb and change loboris repository from raspi_repo to raspi_groovy, the last line should be:

Code: Select all

deb http://loboris.eu/raspi_groovy/ raspi main
Enable also any third party repositories which were disabled by the upgrade process.

Update your system:

Code: Select all

sudo apt update
Install pi-bluetooth package, it is needed for both bluetooth and wifi.

Code: Select all

sudo apt install pi-bluetooth
sudo apt autoremove --purge
Upgrade kernel (if your kernel is not 5.9 already):
Execute all three commands.

Code: Select all

sudo apt install linux-image-5.9-rpi-lobo-arm64
sudo apt remove --purge linux-image-5.4-rpi-lobo-arm64
sudo apt install --reinstall linux-image-5.9-rpi-lobo-arm64
If upgrading 32-bit instalation, replace arm64 with armhf in linux-image-***.

Create lightdm.conf file:

Code: Select all

sudo nano /etc/lightdm/lightdm.conf
With the following content:

Code: Select all

[Seat:*]
greeter-session=slick-greeter
Using vc4-kms-v3d-pi4 results in absolutely no tearing on the desktop.
Edit (as root) /boot/config.txt and replace dtoverlay=vc4-fkms-v3d with dtoverlay=vc4-kms-v3d-pi4 (the kernel must be upgraded to 5.9).

Reboot.

That should be all.

Note:
If you are upgrading the minimal or server image you must install do-release-upgrade package first:

Code: Select all

sudo apt install ubuntu-release-upgrader-core
and skip the lightdm related steps.
Last edited by loboris on Sat Nov 28, 2020 3:48 pm, edited 3 times in total.

thatchunkylad198966
Posts: 576
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 1:05 pm

larryr wrote:
Sat Nov 28, 2020 1:21 am
I had no issues with this image "64bit Mate desktop on ext4" - are you using linux app "disks" to make your image with to micro card? It is designed to move the image to the micro card - no expansion required.

I wonder if there is a way to update 10.04 to 10.10 without starting over. My 10.04 has all my apps installed and working - I hate to have to figure out how to put everything that the last 4 months I did back to a new image.
No, I'm not. I used RPI's imager. right now I'm booted on a working DE but it's because I DD'd my SDCARD.....

Thanks for ignoring me, loboris.
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

User avatar
loboris
Posts: 138
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 1:11 pm

thatchunkylad198966 wrote:
Fri Nov 27, 2020 10:02 pm
Are you deliberately trying to troll the community or??????
I don't think that kind of offensive posts deserves any response...

thatchunkylad198966
Posts: 576
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 1:12 pm

loboris wrote:
Sat Nov 28, 2020 1:11 pm
thatchunkylad198966 wrote:
Fri Nov 27, 2020 10:02 pm
Are you deliberately trying to troll the community or??????
I don't think that kind of offensive posts deserves any response...
Ignore that part, then. and reply to:
For the last hour, I've been trying to get your images to work. here's what I done:

Flashed to a USB3 to SATA (eletung that's highly recommended on this forum) through RPI's imager on my gaming PC that's running Ubuntu 20.04.1. as soon as I try to boot from the SSD, I get a kernel panic. pretty much the same as your 20.04.1 image. anyway, so...

I flashed again via RPI's imager, added usb-storage.quirks to the cmdline, it booted. it didn't automatic restart to resize but I thought yes! it works. so I went back to my PC and resized the rootfs with gparted to enable it to have the 120GB space instead of 1.29GB. anyway, put the SSD back into my RPI4, I'm now stuck at a scsi drive detected and it doesn't go any further than that!

So it's either a kernel panic or you can use your RPI4 but can't install anything because you don't have enough free space........

Ubuntu 20.10 works great - out of the box. I have no idea what you're doing to your images but whatever it is, it's breaking something.

PS: tried the minimal ext4, the mate desktop btrfs and ext4; all the same.

PSS: I'm using the 3rd of September EEPROM so that's not the problem. it goes past the boot screen then to a kernel panic or it stays at the scis and doesn't go further.....

Can you explain? probably best in English.........

EDIT: Finally got it working! without the device error and no kernel panic.
All I did was, boot this image from an sdcard, plug in my USB3 to SATA SSD and copy everything over with DD: sudo dd bs=8M if=/dev/mmcblk0 of=/dev/your/device conv=notrunc,noerror && sync
I'd love to know what I'm doing wrong.
I wasn't being offensive, I was asking a genuine question; believe it or not.
You say you don't know "how" we get a kernel panic with your images but a lot of us do, with 20.04.1 and 20.10. so something is wrong AND I want to fix that.

Cheers.
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

User avatar
loboris
Posts: 138
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 2:04 pm

thatchunkylad198966 wrote:
Sat Nov 28, 2020 1:12 pm
Ignore that part, then. and reply to:
...
It's kind of hard to to ignore it, but anyway...

I've never had the issue like this, unless the image transfered to the drive is somehow damaged or the uas is enabled but not working properly (which can currupt the loaded kernel initramfs, this may also result in partition/file system not resized properly).

The resize is handled by the /etc/init.d/resize2fs_once script, it logs the resize process in /.fsresize.log.
After the successful resize, /etc/init.d/resize2fs_once is renamed to /etc/init.d/resize2fs_once.executed and will no longer be executed on boot.

In case of unsuccessful resize you can check /.fsresize.log file (on your main PC), it is hidden in the file manager, so you must enable show hidden files...
It may give you some information about what went wrong.

If you manually resize the root fs partition on your PC be sure to delete /etc/init.d/resize2fs_once script.

Instead of using RPI's imager you can also unpack the image archive (xz -d <*.xz>) file and transfer the *.img file directly to the drive using dd.

You can also mount the *.img file on your pc and transfer the image boot and rootfs partitions content to already partitioned and formated drive using rsync. In that case you must update the PARTUUID in cmdline.txt (on boot partition) and /etc/fstab (on rootfs partition) ...

Apart from that, I really don't know what to say, it doesn't look like you are doing anything wrong.

thatchunkylad198966
Posts: 576
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 2:09 pm

loboris wrote:
Sat Nov 28, 2020 2:04 pm
thatchunkylad198966 wrote:
Sat Nov 28, 2020 1:12 pm
Ignore that part, then. and reply to:
...
It's kind of hard to to ignore it, but anyway...

I've never had the issue like this, unless the image transfered to the drive is somehow damaged or the uas is enabled but not working properly (which can currupt the loaded kernel initramfs, this may also result in partition/file system not resized properly).

The resize is handled by the /etc/init.d/resize2fs_once script, it logs the resize process in /.fsresize.log.
After the successful resize, /etc/init.d/resize2fs_once is renamed to /etc/init.d/resize2fs_once.executed and will no longer be executed on boot.

In case of unsuccessful resize you can check /.fsresize.log file (on your main PC), it is hidden in the file manager, so you must enable show hidden files...
It may give you some information about what went wrong.

If you manually resize the root fs partition on your PC be sure to delete /etc/init.d/resize2fs_once script.

Instead of using RPI's imager you can also unpack the image archive (xz -d <*.xz>) file and transfer the *.img file directly to the drive using dd.

You can also mount the *.img file on your pc and transfer the image boot and rootfs partitions content to already partitioned and formated drive using rsync. In that case you must update the PARTUUID in cmdline.txt (on boot partition) and /etc/fstab (on rootfs partition) ...

Apart from that, I really don't know what to say, it doesn't look like you are doing anything wrong.
Thanks, that's all I wanted.
Right now I'm on your 20.10 because I transferred with DD but I'm at 32GB space out of 120GB on the SSD. if I resize with gparted, I can no longer boot as it gets stuck at a scsi device and doesn't go any further.

How can I extend my space? like you said above or?
I see this in the dir; resize2fs_once.executed
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

User avatar
loboris
Posts: 138
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 2:17 pm

thatchunkylad198966 wrote:
Sat Nov 28, 2020 2:09 pm
How can I extend my space? like you said above or?
You can resize the rootfs partition (the 2nd one on the drive) with gparted on your PC to any size you want.
You can also do it on the RPi by booting from SDcard (it can be in the SDcard reader) then attach your external drive and resize the partition with gparted.

User avatar
loboris
Posts: 138
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 2:19 pm

thatchunkylad198966 wrote:
Sat Nov 28, 2020 2:09 pm
How can I extend my space? like you said above or?
You can also just partition and format the remaining space on the drive (with gparted) and mount it (/etc/fstab) on some directory...
It may even be better to have a separate (bigger) partition...

User avatar
loboris
Posts: 138
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 2:34 pm

thatchunkylad198966 wrote:
Sat Nov 28, 2020 2:09 pm
How can I extend my space? like you said above or?
If you are already partitioning with gparted, it could be usefull to also add 4-8GB swap partition and mount it in /etc/fstab with:

Code: Select all

PARTUUID=<swap_partition_partuuid>    swap    swap    defaults    0    0

thatchunkylad198966
Posts: 576
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 3:05 pm

loboris wrote:
Sat Nov 28, 2020 2:34 pm
thatchunkylad198966 wrote:
Sat Nov 28, 2020 2:09 pm
How can I extend my space? like you said above or?
If you are already partitioning with gparted, it could be usefull to also add 4-8GB swap partition and mount it in /etc/fstab with:

Code: Select all

PARTUUID=<swap_partition_partuuid>    swap    swap    defaults    0    0
Yeah I have zram so don't need that. if I resize with gparted, I can no longer boot because of scsi. (not 100% sure that's correct but hey ho, it looks for a disc and stays there, does nothing else.)
[NEW] Ubuntu - CM4/RPi4B custom image(s)! XFCE4, LXQt, i3-WM, WireGuard, Samba, Kodi, Latest MESA graphics drivers!

Code: Select all

https://www.raspberrypi.org/forums/viewtopic.php?f=131&t=314419

User avatar
loboris
Posts: 138
Joined: Sun May 10, 2020 10:18 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 3:27 pm

thatchunkylad198966 wrote:
Sat Nov 28, 2020 3:05 pm
... if I resize with gparted, I can no longer boot because of scsi. (not 100% sure that's correct but hey ho, it looks for a disc and stays there, does nothing else.)
gparted shouldn't touch the partition UUID, but just in case, check if the PARTUUID of the partitions are the same as in cmdline.txt and /etc/fstab after resizing (check with sudo blkid) ....
The kernel loads the filesystem from the partition specified in cmdline.txt (root=PARTUUID=xxxxxxxx-02).

larryr
Posts: 28
Joined: Mon Jul 20, 2020 7:28 pm

Re: New Ubuntu Mate arm64 RaspberryPi 4 image (minimal and server images also available)

Sat Nov 28, 2020 6:15 pm

The loboris image resizes automatically on first boot - then reboots with root taking all the remaining space on the sd card.

Return to “Ubuntu”