Tomas-M / linux-live

Linux Live Kit
http://www.linux-live.org/
1.01k stars 249 forks source link

How to PXE boot via NFS #269

Open trigger1154 opened 7 months ago

trigger1154 commented 7 months ago

So I've tried just about everything. I can get the initrd to boot, however it can't find the squashfs file. If I input network commands it can't get an IP though DHCP, says "Bad Address". I assume I need to edit the create script for the initramfs but not sure what part. It is set to include network in the config file. I even installed libnfs-utils on the mint os I'm using.

Anyone know how to make this work?

Tomas-M commented 7 months ago

Well nfs is not supported, it can only boot from http, even if you manage to setup ip address properly

Tomas M

Dne po 15. 1. 2024 16:50 uživatel trigger1154 @.***> napsal:

So I've tried just about everything. I can get the initrd to boot, however it can't find the squashfs file. If I input network commands it can't get an IP though DHCP, says "Bad Address". I assume I need to edit the create script for the initramfs but not sure what part. It is set to include network in the config file. I even installed libnfs-utils on the mint os I'm using.

Anyone know how to make this work?

— Reply to this email directly, view it on GitHub https://github.com/Tomas-M/linux-live/issues/269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARHTKS7UYBWRWLOY2DC7JLYOVF2VAVCNFSM6AAAAABB3PO7J6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DEMRZGMZTINQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

trigger1154 commented 7 months ago

Hey,Thank you for the timely response. Can you think of any reason why when I had it set up as HTTP that the DHCP still gave me the same error? It seems to not like using IP=DHCP command.On Jan 15, 2024 14:46, Tomas Matejicek @.***> wrote: Well nfs is not supported, it can only boot from http, even if you manage

to setup ip address properly

Tomas M

Dne po 15. 1. 2024 16:50 uživatel trigger1154 @.***>

napsal:

So I've tried just about everything. I can get the initrd to boot, however

it can't find the squashfs file. If I input network commands it can't get

an IP though DHCP, says "Bad Address". I assume I need to edit the create

script for the initramfs but not sure what part. It is set to include

network in the config file. I even installed libnfs-utils on the mint os

I'm using.

Anyone know how to make this work?

Reply to this email directly, view it on GitHub

https://github.com/Tomas-M/linux-live/issues/269, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AARHTKS7UYBWRWLOY2DC7JLYOVF2VAVCNFSM6AAAAABB3PO7J6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DEMRZGMZTINQ

.

You are receiving this because you are subscribed to this thread.Message

ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Tomas-M commented 7 months ago

I do not know how is your pxe or dhcp server set up, and I do not remember what is going on in livekit anymore, but you can maybe get some inspiration from pxe server script here:

https://github.com/Tomas-M/linux-live/blob/master/Slax/debian12/rootcopy/usr/bin/pxe

Tomas M

Dne po 15. 1. 2024 21:57 uživatel trigger1154 @.***> napsal:

Hey,Thank you for the timely response. Can you think of any reason why when I had it set up as HTTP that the DHCP still gave me the same error? It seems to not like using IP=DHCP command.On Jan 15, 2024 14:46, Tomas Matejicek @.***> wrote: Well nfs is not supported, it can only boot from http, even if you manage

to setup ip address properly

Tomas M

Dne po 15. 1. 2024 16:50 uživatel trigger1154 @.***>

napsal:

So I've tried just about everything. I can get the initrd to boot, however

it can't find the squashfs file. If I input network commands it can't get

an IP though DHCP, says "Bad Address". I assume I need to edit the create

script for the initramfs but not sure what part. It is set to include

network in the config file. I even installed libnfs-utils on the mint os

I'm using.

Anyone know how to make this work?

Reply to this email directly, view it on GitHub

https://github.com/Tomas-M/linux-live/issues/269, or unsubscribe

< https://github.com/notifications/unsubscribe-auth/AARHTKS7UYBWRWLOY2DC7JLYOVF2VAVCNFSM6AAAAABB3PO7J6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DEMRZGMZTINQ>

.

You are receiving this because you are subscribed to this thread.Message

ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Tomas-M/linux-live/issues/269#issuecomment-1892756957, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARHTKXGLS2V3VSNTSURQQDYOWJ23AVCNFSM6AAAAABB3PO7J6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSG42TMOJVG4 . You are receiving this because you commented.Message ID: @.***>