clearlinux / clr-boot-manager

Kernel & Boot Loader Management
https://clearlinux.org/
111 stars 30 forks source link

How change default boot system (no bug)? #257

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello! Installed ClearLinux after Windows 11. Found ClearLinux not loading on its own. Solved the problem using the "Dual-boot Clear Linux OS and Windows 10 OS" documentation, method 2. I ran the following commands:

1: sudo mkdir /mnt/windows-efi 2: sudo mkdir /mnt/clearlinux 3: sudo mount /dev/sda2 /mnt/windows-efi 4: sudo mount /dev/sda7 /mnt/clearlinux 5: sudo mount /dev/sda5 /mnt/clearlinux/boot 6: sudo cp -r /mnt/windows-efi/EFI/Microsoft/ /mnt/clearlinux/boot/EFI/ 7: sudo bootctl install --esp-path=/mnt/clearlinux/boot 8: sudo clr-boot-manager set-timeout 20 --path=/mnt/clearlinux 9: sudo umount /mnt/windows-efi /mnt/clearlinux/boot /mnt/clearlinux

Systems - Linux/Windows have been defined. Everything worked great! I can't figure out how to change the default OS. Please provide an example of how I can now change the default system. Or which of the above commands should I change to make Windows the default, so it will probably be easier for everyone. Sorry if I wrote something wrong. Day one, just getting used to it.