Archlinux on R2

ok, you have readonly-rootfs,maybe cause of FS-error

Sep 23 23:54:29 alarm kernel: VFS: Mounted root (ext4 filesystem) readonly on d>

but again cut off

Yes its ext4 in readonly why ?

torun DONE.
mcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
ed root (ext4 filesystem) readonly on device 179:2.  <<<<HERE
mounted
used kernel memory: 1024K
init as init process
 time before build time, advancing clock.
tered protocol family 10
uting with IPv6
d 243.51-1-arch running in system mode. (+PAM +AUDIT -SELINUX -IMA -APPARMOR +S>
ed architecture arm.

My fstab is blank, Thats how It is from the Arch Latest rootfs from their official repo.

When I check with lsblk I can see it is not RO.

[root@alarm /]# lsblk -l
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0      179:0    0 14.9G  0 disk 
mmcblk0p1    179:1    0  256M  0 part 
mmcblk0p2    179:2    0  6.7G  0 part /
mmcblk1      179:8    0  7.3G  0 disk 
mmcblk1boot0 179:16   0    4M  1 disk 
mmcblk1boot1 179:24   0    4M  1 disk 
[root@alarm /]# lsblk -m 
NAME          SIZE OWNER GROUP MODE
mmcblk0      14.9G root  disk  brw-rw----
|-mmcblk0p1   256M root  disk  brw-rw----
`-mmcblk0p2   6.7G root  disk  brw-rw----
mmcblk1       7.3G root  disk  brw-rw----
mmcblk1boot0    4M root  disk  brw-rw----
mmcblk1boot1    4M root  disk  brw-rw----

When I try to create a new text file to test it says read only fs.

Try a remount with readwrite mode

mount / -o remount,rw

And restart login-service

1 Like

This worked. So what do you think is the issue here? Is it from the official rootfs?

 systemctl status systemd-logind.service                   
* systemd-logind.service - Login Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static; ven
d>
   Active: active (running) since Tue 2019-09-24 00:14:06 UTC; 6s ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           https://www.freedesktop.org/wiki/Software/systemd/logind
           https://www.freedesktop.org/wiki/Software/systemd/multiseat
  Process: 252 ExecStartPre=/sbin/modprobe -abq drm (code=exited, status=1/FAI
L>
 Main PID: 253 (systemd-logind)
   Status: "Processing requests..."
    Tasks: 1
   Memory: 1.6M
   CGroup: /system.slice/systemd-logind.service
           `-253 /usr/lib/systemd/systemd-logind
                                                                              
Sep 24 00:14:05 alarm systemd[1]: Starting Login Service...                   
Sep 24 00:14:06 alarm systemd-logind[253]: New seat seat0.                    
Sep 24 00:14:06 alarm systemd-logind[253]: Watching system buttons on /dev/inp
u>                                                                            
Sep 24 00:14:06 alarm systemd-logind[253]: Watching system buttons on /dev/inp
u>                                                                            
Sep 24 00:14:06 alarm systemd-logind[253]: Watching system buttons on /dev/inp
u>                                                                            
Sep 24 00:14:06 alarm systemd-logind[253]: Watching system buttons on /dev/inp
u>                                                                            
Sep 24 00:14:06 alarm systemd[1]: Started Login Service.

Finally I was able to login with login and password.

Try to add line in fstab for rootfs like the one iā€™ve added in my debian-images

Ok thanks dear.

Yes this worked. Thanks so much for your support.

@cioby23 Finally I have a working Arch IMG ready but I am working on making it more clean with OEM Installer on boot. Like Manjaro uses. Will post it in few hours.

@frank-w Thanks for all your effort. I have tried connecting my phone on usb tethering but I donā€™t think 4.19 have that support?

Please try it and let me know what all works and whats broken, as I have only tested if it boots as I dont have any lan connection at home will test it thoroughly tomorrow in office.

Iā€™m running Arch Linux ARM on my BPI-R2 but I made it ā€œmanuallyā€ (with @frank-w 5.4 kernel)
I will test with pleasure you guide!

WOW he is already working on 5.4, Thatā€™s great.

Would appreciate your feedback. I can get kernel 5.4 working on it too, But I donā€™t see many users looking for arch, As we also need motivation from users to keep maintaining our builds.

Thanks looking forward for your feedback, If you want me to add other kernel version support then feel free to request.

1 Like

Iā€™m also working on 5.5 (my poweroff series is not completely merged) and future versions (hdmi is missing also some parts) :slight_smile:

1 Like