summaryrefslogtreecommitdiff
path: root/src/partvi
AgeCommit message (Collapse)Author
2023-11-22the cleaner i make it, the cleaner it getsGordon GECOS
2023-11-17remove cruftu
2023-11-17sanity checku
2023-11-17double-check guid validityAndrew Cady
2023-11-17whitespaceAndrew Cady
2023-11-17allow blank lines in partition.conf filesAndrew Cady
2023-11-17Store large files in subvolumesAndrew Cady
These files should never be mixed into the same directories as source code, since source code should be backed up by filesystem snapshot, and these should not. This change includes file renames in this repository and in two of its submodules.
2023-11-17remove gpgAndrew Cady
2023-11-17remove documentary comments from partviAndrew Cady
2023-11-17"fix" efi booting with disgusting hack and out-of-repo binaryAndrew Cady
it turns out all that we need to do to make EFI booting work is to replace the BOOTX64.EFI file that is produced by GRUB's "grub-install" command with the version of that file from Ventoy's upstream source of the same file: <https://github.com/ValdikSS/Super-UEFIinSecureBoot-Disk/>. Ventoy claims that to be their source here: <https://github.com/ventoy/Ventoy/blob/master/DOC/BuildVentoyFromSource.txt> """ 5.10 UEFIinSecureBoot https://github.com/ValdikSS/Super-UEFIinSecureBoot-Disk/releases Super-UEFIinSecureBoot-Disk_minimal_v3.zip unzip it and get Super-UEFIinSecureBoot-Disk_minimal.img, extract the img by 7zip. INSTALL/EFI/BOOT/BOOTX64.EFI --> EFI/BOOT/BOOTX64.EFI SHA-256: 475552c7476ad45e42344eee8b30d44c264d200ac2468428aa86fc8795fb6e34 """ That SHA-256 matches what we have downloaded and are using. I have created a separate repo containing the code that pulls down the .zip file and extract the BOOTX64.EFI file from it. That code verifies the SHA-256 hash. It can be added as a sami.git submodule. This code is not usable without that file generated by that code. This commit should be amended with a git submodule added with that code too.
2023-11-17fixup! experimental grub simplificationAndrew Cady
2023-11-17experimental grub simplificationSteven
2023-11-17switch to C ficlonerange instead of PythonAndrew Cady
2023-11-17partvi: show grub-install runtimeu
2021-03-12try to fix efi boot with alternative grub-install commandefi-testAndrew Cady
2021-03-02partvi: do not rely on part image file to get sizeAndrew Cady
When partvi writes directly to a boot medium, it shouldn't copy part files, because these involve copying the unused parts of the filesystems. Instead, it should create a new filesystem on the target and copy files into it. This change moves in that direction.
2021-02-27partvi: move all functions to topAndrew Cady
2021-02-27partvi: avoid hard-coded "_build"Andrew Cady
2021-02-27partvi: check that $GPG_INPUT_DIR is a directoryAndrew Cady
2021-02-25fixup! partvi: clarify codeAndrew Cady
2021-02-25partvi: clarify codeAndrew Cady
2021-02-25partvi: eliminate code duplicationAndrew Cady
2021-02-25use sfdisk default instead of calculating "last-lba"Andrew Cady
2021-02-25Ignore failures from grub-install EFI runAndrew Cady
The second call to grub-install, which installs an EFI bootloader, fails on this machine. No need to fail the whole process for that, since I am not using EFI.
2021-02-25partvi: fixes related to key-only modeAndrew Cady
fixed race condition in kpartx fix for sfdisk kernel reload ptable failure cleaned up some code duplication created make keymu target amended make clean target
2021-02-23key-only mode for partvi; integrated partviAndrew Cady
These commands are available in sami: make upgrade make emu make key They use partvi.
2021-02-23partvi: create key.img when $1=="key"Andrew Cady
2021-01-19eatmydata for speedAndrew Cady
2021-01-19implement more of the discoverable partition specificationAndrew Cady
2021-01-18hybrid mbr verified bootsAndrew Cady
2021-01-18hybrid mbrAndrew Cady
2021-01-18loads linux kernel, panics unpacking initrdAndrew Cady
2021-01-18yes moreAndrew Cady
2021-01-18now it be really ficksedAndrew Cady
2021-01-18workingAndrew Cady
2021-01-18this is the fixAndrew Cady
2021-01-18this dont fix nuthinAndrew Cady
2021-01-18omfg why dont it werkAndrew Cady
2021-01-18got zero-copy partitioning to work w/ btrfs and sfdiskAndrew Cady
2021-01-17partvi: try to run grub-installAndrew Cady
it appears to fail because of a bug in grub-install. grub tries to be too smart, and detects /dev/loop0 as the device underlying the /dev/mapper/ device. But this is wrong, because it's a dm-linear device, and /dev/loop0 is only one section of the device.
2021-01-17old changes, unreviewedAndrew Cady
2021-01-17pass by variableAndrew Cady
2021-01-17partvi: rename funcAndrew Cady
2021-01-17partvi fixAndrew Cady
2020-11-17partvi: refactorAndrew Cady
2020-11-17partvi: make the partition tableAndrew Cady
2020-11-17fix alignmentAndrew Cady
2020-11-17partvi: create the dm mapAndrew Cady
2020-11-17partvi: fail betterAndrew Cady
2020-11-17new partition toolAndrew Cady