Can't run manjaro from portable disk on a differrent pc - Error symbol grub_debug_malloc not found & Can't enter GUI

uninstalled and installed successfully

both kernels are stuck after

[ OK ] Started Light Display Manager
[ OK ] Reached target Graphical Interface

then a whole black screen with _ in the top left corner

I waited about 20mins still nothing shows

so enter into tty- alt+ctrl+f2 or f1-f6 keys, enter your credentials, and type:
startx

when boot with linux 5.15, after startx, it shows me a black screen and my mouse pointer.
when boot with linux 5.10, it shows error:

vesa: Refusing to run, Framebuffer or dri device present.
(EE) Fatal server error:
(EE) no screen found
(EE) Please consult …
(EE) Please also check the log file at “/var/log/Xorg.0.log” for additional information
(EE) Server terminated with error (1), Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

so post output from:
cat /var/log/Xorg.0.log
journalctl -b0 -p4 --no-pager

For linux 5.10

cat /var/log/Xorg.0.log

[   106.794] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[   106.794] Current Operating System: Linux my-pc 5.10.126-1-MANJARO #1 SMP PREEMPT Mon Jun 27 10:02:42 UTC 2022 x86_64
[   106.794] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 root=UUID=adb6b68e-9f4c-4959-bd8a-b7564d79b8be rw
[   106.794]  
[   106.794] Current version of pixman: 0.40.0
[   106.794] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   106.794] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   106.794] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul  7 01:09:50 2022
[   106.794] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   106.794] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   106.794] (==) No Layout section.  Using the first Screen section.
[   106.794] (==) No screen section available. Using defaults.
[   106.794] (**) |-->Screen "Default Screen Section" (0)
[   106.794] (**) |   |-->Monitor "<default monitor>"
[   106.794] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   106.794] (==) Automatically adding devices
[   106.794] (==) Automatically enabling devices
[   106.794] (==) Automatically adding GPU devices
[   106.794] (==) Automatically binding GPU devices
[   106.794] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   106.794] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   106.794] 	Entry deleted from font path.
[   106.794] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   106.794] (==) ModulePath set to "/usr/lib/xorg/modules"
[   106.794] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   106.794] (II) Module ABI versions:
[   106.794] 	X.Org ANSI C Emulation: 0.4
[   106.794] 	X.Org Video Driver: 25.2
[   106.794] 	X.Org XInput driver : 24.4
[   106.795] 	X.Org Server Extension : 10.0
[   106.795] (++) using VT number 3

[   106.798] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   106.799] (--) PCI:*(0@0:2:0) 8086:46a6:103c:8978 rev 12, Mem @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[   106.799] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   106.799] (II) LoadModule: "glx"
[   106.799] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   106.800] (II) Module glx: vendor="X.Org Foundation"
[   106.800] 	compiled for 1.21.1.3, module version = 1.0.0
[   106.800] 	ABI class: X.Org Server Extension, version 10.0
[   106.800] (==) Matched modesetting as autoconfigured driver 0
[   106.800] (==) Matched fbdev as autoconfigured driver 1
[   106.800] (==) Matched vesa as autoconfigured driver 2
[   106.800] (==) Assigned the driver to the xf86ConfigLayout
[   106.800] (II) LoadModule: "modesetting"
[   106.800] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   106.801] (II) Module modesetting: vendor="X.Org Foundation"
[   106.801] 	compiled for 1.21.1.3, module version = 1.21.1
[   106.801] 	Module class: X.Org Video Driver
[   106.801] 	ABI class: X.Org Video Driver, version 25.2
[   106.801] (II) LoadModule: "fbdev"
[   106.801] (WW) Warning, couldn't open module fbdev
[   106.801] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   106.801] (II) LoadModule: "vesa"
[   106.801] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   106.801] (II) Module vesa: vendor="X.Org Foundation"
[   106.801] 	compiled for 1.21.1.3, module version = 2.5.0
[   106.801] 	Module class: X.Org Video Driver
[   106.801] 	ABI class: X.Org Video Driver, version 25.2
[   106.801] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   106.801] (II) VESA: driver for VESA chipsets: vesa
[   106.801] (EE) open /dev/dri/card0: No such file or directory
[   106.801] (WW) Falling back to old probe method for modesetting
[   106.801] (EE) open /dev/dri/card0: No such file or directory
[   106.801] vesa: Refusing to run, Framebuffer or dri device present
[   106.801] (EE) Screen 0 deleted because of no matching config section.
[   106.801] (II) UnloadModule: "modesetting"
[   106.801] (EE) Device(s) detected, but none match those in the config file.
[   106.801] (EE) 
Fatal server error:
[   106.801] (EE) no screens found(EE) 
[   106.801] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   106.801] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   106.801] (EE) 
[   106.804] (EE) Server terminated with error (1). Closing log file.

