Is it safe to run Linux on ASUS OLED laptops without MyASUS Pixel Refresh? https://askubuntu.com/questions/1563154/is-it-safe-to-run-linux-on-asus-oled-laptops-without-myasus-pixel-refresh

I have a question regarding installing Linux on ASUS laptops with OLED displays. Is it safe to use Linux on OLED-equipped ASUS laptops in the long term?

The reason I’m asking is that on Windows, the MyASUS application provides a feature called Pixel Refresh, which is designed to help prevent pixel burn-in on OLED panels. As far as I know, this feature runs at the software/firmware level and is easily accessible in Windows, however on Linux there is no MyASUS app, and therefore no obvious way to manually trigger or manage Pixel Refresh.

My questions are:

  • Does Pixel Refresh work automatically at the firmware/hardware level even when using Linux?

  • Is there any official recommendation from ASUS regarding OLED care when running Linux?

  • Are Linux users at a higher risk of burn-in due to the lack of MyASUS features?

I’d really appreciate insights from ASUS staff or users who have been running Linux on OLED ASUS laptops for a long time.

Source of boot options menu https://askubuntu.com/questions/1563153/source-of-boot-options-menu

How is the boot options menu generated? I have one version of Xubuntu and nothing else on my machine, yet the menu lists a dozen items.

The first 4 menu items are:

UEFI OS
ubuntu (P0: ST1000DM003-1CH162)
UEFI: ST1000DM0003-1CH162
ubuntu

...

These are repeated randomly down the list. Where is this stored or how is it generated? How do I get rid of the unnecessary repetitions? Some of the options when selected for boot work fine. Others just bring up a grub> prompt. What is this? I have a lot of questions I'm afraid, but that's what 8 days trying to get this working does!

How to stop Chrome from asking for keyring password the first time I open it? https://askubuntu.com/questions/1563152/how-to-stop-chrome-from-asking-for-keyring-password-the-first-time-i-open-it

I'm running Ubuntu 24.04.3 LTS. How to stop Chrome from asking for keyring password the first time I open Chrome? I know this can be switched off, but things have changed since the last time I had to do this.

enter image description here

Drive failure after open a folder from ide https://askubuntu.com/questions/1563151/drive-failure-after-open-a-folder-from-ide

i was using windows 10 before then changed to ubuntu. after i open a folder from ide. im seeing

Unable to access location
Error mounting/dev/sdb4 at/media/acc/Others1: wrong fs type, bad option, bad superblock on/dev/sdb4, missing codepage or helper program, or other error

i tried to fix it with

sudo umount /mnt/Others
sudo ntfsfix /dev/sdb4
sudo mkdir -p /media/acc/Others
sudo mount -t ntfs-3g /dev/sdb4 /media/acc/Others
sudo systemctl daemon-reload

but its temporary, after reboot i need do it again.

Kubuntu 24.04.3 system freezes, black screen and weird rendering of video thumbnails https://askubuntu.com/questions/1563150/kubuntu-24-04-3-system-freezes-black-screen-and-weird-rendering-of-video-thumbn

For the past several weeks, my normally stable Kubuntu 24.04.3 system will randomly freeze (only the cursor will move, but does nothing) . At other times the display turns completely black. In both of these cases, I have to force a shutdown. Video thumbnails do not display correctly: they are colored lines - see screenshot at bottom. Attempting to view a page (Firefox 147.0.1) with embedded videos will cause freezing or black screens about 50% of the time.

I have 2 of these systems, and they both exhibit this unruly behavior.

Error messages from the last forced shutdown - I think the radeon errors are the most significant (?) as they occurred just before the shutdown:

Jan 22 14:14:15 frazzle-desktop kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.ALIB], AE_NOT_FOUND (20230628/psargs-332) 
Jan 22 14:14:15 frazzle-desktop kernel: ACPI Error: Aborting method \_SB.PCI0.VGA.ATC0 due to previous error (AE_NOT_FOUND) (20230628/psparse-529) 
Jan 22 14:14:15 frazzle-desktop kernel: ACPI Error: Aborting method \_SB.PCI0.VGA.ATCS due to previous error (AE_NOT_FOUND) (20230628/psparse-529) 
Jan 22 14:38:07 frazzle-desktop kernel: radeon 0000:00:01.0: scheduling IB failed (-2). 
Jan 22 14:38:07 frazzle-desktop kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to schedule IB !

Info about the GPU:

Model name:             AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G

 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]
        Kernel driver in use: radeon
        Kernel modules: radeon, amdgpu

The last kernel update, as far as I can tell, was 12-12-2025. This was approximately when these problems started, but I am not sure of that.

Operating System: Ubuntu 24.04.3 LTS              
          Kernel: Linux 6.8.0-90-generic
    Architecture: x86-64
 Hardware Vendor: Gigabyte Technology Co., Ltd.
  Hardware Model: F2A88XM-D3H
Firmware Version: F6
   Firmware Date: Wed 2014-05-28

I ran memtest86 for 30 hours on my 32GB of RAM with no problems detected. I keep both systems updated and have not installed any new hardware or software (other than Linux updates). Behavior may be related to this bug (seems similar)? https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/2063983 I am unsure how to proceed.

The screenshot below is how some (but not all) video thumbnails are rendered.

Video displays as rows of colored lines

No High def audio on my Bluetooth MH-1000MX4 since Last update ( days ago) - 24.04.3 LTS https://askubuntu.com/questions/1563149/no-high-def-audio-on-my-bluetooth-mh-1000mx4-since-last-update-days-ago-24

