linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

0x4E4F, in [Solved] BSOD on Windows VM after update

It may be just file corruption. Try running chdsk.exe /f C: in the command prompt. If that doesn’t work, try dism.exe /online /cleanup-image /restorehealth. Keep your virtual NIC online for the second command, it may try to download updates from MS if local files are corrupt and the WinSxS backups are corrupt as well.

tubbadu,

Thanks for the answer! The first command says chdks.exe is not recognized as an internal oe external command, and the second commands says Error: 87 cleanup-image option is unknown

0x4E4F,

Sorry, chkdsk.exe /f C:… it was late, I was tired 🤷.

Error: 87 cleanup-image option is unknown

Try it without the cleanup-image switch.

tubbadu,

It says “cannot open volume for direct access” :(

Running the second command without cleanup-image flag says the same thing for restorehealth, and running without it too well, has no options after /online so fails

Thank you very much for your time!

0x4E4F, (edited )

The prompt doesn’t run as admin. Try this command, should open up a second command prompt as admin: runas /username:{AdminUsername} cmd.

akrot, in Is Ubuntu deserving the hate?

Dietpie is a lightweight debian not ubuntu. And debian is still one of the top choices (if not the) for servers.

Ubuntu is just debian with extra bad decisions.

SuperIce, in Reminder to clear your ~/.cache folder every now and then

I don’t think I’ve ever seen .cache get bigger than 10GB

SkyeStarfall,

Depends on the distributions and default settings. In arch, by default, pacman doesn’t delete cache.

SuperIce,

Pacman’s cache isn’t in ~/.cache though, it’s in /var/cache. So whatever is taking up this much space isn’t the package manager.

That being said, I think the arch devs should add a config option to automatically delete old packages without having to run paccache manually and have it default to the last 2 versions of a package or so. It can grow quite big over time.

JustTesting,

You can set a hook to do it automatically or use this, but I agree that this should be default behaviour

SuperIce,

You can also just do systemctl enable paccache.timer to automatically run paccache once a week.

Zangoose,
@Zangoose@lemmy.world avatar

It looks like yay was storing AUR build files there, that folder took up about 160 of the 164GiB

bizdelnick,

If it is true, it is a bug in yay. Cashe should not grow without limit.

bizdelnick,

It was reported twice as minimum. Seems that author does not care.

kattenluik,

You should try using paru, might be better off with it.

EddyBot, (edited )

it doesn’t matter if you use paru, yay or heck makepkg if you are compiling packages with hilariously large sources like for example webbrowser (librewolf, brave, ungoogled-chromium, firedragon take each like ~30 GB) without pruning the build cache afterwards

Zangoose,
@Zangoose@lemmy.world avatar

Something I noticed was that in this case it was mostly binary AUR programs taking up the space.

I think maybe since yay/AUR use cloned git repos, and old versions of binaries get stored in the git diff and then add up because different versions of the binary are basically like keeping multiple copies of it instead of just the changes to the source code.

stepanzak, (edited )

Paru cache is huge and you have to delete it manually with something like paru -Sc i think

brakenium,

My update script handles mirrors, updates and cleans the cache automatically. I’d definitely recommend creating one. It’s aliased to sysupdate for me and I also check if it’s a debian or arch based distro so the command works on my servers and desktop

BaroqueInMind,
@BaroqueInMind@kbin.social avatar

What is your update script? Where did you post it?

brakenium,

I don’t think I’ve posted it before, but here it is. If you use different utilities you’d have to swap those out. Also excuse the comments, I had GH Copilot generate this script

stepanzak,

I highly recommend topgrade. You can add custom commands so clearing paru’s cache shouldn’t be a problem. I just do it by hand as I’m ok with it.

brakenium,

I’ve heard of tools like that, but this works fine for me. This way I’m not dependent on it being packaged for my distro and having to install it through other means. I’m fine running things manually, this is just for convenience

MonkderZweite, (edited )

Shouldn’t it store that stuff in data-home or state-home? Pikaur compiles in cache and stores it in data-home after.

SuperIce,

You can use yay -Sc to clean the cache. It’ll also ask you if you want to clean the pacman cache, which I’m assuming you also haven’t cleaned (check the size of /var/cache/pacman).

30p87,

One would just need to modify the pacman cache hook for yay. I’m too lazy tho.

sv1sjp, in What distro would you recommend for a 32-bit old Acer One laptop?
@sv1sjp@lemmy.world avatar

Personally I am using a netbook like this as a headless server with Ubuntu.

You can try to run Lubuntu, or even TinyCore and Puppy Linux on this for simple tasks.

Generally speaking, with 1GB of ram and Intel atom, as you stay away from video streaming platforms and use simple tools for writing text or run simple code in python, you would be fine. However with less than 100€ you can find laptops with core i5 4rd generation with 8gb ram. I am not sure if it worths it.

EfreetSK,
@EfreetSK@lemmy.world avatar

I had similar netbook like OP and was running Lubuntu for a very long time but afaik they dropped support for 32 bit architectures some time ago. I think 18.04 was the last 32 bit LTS? Not sure, I’d need to check it

juli, in Zorin OS 17 Beta Released with Quick Settings, Spatial Desktop, and More

What’s the advantage of zorinos? According to wiki en.m.wikipedia.org/wiki/Zorin_OS it’s judt ubuntu with gnome 3 or xfce 4.

I hope we can separate the DE from the OS some day

simple,

It’s a very beginner-friendly distro, similar in goals to Linux Mint but more modern. It’s stable, comes pre-installed with graphics drivers and important apps like Wine, a custom clean version of Gnome or XFCE, and having a lot of UX improvements like explaining what Wine is the first time you open an exe file, and providing popular alternatives for the app you’re trying to install.

There’s nothing brand new about it, it’s just really solid and I do recommend it as people’s first distro.

governorkeagan,

This was the first I’d heard of it and from my first impression it seemed like it could be a solid beginner distributor.

Glad to see you do recommend it to beginners. This would probably be easier for my partner to get into compared to Pop!_OS (I’ll be testing this soon though!)

lemann,

Second this. Zorin OS, and Mandriva Linux (before they went bankrupt, and the community picked up development) were my first exposure to Linux over a decade ago, and the ux familiarity really helps a ton.

A lot of the other distros had funny stuff going on with multiple docks, open apps showing in the top dock, others looked like a Stardock Special and it was just a little confusing for younger me lol

NeoNachtwaechter,

I hope we can separate the DE from the OS some day

We had that from the beginning of X. It could abstract nicely from all unices and even a little M$.

That era ended (unintentionally) with the dawn of KDE and GNOME, and I’m afraid it won’t come back with Wayland.

juli,

Shit 😔

NOOBMASTER,

Something didn’t work they way you wanted it to work? Or not a fan of Gnome?

smileyhead, (edited )

Does it ended? On all distros I know of, Fedora, Arch, Debian, Ubuntu, Mint, Zorin, we can swap the desktop environments like gloves. The only exception being immutable things like Fedora Kionite, but they are made to be untouchable and for specific users.

Wayland does not change anything there, only that the desktops with less developers must take more time to adapt. What makes desktop interoperable are FreeDesktop standards, which are now in full swing to Wayland.

turbowafflz,

Yeah I really don’t know what they mean, in the past couple months I’ve used Plasma, Gnome, NsCDE, i3, Sway, Hyprland, Enlightenment, WindowMaker, Mate, Trinity, Xfce, and probably others I forgot

ryannathans, in Reminder to clear your ~/.cache folder every now and then

I did this and now my games have no icons in lutris, some of my gnome settings got reset and my proton email bridge stopped working

stepanzak,

Cannot this be caused by deleting the folder and not just everything inside?

ryannathans,

The contents were deleted

glibg10b,

It’s likely. mkdir fails to create a subdirectory such as ~/.cache/mozilla/ if ~/.cache/ doesn’t exist, unless -p is explicitly passed to mkdir

Of course, not everything is a shell script, but I imagine the directory creation functions in many languages work similarly

MangoPenguin,
@MangoPenguin@lemmy.blahaj.zone avatar

For some reason devs can’t wrap their head around cache being temporary.

Iapar,

You shouldn’t have done that Dave.

lloram239,

Time to write some bug reports. ~/.cache is supposed to be disposable.

sebsch,

So the apps are broken. Cache is meant to be deleted at any time

redd,
@redd@discuss.tchncs.de avatar

not necessarily during runtime

30p87,

But a restart of an app should fix it.

miss_brainfart, in The Linux Experiment Channel (From Nick) is on Peertube, and it federates right into Lemmy as a community
@miss_brainfart@lemmy.ml avatar

I didn’t know that, this is super cool!

zeppo, in why doesn't GNOME have a mascot??
@zeppo@lemmy.world avatar

Probably because a gnome would be silly. I presume that’s not the image they’re looking for - garden gnomes, Christmas, fairy tales.

01adrianrdgz,
@01adrianrdgz@lemmy.world avatar

they can make another one, for example a squirrel would be nice, or an anime gnome.

zeppo,
@zeppo@lemmy.world avatar

I think they’re happy with just a slightly silly foot logo. “Gnome Network Object Model Environment” is a serious sounding name and I don’t think an animal mascot is what they had in mind for branding (seeing as, they don’t have one). An anime gnome might even be the exact opposite of what their intent is. GNOME is looking to be seen as a professional alternative to MacOS and Windows. Speaking of which, note that Windows and OSX don’t have a mascot either.

SnotFlickerman, (edited )
@SnotFlickerman@lemmy.blahaj.zone avatar

Gnome Chomsky.

Windows had Clippy then Cortana.

zeppo,
@zeppo@lemmy.world avatar

Gnome Chomsky would be pretty hilarious. Kinda political though.

True, Windows had a couple characters (well, Clippy was for Office). The idea of those was a digital assistant character though, not really a mascot.

Euphoma,

Just stumbled upon this comment. Actually, Windows has been using anime mascots for years in asia. Notably, they haven’t made a new one for Windows 11.

zeppo,
@zeppo@lemmy.world avatar

That’s interesting. What that indicates to me is that they feel it’s not advantageous marketing-wise to have one in other regions.

eager_eagle,
@eager_eagle@lemmy.world avatar

it’d be silly, so they went with a… foot?

idk about that

zeppo,
@zeppo@lemmy.world avatar

Less silly than a whole goofy gnome.

eager_eagle,
@eager_eagle@lemmy.world avatar

It can be a badass gnome. Not many ways to represent a foot though.

muhyb,

At least the foot’s shape looks like G, or more like Ğ.

Vorter, in What is wayland?

In short, Wayland is a protocol for graphics.

It’s somewhat similar to X, as its main purpose is the same, however the archivecture is very different, and Wayland is much simpler/barebone.

If X is going to die or not — only time will tell. For now it can be considered another competing standard.

Grass, in Terrapin Attack – SSH vulnerability

I was worried I would have to ask for a tl;dr for dummies like I’m 5, but everything is categorized nicely under questions one may have on the topic. It’s been a while since I’ve been able to get meaningful information from a website without a huge commitment.

Whirling_Cloudburst, in 2 years on GNU/Linux - a retrospective attempt

Who GNU Linux could be so fun?

huojtkeg, in NixOS on OnePlus 6 with Extra Steps, or the Diary of my Descent into Madness

Nice read. I did similar hacks in the past but I have less time lately.

qaz, (edited ) in One of these 6 will become Plasma 6. Wallpaper Which one do you prefer?

1, 5, 2, 6, 3, 4 (Descending appeal, Left to right, Top to bottom)

HumanPerson,

Are they numbered the same way as reading? If so, I agree.

qaz, (edited )

Yes

sxan,
@sxan@midwest.social avatar

Weird. Me too.

Frederic, in What distro would you recommend for a 32-bit old Acer One laptop?

yeah MX21 32bits is what I would install, or AntiX.

Can’t you boot on a USB key and reset the root password on your HD partition?

Doll_Tow_Jet-ski,

AntiX! Of course. I thought Antix had merged with Mepis to create MX. Didn't know they were still around. probably the best choice since it still seems to be based on Debian Stable

Frederic,

AntiX is awesome on old HW, everything works, just don’t load a big website in the browser or it crawls :)

gerdesj, in Is the Linux Foundation Certified System Admin (LFCS) worth it?

Employer here (UK)! I’m probably not normal being the MD and running Arch (actually) on my gear. I had to switch from Gentoo because I kept on burning myself.

For me, something like the LFCSA is something I respect because it is practical. Back in the day I did something similar (Novell I think). I’ve also grabbed a VMware … whatever … and that was a memory test and a waste of money. Who cares if you can quote the maximums?

When I’m hiring, I want to see application and knowledge and not a plethora of industry “quali-wankery”! You can always search for facts but knowing how to apply them is what I want to see.

Be flexible but do try to develop what sort of direction you want to take. What floats your boat out of dev ops, sysadmin etc?

You could also consider self employment/consultancy. I sort of fell into it 23 years ago …

SimonSaysStuff, (edited )

You could also consider self employment/consultancy.

Would you recommend this if OP is in the UK?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 22927944 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 174

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10502144 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 38