IRC chat logs for #ltsp on irc.libera.chat (webchat)


Channel log from 17 December 2021   (all times are UTC)

00:18vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100e, Quit: leaving)
06:38woernie has joined IRC (woernie!~werner@p5b296789.dip0.t-ipconnect.de)
06:53ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:01woernie has left IRC (woernie!~werner@p5b296789.dip0.t-ipconnect.de, Ping timeout: 240 seconds)
07:01woernie has joined IRC (woernie!~werner@www.velometrik.eu)
11:53Faith has joined IRC (Faith!~Faith@user/faith)
12:06woernie has left IRC (woernie!~werner@www.velometrik.eu, Ping timeout: 240 seconds)
12:07woernie has joined IRC (woernie!~werner@p5b296789.dip0.t-ipconnect.de)
12:31vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585682-65.dhcp.inet.fi, Ping timeout: 256 seconds)
12:38vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585682-65.dhcp.inet.fi)
14:07woernie has left IRC (woernie!~werner@p5b296789.dip0.t-ipconnect.de, Ping timeout: 240 seconds)
14:07woernie has joined IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de)
14:13vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585682-65.dhcp.inet.fi, Ping timeout: 256 seconds)
14:15vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585682-65.dhcp.inet.fi)
14:49danboid has joined IRC (danboid!~dan@portal.salford.ac.uk)
14:51
<danboid>
alkisg, We're getting closer to having LTSP boot via grub4dos but not worked how to get that to load the ipxe file, kernek etc from a remote tftp server yet, if it can. Might need to set up a webserver on the LTSP server to provide those files
14:51
alkisg, Why does LTSP seem to use 2 initrd files?
15:24
<alkisg>
danboid: the easiest way is to NOT use a menu.ipxe file like you do, but to load only ipxe.lkrn, and let the proxydhcp do the rest
15:25
Then the kernel, initrd and ltsp.img will get downloaded over tftp from your selected boot server. And you'll be able to change the boot server without updating the clients.
15:25
ltsp.img contains the ltsp code, settings and even users (passwd, not shadow) that is injected into the initramfs
15:26
Read https://ltsp.org/man/ltsp-initrd/ for the details
15:28
<danboid>
alkisg, So I should load ipxe.lkrn in place of the kernel?
15:28
<alkisg>
danboid: in grub4dos, you have: kernel ipxe.lkrn; initrd ipxe.pxe
15:29
As I've been saying a few days ago, you should remove the initrd line from there...
15:29
It just breaks the normal ltsp boot process
15:29
So, you will completely throw away the ipxe.pxe file that has OTHER kernel/initrd lines inside it. You won't need it at all.
15:34
<danboid>
Let me get this straight then
15:35
Our G4D menu.lst has this line
15:35
kernel /LTSP/ipxe.lkrn
15:35
<alkisg>
https://github.com/ltsp/ltsp/discussions/629
15:35
Remove this line: initrd /LTSP/boot.ipxe
15:36
<danboid>
That loads ipxe.lkrnl from where? The g4d boot partition right, under the LTSP dir?
15:36
<alkisg>
Just re-read my answer from directly below
15:36
Yes
15:43
<danboid>
My collegue says we can't use proxydhcp as our DHCP scope pushes the PCs to our main PXE environment
15:45
So I have to use an ipxe script right?
15:47
<alkisg>
It's possible to use an ipxe script, yes, if it's easier for you to manage things client-side instead of server-side
15:47
I'd just configure my "dhcp scope" to send each client to windows or linux by mac address or however else I'd want to separate the clients
15:48
In that case (when you want to main things client-side), then yes, what you did in https://github.com/ltsp/ltsp/discussions/629 was the correct way to go
15:51alkisg_web has joined IRC (alkisg_web!~alkisg_we@2a02:587:7507:c400:c24a:ff:fe02:bc1e)
15:51
<alkisg>
s/main/manage/
15:51
<danboid>
Will I need to load both initrd files? ltsp.img and the proper initrd.img? It loks like it but I can't get run-init to find the initrd
15:51
Here's the current boot file I'm using
15:52
<alkisg>
No, you can chain to the ltsp server's ltsp.ipxe menu instead
15:52
<danboid>
alkisg, https://paste.ubuntu.com/p/KDrmgpkzb4/
15:53
<alkisg>
init=http://leto.cs.salford.ac.uk/ltsp.img ?
15:53
init is what to run on boot, you can't run an image, it needs to be an executable
15:53
<danboid>
alkisg, That doesnn't work. It looks like ltsp.ipxe has vars in it that expect ipxe to be running on the same machine as ltsp
15:54
<alkisg>
kernel http://leto.cs.salford.ac.uk/vmlinuz
15:54
initrd http://leto.cs.salford.ac.uk/initrd.img
15:54
initrd http://leto.cs.salford.ac.uk/ltsp.img
15:54
imgargs vmlinuz append initrd=initrd.img initrd=ltsp.img root=/dev/nfs nfsroot=146.87.15.203:/srv/ltsp ltsp.image=images/Ubuntu-20.04.raw.img loop.max_part=9
15:54
Try something like that
15:55
You can set dhcp-server to the target server and chain there
15:55
Anyway, that about fills my quota for the day! Cheers! :)
16:02vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100e)
16:04
<danboid>
alkisg, OK thanks, we'll try that. I'm waiting on my colleague but he might be done for the day now too
16:05
alkisg, I'll be updating the ltsp image man page soon, next week most likely now
16:05
<alkisg>
danboid: no worries, I don't think anyone else complained ;)
16:08
<danboid>
alkisg, I will also try to document booting in a situation like ours, once its up and runnng properly if it might be useful but really that should wait until we're using win32-loader instead
16:08
No-one would use grub4dos if starting from scratch
16:15woernie has left IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de, Ping timeout: 256 seconds)
16:16woernie has joined IRC (woernie!~werner@p5b296789.dip0.t-ipconnect.de)
17:21vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100e, Quit: leaving)
18:00dan_ has joined IRC (dan_!~dan@cpc127016-macc4-2-0-cust104.1-3.cable.virginm.net)
18:02danboid has left IRC (danboid!~dan@portal.salford.ac.uk, Ping timeout: 256 seconds)
18:11vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100b)
18:16ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
18:21shored has joined IRC (shored!~shored@user/shored)
18:50dan_ has left IRC (dan_!~dan@cpc127016-macc4-2-0-cust104.1-3.cable.virginm.net, Quit: Leaving)
18:52alkisg_web has left IRC (alkisg_web!~alkisg_we@2a02:587:7507:c400:c24a:ff:fe02:bc1e, Quit: Client closed)
18:58lucascastro has left IRC (lucascastro!~lucascast@192-140-51-187.static.oncabo.net.br, Ping timeout: 256 seconds)
19:21lucascastro has joined IRC (lucascastro!~lucascast@45-167-143-6.netfacil.inf.br)
20:03Faith has left IRC (Faith!~Faith@user/faith, Quit: Leaving)
20:14lucascastro has left IRC (lucascastro!~lucascast@45-167-143-6.netfacil.inf.br, Ping timeout: 240 seconds)
21:28shored1 has joined IRC (shored1!~shored@user/shored)
21:29shored has left IRC (shored!~shored@user/shored, Ping timeout: 256 seconds)
21:55shored1 has left IRC (shored1!~shored@user/shored, Quit: ZNC 1.8.2+deb2 - https://znc.in)
23:02lucascastro has joined IRC (lucascastro!~lucascast@192-140-51-187.static.oncabo.net.br)
23:13jgee has left IRC (jgee!~jgee@186.80.49.20, Quit: The Lounge - https://thelounge.chat)
23:27jgee has joined IRC (jgee!~jgee@186.80.49.20)
23:33jgee has left IRC (jgee!~jgee@186.80.49.20, Quit: The Lounge - https://thelounge.chat)
23:37jgee has joined IRC (jgee!~jgee@186.80.49.20)
23:43jgee has left IRC (jgee!~jgee@186.80.49.20, Quit: The Lounge - https://thelounge.chat)
23:51jgee has joined IRC (jgee!~jgee@186.80.49.20)
23:57jgee has left IRC (jgee!~jgee@186.80.49.20, Quit: The Lounge - https://thelounge.chat)