After a recent Ubuntu update, Bluetooth audio on a Sony WH‑1000XM4 headset no longer works in High Fidelity (A2DP sink Codec SBC) mode, including SBC‑XQ and AAC. The headset connects successfully and appears to negotiate the A2DP profile, but audio playback fails immediately. Sound still works in HSP/HFP (Headset/Handset mode).

The failure occurs at the moment PipeWire/WirePlumber attempts to start the A2DP audio stream. The Bluetooth transport opens, then instantly closes with an error.

Notes

  • I restarted pulse, bluetooth, and everything I could think of
  • I restarted the machine after setting changes
  • I added this to ~/.config/pipewire/media-session.d/bluez-monitor.conf
   properties = {
     bluez5.codecs = [ sbc sbc_xq ]
     bluez5.default.rate = 48000
     bluez5.default.channels = 2
     bluez5.sbc-xq.bitpool = 76
   }

No effect

At this point I am not sure what else to try . The headset was working fine for years before this problem

U24 Notepad++ snap: bulk add python scripts to scripts folder https://askubuntu.com/questions/1563147/u24-notepad-snap-bulk-add-python-scripts-to-scripts-folder

I am moving my Windows Notepad++ python scripts to my Ubuntu 24 machine that has NP++ snap (under Wine).

It looks like I can't simply dump the scripts into the script folder under NP++ on Linux. Snaps seem ... closed off.

Is there a way to bulk add files (here, Python scripts) to a NP++ installation?

I can use a console import instruction to an external folder and import that way, but that would be messy! Scripts in the NP++ folder can be run directly without going through the console.

Terminal picks up control sequences when I change window focus https://askubuntu.com/questions/1563145/terminal-picks-up-control-sequences-when-i-change-window-focus

I've noticed that sometimes one of my terminal windows will start acting weirdly when I change focus to a different window, and then click inside the terminal window to bring focus back to it. For example, if I'm entering a password, I often switch over to my password manager to copy the password, and then switch back to paste it. When the Terminal window is in this state, the password will fail the first time (after the focus change), but then succeed the second time.

I used getpass() in a Python interactive session to detect what's going on, and it looks like the focus change is triggering a couple of control sequences. I clicked out of the window when the Password: prompt came up, and then clicked back, and typed "asdf" as the password:

>>> print(repr(getpass.getpass()))
Password: 
'\x1b[O\x1b[Iasdf'

What is causing this, and how do I disable it (other than closing the Terminal window and opening a new one)?

EDIT: I'm using the default terminal in Ubuntu 20.04. I tagged this question with gnome-terminal, but I'm not 100% sure that's right.

pip install gives an error while it does work in macos https://askubuntu.com/questions/1563144/pip-install-gives-an-error-while-it-does-work-in-macos

I am trying to install Hazm in Ubuntu 25.04 that is running in VMware fusion inside a mac. While in macOs pip install hazm installs it, in Ubuntu trying pip install --user hazm --break-system-packages gives an error:

pip install --user hazm --break-system-packages
Collecting hazm
  Downloading hazm-0.11.0-py3-none-any.whl.metadata (9.5 kB)
