I am new to Ubuntu Linux and for my full-year project, I just installed version 20.04 on my computer alongside Windows in dual-boot mode, which I need for ROS. However, I have faced many problems so far; Linux running slow and my code, Visual Studio Code, screen and cursor freezing. I have to shut down my laptop a few times a day because of this.
Since I updated Ubuntu 18.04 to 20.04 yesterday, I faced another problem: my \root memory being almost full. As a solution, I thought to remove Windows to create more space on my hard disk for Linux and also, buy additional RAM memory. I have a few questions about this:
(1) I have found a website explaining how to remove Windows from Linux, which seems quite easy: https://www.digitalcitizen.life/how-uninstall-windows-8-windows-7-or-any-other-version-windows/. However, I am not sure yet how to make a good backup on my external memory such that I can get my laptop back to single-boot Windows after this year. Anyone suggestions?
(2) I have one out of two memory slots filled with an 8G SODIMM right now,
sudo lshw -C memory gives:
*-memory description: System Memory physical id: 5 slot: System board or motherboard size: 8GiB *-bank:0 description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0,5 ns) product: M471A1K43CB1-CRC vendor: Samsung physical id: 0 serial: 0305815B slot: Top-Slot 1(left) size: 8GiB width: 64 bits clock: 2133MHz (0.5ns) *-bank:1 description: [empty] physical id: 1 slot: Top-Slot 2(right)
The HP Zbook Studio G3 product specifications say that: HP Zbook Studio G3 RAM " Maximized dual-channel size performance requires SODIMMs of the same size and speed in both memory slots"
So I want to fill the second slot with another 8G Samsung M471A1K43CB1-CRC for 16G total RAM, with memory interleaving. See https://www.amazon.com/Samsung-Notebook-Memory-M471A1K43CB1-CRC-DDR4-2400/dp/B06XPWJJPL. However, delivery times are quite long and I kind of need it urgently. That is why I was wondering if this one would be okay as well: https://www.coolblue.nl/product/826009/kingston-8gb-ddr4-sodimm-1x8.html?cmt=c_a%2Ccid_8863546710%2Caid_97698481628%2Ctid_aud-918309158136%3Apla-306054363261%2Cgn_g%2Cd_c&gclid=Cj0KCQjwp86EBhD7ARIsAFkgakg7zPw4aR7X8OKGgMc7n0UNA2XFyzlX4UahnlpU2ZEGMb-QedOXbM4aAgEVEALw_wcB
And if not, if I can better buy one 16GB RAM instead of 2x8GB if I want it as fast as possible?
(3) I am sorry for being such a noob, but I understand very little of what exactly takes up all my memory since the Disk Usage Analysis application states that I only have 2.4GB out of 24.5GB left: Disk analysis
free -h indicates something different:
total used free shared uff/cache available Mem: 7,7Gi 1,9Gi 803Mi 957Mi 4,9Gi 4,5Gi Swap: 3,7Gi 0,0Ki 3,7Gi
I am sorry for stating such unclear general questions. If anything else is needed I'll provide it.
EDIT: I was wondering if it is necessary to buy another storage device (SSD NVMe PCIe) and if this would possibly make my laptop run faster? Command
df -h gives:
Filesystem Size Used Avail Use% Mounted on udev 3,9G 0 3,9G 0% /dev tmpfs 785M 2,0M 783M 1% /run /dev/sda7 23G 20G 1,8G 92% / tmpfs 3,9G 85M 3,8G 3% /dev/shm tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup /dev/loop2 200M 200M 0 100% /snap/code/62 /dev/loop3 13M 13M 0 100% /snap/dmd/102 /dev/loop4 56M 56M 0 100% /snap/core18/1997 /dev/loop6 163M 163M 0 100% /snap/gnome-3-28-1804/145 /dev/loop1 100M 100M 0 100% /snap/core/10908 /dev/loop7 100M 100M 0 100% /snap/core/10958 /dev/loop8 1,0M 1,0M 0 100% /snap/gnome-logs/100 /dev/loop5 7,0M 7,0M 0 100% /snap/dub/53 /dev/loop9 640K 640K 0 100% /snap/gnome-logs/103 /dev/loop11 2,5M 2,5M 0 100% /snap/gnome-calculator/826 /dev/loop10 219M 219M 0 100% /snap/gnome-3-34-1804/66 /dev/loop12 2,3M 2,3M 0 100% /snap/gnome-system-monitor/157 /dev/loop14 384K 384K 0 100% /snap/gnome-characters/708 /dev/loop13 52M 52M 0 100% /snap/snap-store/518 /dev/loop15 63M 63M 0 100% /snap/onenote-desktop/13 /dev/loop17 56M 56M 0 100% /snap/core18/1988 /dev/loop16 65M 65M 0 100% /snap/gtk-common-themes/1514 /dev/loop19 33M 33M 0 100% /snap/snapd/11402 /dev/loop18 87M 87M 0 100% /snap/simplescreenrecorder/1 /dev/loop20 218M 218M 0 100% /snap/gnome-3-34-1804/60 /dev/loop21 2,3M 2,3M 0 100% /snap/gnome-system-monitor/148 /dev/loop22 66M 66M 0 100% /snap/gtk-common-themes/1515 /dev/loop23 33M 33M 0 100% /snap/snapd/11588 /dev/loop24 2,5M 2,5M 0 100% /snap/gnome-calculator/884 /dev/sda1 356M 105M 252M 30% /boot/efi /dev/sda9 57G 15G 40G 28% /home /dev/loop25 384K 384K 0 100% /snap/gnome-characters/570 tmpfs 785M 28K 785M 1% /run/user/1000 /dev/loop26 221M 221M 0 100% /snap/code/63