Ubuntu 25.10 Chuwi GemiBook - login loop only on main account https://askubuntu.com/questions/1564265/ubuntu-25-10-chuwi-gemibook-login-loop-only-on-main-account

Ubuntu 25.10 - login loop only on main account (uid=1000). Second account (uid=1001) works fine on GNOME 49 Wayland.GDM logs after login attempt:

pam_unix(gdm-password:session): session opened for user main

gkr-pam: unlocked login keyring

pam_unix(gdm-password:session): session closed for user main

GdmDisplay: Session never registered, failingTried from TTY (Ctrl+Alt+F3, main account):

rm -rf ~/.config/gnome* ~/.config/dconf ~/.cache/gnome*

dconf reset -f /org/gnome/

chown -R username:username /home/username

sudo apt install --reinstall gnome-session gnome-shell

created ~/.config/gnome-session/saved-sessionNothing helped.Fresh logs if needed (from second account, after main login attempt):

sudo journalctl -u gdm -f > gdm.log

sudo journalctl -p err -b > system.log

grep -i session /var/log/auth.log > auth.log

dpkg -l | grep -E "gnome|gdm|wayland" > packages.logWhy does session fail to register for main account? What else to check?Screenshots ready

`open` does not work with `.dvi` files https://askubuntu.com/questions/1564261/open-does-not-work-with-dvi-files

If you use LaTeX to typeset and output a .dvi file, then try to open it via open filename.dvi, it doesn't work -- there's no MIME association for it. But I do have xdvi installed and it works -- I was expecting it to have made open / xdg-open work.

You get Failed to find default application for content type ‘application/x-dvi.

Syntek Integrated Camera is not working on Ubuntu 25.10 https://askubuntu.com/questions/1564259/syntek-integrated-camera-is-not-working-on-ubuntu-25-10

The camera shows up in lsusb:

~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c548 Logitech, Inc. Logi Bolt Receiver
Bus 001 Device 003: ID 048d:c956 Integrated Technology Express, Inc. ITE Device(8296)
Bus 001 Device 004: ID 174f:2435 Syntek Integrated Camera
Bus 001 Device 005: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

But v4l2-ctl --list-devices returns nothing.

No /dev/video* nodes exist in the filesystem.

I added user to video group, but it still doesn't work. My kernel version is Linux 6.17.0-14-generic

Edit: lsusb -t output

~$ lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 001: Dev 002, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 001: Dev 002, If 2, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 004: Dev 003, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 006: Dev 004, If 0, Class=Video, Driver=[none], 480M
    |__ Port 006: Dev 004, If 1, Class=Video, Driver=[none], 480M
    |__ Port 014: Dev 005, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 014: Dev 005, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/8p, 10000M
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/:  Bus 005.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 006.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M

Edit2: found this in dmesg:

[    2.932197] usb 1-6: Found UVC 1.00 device Integrated Camera (174f:2435)
[    2.940946] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[    2.940998] Bluetooth: hci0: Boot Address: 0x24800
[    2.941000] Bluetooth: hci0: Firmware Version: 193-33.24
[    2.941014] Bluetooth: hci0: Firmware already loaded
[    2.945062] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
[    2.950480] usb 1-6: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[    2.950912] uvcvideo 1-6:1.1: Failed to query (GET_CUR) UVC probe control : -32 (exp. 26).
[    2.950917] uvcvideo 1-6:1.1: Failed to initialize the device (-5).
[    2.951206] uvcvideo 1-6:1.0: probe with driver uvcvideo failed with error -5
[    2.953750] usbcore: registered new interface driver uvcvideo

The sudo modprobe uvcvideo command returns nothing

What should I try next to fix this?

Webcam not detected on Dell XPS 16 9640 with Ubuntu 24.04 https://askubuntu.com/questions/1564258/webcam-not-detected-on-dell-xps-16-9640-with-ubuntu-24-04

I'm trying to get the webcam working on my XPS 16 9640 running Ubuntu 24.04.4 LTS, and I’m stuck. I’d really appreciate if someone with the same model (or experience with IPU6 on Linux) could help.

System info:

Model: XPS 16 9640 OS: Ubuntu 24.04.4 LTS (noble) Kernel: 6.17.0-1011-oem OEM meta package: oem-somerville-lapras-meta installed

The Intel IPU6 driver loads correctly. From dmesg I can see:

intel-ipu6 initializes properly Firmware authentication succeeds intel_ipu6_isys and intel_ipu6_psys are loaded

The camera sensor (ov02c10) appears in the module list There are many /dev/video* devices and /dev/media0 exists.

However:

sudo cam --list

Returns:

Available cameras: (empty)

Also, /usr/share/libcamera/pipeline does not exist on my system.

Installed packages related to IPU6

