LinuxQuestions.org
Register a domain and help support LQ
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-20-2008, 02:22 AM   #1
VINSTAR
Member
 
Registered: Jan 2008
Location: kerala[INDIA]
Distribution: not yet confirmed
Posts: 38

Rep: Reputation: 15
help:Getting back linux after installing windows


i install fedora7.
but due to some problems i need to
reinstall windows. But after installing windows
system is directly booting into windows. Grub boot menu
is not there. But files of fedora is safe in its partition.
i checked with slax live cd.

is there any way to get back grub's boot menu
without reinstalling Linux
 
Old 01-20-2008, 02:30 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You just need to boot to the install CD and reinstall GRUB; no need to reinstall the OS.

This topic shows how to do it under FC 6, but it will be the same process for pretty much any distribution using GRUB.
 
Old 01-20-2008, 02:45 AM   #3
VINSTAR
Member
 
Registered: Jan 2008
Location: kerala[INDIA]
Distribution: not yet confirmed
Posts: 38

Original Poster
Rep: Reputation: 15
it doesnt work
i tried it
when i reinstalled grub with fedora7 cd
i get msg that no changes made to kernal
and the problem dont solved
 
Old 01-20-2008, 09:36 AM   #4
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 905
Blog Entries: 13

Rep: Reputation: 122Reputation: 122
Hi,

Boot a liveCD, mount the fedora root partition, chroot into it, fire up the grub command line, select the /boot partition, and install grub. :
Code:
#mount /dev/sda1 /mnt/root
#chroot /mnt/root /bin/bash
#grub
>root (hd0,0)
>setup (hd0)
>quit
#exit
Then reboot your computer, GRUB should be back. Substitute sda1 by your root partition; root by the mount point of your choice; hd0,0 by the disk/partition numbers (the first disk being 0, same for the first partition.

Serafean
 
Old 01-20-2008, 11:48 AM   #5
VINSTAR
Member
 
Registered: Jan 2008
Location: kerala[INDIA]
Distribution: not yet confirmed
Posts: 38

Original Poster
Rep: Reputation: 15
thanks serafean
 
  


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
Getting back to kubuntu after installing windows. Nexxt Linux - General 1 01-11-2007 04:32 PM
going back to windows after trying out linux.. r_sherman Linux - Newbie 5 01-04-2007 03:27 PM
installing windows xp back? jorgt Linux - General 4 05-11-2004 04:04 PM
Going back to Windows from Linux Miyamoto Linux - General 21 11-06-2003 05:00 PM
Deleted Windows (from Linux), Now it's BACK Hayz Linux - Newbie 6 09-15-2003 03:18 AM


All times are GMT -5. The time now is 05:43 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