Tails: Difference between revisions
Created page with " == PXE Boot Tails == Tails does not PXE boot nicely since it seems to lack the network drivers after unpacking initrd2.img. It seems like another person had the same issue:..." |
No edit summary |
||
| Line 1: | Line 1: | ||
== PXE Boot Tails == | == PXE Boot Tails == | ||
Tails does not PXE boot nicely since it seems to lack the network drivers after unpacking initrd2.img. | Tails does not PXE boot nicely since it seems to lack the network drivers after unpacking initrd2.img. Upon further investigation, the initrd2.img image has the network module (in my case, e1000) but isn't being loaded because it is blacklisted in the file {{code|/etc/modprobe.d/all-net-blacklist.conf}}. Removing this file from the initrd image fixes this issue. | ||
To do this, copy the {{code|initrd2.img}} file to another system that has the dracut binaries. In this example, I will be using my Fedora 25 server. | |||
{{highlight|lang=terminal|code= | |||
## Copy the Tails initrd to /tmp | |||
# cp /live/initrd2.img /tmp | |||
## Make a directory to extract the files | |||
# mkdir -p /tmp/new_initrd | |||
# cd /tmp/new_initrd | |||
# /usr/lib/dracut/skipcpio /tmp/initrd2.img | xzcat | cpio -idmv | |||
## Remove the /etc/modprobe.d/all-net-blacklist.conf file | |||
# rm /tmp/new_initrd/etc/modprobe.d/all-net-blacklist.conf | |||
## Recreate the initrd2.img file | |||
# find . | cpio --quiet -c -o | xz -9 --format=lzma > /tmp/new_initrd2.img | |||
}} | |||
For the sake of completeness, here is the PXE boot menu entry for tails: | |||
{{highlight|lang=text|code= | |||
}} | |||
=== See Also === | |||
It seems like another person had the same issue: | |||
* https://www.reddit.com/r/linuxadmin/comments/54febn/pxe_tails_os_live_boot_stuck/ | |||
[[Category:Linux]] | [[Category:Linux]] | ||
Revision as of 04:05, 29 May 2017
PXE Boot Tails
Tails does not PXE boot nicely since it seems to lack the network drivers after unpacking initrd2.img. Upon further investigation, the initrd2.img image has the network module (in my case, e1000) but isn't being loaded because it is blacklisted in the file /etc/modprobe.d/all-net-blacklist.conf. Removing this file from the initrd image fixes this issue.
To do this, copy the initrd2.img file to another system that has the dracut binaries. In this example, I will be using my Fedora 25 server.
## Copy the Tails initrd to /tmp
# cp /live/initrd2.img /tmp
## Make a directory to extract the files
# mkdir -p /tmp/new_initrd
# cd /tmp/new_initrd
# /usr/lib/dracut/skipcpio /tmp/initrd2.img
For the sake of completeness, here is the PXE boot menu entry for tails:
See Also
It seems like another person had the same issue: