0

It takes about 10 minutes to see the Grub loader with Ubuntu 14.04. Once the Grub loader shows up, it loads up with normal speed.

Also, the keyboard and touchpad on the laptop has stopped working (USB mouse and keyboard work though) at the same time when this started happening. This issue started coming up after the laptop had been put on suspend and it had hung up on resume and then was powered off through the power button.

Haven't seen anyone facing this particular combination of problems but tried different fixes individually like doing Grub repair and updating xserver input but without any effect.

The laptop's still fully functional with external keyboard and mouse but I do not want to wait 10 minutes to startup and then carry around the extra keyboard. Any help on this would be appreciated!

@heynnema, these are the results

sudo blkid & cat /etc/fstab

/dev/sda1: UUID="64df4980-6d62-4e20-93a0-6e98baf3fc21" TYPE="ext2" 
/dev/sda3: LABEL="Data" UUID="c278cefa-5363-490d-8942-74b5fdafa59d" TYPE="ext4" 
/dev/sda5: UUID="6eed7aa5-edf0-4569-8443-9e5e950a2219" TYPE="ext4" 


# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation 
UUID=6eed7aa5-edf0-4569-8443-9e5e950a2219 /   ext4    errors=remount-ro  0  1

free -h

total       used       free     shared    buffers     cached
Mem:        7.7G       1.6G       6.1G       111M       118M       868M
    -/+ buffers/cache:       623M       7.1G
Swap:           0B         0B         0B

The results from Disks

The results from Disks 2

heynnema
  • 73,649

1 Answers1

1

Partial answer, work in progress...

Update #1:

The computer has hardware problems. I recommend disconnecting the laptop's internal keyboard and touchpad to see if that resolves the slow boot times.

Step #1:

Lets first check your file system for errors.

To check the file system on your Ubuntu partition...

  • boot to the GRUB menu
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • at the # prompt, type sudo fsck -f /
  • repeat the fsck command if there were errors
  • type reboot

Update: If for some reason you can't do the above...

  • boot to a Ubuntu Live DVD/USB
  • start gparted and determine which /dev/sdaX is your Ubuntu EXT4 partition
  • quit gparted
  • open a terminal window
  • type sudo fsck -f /dev/sdaX # replacing X with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot

Step #n:

Lets recreate a swap partition (not complete)...

  • gparted
  • sudo mkswap /dev/sdaN
    • copy new UUID to the clipboard
  • gksudo gedit /etc/fstab

Add the following two lines to /etc/fstab...

# swap was on /dev/sdaN during installation
UUID=correct_UUID_here    none    swap    sw    0    0
  • gksudo gedit /etc/initramfs-tools/conf.d/resume
    • replace existing UUID with paste from clipboard
  • swapon -a
  • sudo update-initramfs -u
  • reboot
heynnema
  • 73,649