ubuntu – Why does Veracrypt show 2 partitions created?

I cleaned my Samsung 850 Evo 1TB SSD and only used veracrypt to complete the disk encryption with it. I also have another hard drive with which I have done this.

The HDD is sdb, and the EVO is sdc. The results resemble the following.

enter the description of the image here

For some reason, there are 2 partitions created for the Samsung SSD. When I want to mount sdb I use the command sudo veracrypt --mount / dev / sdb1, but when I want to mount sdc, I omit the drive letter and use the command sudo veracrypt --mount / dev / sdc, and the unit is assembled successfully. The df command even recognizes that the mount veracrypt has its total 1 TB of space.

So, why do I see 2 very large partitions created for this device?

grub2: Is there any chance of getting the AMD RAID (Ryzen) drivers with Ubuntu?

After trying to get Ubuntu 16.04, 18.04 and 18.10 to detect and be able to use a RAID 0 array on an AMD motherboard (ASUS Prime B450), I gave up this completely and installed Windows 10 with the drivers offered on its website.

In fact, I came to the conclusion that the system could detect the RAID, as well as read / write all the partitions. After the system was installed, GRUB starts, but after the kernel is loaded, it does not find the UUID for the RAID, because it does not have the drivers injected, and it tries to do what I did in the LiveUSB kernel (inject the driver, detect the RAID and install it) in the installed system, I did not go any further. initramfs says that it could not find the UUID for the unit and then it is placed in a terminal console. It is interesting that I can browse through the files that have been installed, but the system can not start. Is there any way to fix this? Or maybe ask the Ubuntu development team to inject those AMD drivers in at least 18.04?

System installation – Installing Ubuntu on VM

I was able to start and install the Ubuntu 18.10 desktop on the VM Pro workstation 12. Ubuntu updated and not at the start it goes to the cmd check window, it just sits there doing nothing. enter the description of the image here

Is there something I should do or look at?
The CD / DVD drive is not connected, I even removed it from the configuration. When it starts booting, the Ubuntu logo appears for a few seconds and then returns to the cmd checklist. Nothing happens in the cmd checklist, I can restart it but that's it.

unity – Desktop environments in Ubuntu – How to configure / investigate what is what?

My Ubuntu 18.04 (updated from 16.04 updated since 14.04 :)) has multiple desktop environments. I do not know if some are old relics of previous versions before the update. The default ("Ubuntu") is blocked in the login loop. It seems that I can not find any error message, therefore, I am having trouble investigating the problem. But my real problem is that among many desktop environments, I do not know exactly, what is what? As far as I know, 18.04 changed to GNOME. But then, why do I have "Ubuntu". If it was kept by default from 16.04, it is assumed to be "Unit", which is a separate entry. To understand it better, I would like to associate those tags (GNOME, GNOME in Xorg, Unity, Ubuntu, Ubuntu in Wayland, etc.) to the packages, processes, registers and real configuration files. Where can I find those configurations? How can I thoroughly investigate the problems related to different desktop environments?

The option Tesseract -tessdata-dir does not work on ubuntu 18.04

I'm trying to use the best tesseract model. However, I am receiving the following error:

tesseract sample.jpg stdout --tessdata-dir tessdata /
Failed to open the data file tessdata / eng.traineddata
Make sure that the TESSDATA_PREFIX environment variable is set in your "tessdata" directory.
Unable to load the language & # 39; eng & # 39;
Tesseract could not load any language!
Could not initialize tesseract.

Here is the folder structure:

├── sample.jpg
└── tessdata
└── eng.traineddata

Ubuntu version:
Dealer ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Code name: bionic
tesseract version:
tesseract 4.0.0-beta.1
libgif 5.1.4: libjpeg 8d (libjpeg-turbo 1.5.2): libpng 1.6.34: libtiff 4.0.9: zlib 1.2.11: libwebp 0.6.1: libopenjp2 2.3.0

