LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-06-2008, 11:11 PM   #1
arindom
Member
 
Registered: Nov 2006
Location: India
Distribution: Ubuntu 11.04
Posts: 165

Rep: Reputation: 30
Will re-installing Win remove the grub settings?


I had OpenSuse 10.3 and Win in two different HDD in my PC.

I want to reinstall windows in the same disk where Win is already loaded. I read somewhere earlier that installing Win will rewrite the grub settings. So if I reinstall Win will it make OpenSuse unaccessible? Or I can reload the grub later.


Please suggest.
 
Old 01-07-2008, 12:11 AM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by arindom View Post
I had OpenSuse 10.3 and Win in two different HDD in my PC.

I want to reinstall windows in the same disk where Win is already loaded. I read somewhere earlier that installing Win will rewrite the grub settings. So if I reinstall Win will it make OpenSuse unaccessible? Or I can reload the grub later.


Please suggest.
It won't change the settings of grub.conf instead it will remove the GRUB from MBR.
Ya definitely you can reinstall the GRUB again in MBR very easily, you just need a recovery disk or the installation cd/Dvd of OpenSuse.
search a bit for it...it damn easy



regards
 
Old 01-07-2008, 12:43 AM   #3
arindom
Member
 
Registered: Nov 2006
Location: India
Distribution: Ubuntu 11.04
Posts: 165

Original Poster
Rep: Reputation: 30
Thank you for the help. I will start the re-installation.
 
Old 01-07-2008, 01:56 AM   #4
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,829

Rep: Reputation: 257Reputation: 257Reputation: 257
update-grub
grub-install
 
Old 01-07-2008, 09:37 AM   #5
arindom
Member
 
Registered: Nov 2006
Location: India
Distribution: Ubuntu 11.04
Posts: 165

Original Poster
Rep: Reputation: 30
I did grub-install from grub menu after booting from CD. The grub was installed but the problem was I had to boot from CD and had to choose "Boot from hard disk" to get Suse loaded. So after reading from somewhere I installed grub on both the disk.

Now when the PC boots up the grub is loaded but it gives an error message and then shows another grub screen. Here if I choose Suse then Suse loads.

I must have goofed up the grub settings. I have Win on IDE and Suse on Sata.

Please help.

Last edited by arindom; 01-07-2008 at 10:33 AM.
 
Old 01-07-2008, 10:40 AM   #6
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Thumbs up

Why don't you format complete HD,then first install Win,then openSUSE.
There will be no problem then.
 
Old 01-07-2008, 10:49 AM   #7
arindom
Member
 
Registered: Nov 2006
Location: India
Distribution: Ubuntu 11.04
Posts: 165

Original Poster
Rep: Reputation: 30
Well, that's what I did last time. But not again. That will mean a whole lot of activity - Huge Backup -> Installation -> Downloads -> Setting as per my choices -> Mails etc.

I am sure there is a better option. I will wait for further advise in this regard.

Thanks for your suggestion.
 
Old 03-10-2008, 05:58 AM   #8
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
read my signature on how to use grub.

please provide as much detail for your error in post 5 pls.

at first glance....you friends here have tried to help you with the grub-install command but you are better off with the command installs using either a live cd or your distro go into recovery mode and mount your hard drive that contains the /boot

then its

Code:
su
root (hdX,y).....read my signature what that means
setup (hd0)
quit
if you have linux /boot as 3rd partition then root (hd0,2)....and you know you have success because just before quit you will see grub saying it is installing and finds your other grub booting files and succeeds.

the above works better with a live cd.....let me know if you need help if you have no live cd.
 
Old 03-11-2008, 12:35 AM   #9
arindom
Member
 
Registered: Nov 2006
Location: India
Distribution: Ubuntu 11.04
Posts: 165

Original Poster
Rep: Reputation: 30
Thanks Aus9 for your reply. You are really kind enough to have spotted this thread and chose to help me out.

As you understand, I faced this sometime back and now things are working as I wanted. Now I do not have Win at all in my main system. I have setup the grub as I wanted.

Thanks again for your help. It will help me to know more about GRUB.
 
  


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
[SOLVED] Installing more Linux distros - Grub settings help enrico_dvchp Linux - Software 3 08-27-2006 05:28 AM
My Lilo/grub lost after installing Win Xp leenuk Linux - Newbie 15 02-05-2006 09:41 PM
Dual booting with Grub - installing Win 2000 from CD-Rom with an existing SuSe 9.1 Steve2001 Linux - Newbie 3 01-19-2005 11:15 AM
Installing GRUB/Slackware 10 with Win 2k Pro Roblobob Linux - Newbie 6 09-30-2004 06:16 AM
remove grub from win xp AcidStew Linux - Software 5 12-11-2002 08:55 PM


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