WEBVTT Kind: captions Language: en 00:00:00.600 --> 00:00:08.000 Hello fellow phone-booth time travelers. In this video, I want to explain 00:00:08.000 --> 00:00:15.560 how you can check your main memory in Linux. A while ago, I 00:00:15.560 --> 00:00:22.800 ordered a memory upgrade for my computer. I bought a used RAM stick from an 00:00:22.800 --> 00:00:29.480 auction platform. Now I've installed it and wanted to test 00:00:29.480 --> 00:00:35.360 whether it's working properly. However, it's also possible that you're having other problems 00:00:35.360 --> 00:00:40.760 with your computer and aren't sure where they're coming from. In that case, it's quite possible 00:00:40.760 --> 00:00:45.000 that your main memory is defective. To check this, we can 00:00:46.400 --> 00:00:45.000 use a very simple tool in Linux that comes with the distribution. To install it, 00:00:53.680 --> 00:00:45.000 I open a terminal and run the command 'sudo apt install memtest', which then displays 00:01:02.000 --> 00:00:45.000 86 plus 86+. I enter my password, and now the 00:01:11.320 --> 00:00:45.000 software is installed in the background. It works like this: when you start your computer, you can select a specific 00:01:17.440 --> 00:00:45.000 option to test the main memory. To ensure that this is visible, 00:01:24.360 --> 00:00:45.000 you need to ensure that the timeout has been configured accordingly 00:01:30.200 --> 00:00:45.000 in the bootloader, which is usually the Grub bootloader 00:01:37.040 --> 00:00:45.000 . To verify this, let's take a look at the Grub bootloader configuration file. I open 'sudo nano /etc/default/grub' and here 00:01:48.840 --> 00:00:45.000 I see this line, 'GRUB_TIMEOUT', and it's set to 5. That means a 5- 00:01:55.600 --> 00:00:45.000 second timeout. That gives me enough time to select the appropriate option. You can 00:02:01.040 --> 00:00:45.000 also set it to 10 or any other value, whatever works for you. Then 00:02:07.360 --> 00:00:45.000 don't forget 'Ctrl' or 'Ctrl+O' and 'Ctrl+X' and then we need to quickly 00:02:12.840 --> 00:00:45.000 rewrite the bootloader. I do this with the following command: 'sudo update-grub'. Now the 00:02:22.440 --> 00:00:45.000 initial ramdisk is recreated in the background and an entry for Memtest86+ is created. Now 00:02:31.600 --> 00:00:45.000 we can try restarting the computer. To do this, I enter the command 'sudo systemctl reboot'. 00:02:46.640 --> 00:00:45.000 When I start up, I get a new entry. You see an entry for Memory Test. 00:02:53.800 --> 00:00:45.000 I'll select that one. Not the one with the serial console. We're not using that. 00:02:59.960 --> 00:00:45.000 I'll select the Memory Test entry here. It might look a little different for you, depending on whether you 00:03:05.600 --> 00:00:45.000 're using EFI or not. The memory test is already running in the background. 00:03:12.800 --> 00:00:45.000 You can also cancel it with 'Esc', make some further configurations with F1, or 00:03:19.400 --> 00:00:45.000 scroll through the view with the space bar. If an error is found, it will be listed below 00:03:27.120 --> 00:00:45.000 in this blue area. Then you should check which memory stick is defective. If 00:03:34.120 --> 00:00:45.000 you have a computer where you can still remove the memory stick, the next step would be 00:03:39.360 --> 00:00:45.000 to remove one of the sticks if you have multiple sticks installed and run the whole process again 00:03:46.240 --> 00:00:45.000 until you find out which memory stick is actually defective. 00:03:52.000 --> 00:00:45.000 I was lucky; my purchase was a good one. I have a new memory stick. I now have 00:03:57.800 --> 00:00:45.000 8 GB more RAM, and when buying a PC or 00:04:04.280 --> 00:00:45.000 laptop, I always make sure the memory is replaceable. Because memory needs always change, and they 00:04:10.120 --> 00:00:45.000 're constantly changing. For example, I bought my PC with 8 GB, but today that's not nearly enough. 00:04:16.640 --> 00:00:45.000 Now I have 16, and the PC can be used for a while again. I hope you 00:04:22.200 --> 00:00:45.000 enjoy trying it out! Let me know in the comments if you have any questions, and 00:04:27.320 --> 00:00:45.000 don't forget to join our Telegram community, where we regularly discuss 00:04:33.840 --> 00:00:45.000 Linux and free software topics. I look forward to your visit. See you soon and goodbye!