Using veracrypt for Ubuntu installed on Nexus 7

I know that it is possible to install Ubuntu on Nexus 7, but does it mean that I can encrypt my data with veracrypt that I can install on this device?

gnome – How to re-enable wayland in Ubuntu 18.04 LTS

I recently experimented with i3 (sudo apt install i3 -> reboot -> select i3 from the login screen) and decided to go back to gnome3 with wayland. However, when removing i3, it seems that the default login screen no longer shows the option to start the gnome wayland session. The reason for wanting to use Wayland is immediate compatibility with the 144 Hz display and no problems with it until now. The login screen does not show the "Gnome on wayland" option as before. I would like to have it as it used to be: enter the password and enjoy 18.04 LTS with gnome 3 in wayland with 144 hz enabled. I have set WaylandEnable = true in /etc/gdm3/custom.conf and I have restarted several times without luck. Here's some information:

OS: Ubuntu 18.04.1 LTS x86_64

Kernel: 4.20.0-042000-generic

Shell: bash 4.4.19

Resolution: 2560×1440

FROM: GNOME 3.28.3


Terminal: gnome-terminal

CPU: Intel i7-4790K (8) to 4,500 GHz

GPU: AMD Hawaii XT

Memory: 1077MiB / 32107MiB

Thanks in advance for the help!


I have a computer with the Windows server, and I can access this Windows server from another computer with the WINDOWS operating system with the Firefox browser.
When I try to access from another computer with the UBUNTU operating system and with the Firefox browser, I can not.
Does anyone know where the problem is?
Thank you

ubuntu: What exactly does the nfs4_disable_idmapping parameter do?

I have been experimenting with assigning user / group ID (translation) in NFSv4. What I want to achieve is an ID translation based on the name, which is independent of the real UID / GID on the server and the clients.

Many guides and articles mention that for the ID mapping to work, it must be configured nfs4_disable_idmapping parameter to 0 (aka N) in the nfs module on client, and nfsd module on the server. However, I did not find any information or documentation on exactly what this parameter does.

As an experiment, I configured the NFSv4 server and client (with sec = krb5) and I deliberately left these parameters at their default value (mapping disabled).
I can verify that the assignment is disabled on the server:

$ cat / sys / module / nfsd / parameters / nfs4_disable_idmapping

and in the client:

$ cat / sys / module / nfs / parameters / nfs4_disable_idmapping

I created users bob (uid = 1002) Y sam (uid = 1001) on the server, and the users bob (uid = 1003) Y sam (uid = 1004) in the client. As you can see, UIDs do not match, however, users are still assigned correctly. File created by the move user in it is seen as property of move on the server, and vice versa.

Also, if I look at the records in the client:

nfsidmap[1874]: key: 0x322c739a type: value of uid: bob@home.lan timeout 600
nfsidmap[1874]: nfs4_name_to_uid: calling nsswitch-> name_to_uid
nfsidmap[1874]: nss_getpwnam: name & # 39; bob@home.lan & # 39; domain & # 39; home.lan & # 39 ;: resulting local name & # 39; bob & # 39;
nfsidmap[1874]: nfs4_name_to_uid: nsswitch-> name_to_uid returned 0
nfsidmap[1874]: nfs4_name_to_uid: the final return value is 0       

and on the server:

rpc.idmapd[1717]: nfsdcb: authbuf = gss / krb5p authtype = user
rpc.idmapd[1717]: nfs4_uid_to_name: calling nsswitch-> uid_to_name
rpc.idmapd[1717]: nfs4_uid_to_name: nsswitch-> uid_to_name returned 0
rpc.idmapd[1717]: nfs4_uid_to_name: the final return value is 0
rpc.idmapd[1717]: Server: (user) id "1002" -> name "bob@home.lan"  

both suggest that the ID mapping is working "by name" instead "by id".

So my question is: What is it? nfs4_disable_idmapping parameter for then, if it seems to have no observable effect on the ID mapping?