/srv/irclogs.ubuntu.com/2023/12/28/#ubuntu.txt

=== ingrim1 is now known as ingrim
RubixDebianhello00:54
devslashWhen upgrading Ubuntu, can you go from 22.04 directly to 23.10 or do you have to upgrade 22.04 -> 23.04 -> 23.10 ?00:55
rboxhttps://askubuntu.com/questions/1489052/how-to-migrate-from-22-04-lts-to-23-1000:58
=== keypushe- is now known as keypusher
devslashok thanks I guess I have to do each upgrade in the upgrade path00:59
webchat16Hi, I'm running Ubuntu 22.04 on a Raspberry Pi. I can't boot into my normal interface, I'm stuck within initramfs. I've checked Stack exchange and the forums and tried the obvious, but nothing has seemed to work so far. Can anyone help guide me into figuring out what I can do from this interface and what my options are?01:25
rboxwhat does the output look like01:26
webchat16Basically it's just showing BusyBox v1.30.1 and a prompt for (initramfs)01:27
rboxtheres more than that...01:28
webchat16Sure, I think the most unique line on my screen is "Target filesystem doesn't have requested /sbin/init."01:28
rboxsounds like your rootfs is corrupt01:29
webchat16Is there a way to fix that from this initramfs prompt? I can't seem to get a live CD running over this, no GRUB loads up.01:30
arraybolt3webchat16: Let's start by mounting the primary drive.01:32
arraybolt3`ls /dev/mmcblk*`01:32
arraybolt3`ls /dev/sd*`01:32
arraybolt3do either of those commands show anything?01:32
webchat16Yep, mmcblk has 0, Op1, and Op201:33
webchat16I believe there's a message above (I can't scroll up either) about mmcblkOp201:33
arraybolt3hmm, that may have been important, probably an fsck notification01:34
arraybolt3fsck /dev/mmbclk0p201:34
arraybolt3(if it warns that it may cause damage, do not proceed)01:34
webchat16Read-only file system while trying to open. Disk write protected; use the -n option to do a read-only check of the device.01:34
arraybolt3dead SD card.01:34
webchat16Ah, okay.01:35
arraybolt3It's locked itself into read-only mode almost certainly.01:35
arraybolt3Flash a new one with Ubuntu and boot from that.01:35
arraybolt3Then put the old card in a card reader and copy your data off.01:35
JanCcan't be dead or you wouldn't get that far, but might have some errors indeed01:35
arraybolt3JanC: Well technically it's not *dead* dead, but it can't be safely written to any more. That's the only time (that I know of) when these sort of devices go read-only.01:35
webchat16So I probably can't even flash a new OS on it?01:36
arraybolt3Correct.01:36
JanCthe filesystem might be readonly because it wasn't unmounted cleanly01:36
arraybolt3You should be able to access the data that's still on it though.01:36
arraybolt3JanC: He got the read-only notice from fsck, not mount.01:36
arraybolt3fsck would have fixed it if it were an unclean unmount issue, or at least have tried to.01:36
webchat16Yeah, I ran through a couple of fsck commands as well and nothing changed01:37
JanCIIRC some cards can be made read-only also01:37
webchat16Dang, okay, thank you! I have another card that's working so at least now I know.01:37
arraybolt3SD cards are easy to burn out when using them to store an OS, so it's not that surprising.01:38
webchat16Is there a better alternative for a 24/7 Pi?01:38
arraybolt3You might look into an industrial SD card if you use this regularly, they theoretically can last quite a bit longer.01:38
webchat16Ah, good advice.01:38
JanCwebchat16: did you check that the SD card doesn't have a physical read-only switch?01:38
webchat16I'm not sure what that is...01:39
arraybolt3Sometimes full-size (not micro) SD cards have a switch on the side that can be used as a write-protect.01:39
arraybolt3I've never seen one on a micro SD card, but they might exist.01:39
webchat16Oh nope, this is micro.01:39
webchat16And it completely makes sense that it burned out, this is my first 24/7 computer01:39
pragmaticenigmawebchat16: I wouldn't recommend Ubuntu for a 24/7 Rpi "server" ... Raspberry Pi OS, or DietPi are both Debian and have the same packages (possibily differing versions) but are setup to write less logging to the storage. Another option is to flash the SD card with the boot partition and have the system partition attached through USB01:39
arraybolt3There's also ways to mount the root partition as read-only to preserve SD card life when using RPiOS. Might work on Ubuntu too.01:40
JanCcan also make SD cards read-only through software, I think01:41
arraybolt3https://superuser.com/questions/956232/how-to-make-sdcard-really-read-only that's probably filesystem-level sadly, even the physical write protect switch apparently can be bypassed on SD cards.01:42
pragmaticenigmaJanC: nope, only way an SD card can be made readonly is if it's the original formfactor with the Readonly switch located on the side01:42
JanCit might be a filesystem parameter indeed01:43
pragmaticenigmaJanC: That's not readonly, as the host device/OS would be at liberty to honor such things.01:43
JanCyes, of course01:44
arraybolt3I wish they made SD cards more durable, or at least put a warning on them that they're liable to burn out. I have literally piles of dead SD cards here all killed by dash cameras.01:44
arraybolt3or I wish the "industrial" ones were more popular :P01:45
JanCprobably cost a lot more too?01:45
arraybolt3meh, only a couple bucks more depending on who you buy from01:46
pragmaticenigmait's not durability as much as just fundamental physics. To "write" a bit to a cell, you have to use very highvoltage to overcome a gate and effectively "squirt" electrons into the cell. Overtime, the material of the cell breaks down01:46
brightside777will 24.04 be lts?02:19
arraybolt3yes02:20
brightside777k thanks02:20
Sir_Letolately I've had really high ram usage that can't really seem to be explained, how can make sure it's just that caching behavior has changed and not that my device has malware or something? https://dpaste.org/9TZjW please let me know if you want more output or if there's something else I can check02:56
sarnoldSir_Leto: that feels pretty weird, I think I would have expected way more buff/cache here03:00
=== chris14_ is now known as chris14
sarnoldSir_Leto: given that a lot of this looks like you'll have *lots* of memory sharing candidates, the smem tool in the smem package might give you a different way of looking at your memory usage that's more useful to figuring out what's going wrong here03:02
sarnoldSir_Leto: it's also possible that you've got a kernel memory leak; those can be *really* hard to track down; checking the output of slabtop from the procps package can help..03:03
sarnoldif you're absolutely desperate for more ram, the old drop_caches interface might be worth a try. the free output suggests that won't actually get much, but iirc that also drops dnodes, and that might not be counted in the buff/cache column. I can't recall :(03:05
Sir_Letohttps://dpaste.com/A8NDQ5TYD04:14
Sir_Letosarnold, so is guess it's all cache? https://dpaste.org/KR6tu04:26
Sir_Leto2032912k isn't very much actually04:27
Sir_Letohere is more smem output https://dpaste.com/C694ASJ9U04:41
Psil0hey trying to shutdown my computer first time i saw this message ever, Operation inhibited by "User" (PID 4167 "gnome-session-b", user User), reason is "user session inhibited".05:10
Psil0why do i have two sessions and why is it Inhibiting my main user, from shutting down the computer?05:10
Psil0Please retry operation after closing inhibitors and logging out other users.05:10
Psil0i am getting this wierd message, how do i avoid this since first time i am seeing this on my distro05:10
=== chillxmas is now known as grpc
hid3Greetings everyone. I have a large LVM volume (nearly 9 TB). It consists of small block devices, 50-200 GB in size, some are larger. Each block device has a partition (/dev/sdx1) and LVM on top of it. I don't think this is neat setup, so I'd like to tidy up. I want to extend one block device and use `pvmove` to get rid of dozen block devices. I've increased size of one of my block devices. How should I increase the partition size?08:39
=== fling_ is now known as fling
=== jfsimon1981 is now known as jfsimon
cbreakhid3: you can change partition sizes with parted or gparted13:37
cbreak(among many others)13:38
cbreak(fdisk works too)13:38
GolDustciao14:18
BluesKajHi all14:47
=== tsehhaess_ is now known as tsehhaess
=== zniavre_ is now known as zniavre
Guest21hello15:26
jailbreakbear_: stop it.15:28
Guest21sorry15:28
jailbreakWasn't talking to you.15:28
Guest21i am bear15:28
bear_i am bear15:28
leftyfbGuest21: bear_: what can we help you with?15:29
Guest21im just lurking i guess was reading ubuntu docs about how to use irc15:30
leftyfbGuest21: ok, just keep in mind this is a support channel. Let us know if you have any Ubuntu support questions15:31
bear_k thx15:31
=== A_Dragon is now known as Festive_Dragon
=== Festive_Dragon is now known as Festive_Derg
GrandPa-GHaving trouble installing mosquitto. Keep failing to start with Unable to open pwfile "/etc/mosquitto/passwd.  The file is there, I did the create user/password correctly. The conf file has password_file correct. anonymous  false. What now?17:52
rboxnamei -l /etc/mosquitto/passwd17:53
rboxand how are you starting it17:53
GrandPa-Ghttps://dpaste.com/66TJTXSZU for config file. I start with systemctl17:54
GrandPa-G-rw------- root root passwd17:54
rboxthe output of namei -l isn't 1 line...17:55
rboxand how are you running systemctl17:55
GrandPa-GI thought that might be all you need. Just a sec17:55
GrandPa-Ghttps://dpaste.com/CNZE79H8717:56
=== ericus6 is now known as ericus
GrandPa-Gsudo systemctl restart mosquitto17:58
rboxwhat does systemctl cat mosquitto say17:58
GrandPa-Ghttps://dpaste.com/5DH727XZR I just reinstalled a few minutes ago as I was having same issue ever since I tried to add password17:59
GrandPa-GThe only change was to create the user/password and make the conf file the way it is now.18:00
rboxit looks like its running as the user mosquitto18:01
rboxand that user can't read that password file18:01
=== denis is now known as Guest9895
GrandPa-Gwhy would a fresh install do that. I didn't think of that, shouldn't it run as root?18:01
rboxnothing should run as root18:02
GrandPa-Gshould I just change ownership of passwd file to mosquitto?18:02
rboxyes18:03
GrandPa-GIt still got error trying to start, but it is address in use. I am doing reboot to clear everything up18:05
GrandPa-GI am surprised none of the install tutorials seem to mention the need to change file ownership18:06
GrandPa-Grbox, thanks, that did it. Also, it wouldn't start with the listner 1883 in the conf, complained already in use.18:09
rboxss will tell you wahts listening on that port18:09
GrandPa-Gnow I can't get connection from another lan computer. I must have something still not quite correct. Thanks again18:12
GrandPa-Ggot it, the listner has to come before password line in config file.18:15
=== ericus2 is now known as ericus
rjwiiiUbuntu 22.04 - System76 Thelio ... How do I block a single bluetooth device?19:01
rjwiiimy work laptop keeps trying to establish a bluetooth connection to my Ununtu box ... How can I block this?19:16
=== JanC_ is now known as JanC
jailbreakrjwiii: turn off Bluetooth.19:19
rjwiiijailbreak: is that the only way?19:19
jailbreakrjwiii: would be the easiest way, yes.19:21
rjwiiijailbreak: Is there a way to block just a single device?19:32
pragmaticenigmarjwiii: no19:33
pragmaticenigmathough I'm not sure why you would be repeatedly prompted for a connection, unless something is in discovery mode19:34
leftyfbrjwiii: bluetoothctl block <BT address>19:34
rjwiiipragmaticenigma: hmmmmmmm ... Maybe I can turn off discovery on the work laptop ...19:35
pragmaticenigmathose would be my first steps before blocking devices19:35
pragmaticenigmakind unsettling to me that a work issued machine would be doing that. And if you don't need bluetooth rjwiii , disable it. It's secures a system to not have that running if you're not actively using it anyways19:37
rjwiiipragmaticenigma: Unsettling to me, too ... it shows as "Not setup" on my Ubuntu machine ... I'm not going to set it up.19:39
nuovolnxHi everyone, I intend to buy a smartphone and then replace Android with Ubuntu. Can you recommend a cheap smartphone? Is it possible to use WhatsApp? Taking photos?20:39
daftnuovolnx, it is possible but you need a phone that is compatible.20:40
nuovolnxdaft: could you advise me something?20:41
jailbreaknuovolnx: maybe pinephone. But off topic either way.20:42
dafthttps://www.online-tech-tips.com/smartphones/guide-install-ubuntu-touch-on-an-android-phone/20:43
nuovolnxjailbreak: works fine with ubuntu touch?20:43
* jailbreak shrugs20:44
jailbreakNo idea, sorry20:44
daftpinephone was plasma i tought.20:44
jailbreakPlasma is a de, no?20:44
daftyea. of kde.20:45
nuovolnxwith pinephone it's difficult than find a cover20:46
pragmaticenigmanuovolnx: This channel is dedicated to providing support for the Ubuntu desktop OS. You can try asking about Ubuntu Touch in the #ubuntu-touch channel20:47
nuovolnxpragmaticenigma: thank you20:48
=== ericus5 is now known as ericus
=== ericus8 is now known as ericus
=== WaV2 is now known as WaV
=== ericus6 is now known as ericus
=== user03 is now known as gchound

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