/boot showing only grub folder and other files are not exist
Hi..All,
Today in our office one of the PC(Ubuntu11.04) was not booting up and showing continuous blinking. Then I booted through Ubuntu11.04 Rescue CD and found I was able mount all partitions apart from /boot. Here is the /boot and / partition details Code:
/dev/sda1 is /boot 100 MB Code:
fsck /dev/sda1 Code:
fsck -y /dev/sda1 Does this fsck command wiped out everything? I unmounted the /boot partition and installed the grub using below steps Code:
mount /dev/sda2 /mnt Code:
mount --bind /proc /mnt/proc Code:
grub> |
You should download kernel images for your distro from their site and install them.
the simple way: Code:
mount /dev/sda2 /mnt Don't forget to replace XXXX with kernel version or simply use aptitude EDIT: The {sometimes faster} way: The other way(after chrooting): They are already somewhere in pool directory in the rescue disk. Copy them to /var/apt/cache/archive And Code:
mount /dev/sda2 /mnt |
Thank you very much FastCode
Code:
mount /dev/sda2 /mnt Code:
apt-get install linux-image-XXXX Code:
aptitude install linux-image |
All times are GMT -5. The time now is 01:15 AM. |