libcamhal0 libcamhal-common libcamhal-ipu6epmtl libcamhal-ipu6epmtl-common oem-somerville-lapras-meta

libcamera is installed, but does not detect any camera

Has anyone successfully made the webcam work on the XPS 16 9640 with Ubuntu 24.04?

Is there an additional IPU6/libcamera package required that is not pulled automatically by the OEM meta package?

Is this model officially supported under Ubuntu 24.04, or only under the factory Dell Ubuntu image?

Does it require a specific OEM image rather than a clean Ubuntu install?

Any guidance (even just confirming that it works on your setup) would be super helpful.

Thanks in advance!

Easy way to open multiple MBOX files https://askubuntu.com/questions/1564254/easy-way-to-open-multiple-mbox-files

Can I open/view multiple MBOX files at once instead of loading them individually? Please suggest an easy solution.

After accidentally installing Unity instead of Unity Hub I've caused an issue with loading times in Files, terminal, and App Center https://askubuntu.com/questions/1564252/after-accidentally-installing-unity-instead-of-unity-hub-ive-caused-an-issue-wi

I'm on Ubuntu 24.04, kernel Linux 6.17.0-14-generic, FermVer V2.19, Acer Nitro AN515-58 laptop. After accidentally installing Unity instead of Unity Hub I've caused an issue with loading times in Files, terminal, and the App Center.

  1. All system apps that are not in the Show Apps bar are too slow to open, like 10-20 seconds.

  2. Apps on the side bar are prone to not opening on the first click. I click and nothing happens for 30+ seconds, the cursor loading spin stops and then the app only opens on the second or third try.

Burning a DVD-R on Ubuntu 20.04 https://askubuntu.com/questions/1564250/burning-a-dvd-r-on-ubuntu-20-04

I'm trying to burn a video project on to a DVD-R and having some issues. I installed Brasero and I wasn't able to get it to work because of a known issue with vcdimager.

So now I've installed K3b and I'm getting another error message: "No CD/DVD/BD writer found. K3b did not find an optical writing device in your system. Thus, you will not be able to burn CDs or DVDs. However, you can still use other K3b features such as audio track extraction, audio transcoding or ISO 9660 image creation."

The only advice I was able to find for this was for LinuxMint.

Not sure what to do? I'm a bit of a novice.

Ubuntu 18.04 HP_LaserJet_Pro_MFP_M125nw prints fine, stopped scanning after update [closed] https://askubuntu.com/questions/1564244/ubuntu-18-04-hp-laserjet-pro-mfp-m125nw-prints-fine-stopped-scanning-after-upda

I have a Pro personal token. I'm running Ubuntu 18.04. I suspect a recent update may have done something bad.

I have tried updating, uninstalling reinstalling the printer, reinstalling HPLIP. The terminal finds the printer fine. HP_LaserJet_Pro_MFP_M125nw prints fine, butwill not scan. Simple Scan a little slow to find the printer, but does find it. If press scan it tries, but says it's unable to connect to the scanner, hit close button. If I press the red X at right to close the operation, Simple Scan asks if I want to quit without saving, etc. It will give me the option to save to a file, but it has not scanned anything. I can save the file when it opens it says it has no pages.

I tried to use XSane. It says xsane.0999. It scans for devices and then error failed to open device 'hpaio:/usb/HP_LaserJet_Pro_MFP_M125nw?serial+CNB9J765QS': error during device I/O.

I have HPLIP 3.17.10

Here is some info:

HP Linux Imaging and Printing System (ver. 3.17.10)
Scan Utility ver. 2.2

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

hp-scan[5512]: debug: getDeviceUri(None, None, ['hpaio'], {'scan-type': (<built-in function gt>, 0)}, , True)
hp-scan[5512]: debug: Mode=0
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/usb/HP_LaserJet_Pro_MFP_M125nw?serial=CNB9J765QS
Opening connection to device...
error: SANE: Error during device I/O (code=9)

I have ran HP Doctor, etc. I really do not know what to do next. I am willing to upgrade to Ubuntu 20.04, but I'm worried that the problem will persist. I can also do a new installation of Ubuntu 22.04. I have it on a second machine and the same thing happened with the printer after an update, but I was able to update and reinstall the printer through HPLIP and it was fixed.

My HPLIP on Ubuntu 18.04 is older of course, so maybe I need to uninstall it and get a newer version? 've never done that so I am unsure how to pick a new version to work in Ubuntu 18.04 and with my printer.

Accessing a Shared Folder hosted in Ubuntu 24.04 LTS from a Windows 11 machine https://askubuntu.com/questions/1564240/accessing-a-shared-folder-hosted-in-ubuntu-24-04-lts-from-a-windows-11-machine

