Project

General

Profile

Bug #11044

PXE Boot support

Added by ronlaws86 almost 4 years ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/02/2016
Due date:
% Done:

0%

Feature Branch:
Type of work:
Sysadmin
Blueprint:
Starter:
Affected tool:

Description

Tails doesn't appear to be bootable via PXE, the boot process gets stuck waiting for the ethernet card(s) to up,
though on the machines tested, a normal live boot from USB works just fine with working network drivers, the process hangs at this point and the kernel cannot obtain the squashfs file from the server to continue.

(suggestion: a build for pxe where the root fs is packed in the initrd similar to how it's done with thinstation?)

pxe-test-2017-06-22T13-28-13-414201000Z.webm (1.74 MB) beta-tester, 06/22/2017 01:44 PM


Related issues

Duplicated by Tails - Bug #16236: issue: PXE boot does not work Duplicate 12/22/2018

History

#1 Updated by sajolida almost 4 years ago

  • Target version deleted (Tails_2.2)

#2 Updated by chrysn almost 4 years ago

i've tested this and can confirm that tails 2 fails to get the ethernet interfaces up when booting from pxe, eg. with a `fetch=http://...` kernel option.

this is not about missing infrastructure in the initramfs, though: when adding `break` to the kernel command line and running, in my case, `modprobe r8169` (my ethernet driver) followed by `exit`, tails boots up fine.

#3 Updated by ronlaws86 almost 4 years ago

What did you do to add the modprobe? was it added to the append line in the pxe config, and what did you add exactly, i've been unable to get this to work.

#4 Updated by sajolida over 3 years ago

  • Blocks Feature #11378: Make Tails Installer installable through Ubuntu Software added

#5 Updated by sajolida over 3 years ago

  • Blocks deleted (Feature #11378: Make Tails Installer installable through Ubuntu Software)

#6 Updated by goupille over 3 years ago

  • Status changed from New to Rejected

it is not a supported way of installation or booting, if you want us to support it one day, feel free to work on it

#7 Updated by ronlaws86 over 3 years ago

Faith in tails lost overnight.
this is a really standard feature that exists in in every other Linux distribution available, and got broken in Tails, one small tweak during the init phase to load net drivers would fix this, instead a way of truly loading an "amnesia" os over a network to a completely diskless computer is snubbed because the developer "Can't be bothered" to fix one small discrepancy that should not have needed fixing in the first place, to "Support" a method of booting that shouldn't need "Supporting" because it is standard on every other linux distribution going.

------\▔\
----- )..)
-----/../▂▂▂
▂▂╱┈ ▕▂▂▂▏
▉┈-┈┈ ▕▂▂▂▏
▉┈-┈┈▕▂▂▂▏
▔▔╲▂▕▂▂▏

#8 Updated by ronlaws86 over 3 years ago

ronlaws86 wrote:

Faith in tails lost overnight.
this is a really standard feature that exists in in every other Linux distribution available, and got broken in Tails, one small tweak during the init phase to load net drivers would fix this, instead a way of truly loading an "amnesia" os over a network to a completely diskless computer is snubbed because the developer "Can't be bothered" to fix one small discrepancy that should not have needed fixing in the first place, to "Support" a method of booting that shouldn't need "Supporting" because it is standard on every other linux distribution going.

-------\▔\
------ )..)
------/../▂▂▂
▂▂╱┈ ▕▂▂▂▏
▉┈-┈┈ ▕▂▂▂▏
▉┈-┈┈▕▂▂▂▏
▔▔╲▂▕▂▂▏

#9 Updated by cypherpunks over 3 years ago

ronlaws86 wrote:

Faith in tails lost overnight.
this is a really standard feature that exists in in every other Linux distribution available, and got broken in Tails, one small tweak during the init phase to load net drivers would fix this, instead a way of truly loading an "amnesia" os over a network to a completely diskless computer is snubbed because the developer "Can't be bothered" to fix one small discrepancy that should not have needed fixing in the first place, to "Support" a method of booting that shouldn't need "Supporting" because it is standard on every other linux distribution going.

Or you could work on fixing it yourself. Tails doesn't have a massive team of devs who can work on every little feature request. Furthermore, this is likely something specific to Debian Live, not just Tails. You could go complain to them.

#10 Updated by beta-tester over 2 years ago

ronlaws86 wrote:

Tails doesn't appear to be bootable via PXE, the boot process gets stuck waiting for the ethernet card(s) to up,
though on the machines tested, a normal live boot from USB works just fine with working network drivers, the process hangs at this point and the kernel cannot obtain the squashfs file from the server to continue.

i also have that problem with Tails 2.x and now with Tails 3.0.
my hope was that is was fixed with tails 3 but unfortunately the issue still exists.

i also tried to ass a ""break"" to the kernel boot option and then tried to "modprobe <network module>; exit;" but even that did not fix the issue.
i still cannot boot Tails via PXE.

i tried several Linux distributions to boot via PXE with success. only Tails makes trouble.

i always end up with

Waiting for ethernet card(s) up... If this fails, maybe the ethernet card is not supported by the kernel 4.9.0-3-amd64?

i used different computers with "r8169" and "e1000" ethernet cards/modules loaded.

it would be extremely helpful, when Tails could be booted via PXE.

#11 Updated by beta-tester about 1 year ago

cypherpunks wrote:

Tails doesn't have a massive team of devs who can work on every little feature request. Furthermore, this is likely something specific to Debian Live, not just Tails. You could go complain to them.

hi, Debian (8.x .. 9.x) does PXE boot very well and ubuntu (16.x .. 19.x) does it as well, so something must be broken in Tails.
i found something interesting on that webpage https://www.vercot.com/~serva/an/NonWindowsPXE3.html
there is an customized initrd file for Tails 3.8 unfortunately i don't have access to Tails 3.8 anymore and that initrd isn't compatible with the actual Tails version, because of different kernel version. but maybe you could aske the maker of that customized initrd file to implement that into the mail tails release.

#12 Updated by mercedes508 about 1 year ago

  • Duplicated by Bug #16236: issue: PXE boot does not work added

Also available in: Atom PDF