§2024-04-03

¶ Using MicroSD


¶Using NVMe device(PciSSD devices)


NAME        FSTYPE FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
mtdblock0                                                                             
mmcblk1                                                                               
├─mmcblk1p1 vfat   FAT32 opi_boot FFDB-9F73                             917.5M    10% /boot
└─mmcblk1p2 ext4   1.0   opi_root a79d9bb8-8f47-4477-bd10-b62f6c349c6e   25.7G     7% /var/log.hdd
                                                                                      /
zram0                                                                                 [SWAP]
zram1                                                                   165.8M     4% /var/log
nvme0n1                                                                               
├─nvme0n1p1 ext4   1.0            30a22a01-8a38-4783-93a1-133e49bd7027                
├─nvme0n1p2 swap   1              6fa3809e-2a9b-4f6d-a075-9a32ac7f5469                
├─nvme0n1p3 ext4   1.0            64df1f16-1035-47bf-90b8-eebe20392771                
└─nvme0n1p4 xfs                   23223e51-8059-43aa-a78a-e4d1c4756a87       
rsync -avrp --progress /boot/*  /mnt/    <-- has to use /boot/* ???
# ls -l /mnt
total 103712
-rwxr-xr-x 1 root root   230456 Feb  3 04:16 boot.bmp
-rwxr-xr-x 1 root root     3339 Feb  3 04:15 boot.cmd
-rwxr-xr-x 1 root root     3411 Feb  3 04:26 boot.scr
-rwxr-xr-x 1 root root   230274 Feb  3 00:04 config-6.1.43-rockchip-rk3588
drwxr-xr-x 3 root root     4096 Feb  3 04:15 dtb
drwxr-xr-x 3 root root     4096 Feb  3 04:15 dtb-6.1.43-rockchip-rk3588
-rwxr-xr-x 1 root root 40577536 Feb  3 00:04 Image
-rwxr-xr-x 1 root root  8589423 Apr  4 13:28 initrd.img-6.1.43-rockchip-rk3588
-rwxr-xr-x 1 root root  1152056 Feb  3 04:16 logo.bmp
-rwxr-xr-x 1 root root      227 Feb  3 04:16 orangepiEnv.txt
-rwxr-xr-x 1 root root     1542 Feb  3 04:25 orangepi_first_run.txt.template
-rwxr-xr-x 1 root root  6207122 Feb  3 00:04 System.map-6.1.43-rockchip-rk3588
-rwxr-xr-x 1 root root  8589487 Apr  4 13:28 uInitrd
-rwxr-xr-x 1 root root 40577536 Feb  3 00:04 vmlinuz-6.1.43-rockchip-rk3588
 
$ cd /mnt and edit orangepiENV.txt, boot.cmd(setenv rootdev "/dev/nvme0n1p3")
# mkimage -C none -A arm -T script -d boot.cmd boot.scr
 
rsync -avrp --progress --exclude /mnt /  /mnt/

mkimage -C none -A arm -T script -d boot.cmd boot.scr

§2023-06-20

Using Dedian bullseye server image, and make it into a desktop

    
    (lightdm, gdm3 not working)`   `--install-suggests` --> works again, and it it more modern like
    - reconfigure desktop manager `sudo dpkg-reconfigure gdm3`
    - I had troubles with sddm, but sddm seems to work better!!
    - archlinux please install `sudo pacman -S lightdm lightdm-gtk-greeter`
        - sudo nano /etc/lightdm/lightdm.conf, greeter-session=lightdm-gtk-greeter
    ```bash
    Configuration file '/etc/pulse/client.conf'
     ==> File on system created by you or by a script.
     ==> File also in package provided by package maintainer.
       What would you like to do about it ?  Your options are:
        Y or I  : install the package maintainer's version
        N or O  : keep your currently-installed version
          D     : show the differences between the versions
          Z     : start a shell to examine the situation
     The default action is to keep your current version.
    *** client.conf (Y/I/N/O/D/Z) [default=N] ? 
    ```
    - gdm3, lxdm, lightdm desktop manager is not working
    - `sudo apt install sddm tilix firefox-esr` else no terminal application
    ```bash
    Jun 20 16:02:03 pi5PlusBullseye gnome-session-c[2444]: cannot open display: :0
    Jun 20 16:02:03 pi5PlusBullseye gnome-session[2445]: Unable to init server: Could not connect: Connection refused
    Jun 20 16:02:03 pi5PlusBullseye gnome-session-c[2445]: cannot open display: :0
    Jun 20 16:02:03 pi5PlusBullseye gnome-session[2425]: gnome-session-binary[2425]: WARNING: software acceleration check failed: Child process exited with code 1
    Jun 20 16:02:03 pi5PlusBullseye gnome-session-binary[2425]: WARNING: software acceleration check failed: Child process exited with code 1
    Jun 20 16:02:03 pi5PlusBullseye gnome-session[2446]: Unable to init server: Could not connect: Connection refused
    Jun 20 16:02:03 pi5PlusBullseye gnome-session-f[2446]: Cannot open display: 
# fcitx5
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
 
# fix tilix error
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
        source /etc/profile.d/vte.sh
fi

¶Uknown issues: