Linux 101 stuff. Questions are encouraged, noobs are welcome!
- "moov atom not found" while trying to play a invidious live stream through yt-dlp.
Title. Non-live streams play as intended however. wat do? Thanks in advance.
- Creating zram, and then making it a ramdisk for .cache, /tmp, etc -- does it do any difference?
Title.
Worst case scenario I've figured out a formidable way to make the "ultimate" ~/Downloads directory, heh.
Thanks in advance.
- Is it possible to use the NPU as "another" CPU?
Title. In other words, to make the system redirect workload to the NPU -first- and then to the CPU when it reaches 100% usage? Like both NPU and CPU were a single, huge CPU instead of being separated?
Thanks in advance.
- How to Encrypt Drives ?
This is my disk layout:
500 GB Linux - BTRFS
100 GB Windows - NTFS
400 GB Storage - NTFS (shared between linux and windows)
I want to encrypt everything. For Linux I can use luks2 but what I'm supposed to do for Windows ? (No bitlocker please)
Will veracrypt replace refind boot manager?
Note: I am talking about the one that asks password before boot (full encryption)
- New window behavior in split screen
Is there any way to change the behavior so that when I open a new window in split screen, it will stack directly on top of the current window instead of beside it?
I'm on pop os
- [SOLVED] What I can delete on my EFI partition?
I installed lots of OSs on my PC. The mistake I did was not backing up my EFI partition beforehand.
Now I deleted all the OS except CachyOS (Arch) and Windows.
Now I want to tidy up my EFI partition. I want to delete everything (even rEFInd) except Windows and Default ones like OEM. (I am gonna reinstall CachyOS ) Can anybody please assist me?
I already deleted the obvious ones like ubuntu and fedora. Anything else?
I know this is not necessarily a linux question but anyways 😅
Solved ======
Before proceeding with any of the following, I STRONGLY suggest you to make a full backup of your ESP (efi) partition.
I deleted everything on
boot
folder, since I didn't need grub or any of those files ( after searching everything individually on internet)I deleted
refind
folder, since I didn't need refind boot manager.I kept
insyde
folder, since they are my uefi provider.I kept
OEM
,microsoft
folders because I need windows and whatever my OEM provides.I kept
tools
folder since that's just an empty folder ( I didn't know which OS created it) - [SOLVED] Can't boot into Luks2 + Refind
I installed CachyOS with BTRFS, LUKS2 , REFIND.
After successful installation I'm not seeing any prompt for password nor the linux boot entry on refind.
Note: I didn't do any lvm or raid.
What should I do?
Solved ======
I just forgot to create a boot partition 😮💨
- [SOLVED] Can I delete BTRFS snapshots from middle?
Let's say i made 10 snapshots on top of the base.
Now can i delete snap no. 5? Will the snaps after 5 will be affected?
Solved ======
Yes, one can delete consecutive snapshots. The data won't be deleted unless all snaps ( reference points ) get deleted.
Note: If you delete the original file and delete all the snapshots made when the file is still there, the file will get deleted permanently.
- How do I run a command on a remote PC and make it display the result on its screen instead on the client pc?
Title. Yep, I'm trying to multitask with a Orange pi zero 3 (remotely) without the need of kvm's.
Both client and remote PC's are wayland-related. Trying to connect w/ ssh.
- Best TWM distros for beginners
I've been using ArcoLinux i3 flavor for a while, but they recently discontinued their flavors and instead just let 3 basic flavors, but as far as I know none of them comes with i3 already preconfigured. And yes, I know I can simply do it by myself with Arch Linux, but I don't have enough time to do it.
I have already tried Garuda Linux i3 flavor, but there's something in it that feels too mature to be user-friendly.
- Changing the location of BTRFS snapshots ?
Can I change the location of BTRFS snapshots. I installed CachyOS, and it automatically setup BTRFS subvols.
This is the layout 👇
| ID | gen | parent | top level | path | -----|-----------|-------------|---------------|-------- | 258 | 1773 | 5 |5 | @root 259 | 1601 | 5 |5 | @srv 260 | 1789| 5 | 5 | @cache 261 | 1785 | 5 | 5 | @tmp 262 | 1797 | 5 | 5 | @log 263 | 26 | 377 | 377 | var/lib/portables 264 | 26 | 377 | 377 | var/lib/machines 265 | 1791 | 377 | 377 | .snapshots 266 | 1427 | 378 | 378 | @home/.snapshots 377 | 1797 | 5 | 5 | @ 378 |1797 | 5 | 5 | @home
According to Arch wiki https://wiki.archlinux.org/title/Snapper#Creating_a_new_configuration
> Create a subvolume at /path/to/subvolume/.snapshots where future snapshots for this configuration will be stored. A snapshot's path is /path/to/subvolume/.snapshots/#/snapshot, where # is the snapshot number.
From which I understand that if I created a snap of /home (@home), it will save in /home/.snapshots (@home/.snapshots).
So, CachyOS configured to save snaps to separate subvol.
But, what I want to do is, Instead of just saving it in separate subvol, i want snaps to be saved on different btrfs partition. Maybe @home/.snapshots but on different partition.
Is that possible ?
- Throwing all files in a .dot directory -- does it improves security of a docker container?
Title. In other words, make a .dot directory, make it as $ROOTFS, in a distroless image, chown it to a specific user and group and then pack everything in it.
- (TIP) Linux comes with lvmcache, which allows you to easily setup SSD caching.
I'm not sure how widely known this is, I'm hoping at the least some other beginners will benefit :)
SSD caching is when an SSD stores the most frequently used contents of a slow (but usually larger) hard disk. When attempting to access something from your hard disk, it will be fetched from your SSD if available, otherwise getting it from your HDD. All the while you will be shielded from this complexity and pretend to work off of the HDD (transparent caching).
Linux comes with lvmcache, which lets you do this with surprisngly few incantations in your terminal.
I had fun installing a distro making use of this (as expected performance has benefited quite a bit). If you are, too:
-
Guides on lvmcache assume you already know the basics of Linux's logical volume manager (lvm). There don't seem to be any that bring it all together.
-
On setting lvmcache up, the lvmcache manpage was nice and clear. RedHat's guide was good too. Other sources meanwhile were lacking in one way or another.
-
A volume with lvmcache set up, I learn that Ubuntu's nice-looking new installer doesnt support installing on lvm logical volumes. Frustratingly, everything online was on using the old installer, leaving me wondering where I had messed up so that my lvm volume wasn't showing up on my installer. Heads up.
Thanks for reading!
-
- What's the easiest way to update bios on my Ubuntu laptop without a USB?
cross-posted from: https://lemm.ee/post/41741300 > As a lifelong Windows user I've just for the first time switched to Ubuntu and I'm learning how to navigate the system but I haven't found an easy way to update my Carbon's X1 Gen 6 BIOS from its hard disk and would appreciate any advice. > > I'd be also happy to hear what I should do as a newcomer to Ubuntu to make my experience with it better and have an easier time overall.
- Sanity Check: Installing Linux on a New Drive on an Old PC
cross-posted from: https://lemmy.world/post/19303104 >I have an old HTPC that hasn't been used in about 4 years with Windows 7 on it. It ran fine with Windows 7 but didn't work well with 8 when that came out (or at least the Windows Media Center that we used as a DVR with a cable card didn't) so it's stayed on 7 ever since. I haven't actually used it in about 4 years and now of course don't want Windows 7 where it can connect to the Internet. > > Recently I had the idea that I could install Linux on the computer and use it as a media server with Jellyfin, Plex, or something similar. Long-term when I have the finances I'd like to set up a NAS and server to build a self-hosted media library, but this should be a good starting point for now. > > ## What I'm Working With > > It's a pretty old computer. I bought most of the components in 2010/2011 anticipating moving out from my parents although I didn't actually assemble it until early 2012 when I finally moved out (and my brother actually assembled it as he moved in with me). Key components: > > - Intel Core i5-750 (this is the original Intel Core i5, generation 0 as it were) > - Asus P7P55D-E Pro > - Zotac ZT-20404-20L (Nvidia GT240 R) > - 4GB DDR3 > - 64 GB SSD > - 1.5 TB HD > - 1 TB SSD <- this is blank, purchased last week and what I planned to install Linux on > > ## What I'm Trying To Do > > I searched the main components on linux-hardware.org and they all showed results for running Linux, usually several varieties. I downloaded the Live CD/Installer for Linux Mint 22 Cinnamon and burned it to a DVD. I went with Mint since it seems to be one frequently recommended for Linux beginners and has a "just works" reputation. I want to install it on the new 1TB SSD I picked up and be able to still dual boot into Windows 7 for now (and in any case I'm not sure I'd do much with a 64 GB drive anymore). This is an old motherboard; it only supports BIOS, not EFI, but it almost sounds like that will be easier for the dual boot because I won't have to worry about Secure Boot. Once that's installed I'll try out Jellyfin, Plex, and Emby to see which work best with the various devices I have on our TVs. I'll also probably use the computer to rip some of our DVDs/Blu-rays to use with the server. > > ## Problems I'm Having > > I've run into two main issues so far: > > First, while the computer boots and runs from the DVD, about 5-and-a-half minutes after the taskbar appears and I can start trying to do anything it locks up. Usually it would just freeze and become totally unresponsive, but last night the two times I tried it actually rebooted the computer. It's really slow to load; when the taskbar appears I try to click the Installer as fast as possible and it takes a little over 3 minutes to reach a state where I can start clicking options for the install. It's also really slow just to boot. From the time I click to start Linux Mint from the Isolinux screen until I reach a usable desktop in Linux Mint is at least 10 minutes, if not more (haven't timed that directly). I'm really not sure what the problem is here; just slow from reading the optical disc? Should I try to find a USB stick and boot from there (the computer has a couple USB3 ports but I'll have to find a spare thumbdrive)? Does this all run in RAM and 4GB isn't enough and that's why it crashes? Is Cinnamon too much for the system and I should try the Xfce or MATE versions of Mint? > > Second, I thought with the Linux Installation it would be able to format and install to the new SSD without needing to do anything else, either by selecting "Erase disk and install Linux Mint" or "Something else" but the time I was able to do it fast enough to get to "Something else" the disk doesn't show up at all. It looks like I should use a GParted live CD first to partition the new drive, and then I can install Linux Mint? As I'm looking at various documentation it looks like I should put 3 partitions on the SSD, one for "/" (100 GB recommended by the Linux Mint docs), one for "/home", and one for "swap" (4 GB to match the RAM size)? > > I guess as a bonus third question, it looks like once I have Linux installed the Linux installation process should also give me a boot manager that I can use to switch between Linux and Windows? Or does that require extra steps to enable? I'm comfortable editing the boot order in the BIOS. My only prior experience with dual booting a computer is an old Mac Pro that could change the Boot system in Settings/Control Panel, or hold a button on startup to bring up a menu that would allow selecting the boot OS.
- [SOLVED] ProtonVPN on Arch Linux (CachyOS) ?
How to install ProtonVPN in Arch Linux (CachyOS) ?
Should I follow https://wiki.archlinux.org/title/ProtonVPN ?
OR
from flathub https://flathub.org/apps/com.protonvpn.www ?
This flatpak has Unverified tag, but according to this, this flatpak is safe.
Which one should I follow ?
Asking this because I'm because I'm a bit lazy to configure OpenVPN and all that stuff. (pls don't kill me :) > Also do you think using VPN from flatpak is a good idea?
--- ---
Solved
I just installed aur mentioned in the wiki and it worked just fine. Didn't need to install anything else in my case.1.
- Does making a tmpfs at $ROOTFS/tmp and then symlinking it with ~/.cache affects performance in any way?
Title. Because I just did it on my Orange pi zero 3 and performance feels a bit slower albeit more stable compared to making a tmpfs out of both directories. That, or I might be speaking gibberish, idk. Just curious.
Thanks in advance.
- Best practices for organizing personal git repositories in /home folder?
There’s a lot of detailed information if you’re dealing with running a git server (/srv/git) or dealing with development (follow your company’s policies), reams of information about how to organize files inside a repository, and some apps will handle their own repository location (chezmoi), but not much about just keeping your personal git repositories organized without cluttering up your home folder:
- a lot of Youtube videos are just grabbing a couple files so end up cloning into ~/Downloads and cleaning up later
- GitHub and GitLab tutorials just mention clone into the folder of your choice
- Codeberg’s “Your First Repository” has you cloning into ~/repositories
- so, what have you found to be the cleanest/simplest/most comfortable?
- “top-level” folder like ~/repositories or ~/repos ?
- move down a level like ~/Documents/repos ?
- (make use of an unused XDG folder like ~/Public ? (doesn’t seem likely))
- something else that everyone adopted ages ago ?
- [SOLVED] Wifi adapter suddenly stopped working after 1 year
//Solution:
I installed this driver (https://github.com/morrownr/8821au-20210708).
The driver however, did not work until I ran a script called
remove-driver.sh
from the driver that I used to use (https://github.com/morrownr/8821cu-20210916). Then the wifi adapter started working again :)Thanks a lot for the help - I am still not really sure what the problem actually was, but I'm very thankful for having my internet connection back :)
//Original post below:
Hey :)
I've been using a wifi adapter for my computer for about a year. A few days ago, it suddenly stopped working. It no longer shows up when I run 'nmcli device' in the terminal. When running 'lsusb' it still shows up as 'Realtek Semiconductor Corp. 802.11ac NIC'.
To my knowledge I hadn't updated anything before it stopped working. After it had stopped working, I used usb-tethering from my phone to do a system update, hoping it would fix the problem. I think one of the updates was a linux firmware update. Anyways, it didn't fix anything.
The adapter didn't work out of the box. It arrived with a driver called 'RTL88x2BU' and a document stating that it was compatible with the following chip drivers for linux: RTL8811AU RTL8811CU RTL8812BU RTL8814AU
I couldn't get the driver it arrived with to work, so instead I downloaded this driver and have been using it until it stopped working. https://github.com/morrownr/8821cu-20210916
this driver only states that it supports some linux kernel version. I'm using '6.8.0-40-generic', which it does not claim to suppport. I download this driver, which should support my kernel, but it didn̈́'t work either. https://github.com/morrownr/8821au-20210708
I've tried running lsmod on my system, and it seems to be, that no wifi driver even starts. The only thing I can remember doing just prior to my internet not working, was running 'systemctl disable jellyfin.service'. I doubt that has anything to do with this, but I'm not sure what else it could be. My only other theory is, maybe the usb wifi adapter hardware just gave up.
Any help is appreciated \\
- [SOLVED] How to copy existing Timeshift Snapshot to another drive?
I want to copy (not move) my Timeshift Snapshots (Rsync) from my existing drive to another drive. Both drives are ext4. As far as I searched I am not able to find any viable results.
If not possible, just why?
--- ---
Solved
https://www.cyberciti.biz/faq/linux-unix-apple-osx-bsd-rsync-copy-hard-links/
TLDR
sudo rsync -az -H --delete --numeric-ids /path/to/timeshift path/to/destination/
Where,
-a
: Archive mode (i.e. recurse into directories, and preserve symlinks, file permissions, file modification times, file group, file owner, device files & special files)-z
: Compress file data during the transferH
: Preserve hard links (i.e. copy hard links as hard links)--delete
: Delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized i.e. keep exact replica of your/path/to/timeshift
directory.--numeric-ids
: Transfer numeric group and user IDs rather than using user and group names and mapping them at both ends.--progress
: Show progress during transfer.--log-file="/var/log/my-rsync-script.log"
: Log what rsync command is doing to the /var/log/my-rsync-script.log file.---
Thanks to @skullgiver@popplesburger.hilciferous.nl
Original Comment: https://lemmy.world/comment/11611743
- In need of help recovering Laptop stuck in grub shell
Well, wasn't expecting this...
I rebooted my laptop, and it keeps booting to the grub shell.
I was going to arch-chroot into it and update grub, and rebuild intarimfs, however, I guess I don't know how to with BTRFS subvolumes that are LUKS encrypted.
I would appreciate any help, and am willing to learn.
I could even jump on a call of some kind if anyone has time to help...
---
Arch
BTRFS encrypted with LUKS (No LVM)
GRUB
---
I live booted into the live usb
cryptsetup luksOpen /dev/nvme0n1p2 arch mount /dev/mapper/arch /mnt arch-chroot /mnt
Output:
mount: /mnt/proc: mount point does not exist dmesg(1) may have more information after failed mount system call. => ERROR: failed to setup chroot /mnt
So I browsed /mnt and it lists subvolumes. However, I am not sure how to go about arch-chrooting into this.
- Qcow2 vs Physical Disk for QEMU
Hello everyone,
Back again with more questions maybe you all could help with.
So currently I am running Arch with BTRFS, and for a few specific programs that aren't all that graphically intensive (Specifically Line 6 applications for my Helix and PowerAmp) and the Windows VM I am running through QEMU is using qcow2 for the disk. I do have another Gen 4 NVME that is unused in my system I could use for the VM itself.
How much of a performance gain would I notice using a separate NVME for my Windows VM over qcow2?
- How do I check if a specific command is playing sound?
Title. I'm trying to come up with a bash script that starts playing gregorian chants when a live stream is not playing sound. And to stop playing when the live stream stars playing audible sound again. Maybe something that monitors the volume of a specific command? I've no idea, honestly.
Being a bit more specific... the live stream is being played via ffplay/yt-dlp and I'll use mpv to play the gregorian chants. Alsa.Thanks in advance.
- Updating BIOS via Linux ?
How to update BIOS on a system that only use Linux as OS.
Asking this because some clowns at Acer decided that they will only provide BIOS updates through Windows Update.
Edit: I'm not talking about installing the BIOS file. They don't even provide BIOS file in the first place.
- Is it possible to debug a bash script using a debugger in attached mode? For debugging scripts on the host machine and scripts inside a docker container?
I was able to setup a debugger using a launch mode using Visual Studio Code with the Bash Debug extension. Is it possible to setup the debugger in VSCode to be able to debug a bash script using a attach debug mode?
For debugging scripts on the host machine and scripts inside a docker container?
- Mounting Folders VS Symlinks?
I have a NTFS drive for Storage, which is shared between WIn 11.
I want to change the location of (or replace)
~/Downloads
,~/Music
, etc..,.Note that the link to made is between NTFS and EXT4.
I found two ways while searching. ``` 1.Creating Symlinks in
~
with target pointed to folders in NTFS drive.- Mounting the NTFS folders directly to
~/Downloads
,~/Music
, etc..,. ``` Which one should I do? Which one is more beneficial?
Also how to mount folders to other folders (option 2) ? (I would really appreciate a GUI way)
- Mounting the NTFS folders directly to
- [SOLVED] Changing Permissions through GUI ?
Video
Click to view this content.
I can't change directory and file permissions which is in
/mnt/
through elevated Nemo. But can change in/
. Why?Apparently, this happens due to Automount. Because when I mount manually, this problem doesn't occur.
I also changed
/mnt/Storage
to/media/user/Storage/
on auto mount, still the same problem occurs.uploaded on reddit because lemmy doen't allow videos .sorry for the quality reddit squashed it. Also my user name is blurred.
Also this an automounted NTFS partition, if it has to do anything with this,
I know about
chown
andchmod
. But I wanna do it in GUI.--- ---
SOLVED
Include uid= and gid= as part of your mount options.
For More info look at this.
Thanks to this Chad @neidu@feddit.nl
- Adding Mods to Games
So not sure where else to ask, maybe someone here knows?
I am using Heroic Launcher to play Control which I own through GOG.
There are a few mods I wanted to add to the game:
The first mod is a requirement for the next 3.
---
So the first mod for Windows I would need to add the DLL to where the game is installed. This is where I run into issues. I did that, put the DLL in the games install directory, however it is not loading the DLL.
I investigated using Winetricks GUI from Heroic Launcher to see if there was a way to add a DLL and register it. However, it doesn't give me an option to install a custom DLL.
All of my searching has not lead me to see how I could register the DLL for my Control Prefix.
---
I could be going about this all wrong, so if anyone has any tips or suggestions I would very much appreciate it.
Thank you!
- Updating Firmware
So I switched to Arch full time last month, and that got me thinking: How do I update the firmware of my devices?
I know about fwupd, however from my understanding not all vendors support linux.
In this case, I have an Asus motherboard, and after brief searching I seemed to come across results that would point that Asus isn't one of the manufacturers who support firmware updates from linux.
That being said, how do you all update your firmware if you know the vendor doesn't support linux?
---
I can't imagine that I could update the firmware from QEMU, and nor do I want to try. I don't want to have windows installed on my system at all. So then I thought, can I go about this via Windows to Go? And that is the solution I am going to investigate trying...
- What are the applications that I can remove from Mint? + Mini Rant.
What are the packages that comes default with Linux Mint Cinnamon that I can remove without any problems.
Linux Mint comes with lots of packages installed by default to give full experience to new users. But not everyone needs everything. In my case for example, I don't need celluloid, pix, hexchat, hypnotix, rhythmbox, LibreOffice, etc,... Those applications has their own audience and Linux Mint including them is a good thing but I personally don't want them.
Mini Rant or QA maybe?
I searched the internet a bit for the answer, on various forums, and subreddits. And All the people who asked this question got obliterated as far as I've seen. The common answers are:
>if you remove the applications that came installed with Mint by default, it will cause Dependency issues.
If I remove an application and the dependencies shold be removed UNLESS some other application need those dependency, right? If that's the case, why removing packages can cause dependency issues?
>Why would you want to remove essential applications like LibreOffice, pix etc. ? (this question is asked in the sense of "what sane person would want to remove those?")
Cause why not? Maybe I like GwenView more than Pix, maybe I don't need office applications at all. Why this even matter?
>If you want don't want Mint's default applications, then what's the point of using Mint? Just use something like Ubuntu server or something. People need to realize that lot of people (at least me) using Mint for it's System management (updates, apt source list, etc..) via GUI ability. Just because I want to manage my system with ease, that doesn't mean I need everyt applications it offers me.
I honestly feel bad for the person who asked the question in the first place. They didn't got the answers till the very end. All they got is Criticism and it's not constructive one.
Why this kind of behaviour even exist?
P.S.: I'm using Mint inside VM for testing purposes. I don't want my VM to take a lot of space. That's why I don't need lot of applications.
- [Solved] How can I make a custom .service run as root?
I have a VPN daemon that needs to run before the client will work. Normally, this would have been set up automatically by its install script, but the system is immutable.
I've created the systemd service via
sysyemctl edit --force --full daemon.service
with the following parameters:``` [Unit] Description=Blah After=network-online.target
[Service] User=root Group=root ExecStart=/usr/bin/env /path/to/daemon
[Install] WantedBy=multi-user.target ```
I've verified that the daemon is actually executable, and it runs fine when I manually call it via
sudo daemon
. When I try to run it withsudo systemctl enable --now daemon.service
, it exits with error code 126.What am I missing?
Edit: typo
Edit 2: Added script modifications. Daemon appears to be some kind of pre-compiled binary.
Solution: ExecStart wanted
/usr/bin/env
to launch the binary. The service file above has been edited to reflect the correct solution. See this post for further discussion. - /media or /mnt or anywhere ? Discussion.
Where should I mount my internal drive partitions?
As far as I searched on the internet, I came to know that
/Media = mount point for removable media that system do it itself ( usb drive , CD )
/Mnt = temporarily mounting anything manually
I can most probably mount anything wherever I want, but if that's the case what's the point of
/mnt
? Just to be organised I suppose.TLDR
If /mnt is for temporary and /media is for removable where should permanent non-removable devices/partitions be mounted. i.e. an internal HDD which is formatted as NTFS but needs to be automounted at startup?
Asking with the sole reason to know that, what's the practice of user who know Linux well, unlike me.
I know this is a silly question but I asked anyway.
- How to exclude Flatpaks from TimeShift?
Which folders and files do I need to exclude from TimeShift?
Also is there a way to also exclude programs installed as .deb ?
I doing this to reduce Backup size as I have limited storage.
100GB - Windows 11 400GB - Storage 400GB - Mint 100GB - TimeShift
- Official Unixporn Community ?
So which one is actually official one? I can't describe what "official" mean here, maybe the one that actually came from reddit or the one with more subsscribers or one with more activity ? !
Also Why there are multiple copies of same community in different instances? Isn't the whole point of lemmy is that it is federated?
There is also three linux4noob communities 🥲
- Confused about my drives and partition names
So first off, what I'm TRYING to accomplish here is to have 3 drives show in Dolphin with their correct names. They are 3 physical drives (no crazy partition shenigans), but I'm having several issues trying to get them to be usable. All 3 are nvme drives connected directly to the board. (I'm new to Linux, not building machines.) The main drive is encrypted and is showing as type LVM2, the others are just ext4.
I am still fairly new with this, and didn't mess with this much when I used Windows, but when I did everything worked fine the first time. I'm pretty competent at following directions, and willing to learn vocab and lingo.
So the 3 drives are:
-main system drive
-drive to store photos (labelled 'Archive')
-Had a 3rd drive sitting around when I put this system together. No real intended use for it yet, but I'll think of something later.
So I'd like to have them listed as Main, Archive, and Drive3 for now. For a while I just had Main and Archive working. I just tried to add some photos to the Archive drive a couple minutes ago, but it's not longer showing in the Devices section in the sidebar. There is still a "Main" listed, but it says "An error occurred while accessing 'Home', the system responded: An unspecified error has occurred: No such interface “org.freedesktop.UDisks2.Filesystem” on object at path /org/freedesktop/UDisks2/block_devices/dm_2d0" whenever I click on it.
Seeing as I know my computer is currently working, that doesn't make any sense to me. There is another drive simply listed as "1.8 TiB Internal Drive dm-1" which is actually the correct drive for my system install. So the listing it was under now doesn't work, but it's still easily accessible with this default name.
There is now a recovery device listed, but I haven't created a recovery partition, and I certainly don't want to see it listed in the devices, as if I need it I will just use it as intended, I don't ever need to browse it easily.
The Archive drive is not listed at all anymore. I can still see it in GParted, and it shows up just fine, but says it isn't mounted. At the moment I still have the original copies of everything I've put on it, so worst case scenario I can reformat it and start over, but I'm just trying to understand what happened here so it isn't a recurring problem. It wasn't mounted according to GParted and the Disks utility, so I just tried mounting it and it worked, but none of the files that were on it are still there. But they're still on the Main drive, so I can just drag them back.
After mounting the drive just now, the Devices section has disappeared in Dolphin. I'm getting more and more confused the more I try to figure it out and fix it.
I'm assuming if it's showing blank (other than an empty 'lost+found' directory that means the data is gone. I'm almost afraid to reboot now and feel like it's about to implode on me. I can get screenshots of whatever might need to be seen, but honestly now with the Devices section just entirely missing, the idea of this being convenient is becoming hopeless. I just want the drives to always show up with the correct names, and not give errors trying to navigate them. This shouldn't be this complicated. At least the system itself is functioning, but this is killing me. I've never had drives just stop showing up before.
Oh so the 3rd drive I did just add recently, so it really hasn't had time to have an error with it, as I haven't touched it yet. Nothing is on it, it was just recently added
So in short, any ideas why the "Main" listing stopped working and why it showed up as a default named partition? The Archive part actually may not have been copied over yet (I can't remember stuff to save my life sometimes) but I know the drive itself was at least accessible before. Which it seems to be now, but was unmounted by default, which is kinda odd. Also when I mounted it, it showed up as a folder with a long name of random numbers and letters, but it still shows the correct partition name in GParted. The 3rd drive shows correctly as "Drive3" which is its volume/partition name, but the partition on this drive is named/labelled "Archive" but shows as a long string of numbers, letters, and dashes.
And now I'm unsure which drives are still working at any given moment since the Devices part isn't even there and I have to keep manually digging into them from the media mount point "folder". I can make a version of it by manually adding a "Place" to the Dolphin sidebar, but it's not in its own category anymore, and is much more annoying to me this way. I could use it like that if I have to, but I'd rather go back to each one showing on its own.
Any ideas or help?
edit- Using Pop with KDE
- Grub-btrfsd.service degraded and failing to start
-` hellmo@archie .o+` ------------- `ooo/ OS: Arch Linux x86_64 `+oooo: Host: INTEL `+oooooo: Kernel: Linux 6.9.7-zen1-1-zen -+oooooo+: Uptime: 7 mins `/:-:++oooo+: Packages: 1169 (pacman) `/++++/+++++++: Shell: bash 5.2.26 `/++++++++++++++: Display (ASUS PB278): 2560x1440 @ 60Hz `/+++ooooooooooooo/` Display (ASUS VG32V): 2560x1440 @ 144Hz ./ooosssso++osssssso+` DE: KDE Plasma 6.1.1 .oossssso-````/ossssss+` WM: KWin (Wayland) -osssssso. :ssssssso. WM Theme: Breeze :osssssss/ osssso+++. Theme: Breeze (Dark) [QT], Breeze-Dark [GTK2], Breeze [GTK3] /ossssssss/ +ssssooo/- Icons: candy-icons [QT], candy-icons [GTK2/3/4] `/ossssso+/:- -:/+osssso+- Font: Noto Sans (10pt) [QT], Noto Sans (10pt) [GTK2/3/4] `+sso+:-` `.-/+oso: Cursor: breeze (24px) `++:. `-/+/ Terminal: yakuake 24.05.1 .` `/ CPU: 12th Gen Intel(R) Core(TM) i7-12700KF (20) @ 5.00 GHz GPU: NVIDIA GeForce RTX 3090 [Discrete] Memory: 3.43 GiB / 62.60 GiB (5%) Swap: 0 B / 4.00 GiB (0%) Disk (/): 151.91 GiB / 1.82 TiB (8%) - btrfs Local IP (enp7s0): x.x.x.x/x * Locale: en_US.UTF-8
I am having some issues with my Arch install:
``` UNIT LOAD ACTIVE SUB DESCRIPTION ● grub-btrfsd.service loaded failed failed Regenerate grub-btrfs.cfg
Legend: LOAD → Reflects whether the unit definition was properly loaded. ACTIVE → The high-level unit activation state, i.e. generalization of SUB. SUB → The low-level unit activation state, values depend on unit type.
1 loaded units listed. ```
I have already tried:
sudo systemctl restart grub-btrfsd.service
sudo grub-mkconfig -o /boot/grub/grub.cfg
---
Does anyone have any suggestions? I am failing to understand how to resolve this issue... Any help would be wonderful...
- Where I can make my noob questions about selfhosting?
I know that !selfhosted@lemmy.world exists, but to be honest I feel like going there to ask some noobs questions is like going to the arch forums in my first day of using Ubuntu as my first distribution, my probably super dumb question it'll be obvious to the big majority except me. And no, I am not meant that the people in selfhosted is going to be angry with me or something like that, is that I just don't want to ask stupid questions there.
I already tried asking an IA but let be honest, the IA just go into the service repo and try to answer me using the information that I already read.
Edit: Thanks for all the answer, I gonna try asking on c/selfhosting. :3
- Install only the "core" of the distro on an SSD, other packages on HDD?
I use Ubuntu installed on a hard disk. My computer also comes with a tiny (16GB) SSD that I've another Ubuntu installation on. While a fresh install on the SSD worked great, this is too small to hold all the packages I will eventually need.
Is there any way to only have the core bits of the distro on the SSD, and have all the other packages I later install on the HDD?
I want this so I can have a fast boot (boots slowly using the HDD) and since I'm happy with the speed of apps as they work while now installed on my HDD, I'd like to keep using them off of it.
All idea welcome :)
- UFW and a Windows KVM with Virt-Manager
So, I finally ditched Windows... All except for my need for a VM to use some hardware that aren't supported in Windows.
I setup a Virtual Machine with Virt-Manager for a Windows VM but the network traffic is being blocked by UFW. If I disable UFW the Windows VM can pull an IP, which is static as is, and even after turning UFW back on, the network traffic is still allowed.
I am in need of some help with networking for the VM.
<interface type="network"> <mac address="52:54:00:d7:8f:48"/> <source network="default" portid="d7ff3b1f-2c9b-4a62-b9e0-180855f14de7" bridge="virbr0"/> <target dev="vnet2"/> <model type="e1000e"/> <link state="up"/> <alias name="net0"/> <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> </interface>
This is the networking setup within Virt-Manager.
Any advice for getting network access on the VM?
- Suggestions for a visual data reporting tool in Linux
I run a raspberry pi that identifies birds by their song, and records time, date, and species etc in an SQLite3 database.
The rpi app comes with some basic reports, but I'm wanting to expand on them, so that I can show monthly/yearly trends etc.
On windows at work, I'd use something like Power BI, but a) it's windows and b) it's overkill for my current needs.
I've only recently moved entirely to linux, so I'm not really sure of what the linux alternatives are, and I'm looking for suggestions :)