Run in Lubuntu {{ic|sudo update-grub}}. /boot/grub/grub.cfg will be updated. Now reboot. GRUB will be started, which was installed by Lubuntu. In GRUB menu you will see Arch Linux.

Run in Lubuntu {{ic|sudo update-grub}}. /boot/grub/grub.cfg will be updated. Now reboot. GRUB will be started, which was installed by Lubuntu. In GRUB menu you will see Arch Linux.

+

== Miscellaneous ==

+

* In [[ConnMan#Using_iwd_instead_of_wpa_supplicant|Connman]] Wiki, the advantage of [[Iwd]] over [[WPA_supplicant]] is mentioned: ''Advantage of using iwd instead of wpa_supplicant is, that the ping times seem to be much more consistent and the connection seems to be more reliable.'' . Actually this information belongs to [[iwd]].

You don't need to burn ISO on a USB stick. GRUB can boot an ISO image on any partition. In this example, ISO was downloaded in Lubuntu environment. A GRUB menuentry was created in Lubuntu, which can be seen below. ISO was downloaded into /dev/sda4, which corresponds to set root=(hd0,4) in GRUB menuentry.

Don't run grub-install, because there is already a GRUB which was installed by Lubuntu on /dev/sda1 and /dev/sda5. Instead, run grub-mkconfig /boot/grub.cfg.

Note: Actually, for a dual-boot computer, in which Arch Linux can be booted from the GRUB installed by the other operating system, you don't need GRUB at all. You can create a simple Grub file by yourself. For the setup above, create the following file /boot/grub.cfg in /dev/sda6 (hd0,gpt6). The <UUID> is the UUID of /dev/sda6. Even the --id option is not needed:

The GRUB file which is manually created like the above is safer, because the GRUB configuration file created automatically by the GRUB of Arch might not be parsed correctly by the GRUB of other operating system. In the setup which is described here, Lubuntu 19.04 had GRUB 2.02 (which reads the /boot/grub.cfg file of Arch Linux), whereas Arch Linux had GRUB 2.04 (this GRUB generates by its grub-mkconfig script this file). GRUB config file which is manually created is so simply that it must be able to work without any problem in any release of GRUB.

The generated GRUB configuration file above (located in /dev/sda6 - /boot/cfg) is called by the GRUB configuration file installed by the Lubuntu environment (located in /dev/sda5 /boot/grub/grub.cfg). Go back to Lubuntu and create following file:

Run in Lubuntu sudo update-grub. /boot/grub/grub.cfg will be updated. Now reboot. GRUB will be started, which was installed by Lubuntu. In GRUB menu you will see Arch Linux.

Miscellaneous

In Connman Wiki, the advantage of Iwd over WPA_supplicant is mentioned: Advantage of using iwd instead of wpa_supplicant is, that the ping times seem to be much more consistent and the connection seems to be more reliable. . Actually this information belongs to iwd.