journalctl -b0 -p4 --no-pager

7月 07 01:08:14 my-pc kernel: Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
7月 07 01:08:14 my-pc kernel: ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
7月 07 01:08:14 my-pc kernel: pnp 00:04: disabling [mem 0xc0000000-0xcfffffff] because it overlaps 0000:00:02.0 BAR 9 [mem 0x00000000-0xdfffffff 64bit pref]
7月 07 01:08:14 my-pc kernel: ACPI: Invalid passive threshold
7月 07 01:08:14 my-pc kernel: ACPI: Invalid passive threshold
7月 07 01:08:14 my-pc kernel: hpet_acpi_add: no address or irqs in _CRS
7月 07 01:08:14 my-pc kernel: i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
7月 07 01:08:15 my-pc kernel: vboxdrv: loading out-of-tree module taints kernel.
7月 07 01:08:15 my-pc kernel: VBoxNetAdp: Successfully started.
7月 07 01:08:15 my-pc kernel: VBoxNetFlt: Successfully started.
7月 07 01:08:18 my-pc systemd-udevd[378]: Configuration file /usr/lib/udev/rules.d/77-mm-fibocom-port-types.rules is marked executable. Please remove executable permission bits. Proceeding anyway.
7月 07 01:08:20 my-pc laptop-mode[1325]: failed - udev not active?
7月 07 01:08:20 my-pc laptop-mode[1359]: failed - udev not active?
7月 07 01:08:20 my-pc laptop-mode[2119]: failed - udev not active?
7月 07 01:08:20 my-pc laptop-mode[2143]: failed - udev not active?
7月 07 01:08:20 my-pc laptop-mode[2172]: failed - udev not active?
7月 07 01:08:21 my-pc laptop-mode[3956]: failed - udev not active?
7月 07 01:08:21 my-pc laptop-mode[3992]: failed - udev not active?
7月 07 01:08:21 my-pc laptop-mode[4228]: failed - udev not active?
7月 07 01:08:21 my-pc laptop-mode[4270]: failed - udev not active?
7月 07 01:08:21 my-pc laptop-mode[4315]: failed - udev not active?
7月 07 01:08:22 my-pc kernel: kauditd_printk_skb: 30 callbacks suppressed
7月 07 01:08:24 my-pc kernel: acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
7月 07 01:08:24 my-pc kernel: acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
7月 07 01:08:28 my-pc kernel: kauditd_printk_skb: 14 callbacks suppressed
7月 07 01:08:29 my-pc systemd-udevd[432]: cfg80211: Process '/usr/bin/set-wireless-regdom' failed with exit code 1.
7月 07 01:08:29 my-pc kernel: hp_wmi: query 0x4 returned error 0x5
7月 07 01:08:29 my-pc kernel: hp_wmi: query 0xd returned error 0x5
7月 07 01:08:29 my-pc kernel: hp_wmi: query 0x1b returned error 0x5
7月 07 01:08:32 my-pc systemd-udevd[426]: vtcon1: Process '/usr/lib/systemd/systemd-vconsole-setup' failed with exit code 1.
7月 07 01:08:32 my-pc systemd-udevd[469]: vtcon0: Process '/usr/lib/systemd/systemd-vconsole-setup' failed with exit code 1.
7月 07 01:08:36 my-pc systemd[1]: lightdm.service: Failed with result 'exit-code'.
7月 07 01:08:37 my-pc systemd[1]: lightdm.service: Failed with result 'exit-code'.
7月 07 01:08:37 my-pc systemd[1]: lightdm.service: Failed with result 'exit-code'.
7月 07 01:08:38 my-pc systemd[1]: lightdm.service: Failed with result 'exit-code'.
7月 07 01:08:38 my-pc systemd[1]: lightdm.service: Failed with result 'exit-code'.
7月 07 01:08:38 my-pc systemd[1]: lightdm.service: Failed with result 'exit-code'.
7月 07 01:08:38 my-pc systemd[1]: lightdm.service: Start request repeated too quickly.
7月 07 01:08:38 my-pc systemd[1]: lightdm.service: Failed with result 'exit-code'.
7月 07 01:08:38 my-pc systemd[1]: Failed to start Light Display Manager.
7月 07 01:08:56 my-pc kernel: kauditd_printk_skb: 16 callbacks suppressed
7月 07 01:09:44 my-pc systemd-xdg-autostart-generator[10591]: Configuration file /home/my/.config/autostart/xfce-panel-workaround.desktop is marked executable. Please remove executable permission bits. Proceeding anyway.
7月 07 01:09:44 my-pc systemd-xdg-autostart-generator[10591]: /home/my/.config/autostart/optimus-manager-qt.desktop:9: Unknown key name 'RunHook' in section 'Desktop Entry', ignoring.
7月 07 01:09:44 my-pc systemd-xdg-autostart-generator[10591]: Configuration file /home/my/.config/autostart/xfce-pbw.sh is marked executable. Please remove executable permission bits. Proceeding anyway.
7月 07 01:09:44 my-pc systemd-xdg-autostart-generator[10591]: /home/my/.config/autostart/xfce-pbw.sh:2: Assignment outside of section. Ignoring.
7月 07 01:09:44 my-pc systemd-xdg-autostart-generator[10591]: /home/my/.config/autostart/xfce-pbw.sh:3: Assignment outside of section. Ignoring.
7月 07 01:09:44 my-pc systemd-xdg-autostart-generator[10591]: /home/my/.config/autostart/xfce-pbw.sh:4: Assignment outside of section. Ignoring.
7月 07 01:09:44 my-pc systemd-xdg-autostart-generator[10591]: /home/my/.config/autostart/xfce-pbw.sh:5: Assignment outside of section. Ignoring.
7月 07 01:09:44 my-pc systemd-xdg-autostart-generator[10591]: /home/my/.config/autostart/xfce-pbw.sh:6: Assignment outside of section. Ignoring.
7月 07 01:09:44 my-pc systemd-xdg-autostart-generator[10591]: /home/my/.config/autostart/xfce-pbw.sh:7: Assignment outside of section. Ignoring.
7月 07 01:09:45 my-pc systemd[10585]: psd-resync.service: Failed with result 'exit-code'.
7月 07 01:09:45 my-pc systemd[10585]: Failed to start Timed resync.
7月 07 01:23:20 my-pc kernel: kauditd_printk_skb: 5 callbacks suppressed

