Skip to content

Instantly share code, notes, and snippets.

View spacepluk's full-sized avatar

Oscar Morante spacepluk

  • Berlin
  • 11:09 (UTC +02:00)
View GitHub Profile
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
#MODULES=(vfio_pci vfio vfio_iommu_type1 vfio_virqfd)
#MODULES=(pci-stub)
MODULES=()
● esp.mount - /esp
Loaded: loaded (/etc/fstab; generated)
Active: active (mounted) since Wed 2018-07-18 09:46:48 CEST; 2h 55min ago
Where: /esp
What: /dev/nvme0n1p2
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
Tasks: 0 (limit: 4915)
Memory: 60.0K
CGroup: /system.slice/esp.mount
/esp
/esp/Boot
/esp/Boot/bg-BG
/esp/Boot/bg-BG/bootmgr.exe.mui
/esp/Boot/cs-CZ
/esp/Boot/cs-CZ/bootmgr.exe.mui
/esp/Boot/cs-CZ/memtest.exe.mui
/esp/Boot/da-DK
/esp/Boot/da-DK/bootmgr.exe.mui
/esp/Boot/da-DK/memtest.exe.mui
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p6
UUID=e5c62705-bc82-4d55-a68c-115981dedeb0 / ext4 rw,relatime,data=ordered 0 1
# /dev/nvme0n1p2 LABEL=SYSTEM
UUID=4EB8-FDE4 /esp vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
/esp/EFI/arch /boot none bind 0 0
#!/bin/sh
efibootmgr -Bb 1
efibootmgr -Bb 2
#efibootmgr -d /dev/nvme0n1 \
#-p 2 \
#-c \
#-L "Arch Linux RT" \
#-l /EFI/arch/vmlinuz-linux-rt \
diff --git a/scripts/get_acpi_tables.sh b/scripts/get_acpi_tables.sh
index 1c5a916..6894806 100755
--- a/scripts/get_acpi_tables.sh
+++ b/scripts/get_acpi_tables.sh
@@ -22,7 +22,7 @@ for f in $SSDT_FILES; do
done
# Disassemble.
-iasl -e "$TMPDIR"/*.dat -d "$TMPDIR"/*.dat
+iasl -e "$TMPDIR"/*.dat -d "$TMPDIR"/SSDT5.dat
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win10</name>
<uuid>ca7766c5-20d4-49c0-93de-8b978959bf49</uuid>
<memory unit='KiB'>8388608</memory>
<currentMemory unit='KiB'>8388608</currentMemory>
<vcpu placement='static'>8</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-2.12'>hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win10</name>
<uuid>574f4f21-e78c-412c-b303-b187760be3f1</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>8</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-2.12'>hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win10</name>
<uuid>574f4f21-e78c-412c-b303-b187760be3f1</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-2.12'>hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win10</name>
<uuid>574f4f21-e78c-412c-b303-b187760be3f1</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-2.12'>hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>