I am trying to access a shared folder I set up on my Ubuntu PC via my Windows 11 machine, however when attempting to add the network location and adding my credentials I am getting access denied, please speak with your administrator. I am unable to work out where I am going wrong. Please note I am using Putty on my Windows PC to access the terminal on my Ubuntu 24.04 server. In all the below, user_name is replaced with actual name. I know the IP address is correct for accessing as I'm doing everything on the server remotely with Putty.

I have a folder created in /home/user_name called shared_folder.

The following command opens up my smb.conf file:

sudo nano /etc/samba/smb.conf

I have updated the bottom of the smb.conf file to include:

[shared_folder]

comment = Shared Folder

path = /home/user_name/shared_folder

read only = yes

browsable = yes

guest ok = yes

I then wrote out with CTRL+O and exited with CTRL+X. I believe this is required to allow the access.

sudo chmod -R ugo+w /home/user_name/shared_folder

I then restarted with this command:

sudo systemctl restart smbd

In the GUI, I cannot see an option when you right click a folder to do sharing as in the guide suggested. but in ubuntu it is showing under windows shares. I get a network error kickback on windows when accessing suggesting I do not have permission to access

Change the default Linux kernel for GRUB bootloader menuentry 0 in Ubuntu 24.04 https://askubuntu.com/questions/1564208/change-the-default-linux-kernel-for-grub-bootloader-menuentry-0-in-ubuntu-24-04

For some weird reason, my Ubuntu 24.04.3 has stopped booting from the default Ubuntu option in GRUB bootloader. I had to boot from a different kernel inside Advanced Options for Ubuntu. I found the problem when checking GRUB config, the menuentry and submenus have this order:

Ubuntu
Advanced Options for Ubuntu
|----Ubuntu, with Linux 6.17.0-14-generic
|----Ubuntu, with Linux 6.17.0-14-generic (recovery mode)
|----Ubuntu, with Linux 6.14.0-37-generic
|----Ubuntu, with Linux 6.14.0-37-generic (recovery mode)

I need to boot with Linux 6.14.0-37-generic kernel (it's the one that works) but the default menuentry uses the Linux 6.17.0-14-generic. I followed the advice in this question: Ubuntu 22.04 only boot normally via recovery mode and it works in a way that now GRUB selects Advanced Options for Ubuntu > Ubuntu, with Linux 6.14.0-37-generic by default. I can work with this but I was wondering if there is a way to change the kernel in the First 0 Ubuntu entry? Right now it says this:

menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6c124b9f-86c1-4d04-b595-b7c125ec43cf' {
    recordfail
    load_video
    gfxmode $linux_gfx_mode
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_gpt
    insmod ext2
    search --no-floppy --fs-uuid --set=root 6c124b9f-86c1-4d04-b595-b7c125ec43cf
    linux   /boot/vmlinuz-6.17.0-14-generic root=UUID=6c124b9f-86c1-4d04-b595-b7c125ec43cf ro  quiet splash $vt_handoff
    initrd  /boot/initrd.img-6.17.0-14-generic
}

Notice how it boots from 6.17.0-14-generic. Since the /boot/grub/grub.cfg very clearly says to NOT EDIT THIS FILE I cannot figure out how I can tell GRUB to always boot from Linux 6.14.0-37-generic without following the Advanced Options entry. Any help is appreciated, thank you!

Update: I have looked at this question: How to stop using the HWE kernel and go back to the GA kernel? and followed its advise by removing the HWE kernels. But this doesn't remove the problematic 6.17.0-14-generic. The first menuentry still uses the 6.17.0-14-generic and fails to boot. I am curious if removing this specific kernel will solve the problem but I am also sort of scared if this will irreversibly break anything.

Another Update: I think there is some confusion here, I have many people trying to help by suggesting to change GRUB_DEFAULT but that's not the problem here. I have two Linux kernel images, 6.17.0-14-generic and 6.14.0-37-generic. Only the second one works. But, GRUB prioritises the first one in menuentry 0. I am guessing that maybe removing the 6.17.0-14-generic image will help resetting the defaults but I am also a little unsure if this will irreversibly break something.

More Updates: I am removing grub2 tag since this was not actually a GRUB problem. I just had to remove the problematic kernel image.

Access Issues to Documents on Cryptomator Vault - Ubuntu 24.04 https://askubuntu.com/questions/1564029/access-issues-to-documents-on-cryptomator-vault-ubuntu-24-04

I'm using Ubuntu 24.04 and I'm encrypting all my documents via Cryptomator to upload them to a cloud service. The HDD is formated in NTFS.

The problem is that when I try to access those documents in the mounted unit or vault, I can't open either Word or Excel files, or even listen to audio documents. For example, VLC gives me the following error: "VLC is unable to open the MRL" and LibreOffice Calc shows me this error when I try to open documents: "Acces to "XXX" was denied". I've checked the permissions and they look good, actually I can modify .txt files with the Ubuntu text editor and it gives no error.

