Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Debt AIDS Trade Africa

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Recommend Us
Surveys

Features
HOWTOs
News
News Archive
NukeSentinel
Reviews
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 219 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  
Linux Knowledge Base and Tutorial: Forums



Linux Tutorial :: View topic - suse 10.2 grub
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

suse 10.2 grub

 
Post new topic   Reply to topic    Linux Tutorial Forum Index -> Getting Started/Newbie
View previous topic :: View next topic  
Author Message
tobyreynolds
Beginner


Joined: May 28, 2006
Posts: 35

PostPosted: Sat Mar 03, 2007 7:45 am    Post subject: suse 10.2 grub Reply with quote

hi

i have multiple operating systems on my linux box, i had to do a reinstall of windows server and now the grub has gone. is there anyway of getting it back with reinstalling linux?

thanx
_________________
The Xero has spoken
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
ffreeloader
Master


Joined: Aug 10, 2005
Posts: 561

PostPosted: Sat Mar 03, 2007 9:46 pm    Post subject: Reply with quote

I'm not positive, but I think there is a repair function in the SuSe installer. I just did a SuSe install this last week and I believe I saw one. I know there is in the Debian Etch installer but I do not believe it will work for a SuSe install.

Also, it's possible to repair/reinstall grub from a Knoppix live cd. I cannot remember the exact details but the step-by-step instructions are in the book Knoppix Hacks. Wish I could remember them but it's been more than a year since I last had need to recover/replace an over-written grub file.

The book is worth investing in as it has some very good tips and tricks in it. I used to have access to it through my Informit Safari account but I let the subscription lapse.
Back to top
View user's profile Send private message
tripwire45
Wizard


Joined: Jul 7, 2003
Posts: 1250
Location: Boise, ID, USA

PostPosted: Sun Mar 04, 2007 3:38 pm    Post subject: Reply with quote

When you reinstalled Windows it overwrote the boot sector so your grub info is gone. The Windows boot loader likes to be large and in charge.

Probably the most straight forward way to deal with this is to just reinstall Linux. Other than that, you'll need to read the man page for grub and use that information to use grub setup command and rewrite the book sector manually. Here's some info I found at this list:
Quote:

Read the grub manpage. When you run the grub program, you can use the
"setup" command to write your boot sector. It would look something
like this:

grub> root (hd0,0) (Specify where your /boot partition resides)
grub> setup (hd0) (Install GRUB in the MBR)
grub> quit (Exit the GRUB shell)

(Be sure to remember that grub numbers the drives and partitions a bit
different than usual. The first disk is 0, and the first partition is
0.)


Good luck and let us know how you get on.
_________________
Back to top
View user's profile Send private message Visit poster's website
tobyreynolds
Beginner


Joined: May 28, 2006
Posts: 35

PostPosted: Sun Mar 04, 2007 4:04 pm    Post subject: Reply with quote

its all working again Very Happy i did a reinstall so i have to use ndiswrapper again Smile
_________________
The Xero has spoken
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
tripwire45
Wizard


Joined: Jul 7, 2003
Posts: 1250
Location: Boise, ID, USA

PostPosted: Sun Mar 04, 2007 7:16 pm    Post subject: Reply with quote

Great, Toby. Glad to hear it. Very Happy
_________________
Back to top
View user's profile Send private message Visit poster's website
ffreeloader
Master


Joined: Aug 10, 2005
Posts: 561

PostPosted: Tue Mar 06, 2007 2:28 pm    Post subject: Reply with quote

Well, I've been doing SuSe installs for the last few days and my memory was proven to be correct. What you do is boot into the installation cd and work your way through the install until you come to the page that gives you the options, "install" and "other". Choose the "other" option and you are given two more options, one of which is repair. From there you can fix grub.

The second way to do this is to boot to the installation cd and choose to start the hard drive installation. Once booted into it you use Yast to repair the grub install by choosing Software -> Grub location. However, the choices available once you are inside the Grub repair tool are not very intuitive, and if you make the wrong one you will not be able to boot into your hard drive install from the installer anymore either.

That being said after two days of doing SuSe installs, 10.1 and 10.2, I've experienced once again why I like Debian so much. Both versions were very difficult installs. 10.1 because once the system was installed it took me a long time to work around a bug that wouldn't let me update packages due to dependency problems. 10.2 was bad because the network installer would not let me mark any partition as active. It greyed out those options when partitioning the hard drives. The result is once you've spent an hour or so doing the install you have an unbootable system. Then you have to download the 70 mB installer again after manually entering the server IP address and path to the installer. Debian's network install includes the kernel and enough of a system install that you have a bootable machine just from what's on the network install cd.

Oh, the third thing I found about SuSe's installer that I didn't like is its network install. Wow, what a clunky piece of software. I mean it requires you to enter the server IP address from which you will be installing. To this I say, Huh? Debian's network install gives you a choice of several of the the main Debian repositories by domain name. It's point and click, not search for IP addresses of servers and then add the path to the installer manually once you have entered an IP address. And. what's even worse is not all SuSe repositories include the network installer so unless you have previous knowledge that a site such as mirrors.kernel.org has the network installer you can try one repository after another and all the attempts will fail. I mean, even download.opensuse.org didn't have the network installer available. What's up with that?

Last of all the business owner ordered the 10.2 version from Novell and had it shipped by overnight mail. When it didn't show up he called Novell to find out why and it took them a while to figure out that they are out of boxed sets of 10.2, and that the boxed sets are on backorder. They didn't even bother to notify him when the order was placed on backorder. Too bad they can't tell people up front that what they need isn't currently available or send you an email. It's no wonder Novell is having problems showing a profit when they can't even keep track of the inventory of their own product.

Anyway, I'll be going back and putting Debian on those machines today. I just had to rant a little after two days of doing installs that literally took me most of a day each because of things that to me look like they shouldn't even exist in a top line distro that is said to be very user friendly. It may be user friendly, but it surely isn't admin friendly during installation.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Linux Tutorial Forum Index -> Getting Started/Newbie All times are GMT
Page 1 of 1

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001-2007 phpBB Group
  
How often do you use the WebLinks?

More than once a day
Once a day
A few times a week
Once a week
Once a month
Rarely
Never



Results
Polls

Votes: 457
Comments: 0

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List
My Amazon.com Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Friends



Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content © 1994-2010 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressedly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.14 Seconds