Collecting flashtext<3.0,>=2.7 (from hazm)
  Downloading flashtext-2.7.tar.gz (14 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [15 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
          exec(compile('''
          ~~~~^^^^^^^^^^^^
          # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          ...<31 lines>...
          exec(compile(setup_py_code, filename, "exec"))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          ''' % ('/tmp/pip-install-el9vrtw_/flashtext_32a342e13c4140959b976389c763fa5c/setup.py',), "<pip-setuptools-caller>", "exec"))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-el9vrtw_/flashtext_32a342e13c4140959b976389c763fa5c/setup.py", line 1, in <module>
          from setuptools import setup, Command
      ImportError: cannot import name 'setup' from 'setuptools' (unknown location)
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

The question is, if the same package could be installed in mac why does it give an error in Ubuntu?

On my Linux 6.8.0-85-generic #85~22.04.1-Ubuntu machine in firefox file:/// no longer works https://askubuntu.com/questions/1563142/on-my-linux-6-8-0-85-generic-8522-04-1-ubuntu-machine-in-firefox-file-no-l

I've had this machine for years and it has 22.04.1 on it; URLs to the local filesystem via file:/// no longer work except those in my home directory, everything else gives a File not found.

How do I get my local filesystem access back so I can check HTML edits in a browser before uploading?

I should add I spent a long time this morning trying to solve this, screwing around with user profiles and other stuff I found online while looking for a solution, but nothing worked, so here I am.

% uname -a

Linux spunky 6.8.0-85-generic #85~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 19 16:18:59 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

How to run python script in Ubuntu using cron https://askubuntu.com/questions/1563136/how-to-run-python-script-in-ubuntu-using-cron

I need to auto run the python script (having some print statements) in Ubuntu upon every restart. I have typed crontab -e that opens a file in nano. I just have written the following line at the end of the file and save it.

@reboot  <path/to/python> <path/to/your/script.py>

When I reboot the virtual machine, I don't see any print statements on the terminal or on the screen.

Any idea what could be the problem.

BAR Allocation Failed & IOMMU Conflicts: Dual GPU (RTX 5060 + 4060) on Ryzen 5800X/B550 - "No Space" Errors https://askubuntu.com/questions/1563112/bar-allocation-failed-iommu-conflicts-dual-gpu-rtx-5060-4060-on-ryzen-580

I am hitting a wall trying to configure a dual GPU setup on a B550/Ryzen platform running Ubuntu. I am facing a persistent Memory Mapped I/O (MMIO) resource allocation issue where the kernel cannot assign BAR addresses for the second GPU, leading to can't assign; no space errors.

Hardware Specs:

  • CPU: AMD Ryzen 7 5800X

  • Mobo: B550 Chipset [INSERT YOUR MOTHERBOARD MODEL HERE]

  • GPU 1: NVIDIA RTX 4060

  • GPU 2: NVIDIA RTX 5060 (New gen)

  • PSU: 850W

  • OS: Ubuntu (Kernel 6.x generic)

  • Driver: Manual install of NVIDIA-Linux-x86_64-580.126.09.run (Required for 5060 support)

The Problem: When booting with default BIOS settings, only one GPU is enumerated correctly. The second GPU fails with BAR allocation errors in dmesg. When I attempt to fix this by enabling "Above 4G Decoding" in BIOS, the system fails to mount the NVMe drive or panics during boot unless I use specific kernel parameters, and even then, I lose the proprietary driver binding.

Logs & Symptoms:

1. The BAR Error (dmesg output): Without 4G decoding, the kernel clearly sees the device but cannot map the memory:

Bash

[ 0.666193] pci 0000:07:00.0: BAR 1 [mem size 0x10000000 64bit pref]: can't assign; no space
[ 0.666195] pci 0000:07:00.0: BAR 1 [mem size 0x10000000 64bit pref]: failed to assign
[ 0.666196] pci 0000:07:00.0: VF BAR 2 [mem size 0x10000000 64bit pref]: can't assign; no space
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:04:00.0)

2. The IOMMU/Disk Conflict: If I Enable Above 4G Decoding and Disable CSM (UEFI only), the boot process hangs with filesystem errors, losing access to the NVMe block devices:

Bash

/var/lib/snapd/snaps/firefox_2356.snap: Can't lookup blockdev
[FAILED] Failed to mount Mount unit for firefox.
[FAILED] Failed to mount Mount unit for snapd.

What I have tried so far:

  1. BIOS Settings:

    • Above 4G Decoding: Enabled

    • Re-Size BAR: Auto/Enabled

    • CSM: Disabled

  2. Kernel Parameters:

    • Tried pci=realloc: Did not resolve the no space error.

    • Tried iommu=soft: This allows the system to boot with "Above 4G Decoding" enabled (bypassing the blockdev error), BUT nvidia-smi fails to detect devices, or the system falls back to llvmpipe (software rendering) with a zoomed-in resolution.

  3. Display Manager:

    • Disabled Wayland in /etc/gdm3/custom.conf (WaylandEnable=false).
  4. Driver Installation:

    • Purged all apt nvidia packages.

    • Running the .run file for driver 580.126.09.

    • Installation completes successfully in Recovery Mode (Root Shell), but upon rebooting with iommu=soft, the driver doesn't seem to bind correctly to the cards.

The Question: How can I properly expose the BAR address space for both cards on a B550/Ryzen platform without breaking the NVMe/IOMMU controller? Is there a specific combination of GRUB parameters (e.g., pci=noalloc, iommu=pt, amd_iommu=on) that allows 4G decoding to coexist with a functional NVIDIA driver on this chipset?

Any insights on how to escape this loop would be appreciated.

Random freeze with Intel Kabylake (Gen9), Ubuntu 24.04 https://askubuntu.com/questions/1559669/random-freeze-with-intel-kabylake-gen9-ubuntu-24-04

Specifications:

  • Ubuntu 24.04.3 LTS

  • Dell Inc. Inspiron 5770

  • Intel® Core™ i7-8550U × 8 / Intel Kabylake (Gen9)

  • RAM 24 Gio

Issue description:

I'm running Ubuntu with a dual monitor (desktop integrated display + external monitor) for months. Both monitors are independent (joint display as opposed to clone mode). Since the beginning of this week, the integrated display randomly freezes. Even the mouse cursor remains displayed on the frozen screen. Meanwhile, the Ubuntu system and the external monitor keep working normally. The external monitor is configured as the main desktop display. Thus, I can open the settings. Then, switching to clone mode and immediately back to joint mode revive the integrated display.

I'm wondering if a recent software update may have compromised the system stability. Also, I noticed the computer may sometime be very busy, fans are running fast, during power saving mode. In this case, I'm unable to wake up the computer (forced power down).

Could you please help me diagnose the reasons why this occurs and, maybe, find a fix?

Slack install not working https://askubuntu.com/questions/1545119/slack-install-not-working

I installed slack via sudo snap install slack which returned

slack 4.43.49 from Slack✓ installed

but when I run slack I get the error

➜  ~ slack   
zsh: command not found: slack

and no other commands starting with slack are available. What's wrong?

USB drive is not showing up on Ubuntu and Windows https://askubuntu.com/questions/1420157/usb-drive-is-not-showing-up-on-ubuntu-and-windows

My USB drive is not showing up on my Ubuntu folder and on my Windows folder.

Here is the result of list disk on Windows:

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          476 GB      0 B        *
* Disk 1    No Media           0 B      0 B

And this the Disks app appearance on Ubuntu:

enter image description here

...but it can't be formatted.

enter image description here

When I check using lsblk:

root@ubuntu:/home/ubuntu# lsblk -f
NAME   FSTYPE     FSVER        LABEL                  UUID                                   FSAVAIL FSUSE% MOUNTPOINTS
loop0  squashfs   4.0                                                                              0   100% /rofs
loop1  squashfs   4.0                                                                              0   100% /snap/bare/5
loop2  squashfs   4.0                                                                              0   100% /snap/core20/1405
loop3  squashfs   4.0                                                                              0   100% /snap/firefox/1232
loop4  squashfs   4.0                                                                              0   100% /snap/gnome-3-38-2004/99
loop5  squashfs   4.0                                                                              0   100% /snap/gtk-common-themes/1534
loop6  squashfs   4.0                                                                              0   100% /snap/snapd-desktop-integration/10
loop7  squashfs   4.0                                                                              0   100% /snap/snap-store/575
loop8  squashfs   4.0                                                                              0   100% /snap/snapd/15177
sda                                                                                                         
├─sda1 vfat       FAT32                               472C-E568                                             
└─sda2 LVM2_membe LVM2 001                            E4D1Ff-vICr-wd3r-Vhjl-m4c8-tHRQ-U6GXqV                
  ├─skx--vol-root
  │    ext4       1.0                                 dbc242db-35a2-4f7d-8706-8bf10e3fc28e                  
  ├─skx--vol-home
  │    ext4       1.0                                 2fdd9573-9b2e-41d4-8584-1acee9d88e99                  
  ├─skx--vol-var
  │    ext4       1.0                                 46328e77-dd87-408c-9308-4541451c7a33                  
  ├─skx--vol-tmp
  │    ext4       1.0                                 537d6f80-04a2-41cd-af15-2541132c1947                  
  └─skx--vol-swap
       swap       1                                   2bf9600e-39c4-4569-824f-e8986601d6f2                  
sdc                                                                                                         
sr0                                                                                                         

Then it's showing a result like this when I try to format sdc which is the device name of my USB drive.

root@ubuntu:/home/ubuntu# sudo mkfs.vfat -F 32 /dev/sdc
mkfs.fat 4.2 (2021-01-31)
mkfs.vfat: unable to open /dev/sdc: No medium found

Here is the log when I check the log at /var/log/syslog and plug in and plug out my drive:

root@ubuntu:/home/ubuntu# tail -f /var/log/syslog 
Jul 24 10:24:42 ubuntu mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2"
Jul 24 10:24:42 ubuntu mtp-probe: bus: 1, device: 8 was not an MTP device
Jul 24 10:24:43 ubuntu kernel: [  978.028993] scsi 4:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
Jul 24 10:24:43 ubuntu kernel: [  978.029836] sd 4:0:0:0: Attached scsi generic sg3 type 0
Jul 24 10:24:49 ubuntu kernel: [  984.086727] sd 4:0:0:0: [sdc] Media removed, stopped polling
Jul 24 10:24:54 ubuntu kernel: [  989.623780] sd 4:0:0:0: [sdc] Attached SCSI removable disk
Jul 24 10:25:16 ubuntu systemd-udevd[9418]: sdc: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdc' failed with exit code 1.
Jul 24 10:25:28 ubuntu gnome-disks[6038]: g_dbus_interface_get_object: assertion 'G_IS_DBUS_INTERFACE (interface_)' failed
Jul 24 10:25:28 ubuntu gnome-disks[6038]: g_dbus_interface_get_object: assertion 'G_IS_DBUS_INTERFACE (interface_)' failed
Jul 24 10:26:18 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.

Jul 24 10:27:29 ubuntu kernel: [ 1144.805834] usb 1-1.2: USB disconnect, device number 8
Jul 24 10:27:32 ubuntu kernel: [ 1147.409097] usb 1-1.2: new high-speed USB device number 9 using ehci-pci

Jul 24 10:27:32 ubuntu kernel: [ 1147.709074] usb 1-1.2: device descriptor read/64, error -71
Jul 24 10:27:33 ubuntu kernel: [ 1147.929632] usb 1-1.2: New USB device found, idVendor=1908, idProduct=0226, bcdDevice= 1.11
Jul 24 10:27:33 ubuntu kernel: [ 1147.929647] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jul 24 10:27:33 ubuntu kernel: [ 1147.930301] usb-storage 1-1.2:1.0: USB Mass Storage device detected
Jul 24 10:27:33 ubuntu kernel: [ 1147.930547] scsi host4: usb-storage 1-1.2:1.0
Jul 24 10:26:18 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.
Jul 24 10:27:33 ubuntu mtp-probe: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2"
Jul 24 10:27:33 ubuntu mtp-probe: bus: 1, device: 9 was not an MTP device
Jul 24 10:27:33 ubuntu mtp-probe: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2"
Jul 24 10:27:33 ubuntu mtp-probe: bus: 1, device: 9 was not an MTP device
Jul 24 10:27:34 ubuntu kernel: [ 1148.941646] scsi 4:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
Jul 24 10:27:34 ubuntu kernel: [ 1148.942345] sd 4:0:0:0: Attached scsi generic sg3 type 0
Jul 24 10:27:40 ubuntu kernel: [ 1154.999336] sd 4:0:0:0: [sdc] Media removed, stopped polling
Jul 24 10:27:45 ubuntu kernel: [ 1160.536499] sd 4:0:0:0: [sdc] Attached SCSI removable disk

Jul 24 10:28:07 ubuntu systemd-udevd[9508]: sdc: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdc' failed with exit code 1.
Jul 24 10:28:11 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.
Jul 24 10:28:11 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.
Jul 24 10:28:18 ubuntu gnome-disks[6038]: g_dbus_interface_get_object: assertion 'G_IS_DBUS_INTERFACE (interface_)' failed
Jul 24 10:28:18 ubuntu gnome-disks[6038]: g_dbus_interface_get_object: assertion 'G_IS_DBUS_INTERFACE (interface_)' failed
Jul 24 10:28:41 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.  

Jul 24 10:28:41 ubuntu rtkit-daemon[2077]: Supervising 7 threads of 4 processes of 1 users.
Jul 24 10:30:01 ubuntu CRON[9603]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)

