LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-12-2005, 05:51 PM   #1
rsexpt
LQ Newbie
 
Registered: Aug 2005
Location: Nepal
Distribution: Fedora core 1
Posts: 3

Rep: Reputation: 0
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.
 
Old 08-12-2005, 06:00 PM   #2
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
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.
 
Old 08-12-2005, 06:03 PM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
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.
 
Old 08-12-2005, 06:09 PM   #4
bushidozen
Member
 
Registered: Oct 2004
Posts: 215

Rep: Reputation: 30
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
 
Old 08-12-2005, 06:30 PM   #5
zilvis
LQ Newbie
 
Registered: May 2005
Location: Lithuania
Distribution: Debian for ever!!!! suse for fun
Posts: 28

Rep: Reputation: 15
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
 
Old 08-13-2005, 12:36 PM   #6
rsexpt
LQ Newbie
 
Registered: Aug 2005
Location: Nepal
Distribution: Fedora core 1
Posts: 3

Original Poster
Rep: Reputation: 0
Thank u all for the help!
 
Old 08-14-2005, 11:30 AM   #7
rsexpt
LQ Newbie
 
Registered: Aug 2005
Location: Nepal
Distribution: Fedora core 1
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 08-14-2005, 08:07 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple Booting linux/linux/windows Flak Pyro Linux - Distributions 10 12-08-2003 07:46 PM
Tripple booting linux/linux/windows Flak Pyro Linux - General 1 12-05-2003 10:24 PM
triple booting linux linux and 2000 devashish Linux - Software 12 08-28-2003 06:44 AM
linux is not booting shanmugapriyan Linux - Software 1 08-06-2003 07:42 PM
Booting linux abzs Linux - General 2 01-06-2002 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration