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


Channel log from 14 March 2021   (all times are UTC)

03:09GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Remote host closed the connection)
04:08vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
06:53robbie has joined IRC (robbie!~rob@207.148.86.185)
06:54robbie has left IRC (robbie!~rob@207.148.86.185, Client Quit)
07:37ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:49Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19)
08:05ghaoil has joined IRC (ghaoil!~ghaoil@31.7.247.13)
11:32Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19, Ping timeout: 265 seconds)
11:44Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:1dfa:baf4:9142:6399)
11:55Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:1dfa:baf4:9142:6399, Ping timeout: 265 seconds)
12:27Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0)
13:49Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0, Ping timeout: 265 seconds)
13:55Vercas0 has joined IRC (Vercas0!~Vercas@gateway/tor-sasl/vercas)
13:57Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Ping timeout: 268 seconds)
13:57Vercas0 is now known as Vercas
14:57RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)
15:24Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0)
15:39Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0, Ping timeout: 272 seconds)
16:07ghaoil has left IRC (ghaoil!~ghaoil@31.7.247.13, Ping timeout: 264 seconds)
16:09GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
16:22GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Ping timeout: 256 seconds)
17:02GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
17:07peanutbutterandc has joined IRC (peanutbutterandc!~peanutbut@27.34.48.97)
17:07
<peanutbutterandc>
Hello there
17:07
I'm trying to set up ltsp. But my image is in qcow2 format
17:08
how do I convert it to a static vmdk?
17:08
`qemu-img convert` has been converting the image to a dynamic vmdk
17:09
perhaps there's some options i'm missing?
17:18
<alkisg>
peanutbutterandc: no idea about qcow, I'm only using vmdk via virtualbox
17:19
peanutbutterandc: try "convert to raw" or something like that
17:19
vmdk-flat is raw
17:21
<peanutbutterandc>
alkisg, I get this error: http://termbin.com/9qi7 with the raw image. Any ideas/pointers please?
17:36
I have no idea why that error is manifesting itself....
17:36
I'd really appreciate any pointers/ideas to help debug it. http://termbin.com/9qi7
17:37
<alkisg>
peanutbutterandc: what's the output of this? fdisk -l /path/to/flat.vmdk
17:38
<peanutbutterandc>
alkisg, http://termbin.com/u4h7
17:39
<alkisg>
peanutbutterandc: what's that first partition, a boot partition?
17:39
<peanutbutterandc>
Yes, sir
17:39
<alkisg>
It's a lot easier if you have an MBR image with everything in a single partition, and an optional swap afterwards
17:40
Otherwise you need to specify options for ltsp image to understand where to find the rootfs, where to merge the boot partition etc
17:40
<peanutbutterandc>
hmmm.... it's a bootable vm. installed to disk (automatically, without any manual configurations)
17:40
alkisg, how do I do the latter?
17:41
<alkisg>
This one specifies the boot partition, but it's not enough, ltsp image /,,/boot,subdir=boot
17:41
wait,
17:43
peanutbutterandc: try this one: ltsp image /path/to/vmdk,partition=3
17:44
<peanutbutterandc>
with partition=3 it said "I don't know how to mount /path/to/image"
17:44
with 2, it failed too... another error
17:44
with 1, it gave the same error as before
17:44
<alkisg>
peanutbutterandc: partition=5, sorry
17:44
Where your linux is
17:45
But you'll also need the boot partition as well, this will be harder, to combine both parts
17:45
It will be a lot easier to create a normal vmdk
17:45
> it's a bootable vm => sure, but LTSP doesn't have all the bios and grub and initrd boot logic in it
17:45
It can only autodetect so much
17:45
<peanutbutterandc>
I only have virtual machine manager (libvirt/kvm/qemu)
17:46
all right then, I shall try to create another one then
17:46
<alkisg>
I mean, when you install e.g. trisquel, it'll ask you which partitions to make
17:46
<peanutbutterandc>
with only a single partition
17:46
<alkisg>
Tell it to make just one
17:46
You can also just move files around
17:46
You don't need to remake it
17:46
<peanutbutterandc>
okay. I will do just that then
17:46
<alkisg>
Whatever's easiest for you
17:47
<peanutbutterandc>
I'll have to go with reinstalling for now, I'm afraid. I don't have the knowledge to move files around in a raw image file, yet
17:47
<alkisg>
If you don't mind sharing your screen, I can help
17:48
As long as you make another disk (e.g. flat 10 GB), I can then do the copy for you
17:48
<peanutbutterandc>
I have never used a VNC thingy either.
17:48
<alkisg>
!vnc-dide
17:48
<ltspbot>
vnc-dide: To share your screen with me, run this: sudo apt-get --yes install x11vnc; x11vnc -connect srv1-dide.ioa.sch.gr - this is a reverse connection, it doesn't need port forwarding etc.
17:48
<alkisg>
It's just one command, not a daemon
17:48
<peanutbutterandc>
hmmmm....
17:49
and how does this work? you get access to what I'm currently seeing on my screen?
17:49
sorry, I'm just curious
17:49
<alkisg>
Yeah, like anydesk
17:49
And with ctrl+c you stop it
17:49
<peanutbutterandc>
never used that either... but oh well, I'll try it then
17:49
just a few moments please
17:49
<alkisg>
What's your host? E.g. debian?
17:49
Do you have graphics, gparted etc?
17:50
Or e.g. are you on a headless server?
17:50
<peanutbutterandc>
I'm on my laptop. But I'm working w/ VMs. I have the .img file... oh wait.... I'll just share the screen of my VM!
17:50
where the .img file is!
17:51Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0)
17:51
<peanutbutterandc>
Please give me a few minutes
17:51
<alkisg>
I just need access to old + new disk, and gparted
17:51
<peanutbutterandc>
I'll install gparted too, then
17:51
<alkisg>
OK
17:51
<peanutbutterandc>
thank you for helping me out. Just a few minutes please
17:55ghaoil has joined IRC (ghaoil!~ghaoil@hs-user-138.wia.cz)
17:57
<peanutbutterandc>
alkisg, done!
17:58
<alkisg>
peanutbutterandc: that's your host or your ltsp server or your guest?
17:58
*image?
17:59
<peanutbutterandc>
alkisg, my ltsp server. The guest image resides in /images
18:02
<alkisg>
peanutbutterandc: 500 MB is too little RAM for such actions.. + gui...
18:02
peanutbutterandc: vnc was terminated
18:03
Rerun it?
18:03GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Ping timeout: 265 seconds)
18:03
<peanutbutterandc>
alkisg, I only have 4 GB on my host. I'll increase the RAM and reboot, if that's okay with you?
18:03
<alkisg>
peanutbutterandc: try to rerun vnc first
18:03
Maybe it'll manage to do it, let's see...
18:04
<peanutbutterandc>
okay!
18:05
<alkisg>
peanutbutterandc: aaah you have the buggy vnc version
18:05
peanutbutterandc: run it once more, and i'll put it in a loop then
18:05
<peanutbutterandc>
alkisg, aaah....
18:05
okay
18:05
<alkisg>
There's a certain vnc version that hangs frequently, we have an updated one in the greek schools ppa, but you don't have it in your sources
18:06
<peanutbutterandc>
I added the ltsp ppa though
18:06
<alkisg>
That's different to the greek schools ppa
18:09
peanutbutterandc: ouch, you have an encrypted disk
18:09
We can't even mount this manually; ltsp would never be able to read that :D
18:09
<peanutbutterandc>
alkisg, yikes
18:09
<alkisg>
Re-do the installation, and use a simple ext4 partition as the target...
18:09
Close vnc with ctrl+c in the other tab
18:10
<peanutbutterandc>
okay...
18:10
so no encryption for the server then
18:10
<alkisg>
The image
18:10
The server may have encryption
18:10
The image can't
18:10
<peanutbutterandc>
Oh okay. That makes sense
18:10
I actually cloned the image from another template
18:10
<alkisg>
It's going to be published on lan anyway
18:10
<peanutbutterandc>
which had encryption
18:10
true
18:11
All right then, I shall do just that then and try again and let you know how that goes
18:11
<alkisg>
np
18:11
<peanutbutterandc>
(since my system has limited resources it takes quite a lot of time)
18:11
<alkisg>
peanutbutterandc: isn't your ltsp server a VM itself?
18:11
<peanutbutterandc>
thank you very much for being such a sport about helping me. I really appreciate it
18:11
alkisg, yes, sir. at the moment it is
18:11
because this is just an experiment
18:12
<alkisg>
Put the image in another VM, not inside the VM
18:12
Then you can attach the disk when you're done
18:12
<peanutbutterandc>
hmmm....?
18:12
<alkisg>
What's your host OS?
18:12
<peanutbutterandc>
sorry i don't quite understand
18:12
Linux Mint -> Host
18:12
<alkisg>
OK so now you have: mint > ltsp server > image
18:12
<peanutbutterandc>
yes
18:12
<alkisg>
I propose this: 1) mint > ltsp server, and 2) mint> ltsp image
18:13
So that you have 2 VMs in mint; not nested VMs
18:13GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
18:13
<peanutbutterandc>
Hmmm.... that does make sense.
18:13
However, since I'm following this: https://ltsp.org/docs/installation/
18:13
and am stuck here at the moment: https://ltsp.org/docs/installation/#maintaining-a-client-image
18:13
<alkisg>
Btw, wait a minute
18:14
Why do you want a different server image than a client image?
18:14
Aren't both trisq...what's the name?
18:14
<peanutbutterandc>
the instructions seem to say that the image needs to be inside the server...
18:14
trisquel
18:14
yes
18:14
<alkisg>
Then why aren't you just using chrootless?
18:14
<peanutbutterandc>
they're the same for now
18:15Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0, Ping timeout: 258 seconds)
18:15
<alkisg>
Then you'd do `ltsp image /`, and you'd only need one VM
18:15
<peanutbutterandc>
hmmm....... so that gives me trisquel for the server and client?
18:15
<alkisg>
Yes
18:15
<peanutbutterandc>
that's interesting
18:15
all right then, I shall try that right away then
18:16
<alkisg>
OK. This might give you problems if you have an encrypted / on the server; again, it's easier to have the rootfs in the first ext4 unencrypted partition
18:16
Then you may have /home encrypted in another partition, if you want to
18:16
It might work though; try it
18:17
See what `ltsp image /` has to say
18:17
<peanutbutterandc>
these are my first steps into these territories so I don't even have any idea what to expect. lol
18:17
chrootless seems to be working though! Thanks!
18:26GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Remote host closed the connection)
18:26GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
18:33peanutbutterandc has left IRC (peanutbutterandc!~peanutbut@27.34.48.97, Quit: Leaving)
18:56Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0)
19:23ghaoil has left IRC (ghaoil!~ghaoil@hs-user-138.wia.cz, Ping timeout: 246 seconds)
19:29ghaoil has joined IRC (ghaoil!~ghaoil@hs-user-138.wia.cz)
19:29ghaoil has left IRC (ghaoil!~ghaoil@hs-user-138.wia.cz, Remote host closed the connection)
19:57highvolt1ge is now known as highvoltage
20:02RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Quit: Please remember your own message. It'll be read as soon as possible.)
21:18Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0, Ping timeout: 260 seconds)
21:21ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
21:35Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0)
23:15Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0, Ping timeout: 272 seconds)