/srv/irclogs.ubuntu.com/2022/02/21/#ubuntu.txt

Guest909Hello all. I want to reformat and repartition a secondary 1 TB drive with encryption for Ubuntu. It has my old Windows installation, but I am pretty fed up with Windows at the moment and after long deliberation decided to scrap it. What is the easiest way to repartition with encryption so that I can use it as a new drive in my desktop?00:38
Guest909Sorry if this is the wrong channel to ask this00:41
GryGuest909: to ask what?00:42
k_szeOn Ubuntu 18.04, debhelper is stuck at version 0.12-2 instead of 0.13-5~bpo18.04.1 from backports. Is that normal?00:42
Guest909Gry I want to reformat and repartition a 1 TB disk with encryption00:44
Guest909re-pasting the original question, "Hello all. I want to reformat and repartition a secondary 1 TB drive with encryption for Ubuntu. It has my old Windows installation, but I am pretty fed up with Windows at the moment and after long deliberation decided to scrap it. What is the easiest way to repartition with encryption so that I can use it as a00:44
Guest909new drive in my desktop?"00:44
GryGuest909: have you tried using the 'gparted' application from this?00:44
GryGuest909: for00:44
Guest909I see, I will try it00:46
Guest909Thanks00:46
Guest909Should I use LVM so that I can encrypt it? One long ext4 partition?00:48
k_szeapt tells me this, what does that mean? https://bpa.st/RQLA00:49
Bashing-om!info dwz bionic00:50
ubottu'bionic' is not a valid release00:50
Guest909you have a messed up dependency chain in your dpkg. try `sudo apt-get install -f`00:51
djennaIs there any disadvantage to me installing Ubuntu server this time instead of Ubuntu desktop?00:52
Guest909-f is short for --fix-broken, which most of the time will take care of the problem00:52
leftyfbdjenna: not if you want to run a server00:52
k_szeGuest909, I did, and this is what I get: 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.00:53
Guest909i am not sure, but the server might not install gnome and you'll have a console installation. it's pretty easy to install gnome on top of it, but i usually choose to install the desktop version in "minimal" mode so that it's not cluttered00:53
djennaleftyfb, I thought it would be something to try. Can I use it as a desktop too?00:53
leftyfbdjenna: Ubuntu desktop = Ubuntu server + desktop00:54
djennaThis is not my other computer (morganu) this is my HP laptop, old00:54
djennaold00:54
Guest909k_sze try forcibly installing the `dwz` package, if that doesn't work try forcibly removing the `debhelper` package00:54
Guest909i ran into broken packages a few times. it's a matter of trial and error from there ... but was able to fix it all the time00:55
leftyfbk_sze: ( cat /etc/os-release ; apt-cache policy dwz ; apt-cache policy deb-helper ) | nc termbin.com 999900:55
djennaI think I will use a post-20.04 version too. Wish me luck.00:55
djennathanks.00:55
Guest909you may need to use dpkg to forcibly remove bad dependencies00:55
leftyfbdjenna: Ubuntu 21.10 will be EOL in July00:55
k_szeHmm, I think it was `apt full-upgrade` being loath to install new packages.00:55
leftyfbGuest909: it's best to troubleshoot the actual issue before forcing things00:55
k_sze"apt install dwz=0.13-5\~bpo18.04.1 debhelper=13.5.2ubuntu1\~bpo18.04.1" worked00:56
Guest909yeah please follow what leftyfb says, i am not an ubuntu guru00:56
leftyfbk_sze: ( cat /etc/os-release ; apt-cache policy dwz ; apt-cache policy debhelper ) | nc termbin.com 999900:56
k_szeleftyfb, too late. :P00:57
k_szehttps://termbin.com/9rr8300:57
k_szeAlready changed00:57
leftyfbk_sze: not too late. The issue is you're not using an official Ubuntu mirror.00:58
leftyfbk_sze: you're running an unsupported version of ubuntu00:59
k_szehuh? 18.04 is LTS, shouldn't it still be supported?00:59
Guest909is there any best practices to follow for partitioning an 1 TB drive as a secondary storage? would you do one long ext4 drive with encryption?01:00
leftyfbk_sze: it's pulled and probably installed from singapore.mirrors.linode.com which isn't an official mirror. There's no telling what's done to the packages there01:01
k_szeleftyfb, should the mirror matter? the packages are still signed using the same keys as the official mirrors, no?01:01
Guest909i want to create an encrypted partition01:02
djennaOK new question: on the sever page it offers: get multipass. a minicloud. -- I should ship that I think.01:02
djennasKip01:02
leftyfbdjenna: not unless you know you need it01:02
oerheksGuest909, disks tool can do that for you, password protected/luks01:05
djennaOH: there is no GUI on the server. I am not ready for that. Yet. Is there any advice online :: to prepere for running Ubuntu with the cli alone. How to learn what is needed.01:09
Bashing-omGuest909: No best practice for partitining a storage device - is all dependent on what you aim to store on it.01:09
leftyfbdjenna: just install ubuntu desktop. Here you go. https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-desktop-amd64.iso01:10
Guest909Bashing-om steam games, personal documents, backup of my phone camera01:10
Guest909i have to figure out also how i can store steam games there, but that's later i guess01:10
leftyfbGuest909: why do you need to encrypt where you store your games?01:11
RavageGuest909: thats the easy part. you can just add another library path in steam01:11
Guest909i have a 500 GB SSD for the Ubuntu system, and this one is a 1 TB HDD that I want to reformat and remove Windows01:11
Guest909leftyfb you're right not for steam games. But I also want to store my personal data and personal media from phone as a backup there01:11
Guest909Ravage thanks!01:12
leftyfbGuest909: ok, so use the disks util to partition and format the drive for encryption as was suggested to you01:12
Guest909My personal media grows by about 15-20 GB per year01:13
Guest909I see thanks will try that01:13
Guest909disks is not gparted right?01:13
Bashing-omGuest909: so far I see the need for 3 partitions :D01:14
leftyfbGuest909: you can easily find out by opening the disks util in ubuntu01:14
Bashing-omdjenna: A good starting point tutorial: https://help.ubuntu.com/community/Installation/LowMemorySystems .01:15
Guest909Bashing-om what are the downsides if I just use one long encrypted ext4 partition? Will encryption use a lot of power? I have an Intel i9-9900k - should be able to handle encryption on the fly with no sweat right01:16
leftyfbGuest909: you will see no difference in performance01:17
Bashing-omGuest909: Think of a storage devices like unto a file cabinet - If you throw everything into one drawer --- how ya gonna find what you want when you need it ?01:18
Guest909I use a folder system. All my personal stuff goes in /personal/01:18
leftyfbBashing-om: directories01:18
oerheksencryption overhead would take less than 5% cpu power01:19
oerheksno worries01:19
Guest909(Well, /personal at least in Windows. I don't know if that's a good idea for Linux, have to figure that out. But yeah directories)01:19
oerheksthere *is* a downside .. if the partition gets borked, you might loose all data01:20
oerheksyou do have backups, right?01:20
Guest909Yeah I have another disk which I will copy it from01:20
Guest909That's formatted NTFS though01:21
Guest909On my network, I have another Windows PC01:21
Guest909(I would love to have online backups, but the subscriptions are too costly for me. May be I'll try Blackblaze, recently researched and saw that they have unlimited data backup.)01:22
Guest909Thanks for the suggestions. Looks like gparted cannot do it, and disks can (as you said). Found a nice video too, https://www.youtube.com/watch?v=5rlZtasM-Pk01:24
Guest909Ahh by "it" I meant encryption.01:24
=== not_phunyguy is now known as phunyguy
Guest909Prior to this, on Windows I used Bitlocker and Veracrypt. I know Veracrypt works splendidly in Ubuntu as well, but I was trying to find something that's more "native" to the system. Looks like that's LUKS01:26
Guest909The plan is to migrate completely over to Linux eventually.01:27
oerheksluks it is/01:28
Guest909'cause I'm a little fed up with Windows. But I've been using Ubuntu for a while and I love it.01:28
leftyfb!discuss | Guest90901:28
ubottuGuest909: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!01:28
Guest909Thanks to the amazing work being done by folks at Valve, I can finally get most of my games running on Ubuntu now and start the process of ditching Windows altogether01:28
Guest909Ohh sorry about being chatty01:28
Guest909Sorry01:28
Guest909If I partition and use only half the drive, and encrypt with LUKS, is it easy to extend it later? (I'm trying to postpone the decision of multiple partitions and see how well a single partition works. I may not need more than 500 GB at the moment, and may decide to extend it if single partition works well.)01:35
leftyfbGuest909: In your use case, there is no benefit to partitioning a secondary storage device01:36
oerheksluks requires the full disk, AFAIK ?01:36
Guest909Thanks leftyfb01:36
leftyfboerheks: not when you use LVM01:36
Guest909I deleted all partitions. When I create a new one with disks utility, am I using LVM?01:41
leftyfbGuest909: just use disk and partition and format it using disks01:42
oerheksyou might want to take some reading, but disks is the easiest way, https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_201901:44
oerhekshave fun!01:45
Guest909Thanks01:47
Guest909I also need to automount the partition. Looks like I can do it with /etc/crypttab (not chatting just trying to ensure that there's no obvious red flags on what I'm about to do)01:48
leftyfbGuest909: do you mean automounting without asking for a password?01:49
Guest909Yes01:49
leftyfbGuest909: then what is the point of the encryption?01:49
Guest909I found a tutorial here, https://kifarunix.com/automount-luks-encrypted-device-in-linux/01:49
Guest909The system disk is encrypted01:49
Guest909I want to provide the password only once01:49
leftyfbGuest909: "I want to provide the password only once"  ! = "automounting without asking for a password"01:50
Guest909Ohh sorry I wasn't clear01:51
Ravagemaybe ZFS is a good way to encrypt that HDD. it is flexible and supports encryption01:51
Guest909I don't want to automount the system disk. But I want to automount the second hard disk, once I boot into system with password.01:51
Ravageyou can use a keyfile on your root/encrypted filesystem to mount the ZFS datasets01:52
Guest909Isn'01:52
Guest909Sorry... Isn't zfs the one they use on Freenas?01:52
Ravagepossible01:52
leftyfbGuest909: just stick with LUKS01:52
=== st13g is now known as crisdel
Guest909Thanks.. Disks utility is really good. It's mounting the volume with a weird directory name (using some sort of UUID). Need to figure out how to have it mounted in a easy to remember directory01:55
leftyfbGuest909: that can be specified when you use luksOpen01:56
Guest909It's currently mounting at /media/${USER}/[long hex id]01:56
Guest909Ok thanks!01:56
leftyfbGuest909: you have a lot of reading to do01:56
Guest909Yeah sorry I keep asking - but I think I can figure the rest out myself now that I know what are the technologies I need to use. Thanks a lot for your help, leftyfb and others01:57
snowhawkhi02:08
Guest909What is a good directory to place a system file (such as decryption key) so that it's accessible to all users who can authenticate? /opt? or just root /?02:08
leftyfbGuest909: why do you need a user on your system to have access to the decryption key? I thought you were decrypting/mounting at boot as part of the main system decryption?02:09
Guest909I think the way to do that is this - 1) I add a decryption key file to the encrypted drive (also will keep the password) 2) add an entry on /etc/crypttab with that key, so that it is mounted on boot (since cleartext password is not supported for automount)02:11
leftyfbGuest909: then users do not need access to the decryption key02:11
Guest909Yes they don't02:11
Guest909You are right02:12
Guest909I'm sorry - it's only needed by the system02:12
GiverOfDomaniJust finished my first install on an i502:13
Guest909I don't know why I thought everyone needs the key. I suppose I can put it in /opt giving access to some group (not sure which) so that only crypttab can access it02:14
Guest909I gotta go... thanks again, need to take care of something else urgently02:14
=== Guest909 is now known as Guest909_afk
leftyfb!afk | Guest909_afk02:17
ubottuGuest909_afk: Please do not use noisy away messages and nicks in Ubuntu channels. It is annoying and unnecessary. Use the command "/away <reason>" to set your client away silently. See also «/msg ubottu Guidelines»02:17
=== Sauvin is now known as Vieillard
=== Guest902 is now known as Guest909
=== Kilroy is now known as klro
=== klro is now known as kilroy
oerheksNo.03:32
audiomousehow can i find where i have mozilla installed?03:43
audiomousei mean firefox03:43
oerheksdepends, the standard snap settings are in ~/snap/something03:45
oerheksthe actual files in /var/lib/snapd/ directory03:48
HiHoGoHi all just wanting some advice. I have ubuntu server os I am wanting to install xfce but not sure weather to install xfce4 or xubuntu. any help04:09
oerheksjust install xubuntu-desktop, and set ; sudo systemctl set-default graphical.target   # and reboot04:20
oerhekswith xubuntu-desktop you get support in #xubuntu04:20
Bashing-omHiHoGo: depends on the added features you desire if you install the full DE - please see: https://help.ubuntu.com/community/Installation/LowMemorySystems for the info.04:21
HiHoGoBashing-om: thanks. when i do install one, i will be installing the minimal desktop. not the full one. as i am building this os on my Odroid U3 single board computer, its similar to a Raspberry Pi04:23
oerheksxubuntu gives a minimal option too, AFAIK04:24
Bashing-omHiHoGo: I run minimal install with xfce4 as a lighter GUI myself :D04:25
HiHoGooerheks: yes i understand xfce4 and xubuntu both have minimal install options. i understand that xubuntu has a few more packages than xfce404:25
HiHoGoBashing-om: I see did you install it on the ubuntu server os04:26
oerheksi think you want a custom build image for Odroid U304:27
HiHoGoBashing-om: from what i understand the xfce minimal desktop has a few more extra packages.04:27
oerheksmubme abou tmore less packages, not worth the troube04:28
HiHoGooerheks: the Odroid U3 is now End Of life discontinued. all the original os that where built for it have been removed, they are older ubuntu 14.04 os. I have installed a ubuntu 16.04 minimal os and am now building it from scratch04:30
oerhekshttps://github.com/IOOI-SqAR/odroid04:30
HiHoGoIf i could find a ubuntu 18.04 minimal os build i would be building on that04:30
oerheks^04:30
dirtcastlei installed chromium. and I can't uninstall it now.04:31
dirtcastlesudo apt purge , remove, nothing is working04:32
oerhekschromium is a snap solely; sudo snap remove chromium04:32
Bashing-omHiHoGo: No, not from server - but will be next time as the base minimal-cd is no longer published. ^^ 18.04 was the last.04:32
HiHoGothanks oerheks I have already tested that os. it is built with unity desktop and is slow laggy, and after trying to run apps they dont work properly etc.04:32
dirtcastlei downloaded it through apt? chromium-browser04:32
Eickmeyerdirtcastle: Chromium is a snap. Use "sudo snap remove chromium".04:33
oerheksnope, you didnt04:33
HiHoGoBashing-om: there will always be a ubuntu minimal server os available04:33
HiHoGothey will always have the iso available to download04:33
Bashing-omHiHoGo: Yup - works for us as well :P Just keep in mind there is a fair anount of tweaking to be done.04:34
dirtcastlei installed through sudo apt install chromium-browser. and yes. snap removed it. thanks for your time!04:34
oerheks:-)04:34
Eickmeyerdirtcastle: Reason being the package through apt just is a transitional package to the snap.04:34
HiHoGoBashing-om: yes i understand that with the minimal server will take installing extra stuff. I dont mind doing that.04:35
dirtcastleoh ok. til04:35
oerheksoh Eickmeyer is right, +104:35
HiHoGooerheks: I even tried a debian buleseye os for the U# but that also had lags and such.04:36
HiHoGosnap vers apt04:36
leftyfbHiHoGo: point to the Ubunt 21.10 mini.iso04:37
HiHoGoleftyfb: ???04:37
leftyfb"<HiHoGo> Bashing-om: there will always be a ubuntu minimal server os available"04:37
leftyfbHiHoGo: there is no longer a mini.iso (minimal server installer)04:38
HiHoGoleftyfb: and ???i weill always point people to an LTS os version of any os04:38
HiHoGoleftyfb: really why is that04:38
leftyfbHiHoGo: http://archive.ubuntu.com/ubuntu/dists/jammy/main/installer-amd64/current/legacy-images/04:39
EickmeyerThe mini.iso was a relic of debian-installer and was never supported, so it has been removed.04:39
oerhekshttp://cdimages.ubuntu.com/netboot/04:39
oerheksnetboot it is04:39
Bashing-omleftyfb: Uh Huh - Thus I can sleep well at night :D04:40
leftyfboerheks: nope: http://cdimages.ubuntu.com/netboot/focal/04:40
HiHoGoEickmeyer: the server version of ubuntu was supported by the community.04:40
HiHoGojust like xubuntu, kubuntu, ubuntu studio, edubuntu etc. they are not run by canaoniacal anymorfe04:41
EickmeyerHiHoGo: I'm the leader of Ubuntu Studio and am on the Ubuntu Community Council. I am well aware, the mini.iso was never supposed to be supported by the community. You just heard it from the horse's mouth.04:41
EickmeyerSo, please don't question me on this one.]04:42
EickmeyerBesides, we're not here to argue. :)04:43
HiHoGoleftyfb: interesting. for small single board computers like the Raspberry Pi a minimal server os to build from is a must. why dont they provide arm install instructions on that link ???04:44
leftyfbHiHoGo: https://ubuntu.com/raspberry-pi04:45
HiHoGothanks Eickmeyer  what do you think of computers like the Raspberry Pi A mini os version to build from is  essential04:45
EickmeyerHiHoGo: This isn't the place for that discussion.04:46
oerheksHiHoGo, that link from lefty gives server and  desktop for your pi04:46
leftyfbHiHoGo: you don't need to "build" your OS for the Pi. Just download the image and write it to your sd card04:46
HiHoGoboards like the Raspberry Pi odroid devices, banana Pi and many others use minimal install os to build their os from on the Arm base04:46
oerheks Raspberry Pi odroid devices do not exist04:47
EickmeyerHiHoGo: You have been given the answer to your issue. Do you have another issue?04:47
Bashing-omHiHoGo: Not at all; the PI has full support - see on the Discourse formum for tutorials.04:47
leftyfbHiHoGo: feel free to discuss custom builds of ubuntu in any of those IRC channel04:47
oerheksgood luck and have fun!04:47
HiHoGoyes thanks. I get that. its a shame that ubuntu or the ubuntu server team is no longer providing for these people.04:48
HiHoGothanks anyway. I have learnt some things now.04:48
=== Scotty_Trees2 is now known as Scotty_Trees
=== dabbill_ is now known as dabbill
tyklingI seem to recall there was a community maintained repo with the latest prometheus node exporter for 20.04 but I can't find it, does anyone know what I mean?06:55
dirtcastleI messed up my gdm08:06
dirtcastleit doesn't shows the login anymore.08:06
dirtcastleI have stuff on xinitrc. is that why08:07
dirtcastleand bashprofile.08:07
dirtcastlepls help.08:08
=== jje61 is now known as jje6
=== Vieillard is now known as Sauvin
=== OurRoyalGabe_ is now known as OurRoyalGabe
dirtcastleI had my xmodmap config to swap ctrl and capslock keys. for some reason my xmodmap doesn't do that. I used to have the same .Xmodmap which I used to use in a VM. and it used to work without any problem09:34
dirtcastleI'm using stumpwm.09:37
mncheckcan I use gnome files with cifs only? I am considering removing samba if possible09:57
mncheckon focal09:59
KolusionHey all. Can somebody please confirm for me whether UFW blocks inbound and not outbound by default?10:00
=== lotuspsychje_ is now known as lotuspsychje
oerheksKolusion, by default UFW blocks nothing, one needs to install gufw to activate10:14
Kolusionoerheks: I believe UFW is activated by default.10:15
oerheksYes, it is installed, without rules10:15
oerheksbut the gui thingy not.10:15
Kolusionoerheks: I believe it blocks everything inbound while allowing everything outbound, but I want to confirm that.10:16
oerheksNo, it does nothing.10:16
Kolusionoerheks: Thanks10:17
oerheksyw, have fun!10:17
KolusionI am interested in a second opinion people. :)10:17
ograoerheks is correct ...10:17
ogra(there you go 🙂 )10:17
oerheksopinion .. go test it?10:17
KolusionI am interested in a third opinion people. :)10:17
ogralol10:18
lotuspsychjethis is not a quiz Kolusion10:18
Kolusionlotuspsychje: No shit10:18
oerheksform your own opinion, easy to check.10:18
Kolusionoerheks: No its not easy to check. To check would require uninstalling it and reinstalling it.10:18
Kolusionoerheks: I have existing rules.10:19
ogrause an lxd container 😉10:19
oerhekssudo ufw status verbose10:19
ograbut either way, ufw always gets installed inactive ...10:19
Kolusionoerheks: The status shows only the two rules I added, yet I can make outbound connections which suggests UFW allows everything outbound by default while blocking everything inbound by default. Everyone here that has given their opinion claims UFW allow everything by default. I doesn't look this way to me.10:21
oerhekssudo ufw app list  # gives a handy preset list10:21
Kolusion*It doesn't...10:22
ograKolusion, ufw gets installed inactive by default ... you need to explicitly call "sudo ufw enable" else it simply does nothing ... all the rest is really up to you10:23
Kolusionogra: I haven't mentioned anything about the service status of UFW.10:23
Kolusionogra: I am talking about the rules.10:24
ograKolusion, 4th opinion from first google hit: https://www.digitalocean.com/community/tutorials/how-to-setup-a-firewall-with-ufw-on-an-ubuntu-and-debian-cloud-server10:25
Kolusionogra: I want information from an official source.10:25
oerheks5th opinion please10:27
oerhekstell us how you see those rules?10:27
Kolusionoerheks: In terminal, as root, use the command 'ufw status'.10:28
Ravagehttps://p.haxxors.com/ufw.txt10:33
Ravagesounds like a fun game. cant we get 10 opinions?10:33
KolusionNah, I am now positive I am correct. Thanks for all your time. Good bye.10:33
Ravageplease dont come back10:34
oerheksdon't do that, Ravage10:34
KolusionRavage you sound like a womanless loser.10:34
Ravagei said please10:34
Ravageand he trolls everyone all the time10:34
tgahey, is anyone happy with a noise canceling USB headset on Linux? I tried a Jabra but it wasn't any good without their Windows software10:43
Ravagei use noisetorch for that. uses some CPU but works10:44
tgaI didn't know about it, thanks10:45
tgaI thought headsets were better than software because they have multiple/directional mics10:45
Ravageit filters everything but speech. so if someone else in the room is talking too it will transmit that. it cant filter out only YOUR voice10:46
tgaright, that's not great, usually that's exactly what I'm trying to filter out10:47
InteloIs it wise to use GPU for browser (I heard there are settings in browsers or OS) by which the app uses GPU instead of CPU. By default in linux, the browsers like chrome, chromium, firefox etc use the CPU. Not GPU?10:54
oerheksGPU use is oke, for rendering10:57
oerheksVaapi10:57
nadioIntelo: any hardware acceliration should be on, no ide about the security implication of it tought.10:58
oerheksyour GPU is already working, so..10:59
Intelonadio ide? security?10:59
nadioIntelo: performance and battery/lower power.10:59
SPFplaying videos in chrome is now dreadfully slow on my system after updates, not sure if this is chrome or kernel updates?10:59
Intelooerheks no I heard that that the apps I  mentioned do not use GPU primarily or extensively. Is that correct? and the opposite will make performance better?10:59
nadioSPF: reason why an ARM chip can play smooth 4k video with out any issues is instructuion set/hardware accelirator.10:59
nadioSPF: its just stuped to not use it.11:00
nadioIntelo: GPU = Graphical Processing Unit.11:00
oerheksnot standard, one needs to install Vaapi stuff.11:00
Intelonadio yes11:00
Intelooerheks talking to me?11:01
Intelovaapi :|11:01
oerheksvideo acceleration api11:01
Inteloso my question don't have a simple answer/11:02
Assidhi11:02
Assidso i tried to modify /etc/pam.d/sshd to add support for yubico pam module.. however. i cant seem to get this working..  it doersnt ask for the yubico otp and just goes through with my pubkey authentication11:03
oerheksHi Assid, one could install the snap https://snapcraft.io/yubioath-desktop11:04
oerheksor the ppa; https://support.yubico.com/hc/en-us/articles/360016649039-Installing-Yubico-Software-on-Linux11:05
Assidits for sshd .. so not desktop.. the app itself is in the repo.. so  im ok with getting the binary...11:05
oerheksoh oke, no idea what could be wrong then11:09
frost-corehello guys11:11
Assidnevermind .. got it..11:11
frost-corei was installing ubuntu server as a no desktop alternative to ubuntu11:11
frost-corebut, it errors in the installer11:11
frost-corei used xfs11:12
frost-coreand also when detecting drives it errors but i can continue and do custom11:12
frost-coreif anybody can help, please do11:13
frost-corei flashed ubuntu server from an existing ubuntu system11:14
frost-coreis it because i used dd?11:15
frost-core*silence*11:18
noob8650frost-core: dd shoudn't be an issue (as long as there's no single file above 4gb afaik)11:20
noob8650Since it uses FAT3211:20
frost-corenoob8650 : i keep getting errors, i rebooted the usb11:20
noob8650How do the errors look?11:21
frost-corei get to them in the disks section11:21
frost-corei cant post since im on a nother pc11:21
tuxinatorfrost-core: Well without an error message it's like hitting google's i feel lucky button11:22
frost-coresorry, i reported one to canonical11:22
frost-coreoh its fine after reboot11:23
frost-corethanks11:23
noob8650frost-core: Okay, so it doesn't detect your harddrives? Maybe you can do something like "sudo dmesg | termbin.com" (warning, this will post the output of that command to a website with an url to the paste11:24
noob8650frost-core: Okay, I'm glad it works11:24
noob8650Nevermind the above then!11:24
frost-coreyou guys are nice, my debian install complete broke my pc, i had to boot from another distro so i can install, i chose ubuntu11:25
frost-corealso i have a question, which one is better? XFS, BTRFS or EXT4?11:26
frost-corei chose xfs11:26
nadiofrost-core: different filesystem work better depending on file sizes and usage scenario, there is no answer this one is better then that.11:27
nadiobut people tend to go for ext411:27
frost-corei heard xfs is great11:27
nadiofrost-core: reiserfs you have small files and want a fast filesystem, like small binaries. EXT4 is good for larger files11:28
frost-corelubuntu can be installed from ubuntu server? or not?11:30
frost-corethe desktop11:31
lotuspsychjeyou already asked that question here frost-core11:32
ThinkT510they all use the same repositories so yes11:32
lotuspsychjedont keep flooding the same questions over and over11:32
frost-coreumm i didnt11:33
frost-corean error11:35
frost-coreIt kept erroring so im just getting lubuntu11:41
=== mintoyatsu_ is now known as mintoyatsu
hans>mkpasswd, which (at least on Debian) is part of the whois package12:08
hanswhy is mkpasswd part of whois?12:08
hansnvm found the answer here https://askubuntu.com/questions/592515/why-is-the-mkpasswd-utility-part-of-the-whois-package12:12
Pr070calhi guys13:01
Pr070calhow do i mount a smb as a /dev or if i mount smb to dir turn it into a /dev for overlayroot13:02
lpappmy /wc13:26
=== diskin_ is now known as diskin
leftyfbPr070cal: you don't14:07
ice9every time when I unlock the screen after being locked for few mins, the screen keeps OFF for while then the whole system freezes and I have to hard reset: here is a log from previous boot if it's helpfull: https://termbin.com/15vq14:09
oerheksice9, did you change powersettings, as i answered the last time14:10
oerheks??14:10
ice9oerheks, yes, this, this issue happens whenever the screen is locked whether automatically or manually; so I disabled auto screen lock; but this is not a good situation because i can't leave the laptop unlocked while away if i'm at work or cafe! this is a big poblem14:11
=== Starmina_ is now known as Starmina
frost-corehow do i make apt faster?14:13
leftyfbfrost-core: get a faster computer and/or internet connection14:13
leftyfbfrost-core: also, provide more details about your actual issue14:14
frost-coreleftyfb : i mean, its slow, and has to do checks on apps, unlike a package manager like pacman14:14
oerheksin short: not14:14
leftyfbfrost-core: we're not going to compare package managers here. If you think there's a problem with your system, please detail the issue, along with any error messages or logs so someone can help you14:15
leftyfbfrost-core: time sudo apt install -y cowsay | nc termbin.com 999914:16
frost-corei cant, im updating14:17
frost-corehttps://termbin.com/oct014:17
leftyfbfrost-core: you'll need to wait till the updates are done14:20
ice9how to install the latest mainline kernel?14:22
leftyfb!mainline | ice914:22
ubottuice9: The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds14:22
oerheksi would go for HWE first14:23
leftyfb^14:23
oerheks!hwe14:23
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack14:23
oerhekshwe gets updates, with mainline you are on your own14:23
leftyfboerheks: oh, they're already on it14:24
oerheksoh oke :-)14:24
leftyfba slightly outdated one, but HWE non-the-less14:24
leftyfb5.13.0-28-generic14:24
ice9oerheks, i think hwe will install 5.13 same as the default version on 21.10 right?14:25
frost-coreleftyfb : im using that14:25
leftyfbice9: do your regular updates14:25
leftyfbfrost-core: you are using what?14:25
frost-coreleftyfb : 5.13.0-28-generic14:25
leftyfbfrost-core: that wasn't meant for you. You're also a bit outdated as well14:26
frost-coreim updating14:26
serkan_hello. I have been trying to automate install of Ubuntu 21.10 desktop. All the information I could found online points to modifying grub.cfg to provide command line options to kernel. but for some reason I could not get it working. after the boot it lands in live session desktop instead of starting the install. any ideas14:27
leftyfbserkan_: maybe look into a post-install solution like ansible14:27
oerheksice9, yes14:27
serkan_leftyfb will ansible enable me to supply a preseed file to ubuntu installer for an null-interaction installation?14:32
leftyfbserkan_: no, that's not the point14:32
leftyfbit's a post-install tool14:33
serkan_it was possible with Ubuntu 18.04 for example when IsoLinux was around14:33
serkan_leftyfb ok. but what I need is an so called unattended install.14:33
leftyfbserkan_: https://ubuntu.com/server/docs/install/autoinstall-quickstart14:34
leftyfbserkan_: https://askubuntu.com/a/1253901/115131114:35
oerheksthis tool is work-in-progress, not complete yet https://github.com/canonical/autoinstall-generator14:36
oerhekshttps://snapcraft.io/autoinstall-generator14:36
serkan_leftyfb thanks. will look into those14:39
kenperkinsCan I do mixed scaling configurations on a per monitor basis?14:44
kenperkinsi.e one 4k monitor at 1.5, but another at 2?14:45
oerhekskenperkins, no, AFAIK14:46
ice9i installed this kernel manually https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16.10/ but how can I sign it for secure boot?14:47
oerheks!info mokutil14:50
ubottumokutil (0.4.0-1ubuntu1, impish): tools for manipulating machine owner keys. In component main, is optional. Built by mokutil. Size 23 kB / 70 kB. (Only available for any-amd64, any-arm, any-arm64, any-i386, any-ia64, any-riscv64.)14:50
ice9i had .gnupg backed up from Arch, now in ubuntu when i try to import a key, i get "gpg: keyblock resource '/etc/pacman.d/gnupg/pubring.gpg': No such file or directory"14:52
oerheksoops, only for kernel moduls..14:52
leftyfbice9: you're trying to import a config with hardcoded paths which isn't going to work14:54
coz_good day all15:13
paul424Hello I am vompletly green when it comes to printing, I somehow managed to force our bizhub konica minolta to work with Ubuntu15:28
paul424c 224e15:29
paul424but SOMETIMES it refuses to print from LibreOffice15:29
paul424where OI can check for errors ?15:29
paul424I did set device URL  lpd://192.168.1.120/print15:30
paul424in xfce4 printer setting s15:31
paul424what does general : collated mean ?15:32
paul424and opc-life-over15:34
paul424I gotta go in 5 minutes15:34
yuckey2dwhats up homies - I have a docker runner that keeps filling up its drive due to collectd15:34
yuckey2dany ideas how I can automate purging that ish15:34
leftyfbyuckey2d: if the data is purgable, why are you collecting it?15:37
yuckey2dshrug - i dont know why /var/lib/collectd is filling up15:37
leftyfbyuckey2d: did you look at what's in it?15:38
yuckey2dleftyfb - a bunch of interface-vethfffdbf0 type folders15:39
yuckey2d10s of thousands of them15:40
leftyfbyuckey2d: keep looking. You shouldn't just start deleting things you aren't familiar with. Especially when it's for something like collectd. Are you even using collectd for anything useful?15:40
yuckey2dcollectd was install by default with ubuntu. it's just a runner, can I just uninstall it and be done? not sure what collectd does15:40
leftyfbyuckey2d: collectd is not uninstalled by default with ubuntu15:41
leftyfbsorry, installed15:41
yuckey2dmaybe it was with this aws ami - I built the server, and installed docker, and never installed it15:42
yuckey2dor cloudwatch 🤔15:42
ice9I installed kernel 5.16.10 (latest stable) on ubuntu 21.10 and noticed continuous spin of the cpu fan for long time without load, what could be the issue?15:43
leftyfbice9: go back to an HWE kernel15:43
leftyfbice9: oh, you're not on an LTS release15:44
ogrause a supported kernel ... 🙂15:44
leftyfb^15:44
ice9leftyfb, i installed that one because i had an issue with the supported kernel, the system freezes when unlocking the screen, which didn't happen with 5.1615:44
ograso find a chnnel where people can support you with 5.16 on ubuntu (this channel is not it, nor any other #ubuntu-* channel)15:46
leftyfbice9: try #linux15:46
Maikinstalling another kernel than is supported by Ubuntu is at own risk15:46
BluesKajHi folks16:01
randallHi, I've got a laptop here with Ubuntu 20.04 that stopped booting. grub starts fine, but when I select the menu entry, it just stays stuck at "loading initramfs...". I've tried `update-initramfs -k all -u` to fix it, and tried booting the older kernel entry, but so far no luck.16:13
randall(updating the initramfs was done in the system chroot, booting from a live system)16:14
randallAny pointers what to do next? I'm 80% certain it's from an update on Saturday. /var/log/apt/history.log: https://paste.debian.net/1231760/16:19
randall*Sunday16:19
ioriarandall, i suggest to boot in Recovery Mode16:31
randallioria: I tried that, it also gets stuck in "Loading initramfs ..."16:31
ioriarandall, are you in chroot atm ?16:32
mncheckare focal, focal-updates, focal-security and focal-backports mutually exclusive?16:33
leftyfbrandall: tried booting the previous kernel?16:33
randallioria: Not it chroot, but booted the previous kernel and had the same problem.16:33
randallioria: I currently have removed the non-free nvidia driver for the previous kernel, and it's booting a little further. So the latest update is at least part of the problem.16:34
ioriarandall, then you need again the chroot env16:34
randallioria: Can do that, what do you propose?16:34
ioriarandall, wait... how did you remove nvidia ? by livecd ?16:34
randallioria: chroot16:35
ioriarandall, ok, so can you login normally now with another kernel  now?16:35
randallioria: The old kernel without nvidia throws me to an initramfs shell, seems as though the LUKS unlock doesn't work for some reason.16:36
randallBut I think I could fix that, if that's an issue.16:36
ioriarandall, ok,  so you need again the livecd/chroot   (if you cannot login )16:37
randallDone. What do you propose doing?16:38
ioriarandall,  check for 1) space on the disk - df -h 2) check for broken pkgs16:38
ioriarandall,  first, try and update :   sudo apt update && sudo apt full-upgrade16:39
randallioria: /boot has still >50% free, and `apt install -f` doesn't show any broken packages.16:39
ioriarandall,  sudo apt update && sudo apt full-upgrade16:40
randallioria: Done, and rebooted. Didn't fix the issue.16:40
ioriarandall, can you paste the output ?16:41
randallSure, one sec.16:42
ioriaand why your user is 'systemd-coredump' ? randall16:42
randallioria: I guess that's how unattended-upgrades is set up on Ubuntu.16:43
ioriaah, ok i don't use it16:43
randallI've verified that the first users actually has id=1000.16:43
randallioria: https://paste.debian.net/1231766/16:44
ioriarandall, uname -r16:45
randallioria: 5.13.0-28-generic currently16:45
ioriarandall,  dpkg -l | grep nvidia | nc termbin.com 999916:45
randallioria: https://termbin.com/m4j816:46
ioriarandall,  we can try to purge nvidia16:47
ioriarandall,  sudo apt purge nvidia-driver-47016:48
randallI've already dumped the kernel modules, and that made the one kernel boot.16:48
iorianope, the pkgs are still there16:48
randallioria: linux-objects-nvidia-470-5.13.0-28-generic is uninstalled, and that's the kernel that boots.16:49
ioriarandall, i suggest to  sudo apt purge nvidia-driver-470 ; it's very easy to reinstall if that's not the problem16:50
ioriarandall,  after that, run   sudo apt autopurge16:51
ice9can the fingerprint in Samsung T7 touch work on Linux? if not, can I still use the disk normally?16:53
randallioria: That fixed it for me. Question is, why is the nvidia driver b0rked with the last update. :(16:58
iorianvidia borks a lot of thing; we need to look at the logs carefully (journalctl )  ... but 'id say a mismatching  randall17:01
ioria*s17:01
=== monchi_ is now known as monchi
=== Starmina_ is now known as Starmina
Guest2921hello, i don't want to keep using https://web.libera.chat/ to come here. what is a good GUI IRC client that I should install on minimal installation of Ubuntu?17:34
PTNapivoskiHexChat17:34
Guest2921thanks17:34
oerhekslots of clients, a gui or in terminal17:35
oerhekshttps://libera.chat/guides/sasl17:35
sukruhello i have a problem at lubuntu17:42
sukrui lost my dock17:42
sukruat dock settings i made width 017:42
sukruand i closed it17:43
leftyfbsukru: open the settings again and put it back17:43
sukrui cant open settings without it17:43
leftyfbsukru: maybe try asking in #lubuntu17:44
sukrubtw this isnt ubuntu17:44
leftyfb:/17:44
sukruok thx17:44
leftyfbsukru: if you're not running ubuntu, then you shouldn't be asking for help in either #ubuntu or #lubuntu17:44
aienausually yes since this is more or less DE related I think even #lxde would be better.17:45
oerheksControl+Escape Open LXDE menu17:46
oerhekshttps://help.ubuntu.com/community/lubuntu-LXDE/Keyboard17:47
ednashfound irssi from your list oerheks, thanks!17:47
oerheksgood ednash , have fun!17:47
aienacan someone recommend a good on screen linux keyboard which supports multiple languages17:48
lotuspsychjeaiena: gnome got one baked in settings17:48
aienacan be QT/KDE/GNOME based17:48
aienawonder how I'd install it on another DE17:49
ednashhow do i keep my ubuntu machine awake when any ssh session into it is active?17:50
ednashi configured it to suspend in 20 minutes, and it does so even if i'm sshed into it from another pc17:50
oerhekssee the ssh wiki, keepalive17:50
leftyfbednash: https://askubuntu.com/questions/936728/how-to-keep-ssh-connection-alive17:50
leftyfbednash: oh, you want your system to ignore sleep settings if you're ssh'd in17:51
leftyfbednash: I would recommend turning off suspend completely17:51
ednashyes17:51
ednashwouldn't it put load into the machine, causing quicker deterioration, if i am not working on it?17:52
leftyfbednash: no17:52
ednashok thanks let me try that for now. i moved from windows into it btw, you helped me yesterday in setting up the encryption (i was chatting as guest)17:53
ednashi used to keep the windows configuration to auto-suspend17:53
=== user98 is now known as user95
ednashthere are some tutorials suggesting to put a script in /etc/pm/sleep.d/17:59
ednashwhere can i learn more about that directory and what's in there? `man sleep.d` doesn't work17:59
ednashdue to an unfortunate coincidence, googling sleep.d doesn't work either, there is some band by that name18:00
leftyfbednash: go into your desktop settings and disable suspend18:01
ednashthanks already did that... was looking to see if i can do it only on ssh, just for curiosity! found some docs here, called "sleep hooks", http://manpages.ubuntu.com/manpages/trusty/man8/pm-hibernate.8.html18:06
ednashwhich is a good vnc server to use if i want to occassionally access the GUI of the Ubuntu desktop from another machine? tightvncserver?18:14
leftyfbednash: none will work with wayland AFAIK. Other than that, you should just try them out and see for yourself. This isn't the appropriate place to ask for software recommendations. Especially when you already know you want VNC18:15
ednashVNC is the recommended way to remotely access GUI right? I am looking for a replacement of Windows Remote Desktop for Ubuntu.18:17
ednashGonna try them out thanks. Any other channel where I can ask these questions? I will try #ubuntu-offtopic18:18
leftyfbednash: OT would be good. Or #ubuntu-discuss18:18
ednashthanks18:18
oerheks libqt5x11extras5 should make teamviewer working ? https://www.codegrepper.com/code-examples/shell/use+teamviewer+on+wayland+ubuntu18:27
=== SoggyWaffles84 is now known as SoggyWaffles
annie_roidwhere on the web what I look to answer the question, what kind of problems are people having with the latest version of Ubuntu compared with the version before... I mean compare I guess it is last October to the April before. I want to use one of the new versions ....18:31
alkisgThe April version is unsupported, so you can't properly use it anyway. You should better decide if you want "latest" (=21.10) or "long term support" (=20.04)18:37
oerheksannie_roid, crawl through bugreports? https://bugs.launchpad.net/ubuntu18:39
oerheksit is such a wide open question, no developer can answer that18:41
oerheks( depends on desktop, hardware, language..)18:41
annie_roidalkisg thanks, that seems like the answer I need. oerheks thanks. that too seems true.18:50
annie_roidanother question, online suggestion of How to(what to) learn enough so that I can run Ubuntu with no GUI18:52
oerhekshttps://ubuntu.com/tutorials/command-line-for-beginners#1-overview18:52
annie_roid"what to learn in order to run Ubuntu with no GUI"?18:52
oerheksand tons of pages more ..18:52
annie_roidgreat. i will do that first, fill gaps.18:53
oerheksoften people come in here; "i don't want to use a solution in the gui but cli; how? ".. start easy and get familiar with programs and filesystem and permissions18:54
oerheksrunning services,play music, editing pictures in terminal..18:55
SoggyWafflesalso the command man <command> where <command> is the program you are trying to run. It will give you way more information then you wanted but it give you what you need18:56
foehammerimagine using canonical software18:59
oerheksdo you have an ubuntu support issue, foehammer ?19:01
foehammermore of a debian based support question19:01
oerhekswrong channel then19:02
foehammerIts because I literally cannot connect to the channel19:02
foehammerwhat is NickServ and how do I get an account19:02
oerheksoh oke, #ubuntu needs no registration, #debian does19:03
oerheks!register19:03
ubottuFor information on registering your IRC nick, see https://libera.chat/guides/registration - For any further help, ask in #libera19:03
foehammerthanks19:03
oerheksyw19:03
=== Scotty_Trees3 is now known as Scotty_Trees
=== yhyh_ is now known as lumiuser
=== beaver is now known as pong
=== dabbill_ is now known as dabbill
=== freeworld is now known as Guest6792
sorta_noobOK, So I have an issue. I just added a second monitor to my Ubuntu 20.04 desktop. All good, except that instead of expected "joined" behavior, I get secondary monitor working properly, but primary is showing both monitors and slides between them based on mouse position....22:45
=== Starmina_ is now known as Starmina
ubuntu21hello ubuntu team23:44
ubuntu21here , apt update locked and packagekitd hanged23:45
ubuntu21and firefox sudden close crash23:46
shayfhello23:48
ubuntu21hello23:48
shayfis there anyone here willing to help me with a permissions issue in ubuntu server?23:48
ubuntu21i am also waiting for response23:49
shayfawe :(23:49
shayfi think i may have fucked up my os23:49
shayfcan't access passwd, can't login to root, can't use sudo23:50
ubuntu21there is also a channel #ubuntu-server23:50
shayfits telling me that no acc's exist on the system23:50
shayfshay@vps728688:~$ su23:51
shayf   su: user root does not exist or the user entry does not contain all the required fields23:51
shayf^ prob broken asfk23:51
Maikshayf: mind the language a bit please23:51

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