User documentation and guides for products sold on the Libre Tech Shop. https://docs.libretech.shop
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.2 KiB

  1. # Adding / Updating Images on the MH-USB Disk
  2. ## How do OS images get listed on the boot screen?
  3. Recall the MH-USB directory layout:
  4. ```
  5. MH-USB/
  6. /OS/ <-- Contains OS Images
  7. /Tools/ <-- Contains some tools and software
  8. /RPi/ <-- OS Images for the Raspberry Pi
  9. /ventoy/ <-- Config files for the Ventoy/Grub2 bootloader
  10. ```
  11. While the operating system images are stored in the `/OS/` directory in the
  12. root of the USB disk, the actual display and order of display is controlled by
  13. the ventoy config file: `/ventoy/ventoy.json`.
  14. An excerpt from the `ventoy.json` config file:
  15. ``` json
  16. {
  17. "menu_alias":[
  18. {
  19. "image": "/OS/debian-live-11.2.0-amd64-cinnamon.iso",
  20. "alias": "Debian 11.2.0 (Live)"
  21. },
  22. {
  23. "image": "/OS/devuan_chimaera_4.0.0_amd64_desktop-live.iso",
  24. "alias": "Devuan Chimaera 4.0.0"
  25. },
  26. {
  27. "image": "/OS/guix-system-install-1.3.0.x86_64-linux.iso",
  28. "alias": "Guix System Installer 1.3.0"
  29. },
  30. {
  31. "image": "/OS/LibreELEC-Generic.x86_64-10.0.1.img",
  32. "alias": "LibreELEC 10.0.1 (Live)"
  33. }
  34. ]
  35. }
  36. ```
  37. The image would get listed on the boot screen in the alphabetical order even
  38. without this configuration. However, in the absence of this, the file name of
  39. the ISO image would show up instead of a more useful OS description.
  40. ## Adding, updating and removing a OS image
  41. ### Removing an image
  42. Don't think you're likely to use an OS image that exists on the USB
  43. disk? No problem. Just go ahead and delete it! It will shop showing up
  44. on the boot screen and you will also have some free space on the USB
  45. drive.
  46. ### Adding a new image
  47. You can copy a new bootable OS image anywhere on the USB disk. You could
  48. copy it to the `/OS/` directory to keep things neat. But that's not
  49. mandatory. You can copy it anywhere.
  50. ### Updating an image
  51. Updating an OS image simply the process of deleting an older image file
  52. and adding the new one.
  53. ### Update the Ventoy configuration
  54. If you would like to see a proper descriptive name for your new or
  55. updated OS image, then you can add or update the corresponding section
  56. in the `/ventoy/ventoy.json` file.