How to Make Mobian Boot to Command Line
#1
So after a bit of experimenting, I have found a method to turn Mobian into a command line version of Debian. It may not be the best way to get this done, but it works. I am always open to other approaches. There may also be extraneous packages remaining, but I’ll leave any further tinkering to your discretion.

   
1. Flash the latest version of Mobian

2. Boot the phone and setup the phone, including wifi (I haven’t tested ethernet with this process, but I assume it would work also).

3. Open King’s Cross Terminal

4. Install ssh service: sudo apt install ssh (The package may be called “openssh” in some repositories and/or builds).

5. Start sshd: sudo systemctl start sshd

6. Ssh to device from another computer: ssh mobian@[ip address] (the default password should be “1234”)

7. switch to su: sudo su (the default password should be “1234”)

8. Remove gnome / phosh: apt autoremove *gnome*

9. Update the system: apt update

10. Upgrade the system: apt upgrade

11. Reboot the system: reboot now (this should reboot to command line, but it will still have the splash, and no console output).

12. Ssh in again: ssh mobian@[ip address] (the default password should be “1234”)

13. Switch to su: sudo su (the default password should be “1234”)

14. Edit boot arguments:

      a. nano /etc/default/u-boot
 
      b. in U_BOOT_PARAMETERS= remove the argument “splash” and add the argument “console=tty1”
      (so the argument line should looks as follows: U_BOOT_PARAMETERS="console=ttyS0,115200 consoleblank=0 loglevel=7 rw plymouth.ignore-serial-console vt.global_cursor_default=0 console=tty1")

      d. save the file

15. Write the boot arguments:

a. cd /sbin
b. u-boot-update


16. Reboot: reboot


That’s it. It should now boot to command line with console output.
  Reply


Messages In This Thread
How to Make Mobian Boot to Command Line - by Ubermunchen - 10-30-2021, 09:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 73 38,425 2 hours ago
Last Post: zetabeta
  cryptocurrency on mobian/pinephone biketool 35 56,541 10-08-2025, 06:21 AM
Last Post: biketool
  Mobian MMS/SMS text problem bcnaz 16 26,132 09-15-2025, 02:42 AM
Last Post: georgegohl888
  XLibre for Mobian Hiraghm 1 2,066 06-30-2025, 01:38 AM
Last Post: Haroldkent
  Axolotl on PinePhone / Mobian arno_nuehm 223 266,582 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 1,852 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 2,358 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 2,725 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 2,740 04-29-2025, 02:10 PM
Last Post: mdk
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 2,876 01-15-2025, 08:08 PM
Last Post: Kevin Kofler

Forum Jump:


Users browsing this thread: 9 Guest(s)