This is a problem since I cannot open my documents directly on the vault so they are are not synchronized automatically after modifying them. I have to open them in the Desktop (for instance), modify them, and then copy and paste them to the crypto vault.

Thank you in advance.

Internet gone in Ubuntu 24.04 LTS after update https://askubuntu.com/questions/1554699/internet-gone-in-ubuntu-24-04-lts-after-update

This morning a pop-up window appeared on my ubuntu 24.04 saying that a restart was needed to install the updates. I have restarted the system but now internet is gone.

In the top right corner there is no wi-fi symbol and in the settings the wi-fi is also gone. I have no access to a LAN so I do not know if it works.

What should I do?

Suspend not working https://askubuntu.com/questions/1545658/suspend-not-working

After I suspend my laptop (either by closing the lid or selecting “Suspend”), it fails to resume properly and shows an error screen (screenshot attached below). I have to force shutdown every time, which breaks the whole "just open and work" laptop experience.

This issue is the only major problem I'm facing on Ubuntu after switching from Windows, and I'd really love to fix it.


System Information:

  • OS: Ubuntu 24.04.2 LTS (Codename: noble)
  • Kernel: 6.11.0-21-generic
  • Desktop Environment: GNOME 46.0
  • Laptop Model: ASUS VivoBook X513EP
  • CPU: Intel i5-1135G7
  • GPU:
    • Intel TigerLake-LP GT2 [Iris Xe Graphics]
    • NVIDIA GeForce MX330
  • RAM: 16 GB

I've tried:

  • Toggling suspend settings in GNOME
  • Switching between hybrid/integrated graphics
  • Updating all packages

Error: (I tried my best to OCR it)

139.884244] nvme 0000:03:00.0: Unable to change power state from D3cold to DO device inaccessible 
39.9499641 nvme 0000:03:00.0: Unable to change power state from D3cold to DO device inaccessible 
39.9506341 EXT4-fs (nume0n1p2): shut down requested (2) . 
[39.950636) Aborting journal on device nυπεθη1p2-8 
t 39.9506411 Buffer 1/0 error on deu numeonip2, logical block 262144, lost sync page write 
T 39.9506441 JBD2: 1/0 error when updating journal superblock for nvme0n1p2-8. 
40.4560761 1915 0000:00:02.0: [dra) ERROR Port F/TC#3: timeout waiting for 
PHY ready 41.8294601 Aborting journal on device dm-0-8. 
41.8294681 EXT4-fs error (device dm-0) in ext4_reserve_inode_write: 5834: Journal has aborted Buffer 1/0 error on dev dm-0, logical block 30441472, lost sync page write 
[ 41.8294701 41.8294781 JBD2: I/O error when updating journal superblock for dm-0-8. 
41.8294831 EXT4-fs error (device dn-0): ext4_dirty_inode:6038: inode #2752530: corn systemd-Journal: mark_inode_dirty error 
41.8294931 EXT4-fs error (device dm-0) in ext4_dirty_inode: 6039: Journal has aborted 
E 41.8301761 EXT4-fs error (device dm-0): ext4_journal_check_start:84: comn systemd-Journal: Detected aborted Journal 
41.8302041 Buffer 1/0 error on dev dn-0, logical block 6, lost sync page write (dm-0): I/O error while writing superblock 
41.8302101 EXT4-fs 41.8302131 EXT4-fs (dm-0): Remounting filesystem read-only 
41.8326921 Buffer 1/0 error on dev dm-0, logical block 6, lost sync page write 
41.8326991 EXT4-fs (dm-0): 1/O error while writing superblock 

Can I fix or debug this? Any logs or configs I should check?

I/O error while writing superblock:

[   39.884244] nvme 0000:03:00.0: Unable to change power state from D3cold to D0
, device inaccessible
[   39.949964] nvme 0000:03:00.0: Unable to change power state from D3cold to D0
, device inaccessible
[   39.950634] EXT4-fs (nvme0n1p2): shut down requested (2)
[   39.950636] Aborting journal on device nvme0n1p2-8.
[   39.950641] Buffer I/O error on dev nvme0n1p2, logical block 262144, lost syn
c page write
[   39.950644] JBD2: I/O error when updating journal superblock for nvme0n1p2-8.
[   40.456076] i915 0000:00:02.0: [drm] *ERROR* Port F/TC#3: timeout waiting for
PHY ready
[   41.829460] Aborting journal on device dm-0-8.
[   41.829468] EXT4-fs error (device dm-0) in ext4_reserve_inode_write:5834: Journal has aborted
[   41.829470] Buffer I/O error on dev dm-0, logical block 30441472, lost sync page write
[   41.829478] JBD2: I/O error when updating journal superblock for dm-0-8.
[   41.829483] EXT4-fs error (device dm-0): ext4_dirty_inode:6038: inode #2752530: comm systemd-journal: mark_inode_dirty error
[   41.829493] EXT4-fs error (device dm-0) in ext4_dirty_inode:6039: Journal has aborted
[   41.830176] EXT4-fs error (device dm-0) in ext4_journal_check_start:84: comm systemd-journal: Detected aborted journal
[   41.830204] Buffer I/O error on dev dm-0, logical block 0, lost sync page write
[   41.830210] EXT4-fs (dm-0): I/O error while writing superblock
[   41.830213] EXT4-fs (dm-0): Remounting filesystem read-only
[   41.832692] Buffer I/O error on dev dm-0, logical block 0, lost sync page write
[   41.832699] EXT4-fs (dm-0): I/O error while writing superblock
How to fix BusyBox initramfs error on Ubuntu 22.04, showing many types of errors https://askubuntu.com/questions/1481460/how-to-fix-busybox-initramfs-error-on-ubuntu-22-04-showing-many-types-of-errors

I am getting a boot failure with these boot message on Ubuntu 22.04.

[    0.131760] x86/cpu: SGX disabled by BIOS.   
[    1.974254] nvme nvmeo: failed to set APST feature (2)
Gave up waiting for suspend/resume
Gave up waiting for root file system device.  
Common problems: -Boot args (cat /proc/cmdline)
Check rootdelay= (did the system wait long enough?)  
Missing modules (cat /proc/modules; ls /dev)
ALERT! UUID=133c02c6-0569-4b52-84bf-7c7b0cecc5b2 does not exist.   
Dropping to a shell!
BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash) 
Enter 'help' for a list of built-in commands.
(initramfs)

