Manjaro-arm-installer: Error: /dev/mmcblk0: unrecognised disk label

I’m running manjaro-arm-installer (installed via pacman) and am seeing the following:

==> Proceeding....
  -> Getting package lists ready for rpi4 xfce edition...
==> Getting /dev/mmcblk0 ready with btrfs for rpi4...
Error: /dev/mmcblk0: unrecognised disk label
==> Creating install for rpi4...
  -> Used device is /dev/mmcblk0p
  -> Downloading latest aarch64 rootfs...
Manjaro-ARM-aarch64-latest.tar.gz 

Note:

  • The Error: is concerning
  • Used device seems to be missing a number, or should have the p removed

Is this all operating as it should?

I checked this alot when I developed the btrfs support.
It’s just parted “complaining” it can’t read the partition table correctly. So it’s not an error as such, but more like a warning. The resulting image has worked fine in my tests.

Now you made me look. You are right. There’s no need for that “p” to be there, will be fixed for next version.

1 Like

Thanks a bunch!

@Strit here are some other errors that I’m getting (rpi4, xfce):

( 6/27) Creating temporary files...                                                                                                                                                                                
Unsupported ioctl: cmd=0x5000940e                                                                                                                                                                                  
Failed to create directory or subvolume "/var": Function not implemented                                                                                                                                           
Unsupported ioctl: cmd=0x5000940e                                                                                                                                                                                  
Failed to create directory or subvolume "/home": Function not implemented                                                                                                                                          
Unsupported ioctl: cmd=0x5000940e                                                                                                                                                                                  
Failed to create directory or subvolume "/srv": Function not implemented                                                                                                                                           
Unsupported ioctl: cmd=0x5000940e                                                                                                                                                                                  
Failed to create directory or subvolume "/var/lib/portables": Function not implemented                                                                                                                             
Unsupported ioctl: cmd=0x5000940e                                                                                                                                                                                  
Failed to create directory or subvolume "/var/lib/machines": Function not implemented                                                                                                                              
Unsupported ioctl: cmd=0x5000940e                                                                                                                                                                                  
Failed to create directory or subvolume "/tmp": Function not implemented                                                                                                                                           
Unsupported ioctl: cmd=0x5000940e                                                                                                                                                                                  
Failed to create directory or subvolume "/var/tmp": Function not implemented                                                                                                                                       
Failed to open file "/sys/devices/system/cpu/microcode/reload": Read-only file system                                                                                                                              
error: command failed to execute correctly          
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi4.preset: 'default'                                                                                                                                     
  -> -k 5.10.25-3-MANJARO-ARM -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img                                                                                                                                 
==> Starting build: 5.10.25-3-MANJARO-ARM                                                                                                                                                                          
  -> Running build hook: [base]                                                                                                                                                                                    
  -> Running build hook: [udev]                                                                                                                                                                                    
  -> Running build hook: [plymouth]                                                                                                                                                                                
==> ERROR: file not found: `/etc/os-release' 
( 55/597) installing systemd                                                                                                   [#############################################################################] 100%
warning: directory permissions differ on /var/log/journal/                                                                                                                                                         
filesystem: 755  package: 2755 
( 73/597) installing sudo                                                                                                      [#############################################################################] 100%
warning: directory permissions differ on /etc/sudoers.d/
filesystem: 755  package: 750
(338/597) installing samba                                                                                                     [#############################################################################] 100%
warning: directory permissions differ on /etc/sudoers.d/                                                                                                                                                           
filesystem: 755  package: 750    
(597/597) installing rpi4-post-install                                                                                         [#############################################################################] 100%
Configuration file /usr/lib/systemd/system/attach-bluetooth.service is marked executable. Please remove executable permission bits. Proceeding anyway.    

Full config:

Device = rpi4                        
Edition = xfce                       
Username = redacted                       
Full Username = redacted
Additional usergroups = disk         
Password for tom = (password hidden) 
Password for root = (password hidden)
SDCard/eMMC/USB = /dev/mmcblk0       
Filesystem = btrfs                   
Encryption (only on select devices) =
Timezone = Asia/Bangkok              
Locale = en_AU.UTF-8                 
TTY Keyboard layout = us             
X11 Keyboard layout = us             
Hostname = nas                       

They are all “expected”. At least I saw them all in my tests.
The first section is a package that assumes that all those subvolumes are created if the filesystem is btrfs. But we only create @ and @home with our setup.

The second is one from the Plymouth integration. It’s “fixed” right after when it runs mkinitcpio again, so does not matter.

The third section is just information that some packages assume some directory permissions, but they differ slightly.

And the last one is a packaging issue. Should be fixed next time we update rpi4-post-install package.

1 Like

Glad to know! Thanks heaps!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.