The issue become apparent after I didn't eject my USB drive before I removed/unplugged my USB drive.

What happened with my drive? Is it already broken? Is there any way to fix this?

Cannot install tftpd-hpa https://askubuntu.com/questions/1241051/cannot-install-tftpd-hpa

I'm trying to run apt-get install dnsmasq pxelinux syslinux-common through a cluster control node, and keep getting this error while installing.

Job for tftpd-hpa.service failed because the control process exited with error code.
See "systemctl status tftpd-hpa.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tftpd-hpa, action "start" failed.
● tftpd-hpa.service - LSB: HPA's tftp server
     Loaded: loaded (/etc/init.d/tftpd-hpa; generated)
     Active: failed (Result: exit-code) since Mon 2020-05-18 12:42:03 EDT; 10ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 15949 ExecStart=/etc/init.d/tftpd-hpa start (code=exited, status=71)

May 18 12:42:02 anthonys-cluster systemd[1]: Starting LSB: HPA's tftp server...
May 18 12:42:02 anthonys-cluster tftpd-hpa[15949]:  * Starting HPA's tftpd in.tftpd
May 18 12:42:03 anthonys-cluster in.tftpd[15975]: cannot bind to local IPv4 socket: Address already in use
May 18 12:42:03 anthonys-cluster systemd[1]: tftpd-hpa.service: Control process exited, code=exited, status=71/OSERR
May 18 12:42:03 anthonys-cluster systemd[1]: tftpd-hpa.service: Failed with result 'exit-code'.
May 18 12:42:03 anthonys-cluster systemd[1]: Failed to start LSB: HPA's tftp server.
dpkg: error processing package tftpd-hpa (--configure):
 installed tftpd-hpa package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 tftpd-hpa
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is the output from ifconfig

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 02:42:b3:49:90:ad  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