When I reboot multiple times, sometimes the system boots successfully and I can work on my Ubuntu system like normal, but again the next time when I turn on the laptop, the same issue arises.

I tried to enter Ubuntu generic recovery mode, but an endless process starts running, throwing infinite lines on the screen.

I am using an Asus TUF laptop. I can't find how to enable SGX in its BIOS.

How to to fix this? I don't want to reinstall Ubuntu and lose all my data.

mkdir: cannot create directory permission denied when launching hadoop https://askubuntu.com/questions/1389810/mkdir-cannot-create-directory-permission-denied-when-launching-hadoop

I get this error whenever I try to launch Hadoop. I have already configured the files needed to launch it but I get:

$ hdfs namenode -format

WARNING: /home/jeunesseafricaine/hadoop-3.3.1/logs does not exist. Creating.
mkdir: cannot create directory ‘/home/jeunesseafricaine/hadoop-3.3.1/logs’: Permission denied
ERROR: Unable to create /home/jeunesseafricaine/hadoop-3.3.1/logs. Aborting.

Need some help.

Input/output error during write on /dev/nvme0n1, /dev/nvme0n1: unrecognised disk label https://askubuntu.com/questions/1312498/input-output-error-during-write-on-dev-nvme0n1-dev-nvme0n1-unrecognised-disk

If someone can help me with this it would be much appreciated, cause I feel like I'm running out of options

Context: Roughly a month or so ago I built a new PC from scratch

Properties
Processor Ryzen 5 3600XT
GPU Nvidia GeForce GTX 1660
Motherboard ASRock B450M Pro4-F
Memory 16GB (2x8) Kingston HyperX

Drives:

  • 250GB KINGSTON SA2000M8250G (nvme),
  • 480GB ATA KINGSTON SA400S3 (scsi),
  • PSU: Cooler Master MWE White 550

I installed Ubuntu 20.10 on the nvme drive with a zfs with encryption, added the SATA ssd to the pool for more storage, and had been using it without much issue. Somewhere along the line I got my main drive corrupted (I assume because of shutting down incorrectly(forced reboot)), my system sometimes wouldn't even boot, othertimes I was able to login into the system and use it normally for about 3-5 minutes before everything but the mouse froze. After trying to recover to no avail I swallowed it up, and did a fresh system installation, this time with just the regular recommended settings, all seemed to work fine.

I formatted by SATA drive to ext4, mounting to /drives/bigdrive, to hold larger files, like media and such, and made symlinks on the /home/$USER folder pointing to it, still working fine. After installing some applications, I noticed the system didn`t have swap area, since I wanted the system to be able to sleep to conserve energy I tried creating some using gparted, setting it to a partition at the end of nvme0n1 and set the system to sleep after 1 hour of inactivity. I probably had done something wrong, because after waking up the system was very slow to respond, some applications were frozen, and the desktop screen was black. So I tried rebooting from GUI power options.

After booting I was greeted with the following screen:

error: can't find command `hwmatch'.
error: failure writing sector 0xb9dd800 to hd1

Press any key to continue..._

And so:

