Recently I faced trouble with installing fedora with my ubuntu already installed. The grub that comes with fedora can not detect the existence of ubuntu, so I thought I virtually lost my ubuntu installation( at least, I couldn’t boot from ubuntu any more )! Thanks to Zaher, da linux-guru( or goru, as i say it :p ) who solved it painlessly… This also works when you reinstall windows and pull your hair off trying for just another glimpse of the good-old linux you had…
Boot from any other version of linux if installed ( eg. fedora ) or from a live CD ( eg. ubuntu 7.10 )
Open the terminal, and enter the command grub ( u must be superuser, eg. in ubuntu, write sudo grub )
> sudo grub
> find /boot/grub/stage1
[Here you would see a list of the drives which are potential bootables. Say you want to boot from hda0,1 ( hd0 the first harddisk, 1 stands for the partition count relative to c: ) ]
> root ( hda0, 1 )
> setup ( hda0 )
[ DONE! ]
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment