How to install memtest86+ on a USB flash drive

It comes a time when your computer starts trowing on you some errors, restarts, blue screens of death and the only thing left is to start checking what is causing the problems.

One of the first things you should check is if you have a faulty RAM module.

The best tool for testing memory modules is memtest86+.

Where you can find Memtest:

  • On HirenBootCD.
  • On almost every linux distribution LiveCD.

If you remember the previous tutorial on this site about Puppy Linux on a bootable flash disk drive, the thing is, we don’t have memtest86+, but we can install it on the good old trusty linux on a stick to use memtest on any computer that can boot from USB.

We assume you have the Puppy Linux installed on a USB flash drive and we start from there:

  1. Boot your computer on Puppy from your USB drive.
  2. Go to Menu > System > Grub4Dos bootloader config.
  3. Select your USB drive and press OK.
  4. On the next screen just press OK to install GRUB bootloader (GRUB is menu system that lets you choose the OS/drive/app you want to boot into).
  5. Open a web Browser and go to the Memtest download website.
  6. Download the 3rd link (as of Memtest86+ V5.01 (27/09/2013), the one that points to memtest86+-5.01.bin.gz
  7. On the bottom of your Puppy Linux desktop open the root of your Puppy USB drive (mine is sdf1). Leave this window open.
  8. At the top of the Puppy Linux desktop open the file app (the one with a home icon on a folder).
  9. Press the Downloads folder. Here you will find the downloaded Memtest file.
  10. Right click and Rename. Rename it to memtest.bin.
  11. Now drag the file from step 10 to the window on step 7 to move the memtest.bin file there.
  12. Now, on the location you moved the memtest.bin file (your sdfx location=the root of your USB drive) you can see menu.lst (the menu for the GRUB bootloader).
  13. Open menu.lst and after the entry for Puppy linux, paste this (without the 14.):
  14. # memtest+
    title memtest86+ v5.0.1
    kernel /memtest.bin
    boot
  15. Close the file and reboot Puppy.

 

After rebooting the Puppy Linux USB drive, you will get the GRUB bootloader with some entries:

  • Puppy
  • Memtest
  • Windows (if you have it installed)

All entries shoot boot the appropriate OS/apps but to test our installation select Memtest and wait until it checks your RAM modules. Press ESC when done.

There you have it, you can test the memory on any USB bootable computer in the world.

Have fun and if you have questions, please shoot!

 

Wireless in Debian Squeeze – Read carefully

A wireless icon

Image via Wikipedia

I spent 3 days until i managed to make my USB wireless adapter work in Debian. No! You should not spend 3 days installing an USB wireless adapter in GNU/Linux, i made a huge mistake not reading very very carefully the debian wiki and after i focused a little i realised that i could install the thing in a few minutes,  and for demonstration i’ll use my case so you should extrapolate to yours:

1. To start go here: http://wiki.debian.org/WiFi.

2. Read the page entirely.

3. Connect the USB wireless adapter to the computer and in a terminal type: lsusb and press [Enter] (mine is USB, if you have a PCI card the command is lspci).

3. Identify your adapter, mine is Ralink Technology, Corp. RT2070 Wireless Adapter.

4. At this moment i made a mistake, i installed the wrong driver for my chipset. If i read the line in step 3, i could see that my chipset is RT2070 and i thought it was rt73usb. So, note your chipset, see on the debian wiki WiFi page at point 1 that your chipset is listed and follow the link to how to install the driver. If your chipset is not on this page (like in my case) search for your chipset on a search engine, google search for debian rt2070 gave me this first page: http://wiki.debian.org/rt2870sta. You may ask why i went to google which send me back to debian wiki, i don’t know why but searching for rt2070 on the wiki didn’t gave me any results.

5. Anyway, once on the driver page, follow every step and you should be fine installing the driver. If something doesn’t work, the Troubleshooting on the same page is your best friend in 90% of cases.

6. The last installation step is in general “Configure your wireless interface as appropriate”, so follow the link to setup your wireless connection.

7. Configuring the wireless network is as easy as reading the instructions (you might have some problems if you can’t read).

8. After i corrected the driver installation, configuring the network was a snap and the connection was up and running.

So, to wrap up, it’s just reading carefully and following some easy steps, maybe my tutorial seams long but once you do it you’ll see that is as easy as installing a USB wireless adapter and setting up a wireless conncetion on every operating system.

Have fun!