notes:linux_automatic_network_install
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:linux_automatic_network_install [2024/05/13 09:27] – Nikita Kipriyanov | notes:linux_automatic_network_install [2024/05/15 09:53] (current) – [Bootloader configuration] Nikita Kipriyanov | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| All (more or less) dynamic data is to be stored in ''/ | All (more or less) dynamic data is to be stored in ''/ | ||
| - | < | + | < |
| - | < | + | GRUB manual is available here: [[https://www.gnu.org/software/grub/manual/grub/]] |
| - | srv/ | + | |
| - | ┠─ dhcp-hostsfile.cfg | + | |
| - | ┗━ tftp/ | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | ┠─ gentoo | + | |
| - | ┖─ initramfs.igz | + | |
| - | </ | + | |
| - | + | ||
| - | The most logic is within ''/ | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | + | ||
| - | The rest items are symlinks to these files: | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | + | ||
| - | This is well tested setup. The main downside is that PXELinux doesn' | + | |
| - | + | ||
| - | <tabbox GRUB> | + | |
| < | < | ||
| Line 134: | Line 88: | ||
| Then the ''/ | Then the ''/ | ||
| + | |||
| + | <tabbox PXELinux> | ||
| + | |||
| + | < | ||
| + | srv/ | ||
| + | ┠─ dhcp-hostsfile.cfg | ||
| + | ┗━ tftp/ | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ┠─ gentoo | ||
| + | ┖─ initramfs.igz | ||
| + | </ | ||
| + | |||
| + | The most logic is within ''/ | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | The rest items are symlinks to these files: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | This is well tested setup. The main downside is that PXELinux doesn' | ||
| + | |||
| </ | </ | ||
| Line 235: | Line 238: | ||
| ==== Bootloader configuration ==== | ==== Bootloader configuration ==== | ||
| + | |||
| + | <tabbox GRUB> | ||
| + | |||
| + | <file - / | ||
| + | set timeout=1 | ||
| + | |||
| + | menuentry ' | ||
| + | linux debian-bookworm/ | ||
| + | initrd debian-bookworm/ | ||
| + | } | ||
| + | |||
| + | </ | ||
| + | |||
| + | <tabbox PXELinux> | ||
| + | |||
| <file - / | <file - / | ||
| default debian-bookworm-auto | default debian-bookworm-auto | ||
| Line 242: | Line 260: | ||
| kernel debian-bookworm/ | kernel debian-bookworm/ | ||
| append priority=critical initrd=debian-bookworm/ | append priority=critical initrd=debian-bookworm/ | ||
| - | |||
| </ | </ | ||
| + | |||
| + | </ | ||
| + | |||
| ==== Example preseed file ==== | ==== Example preseed file ==== | ||
| Works for Bullseye too (it was actually originally developed for Bullseye, but worked with Bookworm like a charm)! | Works for Bullseye too (it was actually originally developed for Bullseye, but worked with Bookworm like a charm)! | ||
| + | |||
| + | <tabbox BIOS> | ||
| <file - / | <file - / | ||
| Line 372: | Line 394: | ||
| in-target chmod 0600 / | in-target chmod 0600 / | ||
| </ | </ | ||
| + | |||
| + | <tabbox UEFI> | ||
| + | |||
| + | </ | ||
| ==== Additional documentation ==== | ==== Additional documentation ==== | ||
| Line 396: | Line 422: | ||
| ==== Bootloader configuration ==== | ==== Bootloader configuration ==== | ||
| + | |||
| + | <tabbox GRUB> | ||
| + | |||
| + | <file - / | ||
| + | set timeout=1 | ||
| + | |||
| + | menuentry ' | ||
| + | linux ol8u9/ | ||
| + | initrd ol8u9/ | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <tabbox PXELinux> | ||
| + | |||
| <file - / | <file - / | ||
| default ol8u9 | default ol8u9 | ||
| Line 404: | Line 444: | ||
| # it will append .../ | # it will append .../ | ||
| </ | </ | ||
| + | |||
| + | </ | ||
| ==== Example kickstart file ==== | ==== Example kickstart file ==== | ||
| + | |||
| + | <tabbox BIOS> | ||
| + | |||
| <file - / | <file - / | ||
| # | # | ||
| Line 512: | Line 557: | ||
| %end | %end | ||
| </ | </ | ||
| + | |||
| + | <tabbox UEFI> | ||
| + | |||
| + | </ | ||
| + | |||
| ==== Additional documentation ==== | ==== Additional documentation ==== | ||
| * https:// | * https:// | ||
notes/linux_automatic_network_install.1715592448.txt.gz · Last modified: by Nikita Kipriyanov
