Undefined
By: Guest | Date: Aug 19 2018 12:33 | Format: BASH | Expires: never | Size: 430 B | Hits: 1089
- #!/bin/bash
- objcopy \
- --add-section .osrel=/etc/os-release --change-section-vma .osrel=0x20000 \
- --add-section .cmdline=/proc/cmdline --change-section-vma .cmdline=0x30000 \
- --add-section .linux=/boot/vmlinuz-linux --change-section-vma .linux=0x2000000 \
- --add-section .initrd=/boot/initramfs-linux.img --change-section-vma .initrd=0x3000000 \
- /usr/lib/systemd/boot/efi/linuxx64.efi.stub /boot/EFI/arch/bootx64.efi
Latest pastes
18 hours ago
1 days ago
1 days ago
1 days ago
2 days ago