Commit Graph

250 Commits

Author SHA1 Message Date
PartialVolume
8db5d42b6a Merge pull request #404 from PartialVolume/add-nonet-option
Add kernel command line flags, nonet and shredos_nonet
2025-12-05 20:03:12 +00:00
PartialVolume
b190567aa1 Add kernel command line flags, nonet and shredos_nonet that disable the network 2025-12-05 20:00:19 +00:00
PartialVolume
f56ff5e12a Merge pull request #403 from PartialVolume/update_networking
Fix repeating ifup when no RJ45 link
2025-12-05 19:08:39 +00:00
PartialVolume
847f761d5a Fix repeating ifup when no RJ45 link 2025-12-05 18:51:47 +00:00
PartialVolume
2256913d01 Merge pull request #396 from desertwitch/virtio
feat: add kernel support for virtualized HDDs
2025-12-05 14:39:56 +00:00
desertwitch
1462b1c48f feat: add kernel support for virtualized HDDs
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-27 08:05:01 +01:00
PartialVolume
8f675cdc65 Merge pull request #322 from Knogle/use-git-method
package/nwipe: switch from static tarball to Git commit (051e1aa)
2025-11-26 19:57:40 +00:00
Fabian Druschke
f053132049 package/nwipe: switch from static tarball to Git commit (051e1aa)
This commit updates the nwipe package to build from a specific Git commit
instead of using the previously referenced tarball release. The changes
include:

- Setting NWIPE_SITE to the GitHub repository and NWIPE_SITE_METHOD to git.
- Specifying the commit hash (051e1aa) in NWIPE_VERSION.
- Removing or emptying the nwipe.hash file, as we no longer verify a tarball
  and instead rely on the Git checkout.

This approach allows ShredOS/Buildroot to clone the nwipe repository at
commit 051e1aa, apply the banner patch, and build the nwipe binary directly
from Git.
2025-11-26 17:32:27 +01:00
PartialVolume
26e1cdef75 Merge pull request #395 from Knogle/enable-af-alg-crypto
board/shredos: enable crypto options for future AF_ALG AES-CTR support
2025-11-25 01:18:04 +00:00
PartialVolume
410032c593 Merge pull request #393 from desertwitch/pr-devel
Refactor of booting, building and configurations
2025-11-25 01:14:56 +00:00
Fabian Druschke
e579514bfe board/shredos: enable crypto options for future AF_ALG AES-CTR support
Enable additional cryptographic kernel options required for using
AES-CTR via the AF_ALG userspace interface in future features:

- CONFIG_CRYPTO_PCRYPT: parallel crypto wrapper for symmetric ciphers
- CONFIG_CRYPTO_USER_API_SKCIPHER: AF_ALG user API for skcipher
- CONFIG_CRYPTO_AES_NI_INTEL: AES-NI accelerated AES implementation on x86_64

These options prepare the kernel for an AF_ALG-based AES-CTR PRNG and
other potential AF_ALG-backed cryptographic functionality in nwipe.
2025-11-24 16:30:52 +01:00
desertwitch
046c1bd1c9 chore: clarification in documentation
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-22 10:15:50 +01:00
desertwitch
0f77cd2a7f fix(iso9660): menu indentation
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-22 10:00:21 +01:00
desertwitch
ef68188207 fix(iso9660): menu ordering
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-22 09:51:07 +01:00
desertwitch
fc80af2fb4 fix(iso9660): use buildroot rm, adapt comment
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-22 09:41:39 +01:00
desertwitch
d5ae3d10f6 chore: adapt documentation for current state
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-22 09:27:13 +01:00
desertwitch
2120a2d87a fix(configs): add missing argument
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-22 08:10:46 +01:00
desertwitch
6c49c40922 chore: adapt documentation for current state
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-22 08:04:34 +01:00
desertwitch
023c549337 feat(iso9660): add volume name and partition type as options
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-22 07:55:46 +01:00
desertwitch
4fd5642d16 feat(iso9660): appendable partition image for hybrid modes
Allow to append a FAT16 partition image when building an ISO in hybrid mode.

This allows to add an extra writeable partition for when the ISO is burned to USB.

