LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-19-2013, 04:44 PM   #1
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 166

Rep: Reputation: Disabled
Grub boot loader question


hello, i'm new to the forums. i am currently learning win server 2008 and linux as well, so i installed Fedora 17 and server 08 on two separate hard drives. Everything was wonderful until i something happened to windows and i had to re-install(i know what i did lol). it refused to re-install windows until i disconnected the HDD that had linux on it. So everything is up and running again, however the linux drive boots first and grub still has the old windows in the list but when you click to boot it says it doesn't exist. is there a way to re-direct this in console, or re-install grub? i really don't want to re-install fedora.

any help would be greatly appreciated. also if anyone can point me in the direction of a good starter linux book.

thanks,

anthony
 
Old 01-19-2013, 05:01 PM   #2
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Usually typing as root in terminal
Code:
# update-grup
fix problems but really I dont know if you are using grub2 or grub legacy
try that and see what happes anyway. Remember to be root when typing that command.

Good luck to you!
 
Old 01-19-2013, 05:11 PM   #3
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 166

Original Poster
Rep: Reputation: Disabled
bash: update-grub: command not found...
 
Old 01-19-2013, 05:15 PM   #4
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
type
Code:
grub --version
 
Old 01-19-2013, 05:19 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,959

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
update-grub (sp) is not part of the grub package - it was added by as a Debian-ism. Fedora doesn't ship an equivalent, but uses its own variant of mkconfig. From a terminal as root run
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
At F17 or 18 that should find your windows system.
Try this for Fedora doco.
 
1 members found this post helpful.
Old 01-19-2013, 06:13 PM   #6
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 166

Original Poster
Rep: Reputation: Disabled
sgy00- that did the trick, TYVM!
 
  


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
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 06:45 PM
Unable to boot into GRUB loader: GRUB command shell boots up: urgent issue wombat53 Linux - Software 9 09-04-2009 07:20 AM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 02:47 PM
Two hard disks - dual boot ( XP - Linux ) using microsoft boot loader, not grub cristy88 Linux - General 2 12-17-2007 07:26 PM

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

All times are GMT -5. The time now is 02:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration