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


Channel log from 16 August 2022   (all times are UTC)

00:09shored has left IRC (shored!~shored@user/shored, Quit: ZNC 1.8.2+deb2 - https://znc.in)
00:09shored has joined IRC (shored!~shored@user/shored)
00:37we6jbo has left IRC (we6jbo!~we6jbo@2603-8001-5b43-4000-a0a7-3113-9ba2-373a.res6.spectrum.com)
01:53vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20, Quit: leaving)
04:59ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
09:10woernie has joined IRC (woernie!~werner@p5b296f43.dip0.t-ipconnect.de)
09:14woernie_ has joined IRC (woernie_!~werner@p5b296f43.dip0.t-ipconnect.de)
09:15woernie has left IRC (woernie!~werner@p5b296f43.dip0.t-ipconnect.de, Ping timeout: 256 seconds)
10:22we6jbo has joined IRC (we6jbo!~we6jbo@2603-8001-5b43-4000-1741-c8e9-8a49-6dac.res6.spectrum.com)
11:21we6jbo has left IRC (we6jbo!~we6jbo@2603-8001-5b43-4000-1741-c8e9-8a49-6dac.res6.spectrum.com, Remote host closed the connection)
17:12vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20)
17:39shored has left IRC (shored!~shored@user/shored, Ping timeout: 248 seconds)
18:07SysadmOFF has joined IRC (SysadmOFF!~SysadmOFF@188.138.239.8)
18:07
<SysadmOFF>
Good evening
18:08
im here to ask help with ltsp
18:08
i have tgz with linux system inside. Trying to boot with ltsp but no luck.
18:09
Retrying nfs mount...nfsmount can`t parse ip address
18:09
......
18:09
Done..
18:09
Image doesnt exist /root/images/dyn_nowifi.img
18:10
actually - image not in that folder. but why it searching in root?(
18:13
<vagrantc>
that's where the initramfs mounts it
18:14
but you have a .tgz ... a gzipped tarball ? you would need to convert that to a filesystem image
18:14SysadmOFF has left IRC (SysadmOFF!~SysadmOFF@188.138.239.8, Quit: Client closed)
18:29SysadmOFF has joined IRC (SysadmOFF!~SysadmOFF@188.138.239.8)
18:29
<SysadmOFF>
im unpacked tgz
18:30
and exec "ltsp image -m "-comp zstd" dyn"
18:30
dyn its a folder with linux folders from root(etc,root,usr,bin )
18:30
<vagrantc>
so shouldn't it be configured to look for dyn.img instead of dyn_nowifi.img
18:30
?
18:30
<SysadmOFF>
i have two versions
18:31
so  ia have both dyn.img and dyn_nowifi.img
18:31
<vagrantc>
and where are they on the server?
18:31
in /srv/ltsp/images ?
18:31
<SysadmOFF>
 in /srv/ltsp/images/dyn.img
18:32
<vagrantc>
do you get a shell when it fails to boot? is there anything in /root/ ?
18:32
<SysadmOFF>
and im choosing dyn.img instead of dyn in PXE boot menu
18:33
all of three files sucesfuly downloaded during boot
18:33
yes,i have a shell
18:34
<vagrantc>
so what is in /root ... is there a /root/images ? what is in /root/images ?
18:34
ls /root
18:34
<SysadmOFF>
waiting while a lot of messages:
18:34
"Begin Retrying nfs mount...nfsmount can`t parse ip address ''"
18:34
<vagrantc>
ls /root/images
18:34
<SysadmOFF>
it can take a minute of two (
18:34
<vagrantc>
ok, sounds like you have an NFS problem
18:34
cat /proc/cmdline
18:35
also would be useful
18:35
<SysadmOFF>
i have booted in linux mint 21, and sucesfully created bootable image. with ltsp image /
18:35
sec
18:35
<vagrantc>
what is this .tgz you're trying to use?
18:35
<SysadmOFF>
this tgz is from previous sysadmin, maybe used with foreman. I dont know.
18:36
ok. few times clicked CTRL+C and i have this:
18:36
aborting ltsp
18:36
ltsp boot erro
18:36
ah,i dont have a shell
18:36
enable debug shell for triubleshoot
18:37
<vagrantc>
first, figure out what your image is made out of ... it may need support added or something
18:37
is it a custom mint build? ubuntu? fedora? ??
18:37
some stranger thing?
18:38
what kernel is it using? does it have support for nfs built-in? as modules?
18:39
<SysadmOFF>
ubuntu 18.04.06 inside, and its a diskless image
18:39
<vagrantc>
this makes it sound like the kernel doesn't have the features needed "Retrying nfs mount...nfsmount can`t parse ip address"
18:39
<SysadmOFF>
should have nfs, because it should mount userdir via nfs and ldap auth
18:40
fstab looks like this
18:40
tmpfs /tmp tmpfs defaults 0 0
18:40
tmpfs /aufs tmpfs defaults 0 0
18:40
tmpfs /var/tmp tmpfs defaults 0 0
18:40
tmpfs /home tmpfs defaults 0 0
18:40
tmpfs /var/log tmpfs defaults 0 0
18:40
tmpfs /var/spool/cups tmpfs defaults 0 0
18:40
<vagrantc>
you're at a shell at the client?
18:40
<SysadmOFF>
no,just reading unpacked tgz
18:40
will add debug to ipxe and reboot
18:41
<vagrantc>
aufs ... haven't seen that in a long time
18:42
so this is some custom-built diskelss image thing built out of ubuntu 18.04 ?
18:43
<SysadmOFF>
looks like yes
18:44
there is modules file in intiramfs:
18:44
iwlwifi
18:44
iwlmvm
18:44
ccm
18:44
first two is for wi-fi
18:44
ccm i think its a crypto module for WI-FI also
18:45
so no modules for aufs there
18:46
NFSROOT=auto in initramfs.conf
18:47
"set cmdline_method root=/dev/nfs nfsroot=${srv}:/srv/ltsp ltsp.image=images/${img}.img loop.max_part=9 debug"
18:47
and not it stuck before nfs error
18:58
no shell after an error
19:01
<alkisg>
SysadmOFF: can you upload a video of the boot process?
19:07
<SysadmOFF>
its not possible to send it via chat?
19:11
uploading in progrsss
19:11
<alkisg>
The video? If you're using matrix, yes, but if you're using irc, you'll need to upload it somewhere e.g. google drive, and paste the link
19:12
<SysadmOFF>
i saw one interesting thing during boot - rootpath :  is empty and rootserver 192.168.10.254. , but i dont have such host.
19:12
<alkisg>
Btw wouldn't it be easier to re-create a new 22.04 Ubuntu image, instead of trying to revive an unknown 18.04 image? If it has aufs, it might be broken in weird ways...
19:14
<SysadmOFF>
im searching for lightwieght and fast system for diskless usage. So im checking 5-10 different OS and comparing time to boot kernel, to boot login etc. Want to find nice and fast. Like ClearOS or ELementary, or Mint
19:14
and this image is very light and should be fast. I thought it will be easy job, but im working on this during alsmost a week =((
19:15
video 1
19:15
"https://temp.sh/WAZio/Screen%20Recording%202022-08-16%20at%2022.08.18.mov"
19:15
<vagrantc>
have you considered the time it takes to make it work in your speed calculations? :)
19:17
<SysadmOFF>
=D  you definitely right, but i need to do this task. I cannot just stop. Its a first time when im asking for help, i prefer to deal with issue with myself. Its an experience. Bad or good - no matter )
19:17
but yes, im stupid and wasting time .My and yours )) and im sorry ))
19:19
here is a screenshot of what i have after a lot of error on video
19:19
https://ibb.co/Ph10KW4
19:24
<alkisg>
SysadmOFF: set DEBUG_SHELL=1 under [clients], then run sudo ltsp initrd, then reboot the client
19:24
When you get a shell, type `cat /run/net*.conf`, and upload a screenshot.
19:25
> is empty and rootserver 192.168.10.254. , but i dont have such host.
19:25
Isn't that your gateway? Try to ping it
19:26
Router=.254, ltsp server=.37, client=.52
19:30
<SysadmOFF>
in ltsp.conf?
19:30
<alkisg>
Yes
19:30
<SysadmOFF>
dont have it. Will copy from share
19:31
<alkisg>
!ltsp.conf
19:31
<ltspbot`>
ltsp.conf: Configuration file for LTSP: https://ltsp.org/man/ltsp.conf/
19:32
<alkisg>
(see the creation paragraph)
19:42
<SysadmOFF>
Here is a screenshot
19:42
https://ibb.co/FW0QMx5
19:45
<alkisg>
I faintly remember reporting an issue with netplan quotes, not sure if they fixed it and when
19:45
SysadmOFF: and what's the output of `cat /proc/cmdline` ?
19:50
<SysadmOFF>
https://ibb.co/2N3VKBH
19:52
alkisg
19:52
<alkisg>
It's fine
19:52
<SysadmOFF>
so its a  netplan issue with quotes?))
19:52
<alkisg>
I think it's that netplan bug that I reported ages ago
19:52
<SysadmOFF>
but netplan its a default for fresh ubuntu-based OS
19:52
<alkisg>
I think that you just need to run apt full-upgrade inside your chroot
19:53
Yes, I'm not asking you to uninstall it, just to update it
19:54
<SysadmOFF>
got it, looks like resolv.conf doesnt exist and not able to resolv mirrors
19:54
lets add 1.1.1.1
19:54
195 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
19:54
Need to get 481 MB of archives.
19:54
not bad =\
19:55
<alkisg>
Anyway that's all from me; good night! :)
19:55
<SysadmOFF>
thank you!
19:55
will try then to ltsp image
19:55
right?
19:55
<alkisg>
Right 👍️
19:55
<SysadmOFF>
thanks,take care
20:27
apt full-upgrade doesn`t help
20:28
but why it works for mint, here is also netplan in use and active
21:27ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
21:30vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20, Quit: leaving)
22:25
<SysadmOFF>
just trying something else and playing with ipxe and that what i have:
22:25
https://ibb.co/K9x7ztP
22:25
kernel http://192.168.10.37/dyn_nowifi/vmlinuz initrd=http://192.168.10.37/ltsp.img initrd=http://192.168.10.37/dyn_nowifi/initrd.img
22:25
initrd http://192.168.10.37/ltsp.img
22:25
initrd http://192.168.10.37/dyn_nowifi/initrd.img
22:25
imgargs http://192.168.10.37/dyn_nowifi/vmlinuz initrd=http://192.168.10.37/dyn_nowifi/initrd.img append boot=live components fetch=http://192.168.10.37/dyn_nowifi/dyn_nowifi.img
22:25
boot || goto failed
22:26SysadmOFF has left IRC (SysadmOFF!~SysadmOFF@188.138.239.8, Quit: Client closed)
23:43vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20)