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


Channel log from 1 September 2016   (all times are UTC)

00:06chksome has joined IRC (chksome!~chksome@cpe-74-140-207-12.cinci.res.rr.com)
00:07chksome is now known as chksome-away
00:39chksome-away has left IRC (chksome-away!~chksome@cpe-74-140-207-12.cinci.res.rr.com, Quit: My Mac has gone to sleep. ZZZzzz…)
00:59bennabiy_ has joined IRC (bennabiy_!~ubuntu-ma@97.89.236.39)
01:00
<bennabiy_>
alkisg, Can you direct me in how to best get a kernel etc on the sdcard for this nexbox? I am booted into a live session on it
01:07
<vagrantc>
!sda
01:07
<ltsp>
I do not know about 'sda', but I do know about these similar topics: 'sis', 's'
01:07
<vagrantc>
!disk
01:07
<ltsp>
I do not know about 'disk', but I do know about these similar topics: 'fat-internal-disks', 'local-disks'
01:07
<vagrantc>
!local-disks
01:07
<ltsp>
local-disks: On fat clients, only sudoers have access to local disks. One way to give access to non sudoers, is to put in lts.conf: RCFILE_01="mkdir -p /media/local_disk && mount /dev/sda1 /media/local_disk"
01:07
<vagrantc>
!boot
01:07
<ltsp>
I do not know about 'boot', but I do know about these similar topics: 'bootfloppy', 'panic-reboot', 'BOOTPROMPT_OPTS', 'local-boot'
01:07
<vagrantc>
!local-boot
01:07
<ltsp>
local-boot: If you want LTSP fat clients on a low-speed network, you can put i386.img on e.g. C:\Boot\LTSP\i386.img and use this command line in pxelinux.cfg: APPEND ro initrd=ltsp/i386/initrd.img init=/sbin/init-ltsp root=/dev/sda1 rootflags=ro loop=/Boot/LTSP/i386.img; IPAPPEND 3
01:08
<vagrantc>
bennabiy: maybe !local-boot ?
01:11
oh, EFI. gah.
01:24
<bennabiy_>
vagrantc, efi, yes...
01:25
<vagrantc>
i guess i should get a couple EFI systems someday so i can actually troubleshoot this sort of thing
02:04Freejack has left IRC (Freejack!~Freejack@unaffiliated/freejack, Ping timeout: 276 seconds)
02:09Freejack has joined IRC (Freejack!~Freejack@unaffiliated/freejack)
02:26gdi2k has joined IRC (gdi2k!~gdi2k@119.94.27.63)
02:59chksome has joined IRC (chksome!~chksome@cpe-74-140-207-12.cinci.res.rr.com)
02:59chksome is now known as chksome-away
03:27chksome-away has left IRC (chksome-away!~chksome@cpe-74-140-207-12.cinci.res.rr.com, Quit: My Mac has gone to sleep. ZZZzzz…)
04:20
<alkisg>
(04:00:45 πμ) bennabiy_: alkisg, Can you direct me in how to best get a kernel etc on the sdcard for this nexbox? I am booted into a live session on it
04:21
==> bennabiy_, I don't have much time to direct you on how to put the kernel+initrd only and install grub, so one way is to run a full ubuntu installation on it
04:26vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
05:50ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
06:24mikkel has joined IRC (mikkel!~mikkel@mail.dlvs.dk)
06:57kjackal has joined IRC (kjackal!~quassel@onopfy.static.otenet.gr)
08:58Statler has joined IRC (Statler!~Georg@mail.lohn24.de)
08:58pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, *.net *.split)
08:58tarzeau has left IRC (tarzeau!~alex@mail.aiei.ch, *.net *.split)
09:03pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
09:03tarzeau has joined IRC (tarzeau!~alex@mail.aiei.ch)
09:03pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, Max SendQ exceeded)
09:06pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
09:06gdi2k has left IRC (gdi2k!~gdi2k@119.94.27.63, Read error: Connection reset by peer)
09:09_longines has left IRC (_longines!~longines@static.183.80.201.138.clients.your-server.de, K-Lined)
10:14robb_nl has joined IRC (robb_nl!~robb_nl@62.235.16.170)
10:34
<slog1235>
hey all
10:34
I am in
10:34
ready to test some more uefi pxe'ing :)
11:59kjackal has left IRC (kjackal!~quassel@onopfy.static.otenet.gr, Ping timeout: 276 seconds)
12:12kjackal has joined IRC (kjackal!~quassel@2a02:587:3101:f100:9c57:8c37:be95:89fa)
12:15robb_nl has left IRC (robb_nl!~robb_nl@62.235.16.170, Remote host closed the connection)
12:50pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, Ping timeout: 244 seconds)
13:03pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
13:30GodFather has joined IRC (GodFather!~rcc@75-145-237-204-Michigan.hfc.comcastbusiness.net)
13:53ben_roose has joined IRC (ben_roose!~roose@roose.cs.wichita.edu)
14:02mikkel has left IRC (mikkel!~mikkel@mail.dlvs.dk, Quit: Leaving)
14:06
<bennabiy_>
alkisg, fair enough... I know how to install, but was not sure how to covert to ltsp fat client from there. Would it be best to just install and then clone over the fat client image to it?
14:07
alkisg, or would I do best to do a full install, and then install ltsp-client?
14:17
alkisg, would this be something along the lines of what I need for UEFI? http://askubuntu.com/questions/510856/how-to-boot-load-the-kernel-using-efi-stub-efistub-loader
14:17
<slog1235>
hm
14:19
well i am complete stuck now
14:19
http://pastebin.com/yg7jeETh
14:20
it wont even give the efi client a ip and start the process for some reason
14:20
<cyberorg>
bennabiy_, adapt this as per your setup https://github.com/openSUSE/kiwi/wiki/Setup-PXE-boot-with-EFI-Using-GRUB2
14:22
<bennabiy_>
cyberorg, thank you... it is nice to see you around here again
14:22
been a while
14:22
cyberorg, I have tried that already, and it did not work
14:22
but that is not saying I did it right either...
14:23
<cyberorg>
bennabiy_, both grub and ipxe instructions are there
14:44vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
14:44
<slog1235>
hey vagrantc
14:45* vagrantc waves
14:45
<slog1235>
we just need to work out why the efi puter wont get a ip from DHCP presently.. then I am sure it will go
14:46
dnsmasq-dhcp[12269]: PXE(eth0) c0:3f:d5:a5:70:bf proxy
14:47
but normal X86/pxe gets a ip fine
14:48
I was giving it out yesterday but I dont know what I changed
14:48
it&
14:54
<bennabiy_>
slog1235, I ran into the same issue with isc-dhcp not giving the EFI system an IP
14:56
<slog1235>
i am going to try a dhcp-host
14:58
<bennabiy_>
vagrantc, to make use of local hard drive as image cache for fat client, what would be the best format for it (figuring it is eMMC)
14:58
I know the EFI partition needs to be fat32
14:59
but for the cache, should I use ext2/3/4?
15:16robb_nl has joined IRC (robb_nl!~robb_nl@62.235.16.170)
15:27
<vagrantc>
bennabiy_: why not just dump the whole squashfs image?
15:39
<bennabiy_>
best way to do that?
15:50
<vagrantc>
dd if=/dev/nbd0 of=/dev/sda2 bs=10240k ??
15:51
or dd if=/opt/ltsp/images/amd64.img of=/dev/sdb2 ...
15:59
<bennabiy_>
but if I cannot get it to boot from the network yet, how do I get it to read nbd?
16:00
how do I set up an nbd client?
16:00
so that I can read the image?
16:04bennabiy has left IRC (bennabiy!~bennabiy@unaffiliated/bennabiy, Read error: Connection reset by peer)
16:05bennabiy has joined IRC (bennabiy!~bennabiy@unaffiliated/bennabiy)
16:17bennabiy has left IRC (bennabiy!~bennabiy@unaffiliated/bennabiy, Read error: Connection reset by peer)
16:21bennabiy has joined IRC (bennabiy!~bennabiy@unaffiliated/bennabiy)
16:25
<bennabiy>
vagrantc: to get the chroot to be labeled differently when using ltsp-build-client, what is the proper syntax? I want an amd64 chroot, named fat1
16:26
ltsp-build-client --arch amd64 --chroot fat1 ?
16:26
<vagrantc>
i *think* that's right ... try it and find out!
16:26
<bennabiy>
how do I make use of the local package cache?
16:28
<vagrantc>
ltsp-build-client --extra-help
16:28
there should be a bunch of options there regarding package caching
16:29
<bennabiy>
thank you
16:29
you would think I would remember this stuff
16:29
<vagrantc>
i think --help isn't very helpful ... we should probably just kill it
16:29
e.g. --help and --extra-help be the same
16:30
<bennabiy>
make --extra-help the default yes
16:30
<vagrantc>
i *think* recent versions of ltsp-build-client generate the manpage from the --*help options, too
16:30
bennabiy: if it's the default, there's no reason to have a --not-very-much-help option
16:30
--less-helpfull
16:31
<bennabiy>
--add-this-option-for-not-too-much-help
16:31
that could be the erlang help
16:31bennabiy_ has left IRC (bennabiy_!~ubuntu-ma@97.89.236.39, Remote host closed the connection)
16:31
<vagrantc>
overall ... i think ltsp-build-client is overengineed and could probably be replaced or simplified
16:32
it's too complicated for what it is
16:32
<bennabiy>
Is the complication from multi-arch / distro support
16:32
<vagrantc>
especially since most stuff happens at boot time ...
16:32
<bennabiy>
?
16:32
<vagrantc>
it's from too many commandline options
16:32
all it should do is create a chroot and install some packages
16:33
<bennabiy>
and read a file?
16:33
<vagrantc>
what file should it read?
16:33
<bennabiy>
a configuration file
16:33
<vagrantc>
it shouldn't have any configuration
16:33
<bennabiy>
to set defaults for what packages to install etc
16:34
<vagrantc>
maybe something really simple ... but right now, it's a mess
16:34
<bennabiy>
or are you thinking something else should fill in and do the second part?
16:34
<vagrantc>
well, there are countless "build a chroot and install some packages" tools out there.
16:34
<bennabiy>
true
16:34
<vagrantc>
why do we need to reimplement all that? there's nothing we do anymore that's really very ltsp specifi
16:35
c
16:35
we used to do more in-chroot customization, but moved most of that to boot time
16:35
<alkisg>
(05:06:33 μμ) bennabiy_: alkisg, fair enough... I know how to install, but was not sure how to covert to ltsp fat client from there. Would it be best to just install and then clone over the fat client image to it?
16:35
<bennabiy>
hmm
16:35
<alkisg>
==> you only need the boot loader and the efi setup from the ubuntu installation
16:36
This will save you all those "what partitions do I need?" questions
16:36
When that's done, you just copy vmlinuz and initrd.img from the ltsp server, and add a line to grub.cfg
16:36
You don't need to install ltsp-client or copy the squashfs image or anything at all
16:36
<bennabiy>
will do in a couple hours... need to get lunch and then teach a class
16:37
alkisg: thank you
16:37
<alkisg>
You're welcome, have fun teaching :)
16:37
<bennabiy>
thank you
16:37
<alkisg>
(school year started today here)
16:37
<bennabiy>
we do year round
16:37
homeschool
16:37
<alkisg>
Ah
16:38
<bennabiy>
although I teach my friends children, as mine are not quite old enough yet
16:38
see you in a while
16:38* bennabiy waves
16:38
<alkisg>
bb
16:49GodFather has left IRC (GodFather!~rcc@75-145-237-204-Michigan.hfc.comcastbusiness.net, Ping timeout: 276 seconds)
16:54azelic has joined IRC (azelic!5a55c51e@gateway/web/freenode/ip.90.85.197.30)
17:10cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 265 seconds)
17:10cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
17:11azelic has left IRC (azelic!5a55c51e@gateway/web/freenode/ip.90.85.197.30, Ping timeout: 264 seconds)
17:12robb_nl has left IRC (robb_nl!~robb_nl@62.235.16.170, Ping timeout: 240 seconds)
17:18Statler has left IRC (Statler!~Georg@mail.lohn24.de, Quit: Leaving)
17:26book` has left IRC (book`!~book`@68.ip-149-56-14.net, Quit: Leaving)
17:43cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 250 seconds)
17:49robb_nl has joined IRC (robb_nl!~robb_nl@62.235.16.170)
18:02book` has joined IRC (book`!~book`@68.ip-149-56-14.net)
18:06cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
18:11robb_nl has left IRC (robb_nl!~robb_nl@62.235.16.170, Quit: I'm gone, bye bye)
18:13
<bennabiy>
back
18:14
alkisg: put the vmlinuz etc in the efi partition?
18:18robb_nl has joined IRC (robb_nl!~robb_nl@62.235.16.170)
18:27
<bennabiy>
vagrantc: On my fat client, one of my external hard drives is showing up, and the other isnt
18:28
well, one is a usb stick, the other a hard drive
18:34
<alkisg>
bennabiy: efi boots grub.efi, and grub can then load vmlinuz wherever you put it. Usually it goes in /boot, like in all existing ubuntu installations.
18:36
<bennabiy>
so I installed ubuntu-mate to the nexbox, can I just use the kernel and such from that install?
18:36
<alkisg>
No, the initramfs doesn't have the correct code
18:36
<bennabiy>
ok
18:36
<alkisg>
So put vmlinuz and initrd.img from the ltsp server, beside the /boot/vmlinuz-xxx of your ubuntu-mate installation
18:37
<bennabiy>
one minute, switching to that computer
18:40kjackal has left IRC (kjackal!~quassel@2a02:587:3101:f100:9c57:8c37:be95:89fa, Ping timeout: 265 seconds)
19:05kjackal has joined IRC (kjackal!~quassel@2a02:587:3101:f100:9c57:8c37:be95:89fa)
19:07bennabiy_ has joined IRC (bennabiy_!~bennabiy@97.89.236.39)
19:07
<bennabiy_>
ok, booted into the nexbox, copying the vmlinuz and initrd
19:12kjackal has left IRC (kjackal!~quassel@2a02:587:3101:f100:9c57:8c37:be95:89fa, Ping timeout: 260 seconds)
19:31robb_nl has left IRC (robb_nl!~robb_nl@62.235.16.170, Ping timeout: 260 seconds)
19:37
<vagrantc>
bennabiy: alternately... install ltsp-pnp on the box, and transfer the image over to the server...
19:41
<bennabiy_>
the issue is how to get it to grab the info from the server as it only accepts uefi
19:41
so it is not getting the dhcp request to the dhcp server
19:45
<vagrantc>
bennabiy: so, you have installed ubuntu-mate on the nextbox, use that to generate the LTSP image...
19:45
<bennabiy_>
ok, vmlinuz and initrd.img copied to /boot
19:45
<vagrantc>
or just copy the other files around. whatever :)
19:45
there's no shortage of options
19:46
<bennabiy_>
but how do I get it to look to the main ltsp server for users etc
19:47
so install ltsp-server to the nexbox?
19:47
or ltsp-client
19:51
what was the line in grub which needs to be updated?
19:53
<vagrantc>
actually, just installing ltsp-client should work ... as long as the same kernel version is on the server
19:53
bennabiy: the initrd makes it's own DHCP request
19:54
bennabiy: so load the kernel+initrd from grub, configure teh boot arguments the same as if you were booting from pxelinux.cfg/default
19:54
e.g. init=/sbin/init-ltsp
19:54
should be sufficient
19:54
unless your DHCP server is broken
19:58
<bennabiy_>
ok
19:58
so install ltsp-client and make it match the server
20:03lmds__ has left IRC (lmds__!~lmds@tui.pi-et-ro.net, Ping timeout: 250 seconds)
20:06
<bennabiy_>
vagrantc, so I installed ltsp-client, now where do I put the grub info to match pxelinux.cfg/default?
20:07
I see the autogenerated grub.cfg, and can edit the files which made it, (/etc/grub.d/) but do not see the specifics of the boot menu there
20:11
rebooting
20:12bennabiy_ has left IRC (bennabiy_!~bennabiy@97.89.236.39, Remote host closed the connection)
20:12
<vagrantc>
bah
20:12
maybe /etc/grub.d/10_linux ... or create a comprable /etc/grub.d/09_ltsp
20:25
<bennabiy>
I tried manually editing it while booted, but it just busyboxes
20:25
I will have to hit this again later
20:25
time to go spend some time with my girls
20:26ben_roose has left IRC (ben_roose!~roose@roose.cs.wichita.edu, Remote host closed the connection)
20:26
<bennabiy>
one thing I wish general PC manufacturers would implement is apples target disk mode
20:26
to mount a different computers drives as externals
20:27
would be very handy in these instances
20:36root^administrat has joined IRC (root^administrat!2a6860da@gateway/web/freenode/ip.42.104.96.218)
20:43root^administrat has left IRC (root^administrat!2a6860da@gateway/web/freenode/ip.42.104.96.218, Ping timeout: 264 seconds)
21:00ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
22:01ben_roose has joined IRC (ben_roose!~roose@roose.cs.wichita.edu)
22:23ben_roose has left IRC (ben_roose!~roose@roose.cs.wichita.edu, Remote host closed the connection)
22:39adrianorg has left IRC (adrianorg!~adrianorg@177.156.63.124, Ping timeout: 265 seconds)
22:40adrianorg has joined IRC (adrianorg!~adrianorg@187.113.248.232)