docker_gwbridge: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.18.0.1  netmask 255.255.0.0  broadcast 172.18.255.255
        inet6 fe80::42:a3ff:fe62:49f2  prefixlen 64  scopeid 0x20<link>
        ether 02:42:a3:62:49:f2  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 135  bytes 27926 (27.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.186  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::50a:8d5:b9c1:c8ef  prefixlen 64  scopeid 0x20<link>
        ether b8:ae:ed:7b:8a:fc  txqueuelen 1000  (Ethernet)
        RX packets 433599  bytes 628271274 (628.2 MB)
        RX errors 0  dropped 62  overruns 0  frame 0
        TX packets 55323  bytes 18656592 (18.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xaa000000-aa020000  

enx8cae4cfd9c9b: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.42.0.1  netmask 255.255.255.0  broadcast 10.42.0.255
        inet6 fe80::3939:f3fa:f9f5:da4  prefixlen 64  scopeid 0x20<link>
        ether 8c:ae:4c:fd:9c:9b  txqueuelen 1000  (Ethernet)
        RX packets 595  bytes 205585 (205.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 950  bytes 234026 (234.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enx8cae4cfd9f86: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.42.1.1  netmask 255.255.255.0  broadcast 10.42.1.255
        inet6 fe80::9294:993b:90c8:b630  prefixlen 64  scopeid 0x20<link>
        ether 8c:ae:4c:fd:9f:86  txqueuelen 1000  (Ethernet)
        RX packets 891  bytes 370852 (370.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 703  bytes 177021 (177.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 57907  bytes 614653529 (614.6 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 57907  bytes 614653529 (614.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

My overall goal is to have nodes of a cluster PXE boot and connect to a docker swarm located on the control node. Right now, im following the instructions shown here: https://manski.net/2016/09/pxe-server-on-existing-network-dhcp-proxy-on-ubuntu/. How can I get passed the error shown above? Is there an easier way to do this?

Edit: I'm using Ubuntu Desktop 20.04 on the control node, and all other nodes are set to PXE boot.

No sound for Dell 1525 laptop with Ubuntu 20.04 (only HDMI option in Sound settings) https://askubuntu.com/questions/1234958/no-sound-for-dell-1525-laptop-with-ubuntu-20-04-only-hdmi-option-in-sound-setti

I have a Dell Inspiron 1525 laptop and I get no sound from it. In Sound settings I have only an HDMI option. Here is the output of play -l:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: Generic Digital [Generic Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 7: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[2]+  Done                    paprefs

Also this is:

$ cat /proc/asound/card*/codec* | grep Codec
Codec: Conexant Generic
Codec: Silicon Image Generic
Codec: SigmaTel Generic

Ι also used this command with no result:

echo "options snd-hda-intel model=generic" | sudo tee -a /etc/modprobe.d/alsa-base.conf

I tried removing/reinstalling the ALSA packages. After that, my headphones are working, only the speakers of the laptop do not work.

Please help me, as this is the 4th time I try to install Ubuntu with the same result.

Unable to install Ubuntu: "Couldn't get size" https://askubuntu.com/questions/1167360/unable-to-install-ubuntu-couldnt-get-size

I want to completely get rid of Microsoft (thus Windows), and I really love the Ubuntu operating system and applications. I had Ubuntu installed before on my computer, and it worked perfectly. For some reason I switched back to Windows, but now I want to completely get rid of Windows, but I can't.

I've installed Ubuntu several times on mine and others' PCs. It has always worked, but now I'm stuck at the very unclear message Couldn't get size.

I get a black screen with the following boot messages when trying to boot the Ubuntu installer using nomodeset:

p1 SATA mode
[    7.438567] ahci 0000:00:17.0: flags: 64bit ncq sntf led clo only pio slum 
part ems deso sadm sds apst
[    7.501676] scsi host0: ahci
[    7.502051] scsi host1: ahci
[    7.502325] scsi host2: ahci
[    7.502595] scsi host3: ahci
[    7.502862] scsi host4: ahci
[    7.503135] scsi host5: ahci
[    7.503393] ata1: SATA max UDMA/133 abar m2048@0xa3239000 port 0xa3239100 irq
11
[    7.503581] ata2: SATA max UDMA/133 abar m2048@0xa3239000 port 0xa3239180 irq
11
[    7.503769] ata3: SATA max UDMA/133 abar m2048@0xa3239000 port 0xa3239200 irq
11
[    7.503958] ata4: SATA max UDMA/133 abar m2048@0xa3239000 port 0xa3239280 irq
11
[    7.504146] ata5: SATA max UDMA/133 abar m2048@0xa3239000 port 0xa3239300 irq
11
[    7.504334] ata6: SATA max UDMA/133 abar m2048@0xa3239000 port 0xa3239380 irq
11
[    7.605074] usb 1-1: new low-speed USB device number 2 using xhci_hcd
[    7.644878] e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC
clock

I've searched on this and other forums, and I've found a couple of solutions including:

  • Using nomodeset & nouveau.modeset=0 (See screenshot)
  • Using no splash
  • Using CSM in UEFI setup
  • Using Secure Boot either enabled or disabled in UEFI (I tried both)
  • Using Safe Graphics when booting from GRUB
  • Using the motherboard graphics instead of the GPU graphics by plugging in the HDMI cable directly to the motherboard

Actually nothing worked. I keep getting Couldn't get size, and when I remove quiet splash or use no splash, I see Registered PHC Clock. I know this isn't an error, but it hangs on that one and doesn't continue booting (even after 30 minutes).

I don't think it's caused by the GPU, because it also doesn't work with the motherboard graphics.

I hope someone has a brilliant idea which makes my system at least boot into the Ubuntu installer and desktop where I can fix some of these issues.

Ubuntu doesn't recognize USB device https://askubuntu.com/questions/1133905/ubuntu-doesnt-recognize-usb-device

I have an Edimax external USB network adapter which is not recognized after I plug it into my Ubuntu 18.04 laptop. First of all I ask Ubuntu to list me all USB devices by lsusb. It shows all connected devices (and even more, this laptop has only two USB ports, but lsusb prints 5 records. Why is that?) beside that network adapter. When I unplug it and plug it in again dmesg also doesn't mention it at all.

The adapter itself works properly on another laptop with Windows. The USB port is also OK since other devices work OK, so what is the problem?

At work I have the exact same adapter (in terms of model and manufacturer) and that one works OK.

Ubuntu 18.04 install freezes the CPU https://askubuntu.com/questions/1074792/ubuntu-18-04-install-freezes-the-cpu

I'm trying to install Ubuntu 18.04 on a Dell XPS9560 with an Intel Core i7-7700HQ and It was freezing up on the splash screen. I started it again and disabled the splash screen in the GRUB command line and I saw it freeze with these repeated "soft lockups" on several different processes. I'm pretty sure it's not a low-level hardware failure because I have Ubuntu 16.04 and Kubuntu 18.04 installed on two different partitions of this computer and both work fine.

[  *** ] (7 of 7) A start job is running for Set console scheme (10min 1s / no limit)[ 614.960003]
[ 614.963358] s3-...0: (0 ticks this GP) idle=0b2/14000000000000/0 softirq=1369/1369 fqs=74991
[ 614.966724] (detected by 5, t=150018 jiffies, g=207, c=206, q=17491)
[      ] (1 of 7) A start job is running for Network Manager (2min 23s / 3min)[ 616.036004] watch
[  *** ] (2 of 7) A start job is running for Detect the available GPUs and deal with any system ch
[ 628.040004] watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [ModemManager:1291]
[  *** ] (7 of 7) A start job is running for Set console scheme (10min 22s / no limit)[ 636.03600
[ 636.036004] watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [systemd-udevd:1092]
[  *** ] (3 of 7) A start job is running for Holds Snappy daemon refresh (1min 23s / no limit) [
[      ] (5 of 7) A start job is running for Tool to automatically collect and submit kernel cras
[  *** ] (6 of 7) A start job is running for Snappy daemon (1min 39s / 3min) [ 656.036004] watchd
[ 656.040004] watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [ModemManager:1291]
[  *** ] (5 of 7) A start job is running for Tool to automatically collect and submit kernel cras
[ 664.036004] watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [systemd-udevd:1092]
[  *** ] (7 of 7) A start job is running for Set console scheme (10min 54s / no limit) [ 668.0360
[      ] (3 of 7) A start job is running for Holds Snappy daemon refresh (1min 55s / no limit) [
[  *** ] (4 of 7) A start job is running for Wait until snapd is fully seeded (11min 10s / no lim
[ 684.040004] watchdog: BUG: soft lockup - CPU#6 stuck for 23s! [ModemManager:1291]
[  *** ] (2 of 7) A start job is running for Detect the available GPUs and deal with any system c
[ 692.036004] watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [systemd-udevd:1092]
[      ] (5 of 7) A start job is running for Tool to automatically collect and submit kernel cras
[  *** ] (1 of 7) A start job is running for Network Manager (3min 53s / 4min 30s) [ 700.036004]
[  *** ] (1 of 7) A start job is running for Network Manager (4min 5s / 4min 30s) [ 712.036004] w
[ 712.040004] watchdog: BUG: soft lockup - CPU#6 stuck for 23s! [ModemManager:1291]
[ 720.036004] watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [systemd-udevd:1092]
[ 720.036004] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [systemd-udevd:1099]
[ 724.036004] watchdog: BUG: soft lockup - CPU#5 stuck for 23s! [systemd-udevd:1089]
[ 728.036004] watchdog: BUG: soft lockup - CPU#2 stuck for 22s! [set-cpufreq:1327]
[ 740.036004] watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [kworker/1:2:1162]
[ 740.040004] watchdog: BUG: soft lockup - CPU#6 stuck for 23s! [ModemManager:1291]
[ 740.040004] watchdog: BUG: soft lockup - CPU#6 stuck for 23s! [ModemManager:1291]

Do you have any idea what could cause this?

Battery not charging but detected https://askubuntu.com/questions/1051209/battery-not-charging-but-detected

my Lenovo N581 detects the battery, but it doesn't charge it (as soon as I unplug the AC, it turns off).

When i type upower -i /org/freedesktop/UPower/devices/battery_BAT0 into the terminal I get:

native-path:          BAT1
vendor:               LENOVO
  model:                PABAS0241231
  serial:               41167
  power supply:         yes
  updated:              So 01 Jul 2018 14:48:33 CEST (59 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              0 Wh
    energy-empty:        0 Wh
    energy-full:         0 Wh
    energy-full-design:  0 Wh
    energy-rate:         0 W
    percentage:          0%
    capacity:            100%
    technology:          lithium-ion
    icon-name:          'battery-caution-charging-symbolic'

What I tried:

  • buy a new battery
  • reset the cmos battery (unplug; remove battery; press power for 30 seconds)
  • appears on windows (8, 10) and ubuntu (16, 18)

Does anyone have an Idea what to do next? Do I have to buy a new mainboard?

Thanks for helping!!

Enable System clock synchronization https://askubuntu.com/questions/1046214/enable-system-clock-synchronization

'timedatectl' is giving following output -

                      Local time: Wed 2018-06-13 18:08:51 IST
                  Universal time: Wed 2018-06-13 12:38:51 UTC
                        RTC time: Wed 2018-06-13 12:38:51
                       Time zone: Asia/Kolkata (IST, +0530)
       System clock synchronized: no
systemd-timesyncd.service active: yes
                 RTC in local TZ: no

How to set System clock synchronized to yes?

Missing Ubuntu after formatting Windows again https://askubuntu.com/questions/952301/missing-ubuntu-after-formatting-windows-again

I had a Windows 10 and Ubuntu 16.04 dual boot on my laptop. I used both OSs for more than a year. Then my Windows OS was attacked by a harmful virus. After that I formatted the Windows partition (C:/) then booted Windows 10 again. Now my Ubuntu partition is missing. When I check with Windows Disk Manager my Ubuntu partition shows as free space (Not unallocated). I tried Ubuntu again with a CD, but the partition was not showing up there. I didn't back up my Ubuntu partition before this.

How can I recover my data back from my Ubuntu partition and dual boot both OSs again?

GParted:

enter image description here

Ubuntu frozen on BusyBox initramfs prompt after installation https://askubuntu.com/questions/944244/ubuntu-frozen-on-busybox-initramfs-prompt-after-installation

I recently tried to install Ubuntu on my desktop and suprisingly I failed. I was trying Ubuntu and Ubuntu GNOME, both versions 16.04.2 and also the newest stable Linux Mint (LTS version). Bootable USB were made using Universal USB Installer.

All bootable USBs started Live systems without problems. I chose secondary HDD /dev/sdb and I created three partitions, assigning:

  • 16GB for root
  • 8GB for swap (I've got 32GB RAM)
  • the rest of free space (about 100GB) for home.

The problems started after installation on local HDD.

Mint is separate story, because I didn't even see GRUB, it just booted to grub rescue mode, scaring me as hell, because I couldn't boot Windows. Anyway, booting Mint Live USB and running Boot-Repair finally allowed me to boot Mint from HDD. But I wanted to try with Ubuntu (yeah, I know Mint comes more or less from Ubuntu).
Ubuntus are more interesting.

After setup, first run showed grub and when Ubuntu was chosen, system ended up like this CLICK (photo made after starting Ubuntu recovery mode, or something like that, I don't remember the exact name)

For Google indexing purposes I'll quote:

Gave up waiting for root device
(...)
ALERT! UUID=<correct uuid here> does not exist. Dropping to a shell!

And the BusyBox (initramfs) prompt shows up, but keyboard is not responding (USB keyboard with wire).

I am not a Linux guru, so I started googling and trying thing one by one. I found this problem quite common, but I failed to fix it using common solutions. Things I've tried:

  • Boot Repair
  • adding rootdelay to grub commandline
  • mounting root from Live USB and then grub-install and update-grub
  • e2fsck

Nothing. Literally no change. What should I try now?

dpkg-reconfigure gives me a message that a package is not installed https://askubuntu.com/questions/681645/dpkg-reconfigure-gives-me-a-message-that-a-package-is-not-installed

I am running 12.04.5 LTS on linux 3.13.0-65-generic kernel

When I run dpkg-reconfigure -a, it gives me the following:

Package `flashplugin-nonfree-extrasound' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: flashplugin-nonfree-extrasound is not installed

I purged and reinstalled the package using apt-get, and there's no change.

Also, when I run sudo dpkg-reconfigure $(dpkg -l | awk '{print $2}' | grep "^xserver" | tr '\n' ' '), I get:

/usr/sbin/dpkg-reconfigure: xserver-common-lts-trusty is broken or not fully installed

When I run sudo dpkg-reconfigure $(dpkg -l | awk '{print $2}' | grep 'lts-raring' | tr '\n' ' ') I get:

/usr/sbin/dpkg-reconfigure: libgl1-mesa-dri-lts-raring:i386 is broken or not fully installed

How should I fix it?


apt-cache policy flashplugin-nonfree-extrasound gives:

flashplugin-nonfree-extrasound:i386:
  Installed: 0.0.svn2431-3ubuntu1
  Candidate: 0.0.svn2431-3ubuntu1
  Version table:
 *** 0.0.svn2431-3ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages
        100 /var/lib/dpkg/status

sudo apt-get install -f gives:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

uname -a gives:

Linux liuwx-ThinkPad-T420 3.13.0-65-generic #105~precise1-Ubuntu SMP Tue Sep 22 13:22:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I've done all the autoclean and autoremove stuff, and they don't give any errors. But it seems I have some serious broken package issues.

How to install .NET Framework 3.5 on Wine? https://askubuntu.com/questions/680428/how-to-install-net-framework-3-5-on-wine

I am using Ubuntu 14.04. I want to use Multicharts, a Windows application using Wine. Multicharts requires .NET Framework 3.5. Is it possible to install it? I have a 64-bit OS. I found the below code at a different question.

winetricks dotnet30

There appears to be a problem with the OS being 64-bit.

Status of RDP Session Manager sesman fail https://askubuntu.com/questions/519517/status-of-rdp-session-manager-sesman-fail

I was using xrdp to remotely connect from my Windows laptop to Ubuntu server. It was doing OK, but it failed all out of sudden after a weekend. I did a >#service xrdp status and it returned:

* Checking status of Remote Desktop Protocol server xrdp                [ OK ]  
* Checking status of RDP Session Manager sesman                         [Fail] 
WiFi Hotspot not working with mobile devices on Ubuntu https://askubuntu.com/questions/407594/wifi-hotspot-not-working-with-mobile-devices-on-ubuntu

WiFi hotspot not working with windows phone 8 and of course its not working with a any other phones as well. I have tried both Android and Windows phone 8. Either of these devices doesn't even detect Ubuntu's hotspot as I have tried many possible ways..

Link I referred to: How to Turn Your Ubuntu Laptop into a Wireless Access Point

How to assign unique MAC addresses to sub-interfaces https://askubuntu.com/questions/371085/how-to-assign-unique-mac-addresses-to-sub-interfaces

I'm in a corporate environment with a DHCP server with static assignments for my server. I have one physical nic with several sub-interfaces. I statically assign different MAC addresses for each sub-interface to get another IP address from the DHCP server. For some reason, my server is not taking the static MAC addresses. You'll notice that ifconfig shows each interface with the same MAC.

How do I assign unique MAC addresses to my sub-interfaces?

$ cat interfaces

auto lo 
iface lo inet loopback

auto eth0:1
iface eth0:1 inet dhcp 
        hwaddress ether 00:0c:29:31:24:fa
        hostname gwrt-test
        client gwrt-test

auto eth0:2
iface eth0:2 inet dhcp
        hwaddress ether 00:0c:29:31:25:fa
        hostname gwrt-test2
        client gwrt-test2

$ ifconfig

eth0      Link encap:Ethernet  HWaddr 00:0c:29:31:25:fa  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:329737 errors:0 dropped:0 overruns:0 frame:0
          TX packets:121645 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:69228791 (69.2 MB)  TX bytes:63531749 (63.5 MB)
          Interrupt:16 

eth0:1    Link encap:Ethernet  HWaddr 00:0c:29:31:25:fa  <- should be 24:fa
          inet addr:10.203.102.29  Bcast:10.203.102.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:16 

eth0:2    Link encap:Ethernet  HWaddr 00:0c:29:31:25:fa  
          inet addr:10.203.102.32  Bcast:10.203.102.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:16
Ubuntu partition is showing as unallocated after installing Windows Vista https://askubuntu.com/questions/325540/ubuntu-partition-is-showing-as-unallocated-after-installing-windows-vista

I have an old Dell Inspiron 1525, which had only Ubuntu 13.04 installed on it previously. For reasons not relevant to this post, I had to reinstall the Windows Vista that originally came with this laptop. For installing Windows, I moved the Ubuntu installation to a logical partition.

Before installing Windows, I had verified booting Ubuntu 13.04 from the new partition, but after installing Windows Vista, the Ubuntu partition is showing as unallocated. I have other partitions (all ext4) and they are all intact. I have checked the partition layout with GParted and also Windows Disk Management. It's only the Ubuntu partition that is showing up as unallocated/free.

Is it possible to recover this Ubuntu partition, and if yes, what are the steps?