How to make my laptop more power eficient by using the E/LPE cores on my hybrid intel processor? https://askubuntu.com/questions/1566748/how-to-make-my-laptop-more-power-eficient-by-using-the-e-lpe-cores-on-my-hybrid

I have intel laptops with 13th and 14th generation processors with both P and E cores. I'd like the system to schedule onto the E cores and never the P cores when the system isn't under load, to save power. Automatic and transparently ideally.

How can I make list of packages in Ubuntu main repository? https://askubuntu.com/questions/1566747/how-can-i-make-list-of-packages-in-ubuntu-main-repository

How can I make list of packages in Ubuntu main repository? I tried Ubuntu Software application. It is not loading info from the server. Maybe, command line is better.

I'm getting python segmentation fault (core dumped) randomly https://askubuntu.com/questions/1566742/im-getting-python-segmentation-fault-core-dumped-randomly

It's my requirements.txt

python = ">=3.11,<3.14"
starlette = ">=0.37.2"
pydantic = ">=2"
numpy = ">=1"
pandas = ">=2.2.3"
requests = ">=2"
httpx = "0.28.1"
httpx = { version = "0.28.1", extras = ["http2"] }
anyio = "4.12.1"
uvloop = "0.21.0"
aiohttp = ">=3.9.0"
bittensor = "10.0.1"
bittensor-cli = "9.17.0"
async-substrate-interface = "1.5.15"
substrate-interface = "1.7.11"
sqlalchemy = ">=2.0.36"
psycopg2-binary = ">=2.9.10"
alembic = ">=1.14.0"
python-dotenv = ">=1.0.1"
setuptools = ">=68"
pyyaml = ">=6.0"
properscoring = ">=0.1"
numba = "0.63.1"
scikit-learn = ">=1.3.0"
xgboost = ">=2.0.0"
lightgbm = ">=4.0.0"
tensorflow = ">=2.15.0"
arch = ">=6.2.0"
rich = ">=13"
wandb = ">=0.19.4"
tenacity = "9.0.0"
google-cloud-logging = "3.12.1"
matplotlib = ">=3.10.0"

And if I run the python script, it gets unkown errors randomly which didn't happened in the past. Nowadays I changed my new pc and installed new WSL. OS: Ubuntu 24.04 LTS Python: 3.10.20

Some times gets

