0

I have ubuntu 11.04 on my Dell Inspiron

I did an upgrade using following commands

apt-get update
apt-get upgrade
apt-get dist-upgrade

Now on restarting the system, the latest kernel version does not boot up, leaving me with blinking caps light. It seems like system just hangs up.

Though previous kernel is still bootable (thank god !!)

What might be the problem and how can I solve it.

EDIT : Output of df and cat /etc/fstab

nikhil@dell:~$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda7            106802240  10149900  91227088  11% /
none                   1973500       736   1972764   1% /dev
none                   1981208       252   1980956   1% /dev/shm
none                   1981208        96   1981112   1% /var/run
none                   1981208         0   1981208   0% /var/lock
nikhil@dell:~$ cat /etc/fstab 
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda7 during installation
UUID=b6f842c2-bbc6-41e0-bb4e-88125ba0b2d1 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=97b9c281-e852-41a7-8f3d-e511915c4013 none            swap    sw              0       0

EDIT : Even using

sudo update-initramfs -u -k 2.6.38-11-generic
sudo update-grub 

Has not helped.

Nikhil
  • 1,185
  • The problem is likely related to some drivers. We need more info to be able to help: try to boot your system in text mode to see the error messages (http://askubuntu.com/questions/25022/how-to-enable-boot-messages-to-be-printed-on-screen-during-boot-up). – Javier Rivera Sep 13 '11 at 07:19
  • @Javier Rivera Here is the phone click I could get, http://i55.tinypic.com/2nvsbxx.jpg --> please let me know, if there is anything else I should do. – Nikhil Sep 13 '11 at 07:53
  • Reinstall the new kernel and/or check the disk for errors. – arrange Sep 13 '11 at 09:08
  • @arrange - I have already made a complete fresh install twice, updated using dist-upgrade and both time, same problem. – Nikhil Sep 13 '11 at 09:50
  • Then IMO it must be a bug in the new kernel. – arrange Sep 13 '11 at 09:55
  • May you execute ls -ltrh /bootand give the output to see whether we have the new kernel image and related staff in the output? – xiaojueguan Sep 08 '21 at 06:32

1 Answers1

1

According to the picture the system can't boot because the kernel is unable to mount the root filesystem on sda7.

The most likely cause is that grub isn't properly configured for the new kernel. Boot from the old kernel, open a terminal and type:

sudo grup-update

If this doesn't help you, we will need some more info about how are the partitions layout in the old kernel. Please, post the output to those commands:

df

cat /etc/fstab

This error could also be caused by a problem in the initramfs, a small file that contains the drivers that the system need to boot. You can recreate it with the following command:

sudo update-initramfs -u -k 2.6.38-10-generic

Note that 2.6.38-10-generic should be the name of the kernel that doesn't boot. Be careful with this.

Javier Rivera
  • 35,153