For linux 5.15, I tried again by startx, now I enter my desktop :star_struck:. What should I do?
To make it clear, I used linux 5.10 in my old laptop but I tried to installed 5.15 when I tried to sovle Nvidia gpu problem because when I moved my system from even older laptop to my old laptop, I upgrade linux 4.19 to linux 5.10 then it works.

So if you reboot, can you boot normally with the 515 kernel, or you have to use startx?
Output from:
mhwd-kernel -li

Now I reboot, but I can’t boot normally with 515 kernal. I can’t even go into tty mode. Let me try multiple times.

Now when I use alt+ctrl+f#, the login dialog appear and diappear imediately.

When was the last time you updated your system? Run system update, it could help, or it could messed it up even more…
Why dont you just reinstall, because this is hell haha…

I think yesterday. Today I run update, it shows everything is updated.
I installed too many softwares also a lot of configuration I already made. Also some softwares need to be paid to use. Too much effort if I reinstall. This disk is 1T and nearly full.

Well you can keep the settings for programs that are in home folder…
Output from:
mhwd-kernel -li

Keep settings are simple. Installing some softwares is hard. The total softwares are above 500G.

linux510
linux515

Thats a lot… So at least clear your cache:
sudo pacman -Scc
Install the 518 kernel and try with it:
sudo pacman -S linux518
Reboot and select it

It can’t boot normally. But I can go into tty and boot with startx this time and go into desktop.

So create a new user, reboot and see if you can boot with it

Failed to boot with startx. The error is:
xf86EnableIO: failed to enable I/O prots 0000-03ff (Operation not permitted)
DBUS_SESSION_BUS_ADDRESS=‘unix:abstract=/tmp/dbus-xxxxxxx,guid=xxxxxxxxxxxxxxxxxxxx’;
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=17777;
xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0), Closing log file.

Try reinstalling these:
sudo pacman -S xorg-server mesa glibc
Reboot

Still can’t boot normally. Also the same output when using startx in new user.
There is an error when reinstalling, not sure if it will affect:

(2/5) Creating temporary files…
Failed to open file “/sys/devices/system/cpu/microcode/reload”: Read-only file system
error: command failed to excecute correctly

That message is if you are in chroot… If you wish, try this command from chroot:

pacman -Qqn | pacman --overwrite=* -S -

This will reinstall everything, because i dont know what else to do

Edit: output from:
pacman -Qs nvidia