|
|
|
|
![]() ![]() |
Mar 5 2006, 11:53 AM
Post
#1
|
|
|
Premium Member Group: Members Posts: 352 Joined: 2-March 05 From: Australia Member No.: 2,859 |
I have Windows XP and Fedora 4 installed in my PC.
Grub is the boot loader. Today, I decided to reinstall Windows XP. After the installation finished, I boot into fedora 4 with rescue disk. then.. chroot, grub-install /dev/hda, reboot. but I could not boot into the system. It just show me this, grub> There is no option for me to choose. (It uses to have a list.) Then I fdis /mbr, root (hd0,0), set(hd0) yes, the grub menu is back. But cannot boot into both system (windows xp and Fedora 4) fc4: invalid compressed format (err=1) xp:disk error ,press any key to restart any idea how to fix this problem?? Thank you. |
|
|
|
Mar 5 2006, 04:35 PM
Post
#2
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 1,980 Joined: 16-August 05 Member No.: 7,896 |
usually, you do the following :
1) Install MS-Windows. 2) Install Linux 3) Do not touch anything more. Now, you have mbr problem. When I have this kind of problem on my multiboot Windows/mandrake, I do the following. 1) boot on a dos floppy disk, and do - fdisk /mbr - reboot on the floppy disk - fdisk, set the first partition active. 2) boot on the Linux install CD, and choose "multi-boot setup", this re-configures lilo (because I prefer Lilo), it should work the same way with Grub. If this works fine with Mandrake, it should also work with Fedora. Hope this helped. Yordan |
|
|
|
Mar 6 2006, 08:06 AM
Post
#3
|
|
|
BUG.SWAT.PATROL Group: Members Posts: 626 Joined: 1-September 04 From: Auckland, New Zealand Member No.: 27 |
Look here for a solution, this may help you: http://www.astahost.com/index.php?s=&showt...indpost&p=40143
I hope my steps are easy for you to understand, if not, I'll rewrite them, but that should be enough information to get grub working when you're only presented with the grub commandline. Cheers, MC |
|
|
|
Mar 7 2006, 02:33 PM
Post
#4
|
|
|
Advanced Member Group: Members Posts: 196 Joined: 17-June 05 From: Topi,Swabi,NWFP,Pakistan Member No.: 6,301 |
It would have been benifical if you posted your grub.conf aka menu.lst. Aslo fdisk -p /dev/hda (assuming its hda ) would be helpful too.
I am not sure about it , but it couldbe that Windows rewrote your partition layout. Your / may not be at the hdax or (hdx,y) which you are specifying on the grub. |
|
|
|
Mar 7 2006, 03:36 PM
Post
#5
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 1,980 Joined: 16-August 05 Member No.: 7,896 |
QUOTE I am not sure about it , but it couldbe that Windows rewrote I'm pretty sure Windows rewrites the master boot record. The game's goal is precisely how to re-create a mbr record. Mandrake's boot disk recreates it quite alone with lilo, the game gare is helping Fedora managing grub. |
|
|
|
Mar 7 2006, 07:04 PM
Post
#6
|
|
|
Member [ Level 1 ] Group: Members Posts: 49 Joined: 7-March 06 Member No.: 11,803 |
Actually reinstalling Grub can be quite the pain... getting it to work afterwards that is.
I usually follow what yordan said in his 1st post, and what I'd suggest (giving you have your /home in a seperate partition - believe me, it's worth it) is to actually give Fedora a clean install and then as root replace the home directory. Once saved all my projects when I screwed up my Ubuntu installation. |
|
|
|
Mar 8 2006, 12:34 AM
Post
#7
|
|
|
Colonel Panic Group: [MODERATOR] Posts: 2,729 Joined: 25-March 05 From: Toronto, Ontario, Canada Member No.: 3,233 |
pop the Fedora Core 4 disc back, type rescue, and I think it'll work. I haven't used Fedora for @ least 2 years since SuSE Linux makes life easier.
It can reinstall GRUB for you graphically so I don't need to bother (since I don't have the time to) xboxrulz |
|
|
|
Mar 8 2006, 11:54 PM
Post
#8
|
|
|
Premium Member Group: Members Posts: 352 Joined: 2-March 05 From: Australia Member No.: 2,859 |
I still can fix this problem by reinstalling grub under linux rescue mode.
So i decided to use other way, install Grub for Dos. I found it here http://grub4dos.jot.com/WikiHome My linux system can be booted through BOOT.INI of Windows XP now. |
|
|
|
Mar 9 2006, 02:08 AM
Post
#9
|
|
|
Colonel Panic Group: [MODERATOR] Posts: 2,729 Joined: 25-March 05 From: Toronto, Ontario, Canada Member No.: 3,233 |
I hope it fixes your problem.
Goodluck xboxrulz |
|
|
|
Mar 9 2006, 04:08 AM
Post
#10
|
|
|
Advanced Member Group: Members Posts: 190 Joined: 16-February 06 From: Egypt Member No.: 11,326 |
i think, easily you change the active bootable disk to your linux root disk, then you reinstall your windows and it will take the booting of linux, always i do that, in steps:
1- log to your linux system cd. 2- from partationing step choose to change your bootable flag to your root partation on linux. 3- reboot and reinstall windows. 4- welcome it works |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 5th September 2008 - 05:08 AM |