LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-16-2007, 08:16 AM   #1
akhil_jadhav
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
Unhappy how can i install a grub loader if my system directly boot windows


I have windows XP and Scintific linux on same machine, both were working properly but due to some region I reinstalled window. now grub loader is not working and my system loading window. How can I install GRUB ?
 
Old 08-16-2007, 08:32 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Is Scientific Linux on a "live CD"? If so, you can install GRUB from there.

See the "booting" link below.
 
Old 08-17-2007, 08:30 PM   #3
sumit dash
Member
 
Registered: Jul 2007
Location: Hyderabad
Distribution: Red Hat
Posts: 33

Rep: Reputation: 15
Grub-install

hi friend,

Insert the linux first disk in cdroom and enter to the rescue mode, either type linus rescue , or enter F5, It would direct to the shell script type
chroot /mnt/sysimage
then grub-install /dev/hda
then check grub vi /etc/grub.conf
Thank you
 
Old 08-18-2007, 12:48 AM   #4
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Herre's a good link on Grub that might be helpful (might be somwhere between sumit dash's somewhat brief summary and pixellany's perhaps intimidating link):

http://josephhall.org/grub_install_hda1.html#reinstall

Good luck!

WARNING!
These instructions work on virtually all flavors of Windows 9x, NT and XP. But they do NOT necessarily work for Vista. Vista has a new - and very different - boot loader!

Last edited by paulsm4; 08-18-2007 at 12:51 AM.
 
Old 08-18-2007, 06:41 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by paulsm4 View Post
and pixellany's perhaps intimidating link)
Hmmmm...It's all relative.......I wrote that because I had found other docs to be intimidating (confusing, incomplete--pick one)
 
Old 08-18-2007, 11:12 AM   #6
sumit dash
Member
 
Registered: Jul 2007
Location: Hyderabad
Distribution: Red Hat
Posts: 33

Rep: Reputation: 15
Hello

hi dear,
Did u get the answer,or still u do have any problem if so plz write ur problem more elborately.
 
Old 08-25-2007, 12:03 AM   #7
qrazydutch
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
THANKS TO ALL THE ANSWERS........appreciate it. LINUX is mind boggling ( have a small mind), learning. Hacked the Windows bootloader and got it working. I know, I know, I use Windows VISTA, please be kind.

not sure if I am doing this correctly, any reply is most appreciated. I had windows XP, loaded Vista to double boot, mother board bye bye, new motherboard, reboot, VISTA ran OK, Windows XP bye bye (dual boot or "older version of windows" did not boot). So I loaded Suse Linux 64 version to see if it would find WinXP however it now only sees VISTA 64, is there anyway I can tell LINUX GRUB to boot into WinXP32?...(I do have the NT loader backed up), I am also an amateur in LINUX but I like it so far....looking at the best LINUX 64 bit version to load up as well. Thanks for the time so far
Qrazydutch (with a Q so as not to get the real crazies upset)

Last edited by qrazydutch; 09-24-2007 at 07:25 PM.
 
Old 08-25-2007, 11:02 AM   #8
sumit dash
Member
 
Registered: Jul 2007
Location: Hyderabad
Distribution: Red Hat
Posts: 33

Rep: Reputation: 15
Grub

hello,
my dear friend please write your problem more elaborately i will be happy to help u sorting out your problem.
 
Old 08-25-2007, 02:11 PM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved to Linux-General
 
Old 08-25-2007, 05:03 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,229

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Quote:
Originally Posted by qrazydutch View Post
So I loaded Suse Linux 64 version to see if it would find WinXP however it now only sees VISTA 64, is there anyway I can tell LINUX GRUB to boot into WinXP32?...
Prior to Vista you couldn't. When you installed (dual-boot) a later version of Windoze, it "upgraded" the ntldr to use the later release. From that later release is where the (Windoze) dual-booting is handled - by boot.ini. With Vista it's now handled by BCD.

So ... in theory you should be able to chainload directly to the XP partition from grub.
I haven't tried it - obviously ...
 
Old 08-25-2007, 05:27 PM   #11
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
A XP or a Vista cannot be change from motherboard to motherboard.

M$ controls its OS by keeping a record of the hardware. Every hardware change scores points and when the total number of points exceeds a prefixed threshold the OS will lock up itself. It is M$'s way to stop the OS migrating from PC to PC. OEM version of the M$ system is supposed to die with the PC and cannot be migrated.

I believe a re-installation is needed and the user needs to talk to M$ to re-activate the OS too.
 
Old 08-26-2007, 02:23 AM   #12
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,229

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
If it's just the motherboard you can get away with it - note that Vista works.
I've also changed motherboard on XP successfully. Second time (couple of hard disks, CD burner as well) it complained, and needed re-registration, but it did at least boot up.
Such are the woes of living in a bad lightning zone - even (home) UPS's don't always protect you.

So I can't explain why Vista works, and XP doesn't.
Maybe try fixing the BCD data.

Edit: thinking about this, saikee makes a good point about OEM. When I re-registered, I was quizzed specifically as to whether this was a OEM version.
I got the impression they weren't about to give me a new key if it was.

Last edited by syg00; 08-26-2007 at 03:09 AM.
 
  


Reply

Tags
grub


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
recovering from grub-install /dev/hda1 deleting windows XP boot loader Steve Mading Linux - Software 7 02-22-2010 07:53 PM
How do I add Windows XP to Grub boot loader? LUB997 Linux - Software 29 10-17-2009 11:11 AM
Replacing windows boot loader by GRUB mohtasham1983 Linux - General 13 02-03-2007 03:20 AM
GRUB boot loader blocking windows boot julienroger Linux - Newbie 3 10-12-2004 01:11 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM


All times are GMT -5. The time now is 04:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration