linux:refind
This is an old revision of the document!
Table of Contents
Install
sudo ./refind-install
refind conf
mkdir /Volumes/ESP sudo mount -t msdos /dev/disk0s1 /Volumes/ESP cd /Volumes/ESP/EFI/refind vim refind.conf
Gentoo refind
https://wiki.gentoo.org/wiki/Refind FILE /boot/EFI/gentoo/refind_linux.conf
"Default" "root=/dev/sda2 rootfstype=ext4 ro quiet" "Console" "root=/dev/sda2 rootfstype=ext4 ro quiet nox nogui" "Emergency" "root=/dev/sda2 rootfstype=ext4 ro 1"
Custom (static) initramfs and microcode loading:
FILE /boot/EFI/gentoo/refind_linux.conf
"Standard boot" "root=LABEL=root initrd=intel-ucode.img initrd=initramfs-custom.img quiet" "Single-user mode" "root=LABEL=root initrd=intel-ucode.img initrd=initramfs-custom.img single" "Minimal options" "ro root=LABEL=root initrd=initramfs-custom.img"
disk info
diskutil list /dev/disk0 /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *128.0 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_APFS Container disk1 82.7 GB disk0s2 3: Linux Filesystem home 20.2 GB disk0s3 4: Linux Filesystem root 25.0 GB disk0s4
sudo gpt -r show /dev/disk0 Password: start size index contents 0 1 PMBR 1 1 Pri GPT header 2 32 Pri GPT table 34 6 40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B 409640 161425800 2 GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC 161835440 39406250 3 GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4 201241690 48827957 4 GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4 250069647 32 Sec GPT table 250069679 1 Sec GPT header
Reference
/var/www/dokuwiki/wiki/data/attic/linux/refind.1658376544.txt.gz · Last modified: 2022/07/21 12:09 by jianqing