Gparted screenshot I/O error

So I tried, once again, to do a fresh installation, seeing as this time I probably wouldn't lose that much. But kept getting an I/O Error while trying to write on nvme0n1, so I did a live boot through the USB drive and opened gparted, and again, the same error, I couldn't format the drive, nor delete its partitions. I could format the SATA drive normally and create/remove partitions.

So I tried formatting the drive through the UEFI sanitization tool. Now the drive shows as unallocated, but again, same error while trying to create a partition table: I/O error.

Opening properties of the drive shows that it has an unrecognized disk label:

Screenshot of info about unallocated

These are the outputs of some of the commands I tried running:

fsck:

sudo fsck.ext4 -v /dev/nvme0n1
e2fsck 1.45.6 (20-Mar-2020)
ext2fs_open2: Bad magic number in super-block
fsck.ext4: Superblock invalid, trying backup blocks...
fsck.ext4: Bad magic number in super-block while trying to open /dev/nvme0n1

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

lsblk:

lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0     7:0    0     2G  1 loop /rofs
loop1     7:1    0  62.1M  1 loop /snap/gtk-common-themes/1506
loop2     7:2    0 217.9M  1 loop /snap/gnome-3-34-1804/60
loop3     7:3    0  55.3M  1 loop /snap/core18/1885
loop4     7:4    0  50.7M  1 loop /snap/snap-store/481
loop5     7:5    0  30.9M  1 loop /snap/snapd/9721
sda       8:0    0 447.1G  0 disk 
sdb       8:16   1   3.8G  0 disk 
└─sdb1    8:17   1   3.8G  0 part /cdrom
nvme0n1 259:0    0 232.9G  0 disk

parted:

(parted) print all
Error: /dev/nvme0n1: unrecognised disk label
Model: KINGSTON SA2000M8250G (nvme)                                       
Disk /dev/nvme0n1: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 

Model: ATA KINGSTON SA400S3 (scsi)
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start  End  Size  File system  Name  Flags


Model: Generic Flash Disk (scsi)
Disk /dev/sdb: 4028MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  4028MB  4027MB  primary  fat16        boot, lba


(parted) rescue /dev/nvme0n1                                              
Error: /dev/nvme0n1: unrecognised disk label
(parted) mklabel gpt                                                      
Error: Input/output error during write on /dev/nvme0n1
Retry/Ignore/Cancel? Retry
(parted) rm /dev/nvme0n1                                                  
Error: Partition doesn't exist.
(parted) mktable                                                          
New disk label type? gpt
Error: Input/output error during write on /dev/nvme0n1
Retry/Ignore/Cancel? cancel

gdisk:

sudo gdisk -l /dev/nvme0n1
GPT fdisk (gdisk) version 1.0.5

Partition table scan:
  MBR: not present
  BSD: not present
  APM: not present
  GPT: not present

Creating new GPT entries in memory.
Disk /dev/nvme0n1: 488397168 sectors, 232.9 GiB
Model: KINGSTON SA2000M8250G                   
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 50E941E8-9C02-4264-99CE-C255291BC1A2
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 488397134
Partitions will be aligned on 2048-sector boundaries
Total free space is 488397101 sectors (232.9 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
How to disable hpet in linux https://askubuntu.com/questions/1253874/how-to-disable-hpet-in-linux

I've recently just made the switch to Linux and is a complete noob at this. I want to disable hpet but can't find the option in my Alienware Bios, so I tried to disable it through terminal. After some research, I found out about “hpet=disable” and “nohpet” but don't know how apply these two commands. Can someone help me with this?

Ubuntu 20.04 not booting - black screen https://askubuntu.com/questions/1232511/ubuntu-20-04-not-booting-black-screen

I had 18.04 and upgraded to 20.04. At first dual boot. After installing, it showed a list of errors and never initiated the system. I went back to 18.04, everything was OK.

Installed again, but this time leaving only 20.04. The installation was good. I didn't have any errors by the end, but when it is supposed to initiate the system I get a black screen (with Ubuntu and the logo at the bottom).

I tried to disable UEFI in the BIOS (the other option is Auto for Legacy or UEFI), but instead of the dark screen with the logo, I get a totally black screen turning on and off repeatedly.

Notebook Samsung 700z Intel Core i5

enter image description here

enter image description here

apt-get cannot connect to Ubuntu archives https://askubuntu.com/questions/1198621/apt-get-cannot-connect-to-ubuntu-archives

I just installed a fresh version of Ubuntu 19.10 today, and the first thing I decided to do was to install GNU Screen, using sudo apt-get install screen. my output was:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package screen

I figured the package archives were not quite updated as it was a clean install so I tried sudo apt-get update. This is what I got:

Get:1 http://security.ubuntu.com/ubuntu eoan-security InRelease [97.5 kB]      
Err:2 http://au.archive.ubuntu.com/ubuntu eoan InRelease
  Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) Could not connect to au.archive.ubuntu.com:80 (202.158.214.106), connection timed out
