Thank you, Philippe.
It's not working. I connected my phone by USB, went into settings and enabled USB tethering, then tried the ifconfig usb0 up
command. This message was printed on the screen:
ifconfig: SIOCGIFFLAGS: No such device
The tail end of dmesg indicates it's finding the phone (moto g power 5G - 2024):
but running ifconfig -a
shows only two interfaces, and neither of them are the phone:
I tried running the dpkg --configure -a
command anyway, and the terminal reported sh: dpkg: not found
. If the boot-up isn't prompting me for my disk encryption password, and it reports that it cannot find the root file system device, then isn't it the case that all the packages used by apt are also not available?