Grub problem with windows 10, boot-repair and manual reinstall not working

So I’ve been having problems with my grub now and at this point I’ve read all the previous posts I could find.
after installing ubuntu 18 my grub can’t find Windows 10, this is usually resolved by a simple update grub. but this time this did not help at all. next I tried installing grub-customizer which did not help. then I installed boot-repair and ran into this problem. it asks me to run a command to uninstall the grub but the output on terminal would print

no matches found: grub*-common

and I could not go to the next level on boot-repair. I tried manually reinstalling the grub by running sudo grub-install /dev/sda --root-directory=/mnt
but I got

grub-install: error: cannot find EFI directory.

can anyone point me to a direction on how can I fix my grub?

thanks in advance and any help appreciated.

reinstall or uninstall .msi windows

somehow my version of espeak-ng is not working in my windows so i wanted to uninstall it and reinstall it. I uninstalled it from control panel and rerun the espeak-ng.msi file but it says “another version of this product already exists…” . I tried to uninstall with the .msi by left clicking it and choosing “uninstall” but the same message appears. I also tried with command like to force reinstalling it like “msiexec /i espeak-ng-x64.msi /q REINSTALL=ALL REINSTALLMODE=A ” but it does not work neither…
help?

My dconf/gsettings installation is broken. How can I fix it without Ubuntu reinstall?

I run Ubuntu 12.04.1 LTS x64 in VirtualBox. After one very unfortunate misclick (reset saved state instead of load saved state) I got a very annoying problem.

Almost all applications (unity, synaptic, gedit, etc.) print on start:

Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

And all GUI settings reset after reboot.

Another symptom:

$ GSETTINGS_BACKEND=dconf dconf-editor
(dconf-editor:2353): GLib-GIO-WARNING **: Can't find module 'dconf' specified in GSETTINGS_BACKEND
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications

But /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so is present.


What I tried (and it didn’t help):

  • sudo apt-get install -f --reinstall dconf-tools libdconf0 libdconf-dbus-1-0 dconf-service
  • Build dconf-0.5 from sources and make install it
  • Create empty user profile and start programs there

I have to keep current Ubuntu installation so a complete reinstall is not an option for me.

How can I fix it?

ExpressCache not working after Windows 8 reinstall on Samsung Series 7 Gamer

I have a Samsung Series 7 Gamer laptop which came with Windows 8. After doing a reinstall of Windows, the ExpressCache software is no longer caching.

Running “eccmd -info” shows me that the software is present and it has the MSATA drive partition configured. However, it’s not actually caching anything. These are the results after having the system booted for days:

