Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This may be a crazy question, but here goes...

My brother suggested that I could somehow use either a Ubuntu Live Boot CD or Flash drive or Kubuntu as a way to diagnose issues I'm currently having with my laptop. I'm running Windows 7 and for some reason my laptop has suddenly started freezing during Windows start up. This started immediately after I began seeing the hard drive light remaining on and my computer running very, very slowly - even though when I checked Task Manager it said that no applications or unusual processes were running at the time and CPU usage was 0%. Strange, I know.

I've used the Restore disks 3 times already, thinking maybe it was a virus, even though I run Norton 360 and it found nothing upon a full system scan. But every time I end up with Windows failing to start up at all, or it getting stuck on the "Windows Starting" screen for at least 15-20 minutes before it starts.

I'm at a total loss here. I'm thinking it is either a Hard drive issue or perhaps a RAM issue, but I am a total moron when it comes to the operational aspect of computers. I don't know where to begin. My brother said that if I used a flash drive of Ubuntu or Kubuntu and tried to boot from there that I would know immediately if it was my Hard drive because it wouldn't operate. I don't understand that since it wouldn't be operating off my hard drive, it would be running from the CD/flash drive.

Does anyone have any clues on what I can do to check this out? I'm tempted to buy a new hard drive and RAM, but would hate to buy something I can't return if they aren't the issue.

I'm stuck...any help would be very appreciated. Thanks so much and have a wonderful weekend.

share|improve this question
You can use Ubuntu to check RAM, and retrieve any data from the Windows-7 media. I would instead suggest Ultimate Boot CD ( for a comprehensive range of recovery tools. This is self-contained, and Linux based. – david6 Jul 6 '13 at 22:51
Thanks for the tuto. When Memtest is start from usb stick, you may have this problem :"cannot load a ramdisk with an old kernel image" (I did) Go to (last answer) to find solution. – Seb Apr 14 '14 at 10:03

You have an option for both without the need to install anything else:

Checking your RAM (MemTest)

Simply boot your LiveCD, LiveDVD or LiveUSB and on the first menu you will see the option for Checking you Memory RAM:

enter image description here

This is most likely the BEST app to check your memory. Simply wait until the first line that says PASS gets to 100% (The one that says 4% on the image below). It will repeat itself but with one pass should be enough:

enter image description here

If you do have a bad memory, you will get at least one RED row on the bottom half of the app. If you get at least one, then you have some serious Memory problems. In the image below, the user has MANY memory problems and should immediately change the RAM:

enter image description here

I suggest to test each memory individually if you do find a memory error. This way you will know which memory slot is the culprit and can simply change that one.

Checking you HDD or SDD

In the LiveCD, LiveDVD or LiveUSB and without any additional installation you have the Disk application. Simply open Dash and type disk, you will see the "Disk Utility" app:

enter image description here

Open it and it will look something like this:

enter image description here

Now select your HDD or SDD and then select the Gear icons to the right. From that menu select the SMART option:

enter image description here

Here you can see the state of the disk, Temperature, Powered on time and any errors it has, any FAILS it has and you can even check it for problems with the Start Self-Test button below:

enter image description here

So as you can see the LiveCD, LiveDVD or LiveUSB comes in handy when you want to do some diagnostics on the computer.

share|improve this answer
The most complete answer. Well Done ! :-) – NikTh Jul 7 '13 at 4:08
Also some people will want you to run multiple passes of memtest86+ or let it run overnight. Don't do it if you just need a quick memory sanity check, unless you are overclocking your stuff one or two passes will be more than enough. And it only takes a few seconds :) – Thomas Jul 7 '13 at 12:42
@luis Alvarado what should a user do if the drive is older than the S.M.A.R.T. test? – Hellreaver Jul 20 '15 at 8:07
@Hellreaver For those cases, I would use the actual tools provided by the manufacturer (eg: Seagate Tools, Maxtor Tools, Quantum Tools, etc..) Since they would have their own way of checking this in most cases. – Luis Alvarado Jul 20 '15 at 23:43
On Ubuntu 14.04 the application is just called "disks". – Yannick Feb 22 at 14:20

Yes, you can use a Live image of Ubuntu to diagnose several problems in you HDD (no matter what OS you have installed there). The only thing that matters is the Operating System that is installed has been shutdown properly (no hibernation)

For HDD problems you can use gsmartcontrol.

Boot from Live CD/DVD/USB of Ubuntu and select "Try Ubuntu". Then open a terminal (CTRL+ALT+T) and issue the following commands

sudo apt-get install gsmartcontrol 

Then run in terminal

gksudo gsmartcontrol 

Select your HDD and check the attributes.

enter image description here

If you see any red marked text you will understand the failure of HDD.

For RAM problems you can use a Live image and memtest86+

See here how : Memtest with Ubuntu 12.04 live CD

share|improve this answer
Wow! You guys rock big time!! It took only minutes for a response. I'm burning my LiveCD now and going to try out these. Keep your fingers crossed and thank you so very much for your quick response and help. It always amazes me how willing people are to help out others. I'll let you know what I discover. Again, thank you so very much and have a wonderful night. God bless – user173161 Jul 7 '13 at 0:21
I just want to note that the sad story about S.M.A.R.T. data is, that you can't really determine the status of your drive unless it's really obvious that it's failing. HDDs are different from RAM and S.M.A.R.T. could have been designed smarter. I found the following article series very informative, though I do not use the software advertised. – LiveWireBT Jul 7 '13 at 3:00
This information is available in the gnome disks-utility that is preinstalled; you don't need to install gsmartcontrol. – psusi Jul 7 '13 at 3:37
@psusi you have absolutely right. I've forgot this completely. Good point !! – NikTh Jul 7 '13 at 4:06

For testing ram -> boot from the cd/usb and hold down a key (it will load and give option for testing memory) Memtest with Ubuntu 12.04 live CD For hard drive boot all the way to the ubuntu and in programs there will be a program called disks #(in disks click on the drive then the cog symbol and choose SMART) data or gparted. (help withv live cd:

share|improve this answer
Thank you so much. I've got my fingers crossed that I'll be able to use this amazing program to figure out what is going on with my laptop. I have successfully used Ubuntu numerous times to recover data on a crashed Windows computer, so I know how powerful it can be. I've just never needed to use it to diagnose potential problems/issues with my hardware before. If I didn't totally depend on so many of my Windows programs for my business, I'd be changing all of my computers over to Ubuntu immediately. Have a wonderful night. – user173161 Jul 7 '13 at 0:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.