Err:3 http://au.archive.ubuntu.com/ubuntu eoan-updates InRelease   
  Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable)
Err:4 http://au.archive.ubuntu.com/ubuntu eoan-backports InRelease
  Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable)
Fetched 97.5 kB in 31s (3,106 B/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/eoan/InRelease  Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) Could not connect to au.archive.ubuntu.com:80 (202.158.214.106), connection timed out
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/eoan-updates/InRelease  Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable)
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/eoan-backports/InRelease  Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable)
W: Some index files failed to download. They have been ignored, or old ones used instead.

I'm really not sure why it would be doing this, other than maybe some first-use hiccups? The computer is definitely connected to the internet, as I am writing this from that machine, and I have tried running the commands after rebooting and it still gives the errors. I can't seem to be able to connect to au.archive.ubuntu.com at all. ping au.archive.ubuntu.com just sits there without a response. If anyone could help, that would be great! If any extra information is required I'd be happy to edit it into the question.

Edit the /etc/sudoers file to provide permission to Jenkins https://askubuntu.com/questions/1064749/edit-the-etc-sudoers-file-to-provide-permission-to-jenkins

I need to edit the /etc/sudoers file using the command:

 sudo gedit /etc/sudoers 

and add the below:

jenkins ALL=(ALL) NOPASSWD: ALL 

Post adding and trying to save I am getting the error:

 (gedit:23062): WARNING **: 00:45:53.924: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported

Can somebody help?

Thanks Sanjay

Anbox installation problem https://askubuntu.com/questions/1053988/anbox-installation-problem

Whenever I try to install Anbox on my Xubuntu 17.10 machine, I get the following error:

error: cannot install "anbox-installer": Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp:
   lookup api.snapcraft.io on [::1]:53: read udp [::1]:39062->[::1]:53: read: connection
   refused

For a visual representation: https://asciinema.org/a/Pisk1bKivlX9ihvE9Pn64cbhC

Error installing Ubuntu Server 18.04: Invalid Poolname https://askubuntu.com/questions/1050243/error-installing-ubuntu-server-18-04-invalid-poolname

I am trying to install Ubuntu Server 18.04 but I get stuck every time at the partitioning stage, in the "removing previous storage devices" process.

FYI, the installation has been tried using three different HDDs. In each HDD, Windows 7 was correctly installed after the Ubuntu Server failure (just for testing purposes), and the installation was tried with unpartitioned HDD and ext fs partition.

Just in case the attached screenshots are unavailable, here is a brief transcription of them:

Main Screenshot: Installation is aborted while removing previous storage devices is processed.

Log Screenshot: Several errors are shown, such as:

finish: cmd_install/stage-partitioning/builtin/cmd-block-meta: FAIL: removing previous storage devices

finish: cmd_install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta

File "/usr/lib/python3/dist-packages/curtin/block/zfs.py", line 207, in zpool.
_export raise ValueError("Invalid poolname: %s", poolname)

ValueError: ('Invalid poolname: %s', None)

('Invalid poolname: %s', None)

Main Screenshot:

enter image description here

Log Screenshot:

enter image description here

Any ideas? Thanks

Error: failed to open \EFI\BOOT\grubx64.efi-not found https://askubuntu.com/questions/989053/error-failed-to-open-efi-boot-grubx64-efi-not-found

I have a Sony Vaio and dual boot windows 10 and Ubuntu 16.04. All of the sudden, the main windows partition stopped working. It would just load infinitely. I tried to use boot repair to fix it. I don’t know if that could have even fixed it. Anyways, it did not work. So I am using Ubuntu. Then, I restarted my computer and now all of the sudden before I even get the option to choose an OS to boot, I get this error. It just brings me to vaio care. If I select start troubleshooting, I get the same error. I now have practically no use out of my computer and have no idea why it stopped working suddenly. Please help me at least be able to use one of my operating systems again. I do not want to lose data on either partition. Update: When I used boot-repair it told me to turn off secure boot in BIOS setup. Now, I discovered that the Ubuntu partition still works when Secure Boot is disabled, but not when it is enabled. When Secure Boot is enabled, I get the error stated above and can only access BIOS setup. If I try to access my Windows memory in Ubuntu, I get this error:

"Unable to Access 932 GB Volume" Error mounting /dev/sda5 at /media/millar/4484E74A84E73D54: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda5" "/media/millar/4484E74A84E73D54"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 1).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda5': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