C:windowssystem32>eccmd -info
ExpressCache Command Version 1.0.94.0
Copyright⌐ 2010-2012 Condusiv Technologies.
Date Time: 11/3/2013 12:26:20:263 (JAMETHIEL #36)

EC Cache Info
==================================================

Mounted                   : Yes
Partition Size            : 7.46 GB
Reserved Size             : 3.00 MB
Volume Size               : 7.46 GB
Total Used Size           : 86.50 MB
Total Free Space          : 7.38 GB
Used Data Size            : 16.63 MB
Used Data Size on Disk    : 84.38 MB

Tiered Cache Stats
==================================================
Memory in use             : 32.00 MB
Blocks in use             : 136
Read Percent              : 0.02%


Cache Stats
==================================================
Cache Volume Drive Number : 1
Total Read Count          : 97242
Total Read Size           : 4.13 GB
Total Cache Read Count    : 0
Total Cache Read Size     : 595.50 KB
Total Write Count         : 161546
Total Write Size          : 5.89 GB
Total Cache Write Count   : 0
Total Cache Write Size    : 0 Bytes

Cache Read Percent        : 0.01%
Cache Write Percent       : 0.00%

As you can see on the last two lines, cache read and write percent is nigh on zero. Anyone know where to look next? The only guides I can find deal with ExpressCache not being present or not having a configured drive.

How to completely remove QGIS for clean reinstall Windows 10

My initial install was Dufour 2.0 and have update to 2.18 and then recently to 3.4. 20 worked fine, but then 2.18 had some periodic crashes that were intermittent. Now at 3.4 QGIS “hangs p” and I have to kill in the task manager. I tried to uninstall everything for a clean start but somehow there are tidbits that remain and I now can’t get any to work properly. I’ve a 64 bit machine and have tried both 32 and 64 reinstall to no avail.

I purchased Ashampo uninstaller and tried that but still no complete uninstall.

Any idea? I’m considering a complete wipe and reset but that is a huge headache and if there is an alternative I’ll try it.

Can’t reinstall nothing to /system

I tried to update my Xiaomi Mi A2 to Android Pie since yesterday the Beta was Released. At first, I tried to install the official provided one, but after facing some errors, I installed the Treble version of the Android Pie Pixel Experience ROM.

It was working perfectly, but after installing Pixelify with Magisk, my WiFi stopped working, and I got the error MAC 02:00:00:00:00.

After trying some things with terminal apps and root, I opted for reinstalling the modem image, which I thought that could solve the problem, but instead, the phone didn’t turn on, it kept on the Android One screen. So after waiting for some hours, I decided to format the phone and lose all of my data.

I formatted the system partition with fastboot erase system_a and fastboot erase system_b, but when trying to reinstall the PixelExperienceP ROM, I receive this error again and again:

fastboot flash system_a PixelExperienceP-arm64-ab.img
Sending sparse 'system_a' 1/5 (524284 KB)          FAILED (Error reading sparse file)
Finished. Total time: 24.591s

After that, I am not allowed to send any command to the phone until I restart de bootloader.

I have tried to install different ROMs, the stock one, other Android versions, but I get the same error on all of them.

Please, any ideas on how to solve my problem? I am really worried about having broken it. Thanks in advance.

Missing /etc/default/grub/ file. Need to edit boot order. Grub reinstall doesn’t seem to regenerate it

I have a EFI dual boot win10/ubuntuy 18.04 surface-linux machine. Clean install runs great. I have no problem navigating the grub menu, and I have verified linux is install in the efi partition.

For some reason I don’t have the /ect/default/grub file, which should be generated. I have ran the command sudo update-grub. I have also renstalled-purged grub (I believe anyway, list the commands again and I will run it).

The reason I need this file (system has no other problems, am not trying to reinstall), is because the surface has modified kernals, and I have dowonloaded one, and wish to have it be the autoboot in the grub menu.
Again grub is currently operating fine, and not listing any errors from what I can see.

Thank you for any help. When I originally installed ubuntu on top of an old windows 10, I separated out the partition on windows. I installed linux from a usb – and have a 20 gig / and a 70 gig /home and 16 gig of swap.

Here is my fdisk -l output:

Disk /dev/loop0: 3.7 MiB, 3887104 bytes, 7592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop1: 34.7 MiB, 36323328 bytes, 70944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 2.3 MiB, 2355200 bytes, 4600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop3: 14.5 MiB, 15208448 bytes, 29704 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop4: 2.3 MiB, 2433024 bytes, 4752 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop5: 87.9 MiB, 92114944 bytes, 179912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop6: 13 MiB, 13619200 bytes, 26600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop7: 86.9 MiB, 91099136 bytes, 177928 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F52F55BD-D86F-443D-B197-124D7B418188

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 796671 262144 128M Microsoft reserved
/dev/nvme0n1p3 796672 215191551 214394880 102.2G Microsoft basic data
/dev/nvme0n1p4 215191552 291303423 76111872 36.3G Microsoft basic data
/dev/nvme0n1p5 496103424 500117503 4014080 1.9G Windows recovery environment
/dev/nvme0n1p6 291303424 322553855 31250432 14.9G Linux swap
/dev/nvme0n1p7 322553856 361615359 39061504 18.6G Linux filesystem
/dev/nvme0n1p8 361615360 496103423 134488064 64.1G Linux filesystem

Partition table entries are not in disk order.

Disk /dev/loop8: 13 MiB, 13619200 bytes, 26600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop9: 140.9 MiB, 147722240 bytes, 288520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop10: 173.3 MiB, 181760000 bytes, 355000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop11: 140.7 MiB, 147496960 bytes, 288080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop12: 34.2 MiB, 35827712 bytes, 69976 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop13: 3.7 MiB, 3878912 bytes, 7576 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop14: 14.5 MiB, 15196160 bytes, 29680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

— I have no idea what all the loop stuff is, but the efi partition is p1, windows, random ntfs partition and windows recovery on p3/p4/p5 – linux is p6,p7,p8.

Thanks again for any advice about how to get grub-customizer / generate the /ect/default/grub file!!!

Wiped drive, now can’t reinstall El Capitan from Recovery because the “item is temporarily unavailable”

I wanted to clear room on my computer, so I restarted the computer with cmd+r keys and opened OS X Utilities. I erased my drive and wanted to reinstall OS X El Capitan. After I agreed to the terms then selected my drive I signed into the Apple store. I put the confirmation code in from my phone and it said “This item is temporarily unavailable Try again later”. I tried restarting it and trying then shutting it down and trying but it still won’t work.