Saturday, July 3, 2010

Recover the lost Linux installation

Most common scenario I have found is when you have dual boot system (Linux/wndows) and you have to install windows again. Then the usual boot loader (grub) is overwritten by the windows boot loader (ntldr).In order to recover the lost Linux installation and re enable the Linux boot loader (grub), try the following steps. I have been following these steps for long time and works fine always..
1) boot the computer using Linux live CD
2)Open a terminal when you are in desktop and try enter following commands
sudo grub
grub> find /boot/grub/stage1
(hdx,y) # this will be the output
grub> root (hdx,y)
grub> setup (hdx)

20 comments:

于庭 said...

成熟,就是有能力適應生活中的模糊。.................................................................

王名仁 said...

向著星球長驅直進的人,反比踟躕在峽路上的人,更容易達到目的。............................................................

宜FH定博林P'韓T彥 said...

人有兩眼一舌,是為了觀察倍於說話的緣故。............................................................

ju吳phe宇te佳ns said...

留言支持你~希望能看到更好的作品 ..................................................................

郁如郁如 said...

People throw stones only at trees with fruit on them.............................................................

楊儀卉 said...

A stitch in time saves nine...................................................................

香昱信張君林 said...

生存乃是不斷地在內心與靈魂交戰;寫作是坐著審判自己。..................................................

ju吳phe宇te佳ns said...

先為別人的快樂著想,是超人;先為自己的快樂著想,是凡人;使別人不快樂,自己也不快樂的,是笨人。..................................................

林彥以林彥以 said...

rain before seven; fine before eleven.............................................................

a云c2v吳c9f8文sagd1 said...

從來愛都不知它的深度,非得等到別離的時候.................................................................

千曹惠 said...

路過看到好的blog,來留言湊個熱鬧............................................................

建依萍彰 said...

生存乃是不斷地在內心與靈魂交戰;寫作是坐著審判自己。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

家唐銘 said...

人不能像動物一樣活著,而應該追求知識和美德............................................................

文王廷 said...

人生有些波折,才能有些成長,所以不論順逆,凡是成長、成功的助緣,都應該心存感激。.................................................

淑成李李淑成李李 said...

人並不是生來要吃敗仗的。人可被毀滅,但不可被擊倒。..................................................................

偉冠儒冠儒倫 said...

More haste, less speed..................................................................

于庭吳 said...

No pains, no gains.......................................................................

孟謝謝謝凱謝謝謝謝 said...

人有兩眼一舌,是為了觀察倍於說話的緣故。............................................................

洪勳劉耀德劉耀德華 said...

期待你的下次更新喔^____^..................................................

华瑗泽 said...

在你一無所有的時候 是誰在陪伴你 他便是你最重要的人......................................................................