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:

       description: System Memory
       physical id: 5
       slot: System board or motherboard
       size: 8GiB
          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)
          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

While 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
  • 1
    If the budget allows, rather than make a backup of your disk and hope to recover it later, why not replace it with another storage device? Swap the SSD out, install Ubuntu fresh, copy your files from the Ubuntu partition(s) on the current device, and off you go. As for the RAM, if the sticks are not the same, then you will still have the additional memory space, but the transfer rate may not be as fast. – matigo May 6 at 8:48
  • @matigo How do I know which SSD I have now and which would be a good one to replace it with? Will a new SSD and new RAM ensure my Linux running faster and having more memory space? – Jessie May 6 at 9:02
  • You have a workstation, which means that HP puts out some detailed spec sheets. You can use most modern NVMe devices (perhaps a Samsung, as they're best at copying). Will it ensure Ubuntu is running faster? No. A misconfiguration can make even the best systems as sluggish as a 386 SX/20. However, if you go with 20.04 and use the HWE stack, chances are you'll have a wonderful experience 👍🏻 – matigo May 6 at 9:17
  • @matigo I am sorry for asking such simple questions, but I have very little knowledge on this subject. As the spec sheet says NVMe PCIe is compatible with my laptop, would this be okay : coolblue.nl/product/825616/samsung-970-evo-plus-m-2-1tb.html? Or what do they mean with ' HP Z Turbo Drives' ? Would you recommend 1TB or is 500GB (coolblue.nl/product/825615/samsung-970-evo-plus-m-2-500gb.html) also okay, and how can I check which one I have currently? – Jessie May 6 at 9:37
  • @matigo and what do yo mean with HWE stack? And if I understand correctly from your first answer, I should go for the first link I sent in my post for the 8G Samsung RAM? – Jessie May 6 at 9:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.