This feature is experimental and disabled by default.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-21 17:59:33 +01:00
desertwitch
1635894f8e fix(configs): revert partition size and post processing for EFI
The EFI partition for hybrid ISOs does not reliably show on all Windows systems, so we cannot use our "hack" of writing the configurations/PDFs to it. Reverted instead to a sane-sized EFI partition which is used just for booting. Added a note to the README that some tools such as Rufus support an ISO-mode to add a writeable partition at burning-time.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-21 11:17:05 +01:00
desertwitch
2291b2fdbc chore(configs): clean up configurations
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-21 07:18:39 +01:00
desertwitch
b7e304a292 fix(iso9660): account for both mode without hybrid
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-21 06:48:39 +01:00
desertwitch
d417261a76 chore: reorganize all files into board/shredos
It is more convenient to not have to search for configuration files in different directories, and also helpful to see the standard configuration files, so move all ShredOS configurations into board/shredos.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-20 14:15:43 +01:00
desertwitch
589f08752a fix(buildscript): use reconfigure instead of rebuild
Reconfigure starts one stage before rebuild, just to be safe. It is the earliest step after the source download and patching.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-20 12:15:01 +01:00
desertwitch
2134454147 fix: amend buildscript
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-20 10:00:47 +01:00
desertwitch
2035670a8e chore: update documentation
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-20 08:11:59 +01:00
desertwitch
15b889ddf9 chore: add warning about customization to ISO
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-20 08:04:51 +01:00
desertwitch
2e90372692 chore: update buildscript and documentation
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-20 07:20:58 +01:00
desertwitch
66e7c16de3 fix: embed grub finder configuration
Helps GRUB find the ShredOS volume when it otherwise cannot (such as when the IMG is used with Ventoy in BIOS)

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-19 13:29:37 +01:00
desertwitch
39cb0dd4f7 feat: add basic multi-build script
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-19 08:26:45 +01:00
desertwitch
f0db7fc78a feat(configs): make default configs build USB image and AIO hybrid ISO
The all-in-one ISO works well and is the jack-of-all-trades, covering all imaginable systems and scenarios, so include that in the default build configurations.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-19 07:12:19 +01:00
desertwitch
f9182d0580 chore(iso9660): add partition size documentation
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 22:36:50 +01:00
desertwitch
efac080389 chore: update readme for new changes
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 18:49:36 +01:00
desertwitch
c3ac56cba2 feat(configs,shredos): add aio iso configuration
This adds a configuration for a jack-of-all-trades ISO, which allows BIOS and UEFI booting, being written to CD/DVD-ROM and USB drives, as well as having a writeable partition when being used from an USB drive. It basically combines the functionality of all prior release versions into one single ISO (per architecture).

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 18:49:35 +01:00
desertwitch
7959e04e1d chore: clarification in readme
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 18:49:34 +01:00
desertwitch
79d4185d69 fix(iso9660): copy actual efi config to efi structure
To keep things consistent, copy the EFI configuration also to the EFI structure on the ISO9660 filesystem.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 18:49:19 +01:00
desertwitch
82ead30f72 fix(configs): add missing grub modules
We now require configfile and search modules to locate the ISO9660 filesystem, add them for our targets.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 11:56:03 +01:00
desertwitch
fe590092af fix(iso9660): default path adapted for clarity
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 11:18:27 +01:00
desertwitch
02d0c2ef60 fix(iso9660): improve xorriso argument order
Improved the iso9660 argument order to better reflect modern best practices, inspired by the Debian distribution ISOs.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 10:34:38 +01:00
desertwitch
e89f457acc chore: update readme for new changes
Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 08:24:13 +01:00
desertwitch
e2eafb0f91 feat(configs): add i586-specific configurations
Additional configurations for the i586 builds were added, so that new users can easily build those targets without needing to change things around via "make menuconfig" (potentially triggering unwanted other changes, e.g. reset of GRUB modules).

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 07:44:21 +01:00
desertwitch
29bf065cd8 feat(configs): adapt configurations for new changes
The default configuration "shredos_defconfig" was amended to produce both the existing USB image (which allows writing PDFs to the USB) and the new hybrid ISO (which now allows BIOS+UEFI booting, as well as flashing to USB and burning to CD/DVD-ROM) in one build.

Additional configurations "shredos_img_defconfig" and "shredos_iso_defconfig" were added which only target either the existing USB image or the new hybrid ISO, for full flexibility.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 07:41:51 +01:00
desertwitch
af1654ee9f fix(shredos): refactor post-process scripts
Post-processing used a static (outdated?) GRUB image for USB image generation, but it is better to use the GRUB image produced as part of the building process, which ensures that the actual compiled GRUB version is used as bootloader in our images and not an outdated one.

Post-processing previously embedded the 64-bit EFI bootloader to 32-bit builds, as no architecture checks were in place. This was changed to check for architecture and embed the correct EFI bootloader for the respective target architecture instead.

The GRUB configuration was changed to use a menu, to allow the user to choose between standard and nomodeset parameters, while also allowing the user to edit the command line to append other kernel parameters they may need for their systems.

The vanity kernel image name was returned to bzImage to clearly mark the image for what it is, and to remain consistent with the ISO file generation where we have no direct control over the image now.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 07:41:51 +01:00
desertwitch
56333565cb chore(grub2): remove obsolete vanity patch
As the board is now using a GRUB menu, replacing these messages no longer makes sense (most users will never see them), so the additional patch is better removed.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 07:41:45 +01:00
desertwitch
554f1a965b feat(iso9660): complete refactor of filesystem
The entire iso9660 filesystem folder was restructured to replace partially unreadable legacy code with modern, readable and modular structures. Hardcoded paths were replaced with variables, as much as possible, to make the code work with different setups. A mode "both" was added, producing Debian-style hybrid ISOs for both BIOS and EFI usage, while still allowing for flashing to USB and/or burning to CD/DVD-ROM. The configuration GUI (via "make menuconfig") was also refactored and adapted to the new changes.

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
2025-11-18 07:40:08 +01:00
PartialVolume
4e544986c1 Update README.md
Add missing hash symbol
2025-11-17 00:56:39 +00:00
Fab
b134eb2171 Updating readme with information related to release of ShredOS v2024.11_27_x86-64_0.38 (#319)
* Completed Troubleshooting Information

* Update README.md with information about toggling font size

Previously the toggling of bigger font sizes required access to the virtual terminal. PartialVolume integrated a shortcut.

* Smaller Readibility Updates

* Clarification regarding Mac Support

Expanded definition of Mac to all intel powered macs

* Clarified supported systems

* Fixed typo on new Display Font Size Toggle paragraph
2025-10-23 23:19:01 +01:00
PartialVolume
0027e5536c Merge branch 'master' of github.com:PartialVolume/shredos.x86_64 2025-10-23 22:37:16 +01:00
PartialVolume
d9ccdd4c6d Wait for 10 seconds of USB bus inactivity, previously 5 seconds before proceeding to execute nwipe, the 30 second timeout remains in place, resulting in the execution of nwipe irrespective of USB bus activity. 2025-10-23 22:36:38 +01:00