Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • After the installation completes, press tab to go to the help section above.

  • Select Enter shell

  • Run echo 'systemctl enable serial-getty@ttyS4.service' | chroot /target

    • This enables the console for ttyS4 for the installed image.

  • Run exit

  • Select Reboot

  • When prompted, remove the installation media and press enter

  • Device will be rebooted

...

  • You'll encounter a window resembling:

    Code Block
    setparams 'Install Ubuntu Server'
    set gfxpayload=keep
    linux        /casper/vmlinuz   quiet  --- 
    initrd        /casper/initrd
  • Remove the quiet parameter and change the entry that starts with ‘linux’ to look as follows:

  • Code Block
    linux /casper/vmlinuz console=tty1 console=ttyS4,115200n8 systemd.wants=serial-getty@ttyS4 —
  • Wait for the live USB to boot

Info

Sometimes the text pointer is not visible, you can still edit grubs boot arguments, or you can reboot and the cursor will appear again.might take some time for the installer to run, so just give it some time

Anchor
Live
Live
Live USB settings

  • After live USB bootsAmidst the kernel output, press Enter to swiftly locate the shell prompt.

  • Run sudo subiquity

    • NOTE: On newer Ubuntu versions the installer might run automatically, so you can skip this step.

  • If you see a “waiting for cloud init” message, wait until it times out and opens the installer (could take some time since some services should finish starting in the background).

  • Proceed with your preferred installation settings and await completion

  • Wait until installation is complete

  • When prompted, remove the installation media and press enter

  • Device will be rebooted

...

  • Boot into BIOS

  • Boot from the disk you installed linux on

  • If you don't get a grub menu automatically, press the “arrow down” key repetitively right after you pressed enter to boot from BIOS

    • If you dont get the grub menu after pressing shift, connect a keyboard to the device and hold shift on the connected keyboard when booting

  • In the grub menu choose:

    • Advanced options for Ubuntu

    • Select the line that says recovery mode

    • Press ’e’

    • In the line that says: linux        /boot/vmlinuz-5.15.0-43-generic root=UUID=4c58e5aa-6443-4fb2-84e7-4ac2265a7b9e ro recovery nomodeset dis_ucode_ldr

    • Add the console parameters to grub after the ‘ro’ parameter

      • from this:

      • Code Block
        linux        /boot/vmlinuz-6.2.0-27-generic root=UUID=1dfc1a94-6289-4b15-9f4f-0fb36c083841 ro
      • to this:

        • Code Block
          linux        /boot/vmlinuz-6.2.0-27-generic root=UUID=1dfc1a94-6289-4b15-9f4f-0fb36c083841 ro
          console=tty1 console=ttyS4,115200n8 systemd.wants=serial-getty@ttyS4 quiet
        • Note: if you want to see the boot logs remove the quiet argumentPress ctrl+x to boot

Info

Sometimes the text cursor is not visible, you can still edit grubs boot arguments, or you can reboot and the cursor will appear again.

  • Type to enable the ttyS4 service automatically when you boot: systemctl enable serial-getty@ttyS4

  • edit grub config file: nano /etc/default/grub

    • add the console redirection to the grub default options (same as above):
      on line: GRUB_CMDLINE_LINUX_DEFAULT add the following

      Code Block
      GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty1 console=ttyS4,115200n8"
    • save the file and run: update-grub

...