[School-GNU-Linux] Grub Re-installation

Boot with Grub CD/Floppy

1) Boot from the grub CD/Floppy. You will get a "grub>" prompt. In
case of CD, you have to press 'c' to get the "grub>" prompt.

2)  type "root (hd0," and press tab; you will get a list of partitions
available. You have to find in which partition your root filesystem
is. For that look for the partition formated with ext3/ext2 and find
its number and fill it like, if your root partition listed is 6, it
will be root (hd0,6) and press enter

3) next type "kernel /boot/vm" and press tab, it will autocomplete to
something like /boot/vmlinuz-....
type root=/dev/hdaX after that wheres X is the number you type in root
(hd0,Y) plus 1. ie if you entered root (hd0,6), here it will be
root=/dev/hda7 and press enter

4) next type "initrd /boot/ini" and press tab, it will autocomplete to
something like /boot/initrd-... then press enter

5) Type "boot" and press enter to boot the system.

After booting is completed, you can open a root terminal or in root
prompt, and type the command
grub-install /dev/hda  to install the grub.

Please note that the "hda" can be changed to sda if it is a sata
harddisk or it can be hdb or hdc or hdd as how you connected your
harddisk to the system

If it shows grub-install command not found,

install grub with the command apt-get install grub

The easiest way to reinstall the grub is to boot it with the IT@School
GNU/Linux 3.0 CD1 and in the boot: prompt enter "rescue" and follow
the instructions.

see : 
http://support.space-kerala.org/wiki/index.php/Troubleshooting_IT%40School_GNU/Linux_3.0#Grub_re_installation


If these things wont work, please download the Super Grub Disk from
http://supergrub.forjamari.linex.org/?section=download
and boot from it. It has several options to fix grub.


For other tips, please refer the CD1 doc/00SchoolGNU tips directory.

also I'll put major troubleshooting info at http://support.space-kerala.org


Hope this helps
regards,

~vimal

-- 
Free Software, Free Society
സ്വതന്ത്ര സോഫ്​റ്റ്​വെയര്, സ്വതന്ത്ര സമൂഹം
<http://fsfs.hipatia.net>
�ӊ������,�t���%�?.)������m�����i��l����ڕ�+�:���{*.�˛����ب��m��춋a��b����+a���˩����zG�jV���j)b�
    b��m�

Other related posts: