On Sat, Oct 23, 2010 at 10:44 PM, Narendra Sisodiya <[email protected]> wrote: > > > On Sat, Oct 23, 2010 at 7:51 PM, pahnin sd <[email protected]> wrote: >> >> simple grub install steps >> boot from live cd >> 1. mount the file system in which the kernel present >> (the ubuntu file system) >> for mounting , it is not necessary to follow commands u can mount >> directly from places >> 2. now check the path of the filesystem where it was mounted >> that is most probably /media/xxxxxxxxxxxxx this 'xxxxxxxxxxxx' >> will be replaced by uuid which >> to check the path open terminal >> type 'cd /media' >> type 'ls' >> u can see the directory with the uuid (it will be looking like a >> rondom number) >> 3. now use the command >> grub-install --root-directory=PATH /dev/sda >> path is replaced by /media/xxxxxxxxxxxxx (xxxxxxxxxxxx= uuid) >> >> as far as i know this will give u good result :) > > > Do somebody know any automated procedure where just booting from small Linux > CD can correct it. > Because Grub is a biggest problem for newbies. Almost every Linux User face > it at some stage. http://ithinkicanexplain.wordpress.com/2010/10/24/19 I made a shell script
I'm new to shell scripting so i may not be good but you can consider this and improve this > > -- > l...@iitd - http://tinyurl.com/ycueutm > -- l...@iitd - http://tinyurl.com/ycueutm
