LinuxQuestions.org
Visit Jeremy's Blog.
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 12-21-2005, 02:03 PM   #1
twysm
Member
 
Registered: Jun 2004
Location: Lima - Perú
Distribution: Gentoo 2007.0
Posts: 78

Rep: Reputation: 15
Exclamation Cant install grub after intalled windows xp...


Hi, yesterday ive installed windows xp pro on my new machine, which i also installed linux(FC4 x86_64), but now im unable to boot linux using grub, ive tried to restore grub using a command like "grub-install /dev/sda", btw im using a SATA drive (120gb), but this command does not do anything it just hangs... ive done this using the FC4 resucue mode, please what can i do to restore my grub? anyone can help me? thanks in advance!!
 
Old 12-21-2005, 02:14 PM   #2
jbetten
LQ Newbie
 
Registered: Jan 2005
Posts: 19

Rep: Reputation: 0
Hmmmm... I don't remember what assumptions grub-install makes... but if you know your partition layout it should be easy enough to run grub manually. Do you know which partition contains /boot?
 
Old 12-21-2005, 02:18 PM   #3
twysm
Member
 
Registered: Jun 2004
Location: Lima - Perú
Distribution: Gentoo 2007.0
Posts: 78

Original Poster
Rep: Reputation: 15
Hi, yes i know my partition table is something like:

/dev/sda1 /boot 100mb
/dev/sda2 lvm2 95gb
/dev/sda3 fat32 20gb
 
Old 12-21-2005, 02:32 PM   #4
jbetten
LQ Newbie
 
Registered: Jan 2005
Posts: 19

Rep: Reputation: 0
So if you boot with the recovery cd and run "grub" then enter the following commands from the grub prompt:
root (hd0,0)
setup (hd0)
quit
 
Old 12-21-2005, 02:34 PM   #5
twysm
Member
 
Registered: Jun 2004
Location: Lima - Perú
Distribution: Gentoo 2007.0
Posts: 78

Original Poster
Rep: Reputation: 15
Thank you, i will try it right now
 
  


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
Accidental Install of Windows Second....Install GRUB? Brnzwngs Linux - Newbie 6 08-12-2005 01:10 PM
GRUB problem after Windows re-install kilroy155 Linux - Newbie 2 10-25-2004 09:44 PM
GRUB + Windows Install =What!? It's not Overwritten? ellakano Linux - Software 7 09-12-2004 05:57 PM
How to install GRUB from within Windows XP dubl59zy Linux - General 1 08-13-2004 11:10 PM
Windows XP corrupted after RH-Linux9 Grub install sajkumar Linux - Software 4 08-29-2003 01:30 PM


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