GRUB is gone... After installed Windows...
Hi all,
My Laptop, I has Pre-installed Windows XP Home Edition, then I installed Fedora Core 2, after that, I always use GRUB from Fedora Core 2, to select and boot between Windows and Linux... I Just wanted to upgrade Windows XP from Home to Pro, the thing was going fine. But after upgraded that Windows, I think the installation deleted GRUB !... There's no more GRUB now, when turn on the laptop, it boots Windows directly... And I cannot select or boot Linux no more... Help me please! :cry: ... How to repair GRUB ? |
In addition... Sorry I don't have Rescue CD... I just have one bootable installation Fedora Core 2 DVD.
|
If the FC2 DVD is bootable, then reboot with it and there should be a rescue option to reinstall GRUB.
Baldrick |
Just download a GRUB bootdisk, log on to the grub interface and reinstall grub to your mbr :)
|
Re: GRUB is gone... After installed Windows...
Quote:
|
Insert fedora disk1 and when it ask you what you want to do type vmlinuz root=/hdxy noinitrd (x is generally a and y is the number of your partition).
After login, as superuser type grub-install /dev/hdx. |
Thanks alot Harp00,
there's only one harddrive, but I have 6 partitions, C: NTFS: Windows XP G: NTFS: H: NTFS: I: NTFS J: NTFS: And I installed Fedora to drive K, and it should be 3: boot patition and Linux partition and Swep partion... What hdxy... x = a and how about y ? Thank you all. Quote:
|
You should know which one.
You know it is hda. I am a newbie too, what i suggest you is to try to insert your Fedora DVD and try to install it. It will probably show you which partition is for Linux. When you know it abort installation and try with the istructions i gave you. Hope this help. Bye |
1. Boot into a linux command prompt using your FC install disk 1 - at the boot: prompt type 'linux rescue' and press return. It should try to find your existing FC2 install and mount it under /mnt/sysimage (or something like that - it'll tell you where it's putting it.)
2. Find the grub binary and run it like this: Code:
/mnt/sysimage/sbin/grub You'll now be at a grub prompt. Enter the following commands: Code:
grub> find /boot/grub/stage1 Code:
grub> root(hd0,6) Code:
grub> setup (hd0) Now quit out of grub and reboot: Code:
grub> quit Code:
###Windows XP### |
Thanks alot dsegel, everything is fixesd !
Quote:
|
All times are GMT -5. The time now is 09:03 AM. |