LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 01:57 AM   #1
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Linux Mint Cinnamon
Posts: 224

Rep: Reputation: 31
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, 02:06 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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
 
1 members found this post helpful.
Old 04-14-2009, 07:12 AM   #3
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
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
 
1 members found this post helpful.
Old 04-14-2009, 07:37 AM   #4
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
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
 
1 members found this post helpful.
Old 04-17-2009, 09:14 PM   #5
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Linux Mint Cinnamon
Posts: 224

Original Poster
Rep: Reputation: 31
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 07:16 AM.
 
Old 09-02-2009, 01:06 AM   #6
mq15
Member
 
Registered: Apr 2009
Location: Pakistan
Distribution: Linux Mint Cinnamon
Posts: 224

Original Poster
Rep: Reputation: 31
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 01:07 AM.
 
Old 09-02-2009, 01: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, 07:16 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Let's see

fdisk -l

(that's lowercase L)
 
  


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 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 07:20 AM
rpm have --nodeps option with dpkg is such an option available deepclutch Debian 2 03-26-2006 09:49 PM
gnome fails to load on login after bootup - unless bootup first in win xp doubletruncation Fedora 6 12-07-2005 08:32 AM
How to convert a bootup floppy to a bootup CD ? wlaw Linux - Newbie 2 07-15-2004 03:28 AM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

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

All times are GMT -5. The time now is 08:10 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
Open Source Consulting | Domain Registration