Skip to main content

Posts

Showing posts from January, 2009

Recover Linux After Installing Windows

How to recover ubuntu (Whole in one partition) Open a terminal in the ubuntu using a live disk $ sudo grub then grub terminal will come up,in grub terminal run  $ find /boot/grub/stage1 then something like (hd0, 4) will be displayed,then run $ root (hd0,4) here (hd0,4) is the result from find command,then run  setup (hd0) here (hd0) is first part of the find result restart machine How to recover ubuntu (When boot partition seperately installed) Open a terminal in the ubuntu using a live disk $ sudo grub then grub terminal will come up,in grub terminal run  $ find boot/grub/stage1 then something like (hd0, 4) will be displayed,then run $ root (hd0,4) here (hd0,4) is the result from find command,then run  setup (hd0) here (hd0) is first part of the find result restart machine