Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Recently my machine has become very slow and I don't know why? I've re-installed my Linux ( Ubuntu, Xubuntu ) several times. But everytime, after using a few times. It becomes slow again. I means really slow - webbrowsers are always lag, everything I do, i have to wait T.T

Here's it's brief spec: Intel Core i5-2410M 4GB DDR3 RAM Ati Radeon HD 6630

It's supposed to run linux flawlessly :( And one more thing, most of the time, I receive this error while booting: enter image description here

hieusun@ubuntu:/$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x32e36372

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          96      768000   de  Dell Utility
Partition 1 does not end on cylinder boundary.
/dev/sda2   *          96        6470    51201251    7  HPFS/NTFS
/dev/sda3            6471       10294    30716280   83  Linux
/dev/sda4           10295       60801   405697447    5  Extended
/dev/sda5           10295       31966   174080308+  83  Linux
/dev/sda6           31967       32476     4096543+  82  Linux swap / Solaris
/dev/sda7           32477       60801   227520531    7  HPFS/NTFS
hieusun@ubuntu:/$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              29G  3.4G   25G  13% /
none                  1.6G  712K  1.6G   1% /dev
none                  1.6G  112K  1.6G   1% /dev/shm
none                  1.6G  132K  1.6G   1% /var/run
none                  1.6G     0  1.6G   0% /var/lock
/dev/sda5             164G  1.4G  154G   1% /home

vmstat:

procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- 
r b     swpd free    buff  cache   si so     bi bo    in cs      us sy id wa 
0 2      0   2433924 58436 447752   0  0     100 39   114 255     3  1 85 11
share|improve this question
1  
It's supposed to run linux flawlessly Nothing runs linux flawlessly ;) –  Simon Sheehan Jan 19 '12 at 2:04
    
Have you checked disk space? –  Paul Jan 19 '12 at 2:11
    
@Paul: On a freshly installed box? –  Phpdna Jan 19 '12 at 2:17
    
@David. Yes, an undersized partition is undersized no matter when linux was installed. –  Paul Jan 19 '12 at 2:18
    
@Paul: And why did I get a downvote? When source is infected it's infected. Most likely with his box there isn't an undersized partition? –  Phpdna Jan 19 '12 at 2:20

3 Answers 3

Here is what is really wrong:

error: (hd0) out of disk, assert: error stack overflow detected are GRUB2 errors.

They basically mean that GRUB2 can't read or write to the disk, and by trying multiple attempts to try to access your disk it keeps generating errors such that finally the small error stack fills up and you get an error that it can't display any further messages because it got out of allocated memory.

Here is what to do:

  • Your first steps should be reinstalling GRUB2 or perhaps trying a different boot loader.

    Make sure that you get your GRUB configuration file (menu.lst or whatever) is correct...

  • Your second check should be running checks against your hard disk to see if it is still fine.

  • Dependent on the outcome of that, either reinstall your OS or get a new hard disk.

share|improve this answer

It looks like you have a virus. If you get a stack overflow message maybe Linux has found something is writing something to the stack and beyond. I would delete the disk and re-install again.

share|improve this answer
    
Its a freshly installed system, he claims - a virus is quite unlikely. –  Simon Sheehan Jan 19 '12 at 2:08
    
@SimonSheehan: That's what the message is saying. I've never seen this message and also there isn't a guarantee his source is infected. –  Phpdna Jan 19 '12 at 2:15
1  
@David if you have never seen this message, then your virus conclusion must surely be baseless? –  Paul Jan 19 '12 at 2:38
    
@Paul: Not really because the message is saying something. It happens a stack overflow. A stack overflow can be cause of evil software. It's just logic. I don't need to know everything to put my foot one after another. –  Phpdna Jan 19 '12 at 2:44
    
I've deleted all the partition and then do the partitioning again. How can it be infected ?? –  Hieu M. Nguyen Jan 19 '12 at 2:47

Download puppy linux or other distro with gparted that will run in RAM, burn ISO to cd, boot it.

Backup data (puppy uses pburn or you can mount an external drive) and fix your disk with Gparted or just start over with a clean partitioning.

Install your favorite OS.

share|improve this answer

Your Answer

 
discard

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.