Contents of fstab file:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda10 during installation
UUID=3c429404-bec5-4f99-8d13-6f01585040cb /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda3 during installation
#UUID=12E6-1CD7  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda9 during installation
UUID=7e7a010e-81fc-4de0-93c9-14cd77f4260f none            swap    sw              0       0
UUID=12E6-1CD7  /boot/efi   vfat    defaults    0   1
How to disable the compositor (gnome-shell/mutter) on fullscreen windows? https://askubuntu.com/questions/969073/how-to-disable-the-compositor-gnome-shell-mutter-on-fullscreen-windows

There is a bug on gnome-shell which gives me so bad performance in 3d games.

Is there a way to disable compositor redirection of full screen windows ?

Sound settings refuse to be saved; Audio works as it should https://askubuntu.com/questions/776986/sound-settings-refuse-to-be-saved-audio-works-as-it-should

Every time I log out or reboot, the sound output settings change from HDMI to the native speakers.

I've tried Googling the last couple of days, but the only things I can find are answers for if the audio doesn't work at all.

My audio works fine, Ubuntu 16.04 just refuses to save my preferred output.

Create an alias to a desired directory to use within the Terminal [duplicate] https://askubuntu.com/questions/486860/create-an-alias-to-a-desired-directory-to-use-within-the-terminal

I constantly need to type:

cd /home/geo/Geant4/geant4.10.00.p02-install/lib/Geant4-10.0.2

How do I create an alias to that directory, so I could just type:

cd $geant (or any other word I decide to create as the alias name)

It would also help me whenever I need to use cmake because I could use $geant as well in the middle of a cmake option.

Thanks.

What alternatives for sticky notes are available? https://askubuntu.com/questions/245019/what-alternatives-for-sticky-notes-are-available

I like the Sticky Notes very much, they are always on the desktop.

But I can't find it in Ubuntu since 12.04. Other programs like gnotes & Xjournal are not giving a feature to stay on the desktop.

So, is there any application similar to the old sticky notes in Ubuntu?

How do I get GRUB_HIDDEN_TIMEOUT=0 behavior when GRUB_DISABLE_OS_PROBER=false? https://askubuntu.com/questions/203912/how-do-i-get-grub-hidden-timeout-0-behavior-when-grub-disable-os-prober-false

I have a question about the grub2 implantation in Ubuntu 12.04.

I have a dual boot system with windows 7, Ubuntu as the primary OS. When I have #GRUB_DISABLE_OS_PROBER=true in my /etc/default file, grub boots to Ubuntu without showing a menu, and shows the menu when I hold down shift, however, the menu does NOT have my Windows 7 boot drive as an option.

If I have #GRUB_DISABLE_OS_PROBER=false, Windows 7 shows up in the grub menu, but the grub menu is always shown on system start, even though GRUB_HIDDEN_TIMEOUT=0 and shift is not held.

Is there a way to have the OS prober turned on, but only have the grub menu shown when shift is held down?

"drm:[drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC6]" during install https://askubuntu.com/questions/135236/drmdrm-crtc-helper-set-config-error-failed-to-set-mode-on-crtc6-during

I have a desktop PC which I built a while back. It has an Athlon XP 2500+, 2.5GB RAM, and an Nvidia (PNY Verto) Geforce 6200. I removed the CD drive to add another hard drive so I install from a USB flash drive.

When I try to install 12.04 it seems to work just fine. The GUI boots up and wifi even connects to my router. I go through the language screen, the partition screen, the keyboard screen, the location screen, and the import my Windows settings screen just fine.

But as soon as I'm done with all that the next screen goes black and displays this message:

drm:[drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC6]

Since the GUI starts just fine earlier during the install, I know I shouldn't be having any display problems, but I am. How do I get Ubuntu to install properly?

I have four IDE hard drives, all Western Digital: a 250GB, a 160GB, a 40GB occupied by Windows XP, and a 120GB that I'm trying to use for Ubuntu. 3GB of the 120GB drive are formatted for swap.

I have checked the MD5sum of install image file and it all matches up.

d791352694374f1c478779f7f4447a3f ubuntu-12.04-desktop-i386.iso
Recommendations for a WebDAV client https://askubuntu.com/questions/59870/recommendations-for-a-webdav-client

I am trying to get additional functionality from a school website that can allow multiple file uploads/downloads via drag and drop between the site's Resources folders and my personal computer via a WebDAV client, versus downloading each individual file manually. However, this feature is only officially supported for Windows and Mac, or for 3rd-party clients for those operating systems. I would like to be able to use this feature with Ubuntu 11.04.

I have already taken a look at this question, but had no luck with its answer...probably because it never asks me for my school password, and I can't find a way to input one.

If there's a way to do this using what's already installed by default, or from some other application, please let me know.

UPDATE: When I try connecting through Nautilus, I get the following error message, regardless of whether I picked WebDAV (http) or Secure WebDAV (https):

enter image description here

And just to reiterate, at no point does it ever ask for my password.