Reboot loop when Os not recognised

I have managed to install a nuber of Linux versions on the Mind 2 AI kit often having to use nomodeset to get past the boot stage to a live inux OS. The reboot from the Khadas Logo is very quick and it is often difficult to type nomodeset in the time the device goes into reboot. How can i change this seting to extend the reboot loop time and why does the khadas device not see some linux OS and others it sees no problem such as Ububtu>

Hi @Alan_Watson

Do you use the Mind 2 AI Maker Kit with Graphics or just Mind?

You should to use the latest distributions, could you check the latest Ubuntu 24.04 which we tested works.

Regards,
Nick

Hi Nick I use the Mind 2 and Dock only - no graphics module. I know Ubuntu works on the Mind 2 AI Kit but I dont use Ubuntu. I have installed BigLinux working out of the box. However like a few other distro’s, during the Khadas Boot sequence, the Khadas logo appears then the system searches for GRUB. If it cannot find the nomodeset in the GRUB script the system will ignore the rest of the GRUB commands and revert back to the Khadas Logo and reboot loop. For me to type “Nomodeset” in the 3 to 4 seconds that I can edit the GRUB script before the Khadas Boot sequnce kicks in again, I have to arrow to the correct GRUB script line and hope I can type fast enough and accurately enough to type nomoeset. My question is if there is a way to delay the Khadas boot time in the BIOS so that if does not reboot within 5 seconds so I can edit the GRUB commands easily. Hope that makes sense. The same happens with many Linux distributions and I have installed Zorin, Bazzite and a few others but that is just luck in typing fast enough and accuratly enough in the GRUB edit time.

Hi @Alan_Watson,

You can use your bootable installation USB to make the edit in a relaxed environment.

  1. Boot your Mind 2 using the Ubuntu Live USB you used for installation. (The Live environments usually boot without issue or offer a safe graphics mode).
  2. Once on the Live Desktop, open your File Manager and click on your main installed SSD to mount it.
  3. Open a Terminal and navigate to that mounted drive’s GRUB directory: /boot/grub/
  4. Open the configuration file as an administrator (e.g., sudo nano grub.cfg).
  5. Scroll down to the first menuentry for your OS, find the line that starts with linux, and carefully type nomodeset at the end of that line. Save and close the file.
  6. Reboot normally into your installed system—no rushing required!
  7. Important Final Step: Because grub.cfg gets overwritten whenever the system updates, you must make this permanent. Now that you are booted into your installed OS, open a terminal, edit /etc/default/grub, add nomodeset inside the quotes for GRUB_CMDLINE_LINUX_DEFAULT, and finally run sudo update-grub.

Regards,
Nick