LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   MEPIS (https://www.linuxquestions.org/questions/mepis-64/)
-   -   The Live CD did not restore GRUB (https://www.linuxquestions.org/questions/mepis-64/the-live-cd-did-not-restore-grub-580799/)

AGazzaz 08-29-2007 05:51 PM

The Live CD did not restore GRUB
 
Hello,
Today I have installed windows and after installing drivers, software and such stuff I loaded the boot CD.

I opened the mepis system assistant, restored the root partition then I restarted the computer but grub did not appear. I remembered that MEPIS was the first Distro to install the bootloader on the MBR. (I think I should not have done that)

I restarted the bootCD and restored grub on the MBR and repeated it 3 times but still no luck.

So What can I do?
Do you think I have messed up my my linux Installation?

reddazz 08-29-2007 06:02 PM

What are the exact commands you used to install grub? Also what is your disk or partition layout?

AGazzaz 08-29-2007 06:33 PM

Thank you reddazz,

*What are the exact commands you used to install grub?

I did not use any commands just GUI based selections during the installation of mepis or the Mepis live CD after installing windows.


*Also what is your disk or partition layout?

I have one HardDisk 80GB
hda1 ->Windows main partition fat32 ~9GB
hda5 ->fat32 ~23GB
hda6 ->NTFS ~23GB
hda7 ->fat32 ~9GB
hda8 ->ReiserFS ~6GB
hda9 ->swap ~600MB

I hope I have answered your question.

reddazz 08-29-2007 06:52 PM

If Mepis was already installed on your disk, you can load the live cd and mount your Mepis root partition somewhere on your system e.g. /media/hda8, chroot to the root partition and use grub-install to reinstall grub e.g.
Code:

#mount /dev/hda8 /media/hda8
#chroot /media/hda8
#grub-install /dev/hda


AGazzaz 08-29-2007 07:18 PM

Thank you reddazz,
Linux is back again and I am writing this reply from it :)

just a little hint if someone needs this thread and he is as lazy as me Do Not use Mepis default mount to solve this issue Just mount the partition your self as you will get permission denied

Thanks again reddazz that was really quick and painless :)

You are the BEST...


All times are GMT -5. The time now is 10:26 AM.