|02:09||Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection)|
|02:09||Vercas6 has joined IRC (Vercas6!~Vercas@gateway/tor-sasl/vercas)|
|02:18||Vercas6 has left IRC (Vercas6!~Vercas@gateway/tor-sasl/vercas, Ping timeout: 276 seconds)|
|02:23||Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas)|
|04:02||vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100e, Quit: leaving)|
|05:57||lucascastro has left IRC (email@example.com, Ping timeout: 252 seconds)|
|06:42||ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)|
|09:37||jgee1 has joined IRC (firstname.lastname@example.org)|
|09:46||jgee has left IRC (email@example.com, *.net *.split)|
|09:46||jgee1 is now known as jgee|
|10:15||woernie has joined IRC (firstname.lastname@example.org)|
|10:18||danboid has joined IRC (email@example.com)|
alkisg, I just tried to install the ltsp server packages under 20.04 (server) and the installation has stalled on the line:
Hmm its done now :)
My expectations get warped by using u.2 SSDs in RAID 10 :)
alkisg, OK, so, before I run
What would you recommend I do immediately after running that command to prevent this new LTSP server clashing with the existing LTSP server? Maybe disable one of the services?
I think to test it we'll be temp disabling the old LTSP server and handing over to th new one rather that creating MAC address lists on the DHCP server
If that makes sense
sudo ltsp dnsmasq -p0 -r0
This disables both proxy and real dhcp, so it's not interfering with anything
Ah cool. So to reverse that I'd run
sudo ltsp dnsmasq -p1 -r1 ?
I'm sue its man page will tell me
OK seems I'd need to
ltsp dnsmasq -p $IPADDRESSOFDHCPSERVER
When I want to activate it
Obvs replacing $IPADDRESSOFDHCPSERVER with our DHCP servers address
I don't know what your current DHCP setup is
If you want ltsp in proxy mode, then it's just: ltsp dnsmasq
danboid: is it a flat image with the first partition = ext4?
alkisg, Also, what permissions should I use for the disk image files
|10:50||woernie has left IRC (firstname.lastname@example.org, Ping timeout: 256 seconds)|
|10:50||woernie has joined IRC (email@example.com)|
alkisg, I used VBoxManage to turn the vdi file into a RAW disk image
It doesn't sound like it succeeded
I used the default install options in Ubuntu 20.04 desktop
It's usually easier to have the disk image files in the administrator account, e.g. even in ~/Virtualbox VMs/image-flat.vmdk, and just symlink them to /srv/ltsp/image.img
Then a plain `ltsp image` from anywhere works
-rw------- 1 root root 53687091200 Dec 14 10:40 Ubuntu-20.04.raw
Don't you want to boot it with virtualbox again?
If it's owned by root, you'll have a hard time booting it
I'm going to be updating it using qemu most likely
Still, why would you want to use root to update a vm
Yes, what are the optimal permissions?
qemu runs as the user with no issues
Noone needs to read that file except you
sudo ltsp image will have enough permissions no matter what you put there
So you can be as restrictive as you like
OK so I should've used a custom partition layout then, not the Ubuntu default?
What's the current partition layout? Put it to pastebin
sudo fdisk -l /path/to/raw
* -l /path/to/raw | nc termbin.com 9999
Oh christ! Since when did vbox default to using UEFI?
I presumed it default to BIOS boot like virt-manager still does
ltsp can still mount the second partition of that image, but it'll need a ,partition= parameter in ltsp image to do so
See the ltsp image man page for that
It's generally easier to just rewrite the partition table
rewrite the partition table?
Switch it from gpt/grub-uefi to mbr/grub-bios
I've never done that. fdisk can do that?
Eeeh that'll need more time to explain than I currently have; do cp or reinstall or whatever it's easier for you :)
I wonderred if you knew a single comand that could do that. I could do it manually but I'd rather just use te partition option for now. Lesson learned about vbox and ltsp image
More than one command is needed to convert a gpt disk to mbr
Yeah, thats how I'd be doing it. In several stages
Maybe we could add a --uefi option to LTSP that would work with a default Ubuntu UEFI image?
to ltsp image
or it just autodetets
There's a ,partition option, see the man page...
Autodetection would be nice, sure, except that it's possible to put the kernel in a fat partition
So it might work for some cases, and break others, it'll need a lot of time+checks
Whats the man page command for ltsp image?
That should be added to the install guide
and/or a link to the actual man page
man ltsp image
or man ltsp-image
Both of them are already there in the installation guide
Sorry no time to chat more, back later
|11:14||* alkisg will have little free time for the next few months...|
see the ltsp image man page EXAMPLES section for how to include them
It should say
The LTSP supports three methods to maintain a client image. They are documented in the ltsp image man page.
(from that page)
Anyway, feel free to send a PR if you wish, the site code is on github
see `man ltsp-image` ..
I will do yes
The other prob is that this is the only example I see in there for partitions and I don't understand it:
ltsp image /,,/boot,subdir=boot,,/opt,subdir=opt
Here's my default vbox Ubuntu install UEFI partition layout
So what would be the woprking ltsp image command?
We'll get this added to the LTSP image man page / install guide as an example
seeing as this will be a very common use case
alkisg, There is no mention of a partition option in the current ltsp-image man page
I think I understand the format
|11:27||lucascastro has joined IRC (firstname.lastname@example.org)|
alkisg, Woukld it be
ltsp image /,/dev/sda5
I've looked at /usr/share/ltsp/server/image/35-image.sh and there is no support for alternate partition maps that I can see
So looks like I'll have to convert my image to a non-UEFI image
alkisg, So it needs to be a raw MBR disk image with only 1 ext4 partition?
I'm making notes on the steps I take to convert the image
|14:19||dan_ has joined IRC (email@example.com)|
|14:22||danboid has left IRC (firstname.lastname@example.org, Ping timeout: 256 seconds)|
|15:29||dan_ is now known as danboid|
alkisg, Pfft! Took me most of the day to convert the image. Probably would've been faster for me to redo it :)
alkisg, I've documented it tho so will add that to the wiki
Could be useful to others until ltsp image supports EFI partitions
danboid: ltsp does support the partition= parameter that I mentioned, that can boot from gpt/uefi installations
I do not have enough time to help you locate the information though, sorry...
It's been also discussed in the github discussions
alkisg, I looked at the image script and I couldn't see any such feature and its not covered in the man page
OK, I'll have a look in January when I'll have time to document this
I didn't trawl the gh discussions. All important stuff such as this needs top be in the man pages or people won't find it
lltsp/common/ltsp/55-images.sh: partition=*) partition=$value ;;
OK, I was looking at /usr/share/ltsp/server/image/35-image.sh
Currently, that's all I can offer wrt ltsp
In January, I'll have a bit more time to fix a few things and release the 22.01 version, for Ubuntu 22.04
I do not have time for more, even if they're needed or expected
If ltsp had another long-term developer, that codes and documents and answers github discussions etc etc, I'm sure it would be in a better place. Currently, it is what it is ... :)
(most of the image handling code is in common because it's also used when the client boots; i.e. ltsp can boot directly from the vm-flat.vmdk, without running ltsp image at all; very useful for quick testing or even for booting unmodified .isos)
It's even possible to reboot your server, and ask ltsp to boot the server itself using the .vmdk image that is located in the X partition. Very handy, but it's not something that should be documented for all users, it would just confuse them...
It not safe to run
Without configuring it first
My server hasn't been too happy since
The main interface is bond0 - 4x 1Gb ethernet connections bonded and then it hasd a separate 10gb nic
If a user has anyting a bit non-standard like this, should they not run `ltsp dnsmasq`?
I'd like to mention a last thing: these months I'm time-pressed. I don't want to be completely unresponsive though, I don't like that. I can spend a few minutes per day helping ltsp users, but no more. So is possible, I would like to respond to e.g. one question per user per day or something like that; no time for long chats now
I hope that's OK, but even if it's not, that's all I can do currently. And with that, /me waves, back to work for now...! :)
|16:08||woernie has left IRC (email@example.com, Ping timeout: 250 seconds)|
|16:09||woernie has joined IRC (firstname.lastname@example.org)|
Hiopefully my network issues have ben fixed by running
sudo systemctl mask systemd-networkd-wait-online.service
Which I didn't think was still necessary but looks like it is
|16:17||lucascastro has left IRC (email@example.com, Ping timeout: 240 seconds)|
If I wanted to chainload LTSP's ipxe from GRUB4DOS, what address would I use? Something like
Hmmm, seems I've trashed my server by installing LTSP server on it. I keep on getting disconnected from SSH and then I can't reconnect again until I use iDRAC to reboot it
|16:41||lucascastro has joined IRC (firstname.lastname@example.org)|
I'm going to have to look at what ltsp dnsmasq etc actually do
ie what assumptions they make about network devices
|16:55||bcg has left IRC (email@example.com, Ping timeout: 268 seconds)|
|17:18||bcg has joined IRC (firstname.lastname@example.org)|
|17:50||woernie has left IRC (email@example.com, Ping timeout: 240 seconds)|
|17:50||woernie has joined IRC (firstname.lastname@example.org)|
|20:28||lucascastro has left IRC (email@example.com, Read error: Connection reset by peer)|
|20:29||ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)|
|20:34||lucascastro has joined IRC (firstname.lastname@example.org)|
|20:44||lucascastro has left IRC (email@example.com, Remote host closed the connection)|
|21:03||dan_ has joined IRC (firstname.lastname@example.org)|
|21:05||danboid has left IRC (email@example.com, Ping timeout: 252 seconds)|
|21:21||lucascastro has joined IRC (firstname.lastname@example.org)|
|21:53||dan_ has left IRC (email@example.com, Remote host closed the connection)|