Best logical structure to keep a dual boot Windows + Ubuntu

I currently have Ubuntu installed as a partition on my laptop as I will be using it for work. I actually prefer Ubuntu as my main operating system, so I'll only keep Windows for irrelevant things like games and programs like Office packages and Photoshop. This is the distribution I currently have for my partitions:

  • Windows operating system (195 GB) – ntfs
  • Ubuntu OS (180 GB) – ext4
  • / Home directory for Ubuntu (25 GB) – ext4
  • Common data partition for both operating systems (75 GB) – ntfs

In a first case, I tried to keep that /home Directory partition as the one used as shared data, but I found that Windows does not allow native writing to ext4 partitions and some problematic programs or non-immediate solutions had to be used.

For this reason, I created another partition with the ntfs extension to share my programming projects and other things between the two operating systems. This will be mounted on Ubuntu later /media/data/ when starting and accessing via symbolic links that I have created on mine /home Directory.

As far as I've tested, the implementation works fine and I have no problems opening files in both operating systems. However, I am not sure whether this solution is advisable or can lead to possible future problems or loss of information. Is there a greater risk with this implementation than with a standard implementation?

Otherwise, would you recommend making changes or implementing the partitions in a different way?

Configuration – How to configure MYSQL 8 on Ubuntu 19.10 as case sensitive

I use MySQL 8 in Ubuntu 19.10 and I want to hire Lowercase table name = 1 in the file /etc/mysql/my.cnf. However, the server cannot be started after adding this line.

I followed various solutions as mentioned below, but nothing worked

linux mysql case insensitive lower_case_table_names = 1 make server cannot be started

lower_case_table_names = 1 on Ubuntu 18.04 won't let MySQL start

Is there a well-explained step-by-step tutorial to solve the problem?

Password – threats that & # 39; someone & # 39; hacked me and put a keylogger on my Ubuntu system (Ubuntu 18, Ubuntu 19)

With Ubuntu 19.10, before this Ubuntu 18, you get my story here ….
Use Firefox and Chrome.
I recently received 2 emails, probably from the same person claiming it
You have my password for the Gmail account that you have a keylogger installed on my computer.
I pulled my camera up and filmed myself while watching porn sites (without naming them) … (I have a & # 39; lock & # 39; on my web camera … which is closed most of the time)
– The threat ends with not trying to track the email, inserting a Bitcoin address into Google, and paying $ 1128 … then the films will be deleted by me …

The password sent to me must be a password that is used on a website out there.
… and this account has been hacked … can I find a list of all the websites that have recently been hacked? a university, Skype, Udemy, Github, Microsoft, a forum?
I have a lot of accounts out there – I use keepass2 for some of them but not for all …
Does anyone there have similar experiences with such threats?

Best of all, me

Network – Ubuntu 18.04 recognizes cable connections and has access to LAN connections, but cannot access the Internet

First of all, I am very new to Ubuntu. This is a work computer that I want to set up. Any help is greatly appreciated! It is a prefabricated device that does not have a WLAN card but two Ethernet ports (dual XEON machine for scientific computer purposes).

When I connect my ethernet cable, which works for other Windows computers, the 1000MB / s connection is recognized in the settings. When I try to ping a local IP address, it works fine, but I can't access it at all. Regardless of the IP address on the Internet, I get a message that the host was unavailable.

I've tried pretty much any combination of disabling IPv6, manually setting up the connection, etc. to no avail. In general, I would run if it didn't work sudo ifdown -a and then sudo ifup -a, but this time it didn't work …

Any help would be appreciated!
Have a good day! 🙂 🙂

Java – Is it possible to restore Ubuntu to the newly installed point?

Is it possible to reset Ubuntu to its initial state? I tried adding Java and Netbeans (the latest versions) to the environment variables and now everything works wrong for me, no terminal command works for me. I don't want to have to reinstall Ubuntu.
If you could also help me add Java and Netbeans environment variables, I would be very grateful.

Partitioning – Ubuntu 19.10 does not start

Model: Lenovo Ideapad L340
Operating system: Ubuntu 19.10

I tried to install Windows 10 from USB. However, the error "Windows cannot be installed on this hard drive due to the GPT partition style" is displayed

I found out that I had to convert partitions to mbr, but that would erase data, so I looked for another solution and tried some things by command
The last commands I tried were

bootrec /rebuildbcd
bootrec /fixboot

and then it died
When I try to boot, I get this error and it will automatically restart

Screenshot of the error

How can I at least get Ubuntu up and running again?

Is a firewall sufficient as a security measure for an Ubuntu server hosting a website?

I recently had a VPS with Ubuntu on it and want to create a very simple website. However, I don't know what steps to take to secure this server.

I'm new to Ubuntu, new to security, and new to website building (the website will likely only consist of HTML, CSS, Django / Python, and some databases).

My biggest worry is that a hacker could try to use it as a zombie, and I won't know. Or that robots could try to log in and sneak up on the data I'm going to save on this computer and I won't know. Or who knows what else.

I found the firewall information page on the Ubuntu website, but is that enough?

P .: If it is impossible to give an answer, I would also appreciate a book / website recommendation for Ubuntu and security beginners

Sound – Ubuntu Studio 20.04 FireWire compatibility

I have been using Ubuntu Studio for 5 months, before April 19. And the 19.10. On a PC with FireWire sound cards that are currently working well.

In the presentation notes of the new version of Ubuntu Studio 20.04, I saw that FireWire hardware is no longer supported due to kernel compatibility problems.

In Ubuntu Studio 19.10 I activated the ALSA backend socket and the FireWire audio interface (Tascam edirol 66) works fine, but when I activate the Firewire backend socket, the interface disappears. I think the Firewire stack currently in use is from ALSA.

Question: Will the ALSA FireWire stack continue to work with the Ubuntu Studio 20.04 LTS version if the FireWire backend socket in the new Ubuntu Studio control element is removed?

Printing – How do I install HPLIP 3.16.2 on Ubuntu 14.04?

I had HPLIP 3.14 installed on my Ubuntu 14.04 and it worked fine. Then I switched the printer to an HP Deskjet 3639 and I can no longer set it up.

I would need HPLIP 3.16.2 to support the printer, but I cannot install it. The installation always ends with the message that python3-pyqt4 (including dependencies) is missing and must be installed manually. But it is already installed.

So, what's up? Is there any way to use the printer?