mirror of
https://github.com/BigfootACA/arch-image-builder.git
synced 2024-11-11 08:37:54 +08:00
73 lines
1.3 KiB
YAML
73 lines
1.3 KiB
YAML
name: Generic x86_64 compatible PC Dual Boot
|
|
target: x86_64-dual
|
|
arch: x86_64
|
|
pacman:
|
|
install:
|
|
- grub
|
|
- amd-ucode
|
|
- intel-ucode
|
|
- efibootmgr
|
|
image:
|
|
- type: disk
|
|
output: disk.img
|
|
layout: gpt
|
|
size: 2GiB
|
|
sector: 512
|
|
partitions:
|
|
- ptype: bios
|
|
pname: bios
|
|
size: 4MiB
|
|
- type: filesystem
|
|
ptype: efi
|
|
pname: esp
|
|
size: 4MiB
|
|
fsname: ESP
|
|
fstype: fat12
|
|
mount: /boot/efi
|
|
fstab:
|
|
flags: rw,noatime,utf8,errors=remount-ro
|
|
- type: filesystem
|
|
ptype: linux-root-x86-64
|
|
pname: linux
|
|
fsname: ArchLinux
|
|
fstype: ext4
|
|
mount: /
|
|
grow: yes
|
|
fstab:
|
|
boot: yes
|
|
flags: rw,noatime,discard
|
|
grow: yes
|
|
fstab:
|
|
dev: partlabel
|
|
kernel:
|
|
kernel: /boot/vmlinuz-linux
|
|
initramfs: /boot/initramfs-linux.img
|
|
cmdline:
|
|
- add_efi_memmap
|
|
grub:
|
|
path: /boot/grub
|
|
targets:
|
|
- x86_64-efi
|
|
- i386-efi
|
|
- i386-pc
|
|
bootloader:
|
|
timeout: 3
|
|
method:
|
|
- grub
|
|
items:
|
|
- type: linux
|
|
default: yes
|
|
name: Arch Linux
|
|
path: /
|
|
kernel: ${kernel.kernel}
|
|
initramfs: ${kernel.initramfs}
|
|
cmdline: ${@kernel.cmdline} ro quiet splash
|
|
- type: linux
|
|
name: Arch Linux Fallback
|
|
path: /
|
|
kernel: ${kernel.kernel}
|
|
initramfs: /boot/initramfs-linux-fallback.img
|
|
cmdline: ${@kernel.cmdline} rw loglevel=7
|
|
+also:
|
|
- device/x86_64
|