LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2009, 02:57 AM   #1
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Fedora 9
Posts: 192

Rep: Reputation: 30
Question No option for Linux at bootup


Hello all.
I was using WinXp installed on c:\ when I installed Linux Fedora on another partition. Now my system became dual-boot and showed the Operating Systems choice at bootup. Latter I had to format c:\ and re-installed WinXp. Now no choice for Operating Systems appears at bootup. Please tell me what to do? I had ns2 instaled on my Linux fedora that took 13 hours to complete installation, so I never want to wast my Linux installation. Please help me out.

I have read a somewaht similar thread http://www.linuxquestions.org/questi...coming-627971/
But mine was a little different, so I created seperate thread.

Regards.
 
Old 04-14-2009, 03:06 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You will need to reinstall the Grub boot loader that has been wiped out by windows boot loader.
Use the Fedora cd/dvd media and boot using it in RESCUE mode. You will be put into a shell prompt.
From there just reinstall the grub like

Code:
grub-install /dev/sda 

Assuming that you only have one drive at primary master
 
Old 04-14-2009, 08:12 AM   #3
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 960

Rep: Reputation: 35
basically all windows has done is overwritten the MBR with its own bootloader that can only boot windows,

by doing what chaitanya above suggests you will put grub back in the MBR and everything should work fine again
 
Old 04-14-2009, 08:37 AM   #4
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,796

Rep: Reputation: 213Reputation: 213Reputation: 213
If you then have problems with chainloadiing?

When linux will not boot, this may help. See page 5.

http://apcmag.com/how_to_dual_boot_l...lled_first.htm
 
Old 04-17-2009, 10:14 PM   #5
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Fedora 9
Posts: 192

Original Poster
Rep: Reputation: 30
Thanks to all of you.
I RESCUED my system with the guidance of you people.

Keep smilling always.
Thanks again.

Last edited by mq15; 07-25-2009 at 08:16 AM.
 
Old 09-02-2009, 02:06 AM   #6
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Fedora 9
Posts: 192

Original Poster
Rep: Reputation: 30
Hello again. As I said earlier, I rescued my own system successfully but now my friend's system got the same problem and the commands you proposed does not work here. Here are the errors I receive:
Quote:
Sh-3.2#chroot /mnt/sysimage
chroot: cannot change directory to /mnt/sysimage
No such file or directory
Sh-3.2#grub-install /dev/sda
No such file or directory
Please help me again.

Last edited by mq15; 09-02-2009 at 02:07 AM.
 
Old 09-02-2009, 02:50 AM   #7
philin
LQ Newbie
 
Registered: Feb 2009
Location: Ukraine
Distribution: Slackware 13.0
Posts: 4

Rep: Reputation: 0
Does folder /mnt/sysimage & device /dev/sda exists?
 
Old 09-02-2009, 08:16 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,412

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Let's see

fdisk -l

(that's lowercase L)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help bootup option for linux not coming? iyuvabharat Linux - Newbie 2 03-14-2008 08:20 AM
rpm have --nodeps option with dpkg is such an option available deepclutch Debian 2 03-26-2006 10:49 PM
gnome fails to load on login after bootup - unless bootup first in win xp doubletruncation Fedora 6 12-07-2005 09:32 AM
How to convert a bootup floppy to a bootup CD ? wlaw Linux - Newbie 2 07-15-2004 04:28 AM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration