Restoring Linux boot record after Windows installation
My Easy Peasy Linux was lost after installing Windows 7. Windows couldn't setup (by default) a boot manager so I had to recover my boot record. My Linux knowledge is quite good I thought but after a while I recognized that I missed a development in the last years - udev. I used a mini linux-distribution stored on my USB stick (my EeePC doesn't have a CD drive) to boot into Linux, mounted the installed Easy Peasy and restored the boot record using grub. Now I have a handy menu where I can choose between Windows 7 and Easy Peasy.
Steps to recover a lost Linux system after installing Windows:
Assuming that Linux is installed on /dev/sda1, Windows on /dev/sda3.
Lines 3 and 4 are essential, without them Grub cannot be installed on a system using udev.
[1]
In case of Windows you have to add something like this:
title win7
rootnoverify(0,2)
chainloader +1
Please check the menu.lst somewhere in the upper part of the file is an example configuration for Windows! Further (0,1) might not be the correct partition, replace it with your partition where Windows has been installed.
[2]
Check your installation!
Last Updated (Wednesday, 11 November 2009 20:10)


