bash: cannot set terminal process group (-1): Inappropriate ioctl for device

I have used this procedure to change the root password:

Get to GRUB screen Press e to edit add "init=/bin/bash" to end of the kernel line ctrl-x to reboot from there I would mount -rw -o remount / then passwd, etc...  

That has worked in the past. This time I get:

bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell root@(none):/#  

Then nothing. No response to any keyboard entry.

Cannot boot into Ubuntu after SSD switch between laptops

I got new laptop in work and I wanted to switch both of my SSDs to it. After I installed SSDs into new laptop I tried to boot. Instead of seeing my GRUB loader, but it takes me right into Windows. When I try to boot manually (selecting SSD with Ubuntu in EFI boot menu) it will just skip the boot and goes to second SSD with Windows again.

I have two SSD. One has Windows on it and one has my Ubuntu. Both were encrypted (Windows with BitLocker and Ubuntu with Luks). I used to dualboot with grub. I tried to use boot-repair, but it didn’t help.

Here is log from it:

I tried also to chroot from live distribution and use grub-update, but still no progress.

Can you please me some idea how to repair my Ubuntu? Boot to Windows looks fine for now.

Ubuntu 18.04.3-LTS installation alongside Windows 10 cannot detect Windows 10

While attempting Ubuntu installation from an USB image, I get stuck because Ubuntu cannot detect my Windows installation.

My system specs are as follows:

1) Desktop with Intel 64 bit Family Core(TM) i3-4150 CPU @3.50GHz   2) Two MBR partition of hard disk with 100 GB and 500 GB free space, besides a small system reserved partition.  

I have already done the following, mainly following from solutions in How do I install Ubuntu alongside a pre-installed Windows with UEFI?

1) Disabled Hibernate and fast boot. "powercfg /a" says only Standby (S3) available. Further I shutdown with -f -t 0 option 2) checked that Confirm-SecureBootUEFI gives cmdlet error, implying system does not support Secure Boot. 3) enabled legacy only as well as legacy first in the Boot options.  


I cannot import a text file into Python

I have a text file in my computer. I want to analyze it in Python. I follow this basic procedure:

a. Set the directory:

import os os.chdir("F:\proyectosAnalisis\uribismo\twitter\textos") 

b. Open it

f= open("uribe15092019.txt","r") 

c. Read it 

However, in this last step I get the following strange error, which I copy below. Can somebody help me please?

Traceback (most recent call last):

File “”, line 1, in

File “C:\ProgramData\Anaconda3update\lib\encodings\”, line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0]

UnicodeDecodeError: ‘charmap’ codec can’t decode byte 0x81 in position 3679: character maps to

Cannot boot to windows 10 m2 after installing linux on separate ssd

My windows 10 is installed on m2 ssd (UEFI). Today i have installed ubuntu on separate sata ssd (UEFI). Now i cannot boot windows 10 from boot options list. If i choose m2 from list there is a message Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key Is there a way to boot windows 10? Thanks!

Librería sympy: Tengo el error Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll

Verdaderamente ya estoy frustrado y no le encuentro solución, vean que estoy tratando de usar la libreria sympy de Python, pero al tratar de escribir código para que este me devuelva la gráfica de una función me devuelve el siguiente error: Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll.

Lo que estoy haciendo es lo siguiente:

from sympy import * x,y,z = symbols("x y z") print(plot(cos(x))) 

Luego de hacer ese codigo tan sencillo para mostrar la gráfica de cos(x) obtengo en la salida el siguiente error:

INTEL MKL ERROR: %1 no es una aplicaci¾n Win32 vßlida. mkl_intel_thread.dll. Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll. 

Anexo también que este error se presenta solo a la hora de gráficar, todo lo demás funciona correctamente. Lo único que se me ocurre hasta ahora es que el error sea debido al procesador ya que mi procesador es AMD y el dll que intenta ejecutar mi editor de código hace referencia a nucleos de un procesador intel.