Monday, May 28, 2012
Friday, November 04, 2011
REPAIRING GRUB IN UBUNTU 10.04 +++
How to repair GRUB in ubuntu 11.10 using a live CD.
- Boot in your computer using a live ubuntu 11.10 cd.
- Fire up the terminal and type:
sudo su
This ensures that you are the root user while making this changes.
3.Type fdisk -l and note the partition containing Ubuntu.It should be something like " /dev/sdaXXX" with an ext4 extension.
4.The type mount /dev/sdaXX /mnt
This mounts the ubuntu partition
5.Type the following commands noting the spaces.
a)mount --bind /dev /mnt/dev
followed by.
b)mount --bind /proc /mnt/proc
6.copy the resolv.conf file by typing in the following command.
cp /etc/resolv.conf /mnt/etc/resolv.conf
7.Then
chroot /mnt
8.Install grub by
grub-install --recheck /dev/sdY(Replace Y with your actual hard disk)
9.Update grub
update-grub
10.Re start your computer
reboot
11.You can now enjoy using your computer if everything went correctly.
Wednesday, December 16, 2009
Confusion
It has hit me that for everything you do,you are never sure of whether you are doing the right thing.For example i was supposed to send a link of this blog to my lecturer,i tried but i aint sure whether i did the right thing.
Subscribe to:
Posts (Atom)