Need Help, cant boot into redhat or xp??
Im having a little problem right now. This was my setp up 2 weeks ago
2 HDD DRIVE A==>XP DRIVE B==>REDHAT9. Then I decided to go out and buy another HD and install other distros on the new drive without messing with the data i had on the drive B. So I removed Drive B and install the new drive(i'll call it C for continuity). Proceeded to install FC2, everything went fine. Today I decided to remove drive C and reinstall drive B so i can access some data on that drive. Now it boots, it comes to the screen where grub appears and just hangs there. I can boot into rescue mode but dont know what to do next. Can someone point in the right direction. I want to edit grub.conf so i have the option of xp or redhat9. thanks in advance for your help. Another questions, if and when i decided to reinstall Drive C, am I going to have the same problem?? |
hi
boot from a FC2 cd using "linux rescue" at the boot prompt follow the instructions there at the end #chroot /mnt/sysimage then do #vi /etc/grub.conf reboot regards |
thanks for the reply massand, but i want to be able to boot into redhat9 which is
different hard drive than fedora core2. I want to be able to boot into rescue mode using redhat9 cd which i did and got to the shelll prompt and typed chroot /mnt/ sysimage. I dont understand why this is happening. 'Grub is installed on botgh drives, the one with Fedora and the one with Redhat9. what lines do i have to add to grub.conf to restore to its original default configuration?? thanks in advance |
hi there
so u have npw removed th fc2 hdd and u want to use the grub of redhat which u ere using earlier???? then boot with above procedure with a rh 9.0 CD and after u boot into recue mode chroot /mnt/sysimage will mount ur systeme image to present system so that u can use that environment only to install the grub from this hdd grub-install /dev/hda and reboot and post an error messages u get regards |
hi messand, after booting into rescue mode and chroot /mnt/sysimage, is there a way to log into graphical mode??
"grub-install /dev/hda and reboot" will this re-install grub or re-set it to its orginal configuration?? thanks in advance |
hi there
this will read ur grub.conf from /etc/grub.conf and write according to that to ur MBR u can edit ur grub.conf bu editing the /etc/grub.conf also to remove grub at l;ater stage so that u can boot int windows try this boot from a win98 cd at the command prompt #fdisk /mbr will remve grub and rewrite the windows MBR to it or boot from a winxp/200 cd in to recovery console and use "fixmbr" regards |
I already followed your advise. im now at shell. it mounted the sysimage directory. how can i log into the graphical environment from this point? i tried startx and i got the following error
hostname: localhost.localdomain: unknown host xauth: creating new authority file //.Xauthority xauth: creating new authority file //.Xauthority using authority file //.Xauthority writing authority file //.Xauthority fatal server error: cannot open log file "/var/log/Xfree86.0.log please advise |
hi
from the rescue mode u CANNOT login in to graphical mode u need to make the changes required here and reboot and if ur linux boots up then u can login into graphical mode there regards |
i opened my grub.conf file and everything looks ok
#boot=/dev/hde default=1 timeout=10 splashimage=(hd1, 0)/grub/splash.xpm.gz password******************* title Red Hat Linux(2.4.20-6) root (hd1,0) kernel /vmlinuz-2.4.20-6 ro root=LABEL=/ hdb=ide-scsi initrd /initrd-2.4.20-6.img title DOS rootnoverify (hd0, 0) chainloader +1 should i make any changes?? or should re-install grub? if re-install grub, will that fix the problem?? thanks in advance |
hi there
accoriding ti what u desc. ur config. this file sems to be ok give it a shot,it if grub fails again u can either edit it the same way or remove it if required as i mentioned above untill u get ur system working also i am retiring to bed now its over 2 AM here will answer u queries if any in the morning regards |
thanks for answering my questions. I will try some of your suggestions
|
hi there
i am back! did u got any solution to ur problem regards |
Hey masand, i ended up re-installing the drive with FC2.
|
hi
so, now i hope everything is fine.. regards |
everything is fine now. I wasnt able to boot into redhat9 for now. I'll give it a try later on. thanks for all your help
|
All times are GMT -5. The time now is 04:20 PM. |