Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pstadler/rancheros-uefi
UEFI bootable RancherOS image.
https://github.com/pstadler/rancheros-uefi
freenas rancheros uefi
Last synced: 17 days ago
JSON representation
UEFI bootable RancherOS image.
- Host: GitHub
- URL: https://github.com/pstadler/rancheros-uefi
- Owner: pstadler
- Created: 2021-04-18T18:23:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T21:37:18.000Z (4 months ago)
- Last Synced: 2024-10-12T21:56:03.740Z (about 1 month ago)
- Topics: freenas, rancheros, uefi
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UEFI bootable RancherOS image
This repository exists for my own convenience. Issues may or may not be answered.
Related: [RancherOS on FreeNAS 11.3](https://blog.hugopoi.net/2020/03/01/install-rancheros-on-freenas-11-3/)
```sh
# /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:
```sh
$ 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
```