Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
/ rancheros-uefi Public archive

UEFI bootable RancherOS image.

Notifications You must be signed in to change notification settings

pstadler/rancheros-uefi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

UEFI bootable RancherOS image

This repository exists for my own convenience. Issues may or may not be answered.

Related: RancherOS on FreeNAS 11.3

# /mnt/efipart/EFI/BOOT/grub.cfg
set timeout=1
menuentry "Rancher from GPT" {
    search --no-floppy --set=root --label RANCHER_STATE
    linux    /boot/vmlinuz-4.14.138-rancher printk.devkmsg=on rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait panic=10 console=tty0 console=ttyS0 rancher.autologin=ttyS0
    initrd    /boot/initrd-v1.5.8
}

Change kernel boot parameters

Because we're using UEFI, ros config syslinux won't work for editing kernel boot parameters. Use this instead:

$ sudo system-docker run --rm --privileged -it -v /:/host alpine /bin/sh
# inside the alpine container:
$ mkdir -p /mnt/boot; mount /host/dev/vda1 /mnt/boot
$ vi /mnt/boot/EFI/BOOT/grub.cfg
$ umount /host/dev/vda1
# exit the container and reboot rancheros

About

UEFI bootable RancherOS image.

Topics

Resources

Stars

Watchers

Forks