/srv/irclogs.ubuntu.com/2021/05/06/#ubuntu-server.txt

=== cwaydt3 is now known as cwaydt
=== WrathOfA1hilles is now known as WrathOfAchilles
pytorchhow do i do an unattended or script based upgrade from 18.04 to 20.04 ? I'm looking to upgrade an image on a server, automatically without user interaction.02:22
lordievaderGood morning06:21
=== denningsrogue684 is now known as denningsrogue68
linuxrwaveform, the instructions in your article worked perfectly and I could now run 20.04 from usb stick, thank you very much!17:05
linuxronly problem now is a black border around the image on screen, anyone know how to get rid of that?17:05
waveformlinuxr, disable_overscan=1 in config.txt17:46
waveform(then reboot)17:47
linuxrwaveform, can I change this config.txt from the runnning system?17:48
waveformsure, it's just a text file -- but it is owned by root so you'll need something like "sudo vim /boot/firmware/config.txt" (assuming you're happy with vim; use nano or whatever you prefer otherwise)17:49
linuxrwaveform, great, will try17:50
linuxrwaveform, just append to the end of the file?17:52
waveformsure17:53
linuxrwaveform, that did the trick, thanks! what's the reason for this not being disabled by default?17:59
waveformlinuxr, it's a pi thing generally: a lot of Pis are plugged into TVs which deliberately "overscan", i.e. leave the edges of the picture off (for historical broadcast TV reasons). That means there's a choice: boot with a black border for monitor users, or boot with the edges of the screen potentially cropped off for TV users. The former case is merely ugly, but the latter case is a usability problem given things like the menu bar potentially18:14
waveformdisappear18:14
waveformhence the default is "ugly but safe"18:15
linuxrwaveform, ah I see, interesting18:15
waveformI seem to recall on the hirsute images we added disable_overscan=1 by default to the boot config as ubuntu users are rather more likely to be using a monitor than a TV and this saves fiddling with the boot config for new users, but I think most distros (including raspios, and historical ubuntu versions) still use the "safe but ugly" default18:19
linuxrwaveform, now that you explain it this makes sense absolutely18:21
TJ-could it not be detected automatically on first boot with a "If you can't read this you need to enable overscan!" :D (but obviously an inverted message meaning!)18:25
waveformTJ-, on raspios there is a nice setup wizard which does ask on one of the pages "do you see a black border around this display?". It'd be nice to add something like that to ubuntu, but obviously that's a lot more work than just sticking disable_overscan=1 in the config.txt and if the latter proves "good enough" I doubt there'd be sufficient interest in dedicating developer time to it (given it would also be specific to one platform and19:43
waveformtherefore more complex than adding something that would appear on all platforms)19:43
TJ-indeed, I was being rather tongue-in-cheek19:44
waveformheh - well, you were right on the money with it given that's pretty much exactly what raspios does19:45
TJ-yeah, long time since I installed that way, and most of our Pi's are headless.19:47
=== znf_ is now known as znf
=== jelly-home is now known as jelly
=== tomreyn_ is now known as tomreyn

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!