laurent85v / archuseriso

A set of bash script programs to create bootable Arch Linux images and to create bootable USB flash drives with a desktop environment.
GNU General Public License v3.0
223 stars 30 forks source link

Disable rEFInd option? #26

Closed czee closed 3 years ago

czee commented 3 years ago

Is there a way to disable rEFInd or the EFI partition creation? Sometimes we run a headless system and the motherboard BIOS defaults to this partition boot order first. Then you need to connect keyboard, graphics card and screen to set the BIOS properly.

laurent85v commented 3 years ago

To disable uefi booting your can rename the EFI directory of the efi partition to something else. To keep uefi booting and bypass rEFInd rename the following directories and file this way:

cd EFI
mv BOOT refind
mv live BOOT
mv BOOT/livedisk.efi BOOT/BOOTx64.efi
laurent85v commented 3 years ago

Coming in next release a new --no-refind option for creating usb drives. https://github.com/laurent85v/archuseriso/commit/fd4de8185b7eddd88ddecd1178fc3bad16af4d3e

czee commented 3 years ago

Cool thanks

laurent85v commented 3 years ago

Version 0.6.4 released, closing.

czee commented 3 years ago

I got this error on the latest package:

[aui-mkhybrid] INFO: mountpoint: /home/user/.tmp/tmp.TJMgHFnWyv/auiwork.to7cJLjz/iso Error: /home/user/.tmp/tmp.TJMgHFnWyv/out/aui-xfce-linux_5_11_15-0422-x64.iso is not a compatible iso image!

laurent85v commented 3 years ago

Versions released with new features may require a newly generated iso image. Check archuseriso is updated to the latest version v0.6.4.1 and use a newly generated iso image for creating the usb drive. Or download an iso image from http://dl.gnutux.fr/archuseriso, these iso images are compatible with the latest version.

czee commented 3 years ago

Yes, I generated a new ISO based on my own xfce profile using the latest version.

laurent85v commented 3 years ago

New features also affects profile definition. Rebase your profile on the latest profile released.

czee commented 3 years ago

Ok thanks, I'll try that.