• 1 Post
  • 73 Comments
Joined 3 years ago
cake
Cake day: June 27th, 2023

help-circle


  • Maybe its actually /boot that is full? You could try to remove some old kernels https://linuxconfig.org/how-to-remove-old-kernels-on-ubuntu

    sudo apt autoremove --purge

    Sorry it’s not boot commented too soon.

    Maybe this is useful sometimes these AI answer’s can send you in the correct direction

    Nagedacht gedurende 1m 19s

    He’s probably on the right track: a completely full root partition can prevent Ubuntu’s graphical desktop from loading. The blinking underscore is consistent with that problem, although it can also indicate a display manager or graphics driver failure.

    However, there’s something unusual about his situation: deleting hundreds of gigabytes of files should have freed space immediately. Linux doesn’t need a special command to rescan the disk after rm.

    There are several possible explanations:

    • The files he deleted were on a different partition from /.

    • The files were still held open by running processes, although rebooting should have resolved that.

    • The filesystem uses snapshots, which may retain deleted data.

    • Filesystem corruption or another storage issue is preventing space from being reclaimed.

    • The root partition now has free space, but the GUI is failing for a different reason.

    Here’s how I’d troubleshoot it from the recovery root shell.

    1. Check the actual filesystem usage

    Run these commands in the recovery shell:

    df -hT
    df -i /
    lsblk -f
    

    The first command is particularly important.

    • df -hT shows actual filesystem capacity, available space, and filesystem types.

    • df -i / checks whether the root filesystem has exhausted its inodes.

    • lsblk -f shows the partitions and their filesystems.

    du is different: it calculates the space consumed by files and directories, not the filesystem’s percentage of available space.

    He should pay special attention to whether /home and / are on separate partitions.

    For example:

    Filesystem     Type  Size  Used Avail Use% Mounted on
    /dev/sda2      ext4   50G   50G     0 100% /
    /dev/sda3      ext4  900G  300G  600G  34% /home
    

    In this situation, deleting hundreds of gigabytes from /home would do absolutely nothing to free up space on /.

    He should also check where the Downloads directory is actually mounted:

    findmnt -T /home/USERNAME/Downloads
    

    Replace USERNAME with her username.

    Recovery mode doesn’t necessarily mount all separate partitions automatically, so he should verify that he’s actually examining the intended filesystem.

    2. Find out what’s filling the root partition

    Run:

    du -xhd1 / 2>/dev/null | sort -h
    

    The -x option is important because it restricts the search to the root filesystem rather than counting separate mounted partitions.

    Example:

    4.0K    /media
    120M    /etc
    2.8G    /usr
    8.5G    /home
    36G     /var
    48G     /
    

    In this example, /var is the main culprit.

    He can investigate further:

    du -xhd1 /var | sort -h
    

    This helps identify whether the problem is log files, caches, package downloads, or something else.

    3. Free some space safely

    Ubuntu’s recovery shell commonly mounts / read-only. To make changes, first run:

    mount -o remount,rw /
    

    This is documented in Ubuntu’s recovery instructions.

    If the remount succeeds, he can clean the package cache:

    apt-get clean
    

    And reduce old system logs:

    journalctl --vacuum-size=100M
    

    The second command removes older archived journal files while retaining newer entries.

    Then check again:

    df -h /
    

    If he has regained sufficient space, he can retry:

    dpkg --configure -a
    

    However, he shouldn’t randomly delete files from /usr, /lib, or other system directories.

    4. If df and du disagree

    If df still reports the filesystem as full, but du shows much less data, that is an important diagnostic clue.

    A common cause is deleted files that are still open by a process. He can check with:

    lsof +L1
    

    Normally, the filesystem cannot reclaim their space until the process closes those files.

    But since he’s rebooted several times, this explanation is much less likely.

    Other possibilities include snapshots retaining deleted data, files hidden beneath mount points, or filesystem inconsistencies.

    If the discrepancy remains unexplained, he should consider checking the filesystem for errors, preferably using the Ubuntu recovery filesystem-check option or a live USB. He should not run a repairing fsck on the mounted root filesystem.

    5. How much free space does Ubuntu need to boot?

    There’s no universal minimum because it depends on the installed software and what services need to write during startup.

    As a practical guideline:

    Available root space Assessment
    0 MB Very likely to cause failures
    250 MB May be insufficient for repairs and updates
    1–2 GB Often enough to restore basic operation
    5–10 GB More comfortable for normal use and updates

    I’d aim to free at least 5 GB, preferably more, before attempting package repairs and another graphical boot.

    6. If space is available but the GUI still won’t start

    The original problem may have caused a secondary issue, or the graphical failure might have a different cause.

    He can try switching to a terminal with Ctrl+Alt+F3 during the failed boot.

    If that doesn’t work, return to recovery mode and check the display manager’s previous-boot logs:

    journalctl -b -1 -u display-manager --no-pager
    

    And general system errors:

    journalctl -b -1 -p err --no-pager
    

    These can reveal why the graphical login screen is failing.

    My main recommendation: Before deleting anything else, he should post the output of these three commands:

    df -hT
    df -i /
    du -xhd1 / 2>/dev/null | sort -h
    

    They will establish whether / really is still full, whether inode exhaustion is involved, and where its allocated space is going.

    There’s no reason to reinstall Ubuntu yet. The fact that recovery mode works is encouraging, and this is very likely diagnosable without losing her files.




  • Per capita the Netherlands should definitely be in the list

    In 2023, the Netherlands was the country with the highest PV capacity per capita in Europe with 1,299Wp. Worldwide, only Australia had a higher capacity per capita.

    I can’t really find the per 1000 km² when I try to calculate it I get 595 MW/1000 km^2 (I used the 2023 number, it had more sunny days than 2024)

    Maybe its somewhat correct, chatgpt gives me this

    To find the solar power generated per 1000 km² in the Netherlands in MW, we need to know the total installed solar capacity and the land area of the Netherlands.

    Here’s how we can estimate it:

    1. Current Solar Capacity in the Netherlands

    As of 2024, the Netherlands had approximately 22,000 MW (or 22 GW) of installed solar capacity.

    1. Land Area of the Netherlands

    The total land area is about 41,500 km².

    1. Solar Capacity per 1000 km²

    \text{Capacity per 1000 km²} = \left( \frac{22,000 \text{ MW}}{41,500 \text{ km²}} \right) \times 1000 \approx 530 \text{ MW per 1000 km²}

    Final Answer:

    Approximately 530 MW of solar capacity per 1000 km² in the Netherlands.

    Let me know if you’d like to calculate actual solar energy generation (e.g., MWh/year) instead of capacity.

    I also asked for actual generated 482 MW per 1000KM²


  • Per capita the Netherlands should definitely be in the list

    In 2023, the Netherlands was the country with the highest PV capacity per capita in Europe with 1,299Wp. Worldwide, only Australia had a higher capacity per capita.

    I can’t really find the per 1000 km² when I try to calculate it I get 595 MW/1000 km^2

    Maybe its somewhat correct, chatgpt gives me this

    To find the solar power generated per 1000 km² in the Netherlands in MW, we need to know the total installed solar capacity and the land area of the Netherlands.

    Here’s how we can estimate it:

    1. Current Solar Capacity in the Netherlands

    As of 2024, the Netherlands had approximately 22,000 MW (or 22 GW) of installed solar capacity.

    1. Land Area of the Netherlands

    The total land area is about 41,500 km².

    1. Solar Capacity per 1000 km²

    \text{Capacity per 1000 km²} = \left( \frac{22,000 \text{ MW}}{41,500 \text{ km²}} \right) \times 1000 \approx 530 \text{ MW per 1000 km²}

    Final Answer:

    Approximately 530 MW of solar capacity per 1000 km² in the Netherlands.

    Let me know if you’d like to calculate actual solar energy generation (e.g., MWh/year) instead of capacity.







  • My internship supervisor. I did an internship back in 2006, I had this supervisor that was very very pro open source. He asked anyone on the team to use a Linux distro for work. I used Ubuntu for work for a long time. Slowly I started liking my personal laptop with windows less and less. So at some point (I think 2010 or 2011) I just went to Linux for my laptop as well. At first a dual boot, but I booted in Windows less and less. So on my next laptop some years later I skipped windows entirely.

    I don’t miss windows at all, but I do really hate I have to work with teams. It’s the only app on my laptop I really hate on Linux.





  • Yeah I’m not surprised or angry about it, isn’t this basically what has always happened? Like at some point we had elevator operators, some company automated the elevator and now there are basically zero elevator operators.

    This is just happening all the time, like when I was a kid every gas station had people working at the station. Nowdays most stations around me are completely without workers, it’s all self checkout (like supermarkets, McDonalds, etc).


  • I actually had it the other way around, I wanted to learn to understand and speak Spanish a lot better. My wife is half Spanish and her family speaks zero English. Anyway started to learn with Duolingo and my Spanish did improve. But after a while I got to a point where most of the mistakes I made where spelling errors. I don’t care how to spell in Spanish, I’m not going to write them, I just want to understand it and be able to respond. There is no option (afaik) to just learn the meaning of the words.