LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   why is my linux not booting? (https://www.linuxquestions.org/questions/linux-general-1/why-is-my-linux-not-booting-352685/)

rsexpt 08-12-2005 05:51 PM

why is my linux not booting?
 
Hi,

I am working with win XP (SP2) and Fedora linux 1. Due to the printing problem I re-installed win xp, printer worked but linux stopped working (GRUB does not load and can't load linux). But I don't want to re-install the linux cuz it contains my important documents which I cannot access from windows. And I still want to work with both OS
Please sombody help me.

sether 08-12-2005 06:00 PM

Your master boot record was overwritten when you installed Windows. You'll need to reinstall GRUB to the master boot record. Boot the computer to your Fedora Core CD and go to the step that installs GRUB to the master boot record. After you're done reboot.

Everything should be automatically recognized (i.e. all operating systems should be bootable). If this is not the case, edit /boot/grub/menu.lst.

synaptical 08-12-2005 06:03 PM

installing windows after linux trashes your MBR with windows garbage. boot from your fedora CD (if it allows that -- 'linux rescue' i think?) and reinstall grub to the MBR. :cool:

bushidozen 08-12-2005 06:09 PM

If you don't know how to reinstall grub, do this:

insert CD1 of FC1
type linux rescue
type chroot /mnt/sysimage
type /sbin/grub-install /dev/hda if your partitions changed you have to edit /boot/grub/grub.conf
reboot

zilvis 08-12-2005 06:30 PM

hi i'm noob too + i had same problem with reinstalling windows. luckily my friend had installed linux on his PC, and we managed to save my info by connecting my hdd to it and by command "mount". later i have found that i had mixed up my MBR. that is zero line of hdd or smthg... i have gooogled for a week but i did not manage to find any useful information how to fix it. so i'm not much help, but maybe you find smthg by yahoo(i did not try it) or google, good luck!!!!! Zillas

rsexpt 08-13-2005 12:36 PM

Thank u all for the help! ;)

rsexpt 08-14-2005 11:30 AM

Hello again,
I tried as bushidozen said but it didn't worked instead the following message came
"You don't have any Linux partition. press return to get shell. The system will reboot automatically when you exit from the shell."
Here is my disk info
=======================================================
Partition Information for Disk 1: 38,201.4 Megabytes
Volume PartType Status Size MB PartSect #
============================================================
C: FAT32X Pri,Boot 12,182.1 0 0
ExtendedX Pri 6,918.6 0 1
EPBR Log 0.0 None --
EPBR Log 101.9 24,948,945 1
Linux Ext2 Log 101.9 24,949,008 0
EPBR Log 6,565.6 24,949,008 1
Linux Ext2 Log 6,565.6 25,157,790 0
EPBR Log 251.0 25,157,790 1
*:SWAPSPACE2 Linux Swap Log 250.10 38,604,195 0
D: NTFS Pri 9,554.3 0 2
EPBR Log 9,546.4 38,604,195 1
Unallocated Pri 9,546.4 None --
E: NTFS Log 9,546.4 58,685,445 0

michaelk 08-14-2005 08:07 PM

Your boot drive might not be hda. try:
/sbin/grub-install


All times are GMT -5. The time now is 09:21 PM.