This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:fedora [2013/06/27 12:50] mcb30 |
howto:fedora [2023/11/03 12:43] (current) mcb30 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Network-booting Fedora ====== | ====== Network-booting Fedora ====== | ||
- | {{:clipart:fedora_logo.png?100x100 |Fedora logo}} | + | {{ :clipart:fedora_logo.png?50x50|Fedora logo}} |
You can use iPXE to boot into the [[http://fedoraproject.org/|Fedora]] Linux installer via HTTP. You can then install Fedora to a local hard disk or to an iSCSI or FCoE SAN target. | You can use iPXE to boot into the [[http://fedoraproject.org/|Fedora]] Linux installer via HTTP. You can then install Fedora to a local hard disk or to an iSCSI or FCoE SAN target. | ||
Line 14: | Line 14: | ||
| | ||
# Set source URI | # Set source URI | ||
- | set mirror http://download.fedoraproject.org/pub/fedora/linux/releases/18 | + | set mirror http://download.fedoraproject.org/pub/fedora/linux/releases/38 |
| | ||
# Detect CPU architecture and calculate repository URI | # Detect CPU architecture and calculate repository URI | ||
cpuid --ext 29 && set arch x86_64 || set arch i386 | cpuid --ext 29 && set arch x86_64 || set arch i386 | ||
- | set repo ${mirror}/Fedora/${arch}/os | + | set repo ${mirror}/Everything/${arch}/os |
| | ||
# Start installer | # Start installer | ||
- | kernel ${repo}/images/pxeboot/vmlinuz initrd=initrd.img repo=${repo} | + | kernel ${repo}/images/pxeboot/vmlinuz initrd=initrd.img inst.repo=${repo} |
initrd ${repo}/images/pxeboot/initrd.img | initrd ${repo}/images/pxeboot/initrd.img | ||
boot | boot | ||
Line 27: | Line 27: | ||
If you have mirrored the Fedora tree locally, then you should change the line | If you have mirrored the Fedora tree locally, then you should change the line | ||
- | set mirror http://download.fedoraproject.org/pub/fedora/linux/releases/18 | + | set mirror http://download.fedoraproject.org/pub/fedora/linux/releases/38 |
to point to the URI of your local mirror. Booting and installing from a local mirror will be several times faster than using the public ''download.fedoraproject.org'' mirror. | to point to the URI of your local mirror. Booting and installing from a local mirror will be several times faster than using the public ''download.fedoraproject.org'' mirror. | ||
Line 50: | Line 50: | ||
| | ||
# Set source URI | # Set source URI | ||
- | set mirror http://download.fedoraproject.org/pub/fedora/linux/releases/18 | + | set mirror http://download.fedoraproject.org/pub/fedora/linux/releases/38 |
| | ||
# Set SAN target URI | # Set SAN target URI | ||
Line 57: | Line 57: | ||
# Detect CPU architecture and calculate repository URI | # Detect CPU architecture and calculate repository URI | ||
cpuid --ext 29 && set arch x86_64 || set arch i386 | cpuid --ext 29 && set arch x86_64 || set arch i386 | ||
- | set repo ${mirror}/Fedora/${arch}/os | + | set repo ${mirror}/Everything/${arch}/os |
| | ||
# Hook SAN target | # Hook SAN target | ||
Line 64: | Line 64: | ||
# Start installer if F12 is pressed, otherwise boot | # Start installer if F12 is pressed, otherwise boot | ||
prompt --key 0x197e --timeout 2000 Press F12 to install Fedora... || sanboot | prompt --key 0x197e --timeout 2000 Press F12 to install Fedora... || sanboot | ||
- | kernel ${repo}/images/pxeboot/vmlinuz initrd=initrd.img repo=${repo} | + | kernel ${repo}/images/pxeboot/vmlinuz initrd=initrd.img inst.repo=${repo} |
initrd ${repo}/images/pxeboot/initrd.img | initrd ${repo}/images/pxeboot/initrd.img | ||
boot | boot | ||
Line 74: | Line 74: | ||
to specify the [[:sanuri|SAN URI]] of your iSCSI or FCoE target. | to specify the [[:sanuri|SAN URI]] of your iSCSI or FCoE target. | ||
- | You should see |