Traceback (most recent call last):
  File "/home/work/Synth/synth-50/solutions/CRYPTO_HIGH/train_sigma_model.py", line 2300, in <module>
    main()
  File "/home/work/Synth/synth-50/solutions/CRYPTO_HIGH/train_sigma_model.py", line 2243, in main
    df_train, df_val, error = prepare_training_data(
  File "/home/work/Synth/synth-50/solutions/CRYPTO_HIGH/train_sigma_model.py", line 1449, in prepare_training_data
    df = load_price_data(
  File "/home/work/Synth/synth-50/utils/fetch_price.py", line 197, in load_price_data
    df = _load_price_rows_from_db(engine, query, {
  File "/home/work/Synth/synth-50/utils/fetch_price.py", line 60, in _load_price_rows_from_db
    chunk = pd.DataFrame.from_records(rows, columns=columns)
  File "/home/work/Synth/synth-50/.venv/lib/python3.10/site-packages/pandas/core/frame.py", line 2500, in from_records
    arrays, arr_columns = to_arrays(data, columns)
  File "/home/work/Synth/synth-50/.venv/lib/python3.10/site-packages/pandas/core/internals/construction.py", line 842, in to_arrays
    data = [tuple(x) for x in data]
  File "/home/work/Synth/synth-50/.venv/lib/python3.10/site-packages/pandas/core/internals/construction.py", line 842, in <listcomp>
    data = [tuple(x) for x in data]
SystemError: ../Objects/listobject.c:336: bad argument to internal function

but sometimes gets Segmentation fault (core dumped) directly.

And after all suspicious errors happening, always the segmentation fault happens. Any suggestion?

Massive lengthy laggs, maybe related to Steam https://askubuntu.com/questions/1566740/massive-lengthy-laggs-maybe-related-to-steam

I've managed to set up everything on my PC pretty well, most things are working great on Kubuntu for me. I do have one thing that is really annoying though. As i log in to my desktop I will have such severe lag my PC becomes unusable for several minutes. The reason i believe its related to Steam is I have Steam set to start as i log in and the only other time this lag will consistently occur is when i start a game through Steam, although just a couple of seconds and not minutes. Wondering if anyone's had similar issues or know how to fix this?

Ubuntu 24.04.4 LTS, internet, bluetooth, speaker connection, and more disappeared. Some essential files might be missing https://askubuntu.com/questions/1566739/ubuntu-24-04-4-lts-internet-bluetooth-speaker-connection-and-more-disappeare

I have an Acer Aspire A715-72G laptop from 2018 with Ubuntu 24.04.4 LTS as its operating system. I made the switch to Ubuntu a few months ago and everything has been working fine until today. I have also been keeping mostly up-to-date with driver updates and such.
Upon turning on my laptop I noticed the touch pad not working. When opening my browser I also noticed that there was no wifi connection either. It turns out, that wifi, bluetooth, speakers, touchpad, and potentially more, are not working. When opening the wifi settings it said that no wifi adapter was connected. The wifi settings tab disappeared when I switched to a different setting and I cannot access it anymore. A tethered connection with my phone and a Ethernet connection both did not work. I tried the following steps to fix it:

1. I checked the systemd-networkd status and it originally said "inactive (dead)", but i got it to start running again.
2. I checked if there is an IP, and there is.
3. I tried setting up an Ethernet connection with no success. That is when I noticed something strange: When I accessed the etc directory, and then the netplan directory, there was no 01-netcfg.yaml file. I have little experience with computers, but I gathered from research that this file should have existed.
4. I tried, with help from a friend, setting up that file and applying it, but it did not fix the problem.

I tried fixing the internet connection first to check if there were driver updates I neglected to install. The strange thing is also, that some settings have disappeared. The Quick Settings menu only shows the power mode setting and the theme. In the Network settings, it only gives me access to the VPN setup and the proxy settings. Audio settings do not show my device's speakers.
I suspect that there are more essential files missing like the one I described above, however I don't know how to check that. I have no idea why those files would've been deleted since all I did was turn the laptop off last night and power it back on today. I only use it for university-related tasks, such as accessing our online platforms, using git, etc. and have not accessed any unknown links or potentially dangerous websites. I am not excluding it being a hardware issue, though I cannot explain why it would suddenly have so many issues despite always being handled with care.

Does anyone have an Idea of how this could be fixed? Or what the root cause might be?

ubuntu-pro-client won't upgrade to 37.2ubuntu~24.04 https://askubuntu.com/questions/1566736/ubuntu-pro-client-wont-upgrade-to-37-2ubuntu24-04

I see still 1 package ready for upgrade :

Erweiterte Sicherheitswartung (ESM) für Applications ist aktiviert.

1 Aktualisierung kann sofort angewendet werden.

entering the expected command results in :

 sudo apt  upgrade
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
Die folgenden Pakete werden aktualisiert (Upgrade):
  ubuntu-pro-client
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
7 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 259 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 1.024 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
(Lese Datenbank ... 150166 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../ubuntu-pro-client_37.2ubuntu~24.04_amd64.deb ...
Entpacken von ubuntu-pro-client (37.2ubuntu~24.04) über (37.1ubuntu0~24.04) ...
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/ubuntu-pro-client_37.2ubuntu~24.04_amd64.deb (--unpack):
 Versuch, »/etc/apt/apt.conf.d/20apt-esm-hook.conf« zu überschreiben, welches die umgeleitete Version von »/etc/apt/apt.conf.d/20apt-esm-hook« ist
dpkg-deb: Fehler: »einfügen«-Unterprozess wurde durch Signal (Datenübergabe unterbrochen (broken pipe)) getötet
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/ubuntu-pro-client_37.2ubuntu~24.04_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've already tried :

 sudo dpkg --remove --force-remove-reinstreq ubuntu-pro-client

sudo dpkg --configure -a
sudo apt-get install ubuntu-pro-client

without any success

Any idea how to get dpgk back in sync ?

Fortigate is not able to get an IP address from the local DHCP on PnetLab https://askubuntu.com/questions/1566733/fortigate-is-not-able-to-get-an-ip-address-from-the-local-dhcp-on-pnetlab

I have installed VMware workstation Pro on a Ubuntu OS, and then I deployed a Pnetlab VM machine. I created a lab and configured two Fortigates. I set the interface mode on DHCP, but the interface didn't get any IP configuration. I also tried to change the mode to static and set the IP manually, but neither of the PING or the access to the FortiGate GUI was successful. Can anyone help me out please?

Dirty Frag vs. Copy Fail mitigation - need to understand the difference https://askubuntu.com/questions/1566732/dirty-frag-vs-copy-fail-mitigation-need-to-understand-the-difference

I have been lurking on StackExchange for years, finally made an account a year ago, so this is my first post. I understand that there are standards to be upheld when posting questions, so I hope I will raise to those standards with mine.

Server scope: Azure-deployed VMs
Server versions:
Ubuntu Server 22.04.5 LTS (kernel 6.8.0-1052-azure)
Ubuntu Server 20.04.6 LTS (kernel 5.15.0-1089-azure)
Did I searched for and read relevant articles ? Yes, every single relevant one from vetted sources.

When Copy Fail came out, I was tasked with manual mitigation. According to Ubuntu blog article for Copy Fail, the mitigation was:

# Drop this into /etc/modprobe.d/disable-algif_aead.conf
install algif_aead /bin/false

After that, I was to check if modules are loaded, if yes, remove them, and then I performed a preventative reboot, because I was authorized to do so.

Somehow, with Dirty Frag, this is no longer enough. According to Ubuntu blog article for Dirty Frag, I am to do this:

# Drop this into /etc/modprobe.d/dirty-frag.conf
install esp4 /bin/false
install esp6 /bin/false
install rxrpc /bin/false

And then, additionally, I have to run:

update-initramfs -u -k all

After that, same steps as for Copy Fail.

So my first question here: I would like to understand why is suddenly initramfs update required ? Are ESP4/ESP6/RXRPC that deep in kernel that I have to alter the image from which the server boots ? I understand that if initramfs update fails, I will be in a world of hurt. While backups will be in place, I would rather not kill the server.

Furthermore, according to Mitigation section on Github post for Dirty Frag, simply dropping in the same config, removing mods if active, and then dropping cache is enough. So i.e. the same thing that I did for Copy Fail, except the additional step for cache drop.

Second question here: official article on Github from the person who found Dirty Frag is different from official Ubuntu recommendation. Why ?

I am the Linux admin here, so I should know this stuff, but in this case, I simply don't know or understand, what is the difference, and who do I trust here - do I trust the person who discovered the vulnerability and produced the steps for it, or do I trust the OS distribution vendor with their directions from their blog post ?

Thank you.

How to start wine application automatically https://askubuntu.com/questions/1566731/how-to-start-wine-application-automatically

I have the windows version of shadowsocks running on ubuntu via wine. I can't get the ubuntu version to work. What I want is for ubuntu to automatically start the wine applicationw without me having to login to the gui which is lightdm.

Ubuntu 26 / gnome 50 default image-viewer is not closing with esc key https://askubuntu.com/questions/1566728/ubuntu-26-gnome-50-default-image-viewer-is-not-closing-with-esc-key

While I understand the Escape key is now reserved for exiting full-screen mode, this change severely disrupts the workflow for users accustomed to Ubuntu 24.04's behavior. Modifying core keyboard shortcuts across releases creates consistency issues. There is any work around to solve it?

Dual boot: can I increase my Linux file system even though Windows partitions are in the way? https://askubuntu.com/questions/1566717/dual-boot-can-i-increase-my-linux-file-system-even-though-windows-partitions-ar

I am quite new at Linux. A while ago I made my laptop dual boot and I was a bit stingy on how much space I allocated to Linux. When I had some hardware issue, my computershop replaced my 500GB SSD with a 1TB SSD, but just cloned the old partitions on it.

These are the partitions:

Device          Start             End      Sectors         Size  Type
/dev/nvme0n1p1        2,048       534,527       532,480    260M  EFI System
/dev/nvme0n1p2      534,528       567,295        32,768     16M  Microsoft reserved
/dev/nvme0n1p3      567,296   759,959,809   759,392,514  362,1G  Microsoft basic data
/dev/nvme0n1p6  759,961,600   957,476,863   197,515,264   94,2G  Linux filesystem
/dev/nvme0n1p4  957,476,864   959,320,063     1,843,200    900M  Windows recovery environmen
/dev/nvme0n1p5  959,320,064 1,000,214,527    40,894,464   19,5G  Microsoft basic data

Sum of sectors   1,000,210,690      
Physical sectors 1,953,525,168      

I rearranged p6 to its actual place in the SSD.

So when I followed the instructions to enlarge partition 6, I was surprised to find that it hadn´t worked even though there were no errors. The reason became obvious once I studied this table: there is no unallocated space behind the Linux filesystem; 2 windows related partitions are in the way.

I'm not sure how to solve this. I would like to increase the Linux partition but I'm not sure if it is possible to do that non-contiguously. Do I need to reorder these partitions? Is that possible?

Firefox appears in all desktops https://askubuntu.com/questions/1566716/firefox-appears-in-all-desktops

When I try to use multiple desktops to arrange the opened windows, the window of Firefox is present in all of them, even the last one, which is usually totally empty (and when we drag a new window in it, a new empty desktop is created).

You can find attached screenshots of my three desktops, where Firefox appears (I blurred all info that could be sensitive, I hope I did not miss any !).

Desktop 1 Desktop 2 Desktop 3

Note that the Firefox window is the same everywhere: if I change tab or close it, the same result occurs in the windows of other desktops.

I'm using Ubuntu 24.04.

Headless setup not reachable by SSH [closed] https://askubuntu.com/questions/1566715/headless-setup-not-reachable-by-ssh

I am trying to build a server using ubuntu server with very low power consumption. The specs are:

Asrock H610M-HVS/M.2

Intel i3 12100F

some NVME SSD

Ubuntu Server 26.04 LTS

And that's it. I can successfully boot into ubuntu if i connect a GPU and use SSH, but I really don't want to have it installed permanently. I have set up a static IP address. Could it be an ubuntu issue, i.e. its POSTing fine but not booting?

Asrock support says it works with Windows, default BIOS settings, so I tried:

sudo systemctl set-default multi-user.target

Didn't work.

I thank everyone in advance, every answer is welcome!

EDIT

It is a confirmed Ubuntu issue, as it works with Windows 11.

Ubuntu won't boot unless in very old VGA drivers https://askubuntu.com/questions/1566653/ubuntu-wont-boot-unless-in-very-old-vga-drivers

I (with the guesswork of GEMINI deep research) can not get Ubuntu 26.04 LTS to boot unless I type 'e' at the boot menu to modify the Linux line to nomodeset acpi=off. I flashed the Ubuntu ISO to a PNY 32GB USB flash drive using Rufus.

After dozens of failed attempts and countless hours trying to install Ubuntu to an SSD, I plugged the SSD into a laptop in an SSD enclosure via USB and successfully installed Ubuntu 26.04 into the HP laptop, but I never booted Ubuntu OS in the HP laptop. Then I installed the SSD directly onto the Asus motherboard. The problem is that I can not make full use of the 24GB VRAM because I can only boot into Ubuntu 26.04 with the nomodeset acpi=off option to force Ubuntu to boot with very old drivers, VGA, etc. A normal boot ends up at a solid black screen every time after the Asus splash screen unless I press the Esc key and type 'e' next to the Ubuntu option.

Apparently Ubuntu 26.04 LTS is not meant for old workstations like this.

  • System: It was built in 2018, so it's old.

  • Motherboard: ASUS PRIME X299-DELUXE II

  • CPU: Intel Core i9-9980XE (18 cores, 36 threads)

  • Graphics card: NVIDIA Titan RTX (24GB VRAM)

  • Drive: Samsung SSD 970 EVO Plus 2TB

  • BIOS: 4301

  • Intel firmware: Intel ME firmware 11.12.98.2655

  • Installation media: PNY 32GB USB 3.2 flash drive

  • Installation file: ubuntu-26.04-live-server-amd64.iso

Tiny font in KDE sddm "maya" greeter https://askubuntu.com/questions/1566627/tiny-font-in-kde-sddm-maya-greeter

For KDE SDDM, the default greeter "maya" uses a tiny condensed font and cannot be set to anything else by normal means, e.g. in /etc/sddm/font.conf. Now, this looks awful on anything with a slightly modern resolution. How do I change the font?

This appears to be disregarding "highdpi" settings and the scaling referenced in many postings. Here we are at the font setting, disregarding scaling.

enter image description here


The specifics; On Ubuntu 24.04 (Gnome), with How to Change Default Desktop Environment done.

Tiling not working and extra cursor in the corner https://askubuntu.com/questions/1566514/tiling-not-working-and-extra-cursor-in-the-corner

Tiling not working and extra cursor in the corner

I am experiencing an issue on Ubuntu 26.04 where the Ubuntu window tiling functionality stops working and a secondary cursor appears in the top-left corner of the screen after I stop moving the pen on my drawing tablet. I use a Huion H430P graphics tablet with the OpenTabletDriver.

System Info

  • OS: Ubuntu 26.04
  • Kernel: Linux 7.0.0-15-generic
  • Desktop Environment: GNOME 50
  • Display Server: Wayland
  • CPU: Intel i5-3470
  • GPU: NVIDIA GeForce GTX 1050 Ti
  • GPU Driver Version: 580.142

Tablet Info

  • Model: Huion H430P
  • Driver: OpenTabletDriver v0.6.7

Visual Reference

A video showing the issue can be found here: Reddit Link

Is there an alternative of VNC for KDE Wayland as server? https://askubuntu.com/questions/1565787/is-there-an-alternative-of-vnc-for-kde-wayland-as-server

I used to use VNC but it does not work with Wayland. How can I connect to my Kubuntu 24.04 (Wayland) computer from another computer in another network so that I can access its GUI, just like in VNC?

MegaRaid-SAS device not working on Ubuntu24.04LTS /Kernel 6.8 by default - Kernel options fix https://askubuntu.com/questions/1548052/megaraid-sas-device-not-working-on-ubuntu24-04lts-kernel-6-8-by-default-kerne

I have a MegaRAID SAS 9440-8i reporting on lspci as 'Broadcom/LSI MegaRAID Tri-Mode SAS3408'.

It seems that with the move from Ubuntu 22.04LTS (Kernel 5.5) to Ubuntu 24.04LTS (Kernel 6.8), my RAID controller is no longer visible.
My dmesg shows a megaraid-sas section, but it crashes before startup, meaning I can't access any of my disks.

I read somewhere that adding intel_iommu=on and iommu=pt would fix it, and indeed with those kernel options it works, but I'm wondering if anyone knows why? What is the default kernel option change that broke it, and what is iommu that makes it work?

Wine Mono/Gecko installer stuck https://askubuntu.com/questions/1546567/wine-mono-gecko-installer-stuck

I ha ve a fresh install of Ubuntu 22.04 with Wine 9 and the latest PlayOnLinux.

Everytime I create a new virtual drive by POL, during the initialization it tries to download/install Mono and Gecko, but the download phase stucks forever (the internet connection has no problems).

What could I do to solve that issue?

Thank you so much!

How to disable all animations EXCEPT smooth scroll? https://askubuntu.com/questions/1500434/how-to-disable-all-animations-except-smooth-scroll

Under GNOME 43.9 on Wayland, if I go to Settings > Accessibility and disable Enable Animations, this results in disabling smooth scroll, which is the only animation that I find useful. Is there a way to disable all animation EXCEPT smooth scroll?

Command line sendmail quit working after June 6 https://askubuntu.com/questions/1413016/command-line-sendmail-quit-working-after-june-6

Since June 6 all scripts sending mail to my gmail account have stopped working and Thunderbird is asking repeatedly to enter my password, which has not changed in the last week. I am running Ubuntu 20.04, 5.13.0-44-generic #49~20.04.1-Ubuntu SMP Wed May 18 18:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux. I have turned on 2 step verification and have checked my Google settings at least twice. I have now fixed Thunderbird, using the information here: https://support.mozilla.org/bm/questions/1369886 I am using sendmail to alert myself of scripts, such as backups, that have run. I have added code to put the logfiles in my logs directory but would still like the alert emails. I used this article to reconfigure exim4, but that did not fix the problem: https://www.talk-about-it.ca/setting-up-exim4-with-gmail-and-2-factor-authentication/

June 10: All of a sudden I have a flood of gmail messages generated by scripts appearing in my inbox. I had just changed the password in exim4.config to the application password! Hooray! Thanks for the help. Generating the application password via Google and plugging that into /etc/exim4/exim4.conf.template did the trick. That is in the line starting with client_send, line 1887 approx. The line is:

client_send = : username@gmail.com : 'userpassword'

Mark as solved.

How do I calibrate Laptop screen in Ubuntu 22.04 OR How do I know what my current Color profile is? https://askubuntu.com/questions/1404554/how-do-i-calibrate-laptop-screen-in-ubuntu-22-04-or-how-do-i-know-what-my-curren

I am using Ubuntu 22.04 LTS on an HP Laptop. In Settings, there is a section for Colors under which my Laptop Screen is Not calibrated and when I try to Calibrate it, the button is greyed out, as shown in the picture.

Screenshot showing Laptop Screen Not Calibrated, and Calibrate button being greyed out

A bit of searching shows that you need something else to actually know what the color profile is, and Add that profile.

However, I clearly remember checking out the Settings when I first installed the OS, and at that time, I remember clearly that the Laptop Screen had a profile. And that was after I changed the theme and Night Light, so it's not those things that are affecting it. In addition, I have the Bootable USB with Ubuntu 22.04 LTS, and when I did 'Try Ubuntu,' sure enough, the Laptop Screen was already calibrated with the profile being Default - HP Laptop 15g-br0xx. But even there, the View Details button was greyed out, and there isn't such a profile as that in the list on my installed OS.

My question is: is there a command to know exactly what color profile is the so called 'Default'? And is there a way to kind of auto detect that on my installed OS? I can, of course, reinstall, but if there's a way to do this without reinstalling, I'd prefer that.

What is the “run command console” (Alt+F2) in GNOME? https://askubuntu.com/questions/1340680/what-is-the-run-command-console-altf2-in-gnome

I don’t quite understand what the run command console is, and I don’t understand two points.

  1. There is a famous way to restart gnome-shell: Alt+F2 and then “r” . What is this “r”? Just an internal command of the run console? Then how many internal commands does the run console have?
  2. I can execute my own scripts through the run console. However, I have to specify the full path, only then the script will work. If I use the shortcut ~/my-path/script, the script opens in the editor as the Display command in Nautilus. I don’t understand why.
Issue with display driver on HP Elitebook 820 G1 after upgrading to Xubuntu 20.04.2 LTS from Xubuntu 18.04.5 LTS https://askubuntu.com/questions/1322550/issue-with-display-driver-on-hp-elitebook-820-g1-after-upgrading-to-xubuntu-20-0

After doing the upgrade to Xubuntu 20.04.2 LTS from Xubuntu 18.04.5 LTS on my HP Elitebook 820 G1 I've had an issue with my screen going blank at random. I can't see anything interesting in journalctl or dmesg.

The only way I've found to wake up the screen is to close and open the laptop lid.

I've tried changing the power management settings, but it doesn't help.

I'm starting to suspect that this is an issue with the new display driver not being fully compatible with my computer.

A solution might be to downgrade the display driver to the version used in Xubuntu 18.04.5 LTS?

Would be happy for suggestions for a solution for this problem!

kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0) https://askubuntu.com/questions/1094510/kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block0-0

OK, so I have fallen down a rabbit hole without much of a back up plan so I am hoping someone will be able to guide me through recovering my Linux install. I have limited knowledge of linux systems and Ubuntu so it's probably what has got me in the mess in the first place so will try and best explain what has happened so far.

So I needed to clear space in /boot as Webmin was reported low storage.

uname -a reported 4.4.0-137-generic as my current kernal.

I ran a similar command as this, making sure the current kernel wasn't listed:

sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -v `uname -r`

This as now left me with 4.4.0-137-generic, 4.4.0-138-generic and 4.4.0-139-generic, however none of them boot as I get the following error:

kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0)

I have tried the chroot options below:

sudo fdisk -l
sudo mount /dev/sdax /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt

However after I mount sda1 I can't go any further, mnt shows the /boot folder and I can mount the dev folder as they don't exist in /mnt.

I have tried the following when I was able to boot in to 4.4.0-137-generic and a few other options:

update-initramfs -u -k 4.4.0-137-generic

Which hasn't resolved the issue, I used to be able to see the GRUB menu for recovery options however that is no longer showing, I am currently getting in to tty which is showing 4.4.0-139-generic when running the uname -a command.

This is my first post so excuse incorrect formatting and the lack of information for steps taken, might have been a little gun ho with this all. Let me know if I can amend anything for future reference.


So to follow up, found my root partition is under /dev/mapper/Server--vg-root and I was able to mount all the folders for chroot however the recovery CD was 32-bit and need 64 which is my next step.

However the folder /dev/mapper/Server--vg-root/boot is empty, though /dev/boot is not. Do I need to mount it using the following command or am I supposed to be repairing /dev/mapper/Server--vg-root/boot to contain items?

sudo mount --bind /dev/sda1 /mnt/boot

Or how do I check which folder Grub is using to confirm which one needs repairing?

Is there any tool to convert pdf to ppt/odp slides in Linux/ Ubuntu offline? https://askubuntu.com/questions/797836/is-there-any-tool-to-convert-pdf-to-ppt-odp-slides-in-linux-ubuntu-offline

I am looking for a tool that converts PDF into PPT files or supports any tweak to import PDF files into LibreOffice-impress, LibreOffice-Draw imports the PDF but that does not do the job. So far I am trying to use a workaround called pdftk+pdfchain to burst the pages of the PDF file into single page PDF files and then converting the single page PDF files into images using ImageMagic and importing them into a PPT slide.

How to install Kazam 1.5.3? https://askubuntu.com/questions/766440/how-to-install-kazam-1-5-3

Months ago, I used to install Kazam 1.5.3 using these commands :

$ sudo add-apt-repository ppa:kazam-team/unstable-series
$ sudo apt-get update
$ sudo apt-get install kazam python3-cairo python3-xlib

Them main reason I want Kazam 1.5.3 exactly is because it comes with a webcam option.

But now, when I execute the previous commands, it only installs the previous version (Kazam 1.4), which doesn't come with a webcam option.

Is there a way to get the latest version?

Thanks

Cannot open terminal https://askubuntu.com/questions/668374/cannot-open-terminal

I'm new to ubuntu and took many days trying to solve a problem I'm having.

I searched the Internet and I have not found anything concrete that can fix it so this is my problem:

When I try to open the terminal, it is closed immediately and does not show me anything. I tried to run with CTRL + ALT + F1 or F2, and CTRL + ALT + T, but I get nothing and the moment it opens, it closes.

One thing I've discovered is that if I connect with the guest account then I can access the terminal.

Is there any GUI application for command rsync? https://askubuntu.com/questions/514963/is-there-any-gui-application-for-command-rsync

I am currently synchronize between local folders in my computer by following command:

rsync -av --delete "[source]" "[destination]"

Now I want to do this via GUI. so, Is there any GUI available for Ubuntu which works similar as by command rsync? and How can I install it?

How can I convert .msg files (Outlook email message) into .eml? https://askubuntu.com/questions/282691/how-can-i-convert-msg-files-outlook-email-message-into-eml

I have just started using Ubuntu & Thunderbird.

I have saved my Outlook emails in my hard disk and they have an .msg extension. Now when I try to open them in Thunderbird it doesn't open them because Thunderbird used .eml extension.

Please advise how I can convert my old emails from Outlook into Thunderbird format.